@revenexx/sdk 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/sdk.js +6842 -2649
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +6837 -2650
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +6842 -2649
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/index.ts +6 -0
- package/src/models.ts +1897 -41
- package/src/services/inventories.ts +723 -0
- package/src/services/orders.ts +1093 -0
- package/src/services/pages.ts +2097 -0
- package/src/services/payments.ts +807 -0
- package/src/services/prices.ts +571 -0
- package/src/services/shipping.ts +571 -0
- package/types/index.d.ts +6 -0
- package/types/models.d.ts +1863 -41
- package/types/services/inventories.d.ts +226 -0
- package/types/services/orders.d.ts +368 -0
- package/types/services/pages.d.ts +703 -0
- package/types/services/payments.d.ts +266 -0
- package/types/services/prices.d.ts +192 -0
- package/types/services/shipping.d.ts +192 -0
|
@@ -0,0 +1,703 @@
|
|
|
1
|
+
import { Client } from '../client';
|
|
2
|
+
import type { Models } from '../models';
|
|
3
|
+
export declare class Pages {
|
|
4
|
+
client: Client;
|
|
5
|
+
constructor(client: Client);
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @throws {RevenexxException}
|
|
9
|
+
* @returns {Promise<Models.DeliveryPage>}
|
|
10
|
+
*/
|
|
11
|
+
pagesDeliveryPage(): Promise<Models.DeliveryPage>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @throws {RevenexxException}
|
|
15
|
+
* @returns {Promise<{}>}
|
|
16
|
+
*/
|
|
17
|
+
pagesDeliveryPages(): Promise<{}>;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @param {string} params.token -
|
|
21
|
+
* @throws {RevenexxException}
|
|
22
|
+
* @returns {Promise<Models.DeliveryPage>}
|
|
23
|
+
*/
|
|
24
|
+
pagesDeliveryPreview(params: {
|
|
25
|
+
token: string;
|
|
26
|
+
}): Promise<Models.DeliveryPage>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @param {string} token -
|
|
30
|
+
* @throws {RevenexxException}
|
|
31
|
+
* @returns {Promise<Models.DeliveryPage>}
|
|
32
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
33
|
+
*/
|
|
34
|
+
pagesDeliveryPreview(token: string): Promise<Models.DeliveryPage>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @throws {RevenexxException}
|
|
38
|
+
* @returns {Promise<{}>}
|
|
39
|
+
*/
|
|
40
|
+
pagesEditorEditStates(): Promise<{}>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @throws {RevenexxException}
|
|
44
|
+
* @returns {Promise<{}>}
|
|
45
|
+
*/
|
|
46
|
+
pagesEditorNotificationsList(): Promise<{}>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @throws {RevenexxException}
|
|
50
|
+
* @returns {Promise<{}>}
|
|
51
|
+
*/
|
|
52
|
+
pagesEditorNotificationsMarkAllRead(): Promise<{}>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @throws {RevenexxException}
|
|
56
|
+
* @returns {Promise<{}>}
|
|
57
|
+
*/
|
|
58
|
+
pagesEditorNotificationsUnreadCount(): Promise<{}>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @param {object[]} params.items -
|
|
62
|
+
* @throws {RevenexxException}
|
|
63
|
+
* @returns {Promise<{}>}
|
|
64
|
+
*/
|
|
65
|
+
pagesEditorTranslate(params?: {
|
|
66
|
+
items?: object[];
|
|
67
|
+
}): Promise<{}>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @param {object[]} items -
|
|
71
|
+
* @throws {RevenexxException}
|
|
72
|
+
* @returns {Promise<{}>}
|
|
73
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
74
|
+
*/
|
|
75
|
+
pagesEditorTranslate(items?: object[]): Promise<{}>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @throws {RevenexxException}
|
|
79
|
+
* @returns {Promise<{}>}
|
|
80
|
+
*/
|
|
81
|
+
pagesEditorUserSettingsGet(): Promise<{}>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @param {object} params.settings -
|
|
85
|
+
* @throws {RevenexxException}
|
|
86
|
+
* @returns {Promise<{}>}
|
|
87
|
+
*/
|
|
88
|
+
pagesEditorUserSettingsPut(params?: {
|
|
89
|
+
settings?: object;
|
|
90
|
+
}): Promise<{}>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @param {object} settings -
|
|
94
|
+
* @throws {RevenexxException}
|
|
95
|
+
* @returns {Promise<{}>}
|
|
96
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
97
|
+
*/
|
|
98
|
+
pagesEditorUserSettingsPut(settings?: object): Promise<{}>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @throws {RevenexxException}
|
|
102
|
+
* @returns {Promise<{}>}
|
|
103
|
+
*/
|
|
104
|
+
pagesEditorUsers(): Promise<{}>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @param {string} params.pageId -
|
|
108
|
+
* @throws {RevenexxException}
|
|
109
|
+
* @returns {Promise<{}>}
|
|
110
|
+
*/
|
|
111
|
+
pagesEditorCommentsList(params: {
|
|
112
|
+
pageId: string;
|
|
113
|
+
}): Promise<{}>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @param {string} pageId -
|
|
117
|
+
* @throws {RevenexxException}
|
|
118
|
+
* @returns {Promise<{}>}
|
|
119
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
120
|
+
*/
|
|
121
|
+
pagesEditorCommentsList(pageId: string): Promise<{}>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @param {string} params.pageId -
|
|
125
|
+
* @param {string} params.body -
|
|
126
|
+
* @param {string[]} params.blockUuids -
|
|
127
|
+
* @param {string} params.parentUuid -
|
|
128
|
+
* @throws {RevenexxException}
|
|
129
|
+
* @returns {Promise<{}>}
|
|
130
|
+
*/
|
|
131
|
+
pagesEditorCommentsCreate(params: {
|
|
132
|
+
pageId: string;
|
|
133
|
+
body: string;
|
|
134
|
+
blockUuids?: string[];
|
|
135
|
+
parentUuid?: string;
|
|
136
|
+
}): Promise<{}>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @param {string} pageId -
|
|
140
|
+
* @param {string} body -
|
|
141
|
+
* @param {string[]} blockUuids -
|
|
142
|
+
* @param {string} parentUuid -
|
|
143
|
+
* @throws {RevenexxException}
|
|
144
|
+
* @returns {Promise<{}>}
|
|
145
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
146
|
+
*/
|
|
147
|
+
pagesEditorCommentsCreate(pageId: string, body: string, blockUuids?: string[], parentUuid?: string): Promise<{}>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @param {string} params.pageId -
|
|
151
|
+
* @param {string} params.uuid -
|
|
152
|
+
* @throws {RevenexxException}
|
|
153
|
+
* @returns {Promise<{}>}
|
|
154
|
+
*/
|
|
155
|
+
pagesEditorCommentsDelete(params: {
|
|
156
|
+
pageId: string;
|
|
157
|
+
uuid: string;
|
|
158
|
+
}): Promise<{}>;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @param {string} pageId -
|
|
162
|
+
* @param {string} uuid -
|
|
163
|
+
* @throws {RevenexxException}
|
|
164
|
+
* @returns {Promise<{}>}
|
|
165
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
166
|
+
*/
|
|
167
|
+
pagesEditorCommentsDelete(pageId: string, uuid: string): Promise<{}>;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @param {string} params.pageId -
|
|
171
|
+
* @param {string} params.uuid -
|
|
172
|
+
* @param {string} params.body -
|
|
173
|
+
* @throws {RevenexxException}
|
|
174
|
+
* @returns {Promise<{}>}
|
|
175
|
+
*/
|
|
176
|
+
pagesEditorCommentsUpdate(params: {
|
|
177
|
+
pageId: string;
|
|
178
|
+
uuid: string;
|
|
179
|
+
body: string;
|
|
180
|
+
}): Promise<{}>;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @param {string} pageId -
|
|
184
|
+
* @param {string} uuid -
|
|
185
|
+
* @param {string} body -
|
|
186
|
+
* @throws {RevenexxException}
|
|
187
|
+
* @returns {Promise<{}>}
|
|
188
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
189
|
+
*/
|
|
190
|
+
pagesEditorCommentsUpdate(pageId: string, uuid: string, body: string): Promise<{}>;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @param {string} params.pageId -
|
|
194
|
+
* @param {string} params.uuid -
|
|
195
|
+
* @throws {RevenexxException}
|
|
196
|
+
* @returns {Promise<{}>}
|
|
197
|
+
*/
|
|
198
|
+
pagesEditorCommentsResolve(params: {
|
|
199
|
+
pageId: string;
|
|
200
|
+
uuid: string;
|
|
201
|
+
}): Promise<{}>;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @param {string} pageId -
|
|
205
|
+
* @param {string} uuid -
|
|
206
|
+
* @throws {RevenexxException}
|
|
207
|
+
* @returns {Promise<{}>}
|
|
208
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
209
|
+
*/
|
|
210
|
+
pagesEditorCommentsResolve(pageId: string, uuid: string): Promise<{}>;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @param {string} params.pageId -
|
|
214
|
+
* @param {string} params.uuid -
|
|
215
|
+
* @param {number} params.taskIndex -
|
|
216
|
+
* @throws {RevenexxException}
|
|
217
|
+
* @returns {Promise<Models.Comment>}
|
|
218
|
+
*/
|
|
219
|
+
pagesEditorCommentsToggleTask(params: {
|
|
220
|
+
pageId: string;
|
|
221
|
+
uuid: string;
|
|
222
|
+
taskIndex: number;
|
|
223
|
+
}): Promise<Models.Comment>;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @param {string} pageId -
|
|
227
|
+
* @param {string} uuid -
|
|
228
|
+
* @param {number} taskIndex -
|
|
229
|
+
* @throws {RevenexxException}
|
|
230
|
+
* @returns {Promise<Models.Comment>}
|
|
231
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
232
|
+
*/
|
|
233
|
+
pagesEditorCommentsToggleTask(pageId: string, uuid: string, taskIndex: number): Promise<Models.Comment>;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @param {string} params.pageId -
|
|
237
|
+
* @param {string} params.uuid -
|
|
238
|
+
* @throws {RevenexxException}
|
|
239
|
+
* @returns {Promise<{}>}
|
|
240
|
+
*/
|
|
241
|
+
pagesEditorCommentsUnresolve(params: {
|
|
242
|
+
pageId: string;
|
|
243
|
+
uuid: string;
|
|
244
|
+
}): Promise<{}>;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @param {string} pageId -
|
|
248
|
+
* @param {string} uuid -
|
|
249
|
+
* @throws {RevenexxException}
|
|
250
|
+
* @returns {Promise<{}>}
|
|
251
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
252
|
+
*/
|
|
253
|
+
pagesEditorCommentsUnresolve(pageId: string, uuid: string): Promise<{}>;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @param {string} params.pageId -
|
|
257
|
+
* @param {number} params.index -
|
|
258
|
+
* @param {string} params.langcode -
|
|
259
|
+
* @throws {RevenexxException}
|
|
260
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
261
|
+
*/
|
|
262
|
+
pagesEditorHistory(params: {
|
|
263
|
+
pageId: string;
|
|
264
|
+
index: number;
|
|
265
|
+
langcode?: string;
|
|
266
|
+
}): Promise<Models.MutationResponse>;
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @param {string} pageId -
|
|
270
|
+
* @param {number} index -
|
|
271
|
+
* @param {string} langcode -
|
|
272
|
+
* @throws {RevenexxException}
|
|
273
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
274
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
275
|
+
*/
|
|
276
|
+
pagesEditorHistory(pageId: string, index: number, langcode?: string): Promise<Models.MutationResponse>;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @param {string} params.pageId -
|
|
280
|
+
* @throws {RevenexxException}
|
|
281
|
+
* @returns {Promise<{}>}
|
|
282
|
+
*/
|
|
283
|
+
pagesEditorLastChanged(params: {
|
|
284
|
+
pageId: string;
|
|
285
|
+
}): Promise<{}>;
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @param {string} pageId -
|
|
289
|
+
* @throws {RevenexxException}
|
|
290
|
+
* @returns {Promise<{}>}
|
|
291
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
292
|
+
*/
|
|
293
|
+
pagesEditorLastChanged(pageId: string): Promise<{}>;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @param {string} params.pageId -
|
|
297
|
+
* @param {boolean} params.enabled -
|
|
298
|
+
* @param {number} params.index -
|
|
299
|
+
* @param {string} params.langcode -
|
|
300
|
+
* @throws {RevenexxException}
|
|
301
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
302
|
+
*/
|
|
303
|
+
pagesEditorMutationStatus(params: {
|
|
304
|
+
pageId: string;
|
|
305
|
+
enabled: boolean;
|
|
306
|
+
index: number;
|
|
307
|
+
langcode?: string;
|
|
308
|
+
}): Promise<Models.MutationResponse>;
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @param {string} pageId -
|
|
312
|
+
* @param {boolean} enabled -
|
|
313
|
+
* @param {number} index -
|
|
314
|
+
* @param {string} langcode -
|
|
315
|
+
* @throws {RevenexxException}
|
|
316
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
317
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
318
|
+
*/
|
|
319
|
+
pagesEditorMutationStatus(pageId: string, enabled: boolean, index: number, langcode?: string): Promise<Models.MutationResponse>;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @param {string} params.pageId -
|
|
323
|
+
* @throws {RevenexxException}
|
|
324
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
325
|
+
*/
|
|
326
|
+
pagesEditorMutate(params: {
|
|
327
|
+
pageId: string;
|
|
328
|
+
}): Promise<Models.MutationResponse>;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @param {string} pageId -
|
|
332
|
+
* @throws {RevenexxException}
|
|
333
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
334
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
335
|
+
*/
|
|
336
|
+
pagesEditorMutate(pageId: string): Promise<Models.MutationResponse>;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @param {string} params.pageId -
|
|
340
|
+
* @param {number} params.ttlHours -
|
|
341
|
+
* @throws {RevenexxException}
|
|
342
|
+
* @returns {Promise<{}>}
|
|
343
|
+
*/
|
|
344
|
+
pagesEditorPreviewGrant(params: {
|
|
345
|
+
pageId: string;
|
|
346
|
+
ttlHours?: number;
|
|
347
|
+
}): Promise<{}>;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @param {string} pageId -
|
|
351
|
+
* @param {number} ttlHours -
|
|
352
|
+
* @throws {RevenexxException}
|
|
353
|
+
* @returns {Promise<{}>}
|
|
354
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
355
|
+
*/
|
|
356
|
+
pagesEditorPreviewGrant(pageId: string, ttlHours?: number): Promise<{}>;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @param {string} params.pageId -
|
|
360
|
+
* @param {boolean} params.force - Publish despite violations.
|
|
361
|
+
* @param {string} params.label -
|
|
362
|
+
* @throws {RevenexxException}
|
|
363
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
364
|
+
*/
|
|
365
|
+
pagesEditorPublish(params: {
|
|
366
|
+
pageId: string;
|
|
367
|
+
force?: boolean;
|
|
368
|
+
label?: string;
|
|
369
|
+
}): Promise<Models.MutationResponse>;
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @param {string} pageId -
|
|
373
|
+
* @param {boolean} force - Publish despite violations.
|
|
374
|
+
* @param {string} label -
|
|
375
|
+
* @throws {RevenexxException}
|
|
376
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
377
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
378
|
+
*/
|
|
379
|
+
pagesEditorPublish(pageId: string, force?: boolean, label?: string): Promise<Models.MutationResponse>;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @param {string} params.pageId -
|
|
383
|
+
* @throws {RevenexxException}
|
|
384
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
385
|
+
*/
|
|
386
|
+
pagesEditorRevert(params: {
|
|
387
|
+
pageId: string;
|
|
388
|
+
}): Promise<Models.MutationResponse>;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @param {string} pageId -
|
|
392
|
+
* @throws {RevenexxException}
|
|
393
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
394
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
395
|
+
*/
|
|
396
|
+
pagesEditorRevert(pageId: string): Promise<Models.MutationResponse>;
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @param {string} params.pageId -
|
|
400
|
+
* @param {string} params.scheduledAt -
|
|
401
|
+
* @throws {RevenexxException}
|
|
402
|
+
* @returns {Promise<{}>}
|
|
403
|
+
*/
|
|
404
|
+
pagesEditorSchedule(params: {
|
|
405
|
+
pageId: string;
|
|
406
|
+
scheduledAt: string;
|
|
407
|
+
}): Promise<{}>;
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* @param {string} pageId -
|
|
411
|
+
* @param {string} scheduledAt -
|
|
412
|
+
* @throws {RevenexxException}
|
|
413
|
+
* @returns {Promise<{}>}
|
|
414
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
415
|
+
*/
|
|
416
|
+
pagesEditorSchedule(pageId: string, scheduledAt: string): Promise<{}>;
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @param {string} params.pageId -
|
|
420
|
+
* @throws {RevenexxException}
|
|
421
|
+
* @returns {Promise<Models.EditorState>}
|
|
422
|
+
*/
|
|
423
|
+
pagesEditorState(params: {
|
|
424
|
+
pageId: string;
|
|
425
|
+
}): Promise<Models.EditorState>;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @param {string} pageId -
|
|
429
|
+
* @throws {RevenexxException}
|
|
430
|
+
* @returns {Promise<Models.EditorState>}
|
|
431
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
432
|
+
*/
|
|
433
|
+
pagesEditorState(pageId: string): Promise<Models.EditorState>;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @param {string} params.pageId -
|
|
437
|
+
* @throws {RevenexxException}
|
|
438
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
439
|
+
*/
|
|
440
|
+
pagesEditorTakeOwnership(params: {
|
|
441
|
+
pageId: string;
|
|
442
|
+
}): Promise<Models.MutationResponse>;
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @param {string} pageId -
|
|
446
|
+
* @throws {RevenexxException}
|
|
447
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
448
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
449
|
+
*/
|
|
450
|
+
pagesEditorTakeOwnership(pageId: string): Promise<Models.MutationResponse>;
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* @param {string} params.pageId -
|
|
454
|
+
* @param {string} params.label -
|
|
455
|
+
* @param {string[]} params.uuids -
|
|
456
|
+
* @param {string} params.description -
|
|
457
|
+
* @param {string} params.fieldName -
|
|
458
|
+
* @param {boolean} params.isDefault -
|
|
459
|
+
* @param {string} params.pageBundle -
|
|
460
|
+
* @throws {RevenexxException}
|
|
461
|
+
* @returns {Promise<Models.Template>}
|
|
462
|
+
*/
|
|
463
|
+
pagesEditorTemplatesCreate(params: {
|
|
464
|
+
pageId: string;
|
|
465
|
+
label: string;
|
|
466
|
+
uuids: string[];
|
|
467
|
+
description?: string;
|
|
468
|
+
fieldName?: string;
|
|
469
|
+
isDefault?: boolean;
|
|
470
|
+
pageBundle?: string;
|
|
471
|
+
}): Promise<Models.Template>;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @param {string} pageId -
|
|
475
|
+
* @param {string} label -
|
|
476
|
+
* @param {string[]} uuids -
|
|
477
|
+
* @param {string} description -
|
|
478
|
+
* @param {string} fieldName -
|
|
479
|
+
* @param {boolean} isDefault -
|
|
480
|
+
* @param {string} pageBundle -
|
|
481
|
+
* @throws {RevenexxException}
|
|
482
|
+
* @returns {Promise<Models.Template>}
|
|
483
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
484
|
+
*/
|
|
485
|
+
pagesEditorTemplatesCreate(pageId: string, label: string, uuids: string[], description?: string, fieldName?: string, isDefault?: boolean, pageBundle?: string): Promise<Models.Template>;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @param {string} params.pageId -
|
|
489
|
+
* @throws {RevenexxException}
|
|
490
|
+
* @returns {Promise<{}>}
|
|
491
|
+
*/
|
|
492
|
+
pagesEditorUnschedule(params: {
|
|
493
|
+
pageId: string;
|
|
494
|
+
}): Promise<{}>;
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @param {string} pageId -
|
|
498
|
+
* @throws {RevenexxException}
|
|
499
|
+
* @returns {Promise<{}>}
|
|
500
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
501
|
+
*/
|
|
502
|
+
pagesEditorUnschedule(pageId: string): Promise<{}>;
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @throws {RevenexxException}
|
|
506
|
+
* @returns {Promise<{}>}
|
|
507
|
+
*/
|
|
508
|
+
pagesLibraryList(): Promise<{}>;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @param {string} params.id -
|
|
512
|
+
* @throws {RevenexxException}
|
|
513
|
+
* @returns {Promise<{}>}
|
|
514
|
+
*/
|
|
515
|
+
pagesLibraryDelete(params: {
|
|
516
|
+
id: string;
|
|
517
|
+
}): Promise<{}>;
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @param {string} id -
|
|
521
|
+
* @throws {RevenexxException}
|
|
522
|
+
* @returns {Promise<{}>}
|
|
523
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
524
|
+
*/
|
|
525
|
+
pagesLibraryDelete(id: string): Promise<{}>;
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @param {string} params.id -
|
|
529
|
+
* @throws {RevenexxException}
|
|
530
|
+
* @returns {Promise<Models.LibraryItem>}
|
|
531
|
+
*/
|
|
532
|
+
pagesLibraryGet(params: {
|
|
533
|
+
id: string;
|
|
534
|
+
}): Promise<Models.LibraryItem>;
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @param {string} id -
|
|
538
|
+
* @throws {RevenexxException}
|
|
539
|
+
* @returns {Promise<Models.LibraryItem>}
|
|
540
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
541
|
+
*/
|
|
542
|
+
pagesLibraryGet(id: string): Promise<Models.LibraryItem>;
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @param {string} params.id -
|
|
546
|
+
* @throws {RevenexxException}
|
|
547
|
+
* @returns {Promise<Models.LibraryItem>}
|
|
548
|
+
*/
|
|
549
|
+
pagesLibraryUpdate(params: {
|
|
550
|
+
id: string;
|
|
551
|
+
}): Promise<Models.LibraryItem>;
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @param {string} id -
|
|
555
|
+
* @throws {RevenexxException}
|
|
556
|
+
* @returns {Promise<Models.LibraryItem>}
|
|
557
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
558
|
+
*/
|
|
559
|
+
pagesLibraryUpdate(id: string): Promise<Models.LibraryItem>;
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @throws {RevenexxException}
|
|
563
|
+
* @returns {Promise<{}>}
|
|
564
|
+
*/
|
|
565
|
+
pagesPagesList(): Promise<{}>;
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @throws {RevenexxException}
|
|
569
|
+
* @returns {Promise<Models.Page>}
|
|
570
|
+
*/
|
|
571
|
+
pagesPagesCreate(): Promise<Models.Page>;
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @param {string} params.id -
|
|
575
|
+
* @throws {RevenexxException}
|
|
576
|
+
* @returns {Promise<{}>}
|
|
577
|
+
*/
|
|
578
|
+
pagesPagesDelete(params: {
|
|
579
|
+
id: string;
|
|
580
|
+
}): Promise<{}>;
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @param {string} id -
|
|
584
|
+
* @throws {RevenexxException}
|
|
585
|
+
* @returns {Promise<{}>}
|
|
586
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
587
|
+
*/
|
|
588
|
+
pagesPagesDelete(id: string): Promise<{}>;
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @param {string} params.id -
|
|
592
|
+
* @throws {RevenexxException}
|
|
593
|
+
* @returns {Promise<Models.Page>}
|
|
594
|
+
*/
|
|
595
|
+
pagesPagesGet(params: {
|
|
596
|
+
id: string;
|
|
597
|
+
}): Promise<Models.Page>;
|
|
598
|
+
/**
|
|
599
|
+
*
|
|
600
|
+
* @param {string} id -
|
|
601
|
+
* @throws {RevenexxException}
|
|
602
|
+
* @returns {Promise<Models.Page>}
|
|
603
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
604
|
+
*/
|
|
605
|
+
pagesPagesGet(id: string): Promise<Models.Page>;
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @param {string} params.id -
|
|
609
|
+
* @throws {RevenexxException}
|
|
610
|
+
* @returns {Promise<Models.Page>}
|
|
611
|
+
*/
|
|
612
|
+
pagesPagesUpdate(params: {
|
|
613
|
+
id: string;
|
|
614
|
+
}): Promise<Models.Page>;
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @param {string} id -
|
|
618
|
+
* @throws {RevenexxException}
|
|
619
|
+
* @returns {Promise<Models.Page>}
|
|
620
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
621
|
+
*/
|
|
622
|
+
pagesPagesUpdate(id: string): Promise<Models.Page>;
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @param {string} params.id -
|
|
626
|
+
* @throws {RevenexxException}
|
|
627
|
+
* @returns {Promise<{}>}
|
|
628
|
+
*/
|
|
629
|
+
pagesPagesRevisions(params: {
|
|
630
|
+
id: string;
|
|
631
|
+
}): Promise<{}>;
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @param {string} id -
|
|
635
|
+
* @throws {RevenexxException}
|
|
636
|
+
* @returns {Promise<{}>}
|
|
637
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
638
|
+
*/
|
|
639
|
+
pagesPagesRevisions(id: string): Promise<{}>;
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @throws {RevenexxException}
|
|
643
|
+
* @returns {Promise<{}>}
|
|
644
|
+
*/
|
|
645
|
+
pagesSeed(): Promise<{}>;
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @throws {RevenexxException}
|
|
649
|
+
* @returns {Promise<{}>}
|
|
650
|
+
*/
|
|
651
|
+
pagesTemplatesList(): Promise<{}>;
|
|
652
|
+
/**
|
|
653
|
+
*
|
|
654
|
+
* @param {string} params.id -
|
|
655
|
+
* @throws {RevenexxException}
|
|
656
|
+
* @returns {Promise<{}>}
|
|
657
|
+
*/
|
|
658
|
+
pagesTemplatesDelete(params: {
|
|
659
|
+
id: string;
|
|
660
|
+
}): Promise<{}>;
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @param {string} id -
|
|
664
|
+
* @throws {RevenexxException}
|
|
665
|
+
* @returns {Promise<{}>}
|
|
666
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
667
|
+
*/
|
|
668
|
+
pagesTemplatesDelete(id: string): Promise<{}>;
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @param {string} params.id -
|
|
672
|
+
* @throws {RevenexxException}
|
|
673
|
+
* @returns {Promise<Models.Template>}
|
|
674
|
+
*/
|
|
675
|
+
pagesTemplatesGet(params: {
|
|
676
|
+
id: string;
|
|
677
|
+
}): Promise<Models.Template>;
|
|
678
|
+
/**
|
|
679
|
+
*
|
|
680
|
+
* @param {string} id -
|
|
681
|
+
* @throws {RevenexxException}
|
|
682
|
+
* @returns {Promise<Models.Template>}
|
|
683
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
684
|
+
*/
|
|
685
|
+
pagesTemplatesGet(id: string): Promise<Models.Template>;
|
|
686
|
+
/**
|
|
687
|
+
*
|
|
688
|
+
* @param {string} params.id -
|
|
689
|
+
* @throws {RevenexxException}
|
|
690
|
+
* @returns {Promise<Models.Template>}
|
|
691
|
+
*/
|
|
692
|
+
pagesTemplatesUpdate(params: {
|
|
693
|
+
id: string;
|
|
694
|
+
}): Promise<Models.Template>;
|
|
695
|
+
/**
|
|
696
|
+
*
|
|
697
|
+
* @param {string} id -
|
|
698
|
+
* @throws {RevenexxException}
|
|
699
|
+
* @returns {Promise<Models.Template>}
|
|
700
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
701
|
+
*/
|
|
702
|
+
pagesTemplatesUpdate(id: string): Promise<Models.Template>;
|
|
703
|
+
}
|