@revenexx/sdk 0.0.2 → 0.0.5

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.
Files changed (90) hide show
  1. package/dist/cjs/sdk.js +13496 -3442
  2. package/dist/cjs/sdk.js.map +1 -1
  3. package/dist/esm/sdk.js +13467 -3443
  4. package/dist/esm/sdk.js.map +1 -1
  5. package/dist/iife/sdk.js +13496 -3442
  6. package/package.json +1 -1
  7. package/src/client.ts +1 -1
  8. package/src/enums/address-type.ts +4 -0
  9. package/src/enums/cart-export-format.ts +4 -0
  10. package/src/enums/cart-io-apply-mode.ts +5 -0
  11. package/src/enums/cart-io-direction.ts +4 -0
  12. package/src/enums/cart-io-entity.ts +4 -0
  13. package/src/enums/cart-io-format.ts +4 -0
  14. package/src/enums/cart-item-type.ts +5 -0
  15. package/src/enums/channel-status.ts +4 -0
  16. package/src/enums/channel-type.ts +7 -0
  17. package/src/enums/contact-role.ts +6 -0
  18. package/src/enums/contact-status.ts +5 -0
  19. package/src/enums/location-type.ts +6 -0
  20. package/src/enums/market-status.ts +4 -0
  21. package/src/enums/order-comment-visibility.ts +4 -0
  22. package/src/enums/order-item-type.ts +5 -0
  23. package/src/enums/order-payment-status.ts +9 -0
  24. package/src/enums/organization-status.ts +4 -0
  25. package/src/enums/page-status.ts +5 -0
  26. package/src/enums/payment-fee-type.ts +5 -0
  27. package/src/enums/payment-method-kind.ts +4 -0
  28. package/src/enums/price-entry-type.ts +4 -0
  29. package/src/enums/price-list-status.ts +4 -0
  30. package/src/enums/shipping-method-matrix-basis.ts +6 -0
  31. package/src/enums/shipping-method-pricing-type.ts +5 -0
  32. package/src/index.ts +30 -0
  33. package/src/models.ts +5628 -410
  34. package/src/services/apps.ts +154 -154
  35. package/src/services/avatars.ts +57 -57
  36. package/src/services/carts.ts +739 -104
  37. package/src/services/channels.ts +147 -19
  38. package/src/services/customers.ts +801 -69
  39. package/src/services/greetings.ts +18 -18
  40. package/src/services/inventories.ts +1278 -0
  41. package/src/services/locale.ts +16 -16
  42. package/src/services/markets.ts +373 -75
  43. package/src/services/messaging.ts +273 -273
  44. package/src/services/orders.ts +1648 -0
  45. package/src/services/pages.ts +2317 -0
  46. package/src/services/payments.ts +1334 -0
  47. package/src/services/prices.ts +1036 -0
  48. package/src/services/products.ts +1836 -272
  49. package/src/services/search.ts +24 -24
  50. package/src/services/shipping.ts +956 -0
  51. package/src/services/sites.ts +116 -116
  52. package/src/services/storage.ts +72 -72
  53. package/src/services/tokens.ts +14 -14
  54. package/types/enums/address-type.d.ts +4 -0
  55. package/types/enums/cart-export-format.d.ts +4 -0
  56. package/types/enums/cart-io-apply-mode.d.ts +5 -0
  57. package/types/enums/cart-io-direction.d.ts +4 -0
  58. package/types/enums/cart-io-entity.d.ts +4 -0
  59. package/types/enums/cart-io-format.d.ts +4 -0
  60. package/types/enums/cart-item-type.d.ts +5 -0
  61. package/types/enums/channel-status.d.ts +4 -0
  62. package/types/enums/channel-type.d.ts +7 -0
  63. package/types/enums/contact-role.d.ts +6 -0
  64. package/types/enums/contact-status.d.ts +5 -0
  65. package/types/enums/location-type.d.ts +6 -0
  66. package/types/enums/market-status.d.ts +4 -0
  67. package/types/enums/order-comment-visibility.d.ts +4 -0
  68. package/types/enums/order-item-type.d.ts +5 -0
  69. package/types/enums/order-payment-status.d.ts +9 -0
  70. package/types/enums/organization-status.d.ts +4 -0
  71. package/types/enums/page-status.d.ts +5 -0
  72. package/types/enums/payment-fee-type.d.ts +5 -0
  73. package/types/enums/payment-method-kind.d.ts +4 -0
  74. package/types/enums/price-entry-type.d.ts +4 -0
  75. package/types/enums/price-list-status.d.ts +4 -0
  76. package/types/enums/shipping-method-matrix-basis.d.ts +6 -0
  77. package/types/enums/shipping-method-pricing-type.d.ts +5 -0
  78. package/types/index.d.ts +30 -0
  79. package/types/models.d.ts +5470 -404
  80. package/types/services/carts.d.ts +271 -12
  81. package/types/services/channels.d.ts +54 -2
  82. package/types/services/customers.d.ts +295 -12
  83. package/types/services/inventories.d.ts +440 -0
  84. package/types/services/markets.d.ts +123 -6
  85. package/types/services/orders.d.ts +590 -0
  86. package/types/services/pages.d.ts +792 -0
  87. package/types/services/payments.d.ts +480 -0
  88. package/types/services/prices.d.ts +384 -0
  89. package/types/services/products.d.ts +646 -32
  90. package/types/services/shipping.d.ts +351 -0
@@ -0,0 +1,792 @@
1
+ import { Client } from '../client';
2
+ import type { Models } from '../models';
3
+ import { PageStatus } from '../enums/page-status';
4
+ export declare class Pages {
5
+ client: Client;
6
+ constructor(client: Client);
7
+ /**
8
+ *
9
+ * @throws {RevenexxException}
10
+ * @returns {Promise<Models.DeliveryPage>}
11
+ */
12
+ pagesDeliveryPage(): Promise<Models.DeliveryPage>;
13
+ /**
14
+ *
15
+ * @throws {RevenexxException}
16
+ * @returns {Promise<{}>}
17
+ */
18
+ pagesDeliveryPages(): Promise<{}>;
19
+ /**
20
+ *
21
+ * @param {string} params.token -
22
+ * @throws {RevenexxException}
23
+ * @returns {Promise<Models.DeliveryPage>}
24
+ */
25
+ pagesDeliveryPreview(params: {
26
+ token: string;
27
+ }): Promise<Models.DeliveryPage>;
28
+ /**
29
+ *
30
+ * @param {string} token -
31
+ * @throws {RevenexxException}
32
+ * @returns {Promise<Models.DeliveryPage>}
33
+ * @deprecated Use the object parameter style method for a better developer experience.
34
+ */
35
+ pagesDeliveryPreview(token: string): Promise<Models.DeliveryPage>;
36
+ /**
37
+ *
38
+ * @throws {RevenexxException}
39
+ * @returns {Promise<{}>}
40
+ */
41
+ pagesEditorEditStates(): Promise<{}>;
42
+ /**
43
+ *
44
+ * @throws {RevenexxException}
45
+ * @returns {Promise<{}>}
46
+ */
47
+ pagesEditorNotificationsList(): Promise<{}>;
48
+ /**
49
+ *
50
+ * @throws {RevenexxException}
51
+ * @returns {Promise<{}>}
52
+ */
53
+ pagesEditorNotificationsMarkAllRead(): Promise<{}>;
54
+ /**
55
+ *
56
+ * @throws {RevenexxException}
57
+ * @returns {Promise<{}>}
58
+ */
59
+ pagesEditorNotificationsUnreadCount(): Promise<{}>;
60
+ /**
61
+ *
62
+ * @param {object[]} params.items -
63
+ * @throws {RevenexxException}
64
+ * @returns {Promise<{}>}
65
+ */
66
+ pagesEditorTranslate(params?: {
67
+ items?: object[];
68
+ }): Promise<{}>;
69
+ /**
70
+ *
71
+ * @param {object[]} items -
72
+ * @throws {RevenexxException}
73
+ * @returns {Promise<{}>}
74
+ * @deprecated Use the object parameter style method for a better developer experience.
75
+ */
76
+ pagesEditorTranslate(items?: object[]): Promise<{}>;
77
+ /**
78
+ *
79
+ * @throws {RevenexxException}
80
+ * @returns {Promise<{}>}
81
+ */
82
+ pagesEditorUserSettingsGet(): Promise<{}>;
83
+ /**
84
+ *
85
+ * @param {object} params.settings -
86
+ * @throws {RevenexxException}
87
+ * @returns {Promise<{}>}
88
+ */
89
+ pagesEditorUserSettingsPut(params?: {
90
+ settings?: object;
91
+ }): Promise<{}>;
92
+ /**
93
+ *
94
+ * @param {object} settings -
95
+ * @throws {RevenexxException}
96
+ * @returns {Promise<{}>}
97
+ * @deprecated Use the object parameter style method for a better developer experience.
98
+ */
99
+ pagesEditorUserSettingsPut(settings?: object): Promise<{}>;
100
+ /**
101
+ *
102
+ * @throws {RevenexxException}
103
+ * @returns {Promise<{}>}
104
+ */
105
+ pagesEditorUsers(): Promise<{}>;
106
+ /**
107
+ *
108
+ * @param {string} params.pageId -
109
+ * @throws {RevenexxException}
110
+ * @returns {Promise<{}>}
111
+ */
112
+ pagesEditorCommentsList(params: {
113
+ pageId: string;
114
+ }): Promise<{}>;
115
+ /**
116
+ *
117
+ * @param {string} pageId -
118
+ * @throws {RevenexxException}
119
+ * @returns {Promise<{}>}
120
+ * @deprecated Use the object parameter style method for a better developer experience.
121
+ */
122
+ pagesEditorCommentsList(pageId: string): Promise<{}>;
123
+ /**
124
+ *
125
+ * @param {string} params.pageId -
126
+ * @param {string} params.body -
127
+ * @param {string[]} params.blockUuids -
128
+ * @param {string} params.parentUuid -
129
+ * @throws {RevenexxException}
130
+ * @returns {Promise<{}>}
131
+ */
132
+ pagesEditorCommentsCreate(params: {
133
+ pageId: string;
134
+ body: string;
135
+ blockUuids?: string[];
136
+ parentUuid?: string;
137
+ }): Promise<{}>;
138
+ /**
139
+ *
140
+ * @param {string} pageId -
141
+ * @param {string} body -
142
+ * @param {string[]} blockUuids -
143
+ * @param {string} parentUuid -
144
+ * @throws {RevenexxException}
145
+ * @returns {Promise<{}>}
146
+ * @deprecated Use the object parameter style method for a better developer experience.
147
+ */
148
+ pagesEditorCommentsCreate(pageId: string, body: string, blockUuids?: string[], parentUuid?: string): Promise<{}>;
149
+ /**
150
+ *
151
+ * @param {string} params.pageId -
152
+ * @param {string} params.uuid -
153
+ * @throws {RevenexxException}
154
+ * @returns {Promise<{}>}
155
+ */
156
+ pagesEditorCommentsDelete(params: {
157
+ pageId: string;
158
+ uuid: string;
159
+ }): Promise<{}>;
160
+ /**
161
+ *
162
+ * @param {string} pageId -
163
+ * @param {string} uuid -
164
+ * @throws {RevenexxException}
165
+ * @returns {Promise<{}>}
166
+ * @deprecated Use the object parameter style method for a better developer experience.
167
+ */
168
+ pagesEditorCommentsDelete(pageId: string, uuid: string): Promise<{}>;
169
+ /**
170
+ *
171
+ * @param {string} params.pageId -
172
+ * @param {string} params.uuid -
173
+ * @param {string} params.body -
174
+ * @throws {RevenexxException}
175
+ * @returns {Promise<{}>}
176
+ */
177
+ pagesEditorCommentsUpdate(params: {
178
+ pageId: string;
179
+ uuid: string;
180
+ body: string;
181
+ }): Promise<{}>;
182
+ /**
183
+ *
184
+ * @param {string} pageId -
185
+ * @param {string} uuid -
186
+ * @param {string} body -
187
+ * @throws {RevenexxException}
188
+ * @returns {Promise<{}>}
189
+ * @deprecated Use the object parameter style method for a better developer experience.
190
+ */
191
+ pagesEditorCommentsUpdate(pageId: string, uuid: string, body: string): Promise<{}>;
192
+ /**
193
+ *
194
+ * @param {string} params.pageId -
195
+ * @param {string} params.uuid -
196
+ * @throws {RevenexxException}
197
+ * @returns {Promise<{}>}
198
+ */
199
+ pagesEditorCommentsResolve(params: {
200
+ pageId: string;
201
+ uuid: string;
202
+ }): Promise<{}>;
203
+ /**
204
+ *
205
+ * @param {string} pageId -
206
+ * @param {string} uuid -
207
+ * @throws {RevenexxException}
208
+ * @returns {Promise<{}>}
209
+ * @deprecated Use the object parameter style method for a better developer experience.
210
+ */
211
+ pagesEditorCommentsResolve(pageId: string, uuid: string): Promise<{}>;
212
+ /**
213
+ *
214
+ * @param {string} params.pageId -
215
+ * @param {string} params.uuid -
216
+ * @param {number} params.taskIndex -
217
+ * @throws {RevenexxException}
218
+ * @returns {Promise<Models.Comment>}
219
+ */
220
+ pagesEditorCommentsToggleTask(params: {
221
+ pageId: string;
222
+ uuid: string;
223
+ taskIndex: number;
224
+ }): Promise<Models.Comment>;
225
+ /**
226
+ *
227
+ * @param {string} pageId -
228
+ * @param {string} uuid -
229
+ * @param {number} taskIndex -
230
+ * @throws {RevenexxException}
231
+ * @returns {Promise<Models.Comment>}
232
+ * @deprecated Use the object parameter style method for a better developer experience.
233
+ */
234
+ pagesEditorCommentsToggleTask(pageId: string, uuid: string, taskIndex: number): Promise<Models.Comment>;
235
+ /**
236
+ *
237
+ * @param {string} params.pageId -
238
+ * @param {string} params.uuid -
239
+ * @throws {RevenexxException}
240
+ * @returns {Promise<{}>}
241
+ */
242
+ pagesEditorCommentsUnresolve(params: {
243
+ pageId: string;
244
+ uuid: string;
245
+ }): Promise<{}>;
246
+ /**
247
+ *
248
+ * @param {string} pageId -
249
+ * @param {string} uuid -
250
+ * @throws {RevenexxException}
251
+ * @returns {Promise<{}>}
252
+ * @deprecated Use the object parameter style method for a better developer experience.
253
+ */
254
+ pagesEditorCommentsUnresolve(pageId: string, uuid: string): Promise<{}>;
255
+ /**
256
+ *
257
+ * @param {string} params.pageId -
258
+ * @param {number} params.index -
259
+ * @param {string} params.langcode -
260
+ * @throws {RevenexxException}
261
+ * @returns {Promise<Models.MutationResponse>}
262
+ */
263
+ pagesEditorHistory(params: {
264
+ pageId: string;
265
+ index: number;
266
+ langcode?: string;
267
+ }): Promise<Models.MutationResponse>;
268
+ /**
269
+ *
270
+ * @param {string} pageId -
271
+ * @param {number} index -
272
+ * @param {string} langcode -
273
+ * @throws {RevenexxException}
274
+ * @returns {Promise<Models.MutationResponse>}
275
+ * @deprecated Use the object parameter style method for a better developer experience.
276
+ */
277
+ pagesEditorHistory(pageId: string, index: number, langcode?: string): Promise<Models.MutationResponse>;
278
+ /**
279
+ *
280
+ * @param {string} params.pageId -
281
+ * @throws {RevenexxException}
282
+ * @returns {Promise<{}>}
283
+ */
284
+ pagesEditorLastChanged(params: {
285
+ pageId: string;
286
+ }): Promise<{}>;
287
+ /**
288
+ *
289
+ * @param {string} pageId -
290
+ * @throws {RevenexxException}
291
+ * @returns {Promise<{}>}
292
+ * @deprecated Use the object parameter style method for a better developer experience.
293
+ */
294
+ pagesEditorLastChanged(pageId: string): Promise<{}>;
295
+ /**
296
+ *
297
+ * @param {string} params.pageId -
298
+ * @param {boolean} params.enabled -
299
+ * @param {number} params.index -
300
+ * @param {string} params.langcode -
301
+ * @throws {RevenexxException}
302
+ * @returns {Promise<Models.MutationResponse>}
303
+ */
304
+ pagesEditorMutationStatus(params: {
305
+ pageId: string;
306
+ enabled: boolean;
307
+ index: number;
308
+ langcode?: string;
309
+ }): Promise<Models.MutationResponse>;
310
+ /**
311
+ *
312
+ * @param {string} pageId -
313
+ * @param {boolean} enabled -
314
+ * @param {number} index -
315
+ * @param {string} langcode -
316
+ * @throws {RevenexxException}
317
+ * @returns {Promise<Models.MutationResponse>}
318
+ * @deprecated Use the object parameter style method for a better developer experience.
319
+ */
320
+ pagesEditorMutationStatus(pageId: string, enabled: boolean, index: number, langcode?: string): Promise<Models.MutationResponse>;
321
+ /**
322
+ *
323
+ * @param {string} params.pageId -
324
+ * @param {string} params.plugin - Mutation plugin id (add, move, delete, duplicate, update_field_value, ...).
325
+ * @param {string} params.langcode -
326
+ * @param {object} params.payload -
327
+ * @throws {RevenexxException}
328
+ * @returns {Promise<Models.MutationResponse>}
329
+ */
330
+ pagesEditorMutate(params: {
331
+ pageId: string;
332
+ plugin: string;
333
+ langcode?: string;
334
+ payload?: object;
335
+ }): Promise<Models.MutationResponse>;
336
+ /**
337
+ *
338
+ * @param {string} pageId -
339
+ * @param {string} plugin - Mutation plugin id (add, move, delete, duplicate, update_field_value, ...).
340
+ * @param {string} langcode -
341
+ * @param {object} payload -
342
+ * @throws {RevenexxException}
343
+ * @returns {Promise<Models.MutationResponse>}
344
+ * @deprecated Use the object parameter style method for a better developer experience.
345
+ */
346
+ pagesEditorMutate(pageId: string, plugin: string, langcode?: string, payload?: object): Promise<Models.MutationResponse>;
347
+ /**
348
+ *
349
+ * @param {string} params.pageId -
350
+ * @param {number} params.ttlHours -
351
+ * @throws {RevenexxException}
352
+ * @returns {Promise<{}>}
353
+ */
354
+ pagesEditorPreviewGrant(params: {
355
+ pageId: string;
356
+ ttlHours?: number;
357
+ }): Promise<{}>;
358
+ /**
359
+ *
360
+ * @param {string} pageId -
361
+ * @param {number} ttlHours -
362
+ * @throws {RevenexxException}
363
+ * @returns {Promise<{}>}
364
+ * @deprecated Use the object parameter style method for a better developer experience.
365
+ */
366
+ pagesEditorPreviewGrant(pageId: string, ttlHours?: number): Promise<{}>;
367
+ /**
368
+ *
369
+ * @param {string} params.pageId -
370
+ * @param {boolean} params.force - Publish despite violations.
371
+ * @param {string} params.label -
372
+ * @throws {RevenexxException}
373
+ * @returns {Promise<Models.MutationResponse>}
374
+ */
375
+ pagesEditorPublish(params: {
376
+ pageId: string;
377
+ force?: boolean;
378
+ label?: string;
379
+ }): Promise<Models.MutationResponse>;
380
+ /**
381
+ *
382
+ * @param {string} pageId -
383
+ * @param {boolean} force - Publish despite violations.
384
+ * @param {string} label -
385
+ * @throws {RevenexxException}
386
+ * @returns {Promise<Models.MutationResponse>}
387
+ * @deprecated Use the object parameter style method for a better developer experience.
388
+ */
389
+ pagesEditorPublish(pageId: string, force?: boolean, label?: string): Promise<Models.MutationResponse>;
390
+ /**
391
+ *
392
+ * @param {string} params.pageId -
393
+ * @throws {RevenexxException}
394
+ * @returns {Promise<Models.MutationResponse>}
395
+ */
396
+ pagesEditorRevert(params: {
397
+ pageId: string;
398
+ }): Promise<Models.MutationResponse>;
399
+ /**
400
+ *
401
+ * @param {string} pageId -
402
+ * @throws {RevenexxException}
403
+ * @returns {Promise<Models.MutationResponse>}
404
+ * @deprecated Use the object parameter style method for a better developer experience.
405
+ */
406
+ pagesEditorRevert(pageId: string): Promise<Models.MutationResponse>;
407
+ /**
408
+ *
409
+ * @param {string} params.pageId -
410
+ * @param {string} params.scheduledAt -
411
+ * @throws {RevenexxException}
412
+ * @returns {Promise<{}>}
413
+ */
414
+ pagesEditorSchedule(params: {
415
+ pageId: string;
416
+ scheduledAt: string;
417
+ }): Promise<{}>;
418
+ /**
419
+ *
420
+ * @param {string} pageId -
421
+ * @param {string} scheduledAt -
422
+ * @throws {RevenexxException}
423
+ * @returns {Promise<{}>}
424
+ * @deprecated Use the object parameter style method for a better developer experience.
425
+ */
426
+ pagesEditorSchedule(pageId: string, scheduledAt: string): Promise<{}>;
427
+ /**
428
+ *
429
+ * @param {string} params.pageId -
430
+ * @throws {RevenexxException}
431
+ * @returns {Promise<Models.EditorState>}
432
+ */
433
+ pagesEditorState(params: {
434
+ pageId: string;
435
+ }): Promise<Models.EditorState>;
436
+ /**
437
+ *
438
+ * @param {string} pageId -
439
+ * @throws {RevenexxException}
440
+ * @returns {Promise<Models.EditorState>}
441
+ * @deprecated Use the object parameter style method for a better developer experience.
442
+ */
443
+ pagesEditorState(pageId: string): Promise<Models.EditorState>;
444
+ /**
445
+ *
446
+ * @param {string} params.pageId -
447
+ * @throws {RevenexxException}
448
+ * @returns {Promise<Models.MutationResponse>}
449
+ */
450
+ pagesEditorTakeOwnership(params: {
451
+ pageId: string;
452
+ }): Promise<Models.MutationResponse>;
453
+ /**
454
+ *
455
+ * @param {string} pageId -
456
+ * @throws {RevenexxException}
457
+ * @returns {Promise<Models.MutationResponse>}
458
+ * @deprecated Use the object parameter style method for a better developer experience.
459
+ */
460
+ pagesEditorTakeOwnership(pageId: string): Promise<Models.MutationResponse>;
461
+ /**
462
+ *
463
+ * @param {string} params.pageId -
464
+ * @param {string} params.label -
465
+ * @param {string[]} params.uuids -
466
+ * @param {string} params.description -
467
+ * @param {string} params.fieldName -
468
+ * @param {boolean} params.isDefault -
469
+ * @param {string} params.pageBundle -
470
+ * @throws {RevenexxException}
471
+ * @returns {Promise<Models.Template>}
472
+ */
473
+ pagesEditorTemplatesCreate(params: {
474
+ pageId: string;
475
+ label: string;
476
+ uuids: string[];
477
+ description?: string;
478
+ fieldName?: string;
479
+ isDefault?: boolean;
480
+ pageBundle?: string;
481
+ }): Promise<Models.Template>;
482
+ /**
483
+ *
484
+ * @param {string} pageId -
485
+ * @param {string} label -
486
+ * @param {string[]} uuids -
487
+ * @param {string} description -
488
+ * @param {string} fieldName -
489
+ * @param {boolean} isDefault -
490
+ * @param {string} pageBundle -
491
+ * @throws {RevenexxException}
492
+ * @returns {Promise<Models.Template>}
493
+ * @deprecated Use the object parameter style method for a better developer experience.
494
+ */
495
+ pagesEditorTemplatesCreate(pageId: string, label: string, uuids: string[], description?: string, fieldName?: string, isDefault?: boolean, pageBundle?: string): Promise<Models.Template>;
496
+ /**
497
+ *
498
+ * @param {string} params.pageId -
499
+ * @throws {RevenexxException}
500
+ * @returns {Promise<{}>}
501
+ */
502
+ pagesEditorUnschedule(params: {
503
+ pageId: string;
504
+ }): Promise<{}>;
505
+ /**
506
+ *
507
+ * @param {string} pageId -
508
+ * @throws {RevenexxException}
509
+ * @returns {Promise<{}>}
510
+ * @deprecated Use the object parameter style method for a better developer experience.
511
+ */
512
+ pagesEditorUnschedule(pageId: string): Promise<{}>;
513
+ /**
514
+ *
515
+ * @throws {RevenexxException}
516
+ * @returns {Promise<{}>}
517
+ */
518
+ pagesLibraryList(): Promise<{}>;
519
+ /**
520
+ *
521
+ * @param {string} params.id -
522
+ * @throws {RevenexxException}
523
+ * @returns {Promise<{}>}
524
+ */
525
+ pagesLibraryDelete(params: {
526
+ id: string;
527
+ }): Promise<{}>;
528
+ /**
529
+ *
530
+ * @param {string} id -
531
+ * @throws {RevenexxException}
532
+ * @returns {Promise<{}>}
533
+ * @deprecated Use the object parameter style method for a better developer experience.
534
+ */
535
+ pagesLibraryDelete(id: string): Promise<{}>;
536
+ /**
537
+ *
538
+ * @param {string} params.id -
539
+ * @throws {RevenexxException}
540
+ * @returns {Promise<Models.LibraryItem>}
541
+ */
542
+ pagesLibraryGet(params: {
543
+ id: string;
544
+ }): Promise<Models.LibraryItem>;
545
+ /**
546
+ *
547
+ * @param {string} id -
548
+ * @throws {RevenexxException}
549
+ * @returns {Promise<Models.LibraryItem>}
550
+ * @deprecated Use the object parameter style method for a better developer experience.
551
+ */
552
+ pagesLibraryGet(id: string): Promise<Models.LibraryItem>;
553
+ /**
554
+ *
555
+ * @param {string} params.id -
556
+ * @param {string} params.bundle -
557
+ * @param {string} params.label -
558
+ * @param {object} params.tree - Serialized block tree ({ bundle, props, props_i18n, options, children }).
559
+ * @throws {RevenexxException}
560
+ * @returns {Promise<Models.LibraryItem>}
561
+ */
562
+ pagesLibraryUpdate(params: {
563
+ id: string;
564
+ bundle?: string;
565
+ label?: string;
566
+ tree?: object;
567
+ }): Promise<Models.LibraryItem>;
568
+ /**
569
+ *
570
+ * @param {string} id -
571
+ * @param {string} bundle -
572
+ * @param {string} label -
573
+ * @param {object} tree - Serialized block tree ({ bundle, props, props_i18n, options, children }).
574
+ * @throws {RevenexxException}
575
+ * @returns {Promise<Models.LibraryItem>}
576
+ * @deprecated Use the object parameter style method for a better developer experience.
577
+ */
578
+ pagesLibraryUpdate(id: string, bundle?: string, label?: string, tree?: object): Promise<Models.LibraryItem>;
579
+ /**
580
+ *
581
+ * @throws {RevenexxException}
582
+ * @returns {Promise<{}>}
583
+ */
584
+ pagesPagesList(): Promise<{}>;
585
+ /**
586
+ *
587
+ * @param {string} params.title -
588
+ * @param {string} params.bundle -
589
+ * @param {object} params.hostOptions -
590
+ * @param {object} params.meta -
591
+ * @param {string} params.slug -
592
+ * @param {string} params.sourceLanguage -
593
+ * @throws {RevenexxException}
594
+ * @returns {Promise<Models.Page>}
595
+ */
596
+ pagesPagesCreate(params: {
597
+ title: string;
598
+ bundle?: string;
599
+ hostOptions?: object;
600
+ meta?: object;
601
+ slug?: string;
602
+ sourceLanguage?: string;
603
+ }): Promise<Models.Page>;
604
+ /**
605
+ *
606
+ * @param {string} title -
607
+ * @param {string} bundle -
608
+ * @param {object} hostOptions -
609
+ * @param {object} meta -
610
+ * @param {string} slug -
611
+ * @param {string} sourceLanguage -
612
+ * @throws {RevenexxException}
613
+ * @returns {Promise<Models.Page>}
614
+ * @deprecated Use the object parameter style method for a better developer experience.
615
+ */
616
+ pagesPagesCreate(title: string, bundle?: string, hostOptions?: object, meta?: object, slug?: string, sourceLanguage?: string): Promise<Models.Page>;
617
+ /**
618
+ *
619
+ * @param {string} params.id -
620
+ * @throws {RevenexxException}
621
+ * @returns {Promise<{}>}
622
+ */
623
+ pagesPagesDelete(params: {
624
+ id: string;
625
+ }): Promise<{}>;
626
+ /**
627
+ *
628
+ * @param {string} id -
629
+ * @throws {RevenexxException}
630
+ * @returns {Promise<{}>}
631
+ * @deprecated Use the object parameter style method for a better developer experience.
632
+ */
633
+ pagesPagesDelete(id: string): Promise<{}>;
634
+ /**
635
+ *
636
+ * @param {string} params.id -
637
+ * @throws {RevenexxException}
638
+ * @returns {Promise<Models.Page>}
639
+ */
640
+ pagesPagesGet(params: {
641
+ id: string;
642
+ }): Promise<Models.Page>;
643
+ /**
644
+ *
645
+ * @param {string} id -
646
+ * @throws {RevenexxException}
647
+ * @returns {Promise<Models.Page>}
648
+ * @deprecated Use the object parameter style method for a better developer experience.
649
+ */
650
+ pagesPagesGet(id: string): Promise<Models.Page>;
651
+ /**
652
+ *
653
+ * @param {string} params.id -
654
+ * @param {string} params.bundle -
655
+ * @param {object} params.meta -
656
+ * @param {string} params.slug -
657
+ * @param {PageStatus} params.status -
658
+ * @param {string} params.title -
659
+ * @throws {RevenexxException}
660
+ * @returns {Promise<Models.Page>}
661
+ */
662
+ pagesPagesUpdate(params: {
663
+ id: string;
664
+ bundle?: string;
665
+ meta?: object;
666
+ slug?: string;
667
+ status?: PageStatus;
668
+ title?: string;
669
+ }): Promise<Models.Page>;
670
+ /**
671
+ *
672
+ * @param {string} id -
673
+ * @param {string} bundle -
674
+ * @param {object} meta -
675
+ * @param {string} slug -
676
+ * @param {PageStatus} status -
677
+ * @param {string} title -
678
+ * @throws {RevenexxException}
679
+ * @returns {Promise<Models.Page>}
680
+ * @deprecated Use the object parameter style method for a better developer experience.
681
+ */
682
+ pagesPagesUpdate(id: string, bundle?: string, meta?: object, slug?: string, status?: PageStatus, title?: string): Promise<Models.Page>;
683
+ /**
684
+ *
685
+ * @param {string} params.id -
686
+ * @throws {RevenexxException}
687
+ * @returns {Promise<{}>}
688
+ */
689
+ pagesPagesRevisions(params: {
690
+ id: string;
691
+ }): Promise<{}>;
692
+ /**
693
+ *
694
+ * @param {string} id -
695
+ * @throws {RevenexxException}
696
+ * @returns {Promise<{}>}
697
+ * @deprecated Use the object parameter style method for a better developer experience.
698
+ */
699
+ pagesPagesRevisions(id: string): Promise<{}>;
700
+ /**
701
+ *
702
+ * @param {object[]} params.pages -
703
+ * @throws {RevenexxException}
704
+ * @returns {Promise<{}>}
705
+ */
706
+ pagesSeed(params?: {
707
+ pages?: object[];
708
+ }): Promise<{}>;
709
+ /**
710
+ *
711
+ * @param {object[]} pages -
712
+ * @throws {RevenexxException}
713
+ * @returns {Promise<{}>}
714
+ * @deprecated Use the object parameter style method for a better developer experience.
715
+ */
716
+ pagesSeed(pages?: object[]): Promise<{}>;
717
+ /**
718
+ *
719
+ * @throws {RevenexxException}
720
+ * @returns {Promise<{}>}
721
+ */
722
+ pagesTemplatesList(): Promise<{}>;
723
+ /**
724
+ *
725
+ * @param {string} params.id -
726
+ * @throws {RevenexxException}
727
+ * @returns {Promise<{}>}
728
+ */
729
+ pagesTemplatesDelete(params: {
730
+ id: string;
731
+ }): Promise<{}>;
732
+ /**
733
+ *
734
+ * @param {string} id -
735
+ * @throws {RevenexxException}
736
+ * @returns {Promise<{}>}
737
+ * @deprecated Use the object parameter style method for a better developer experience.
738
+ */
739
+ pagesTemplatesDelete(id: string): Promise<{}>;
740
+ /**
741
+ *
742
+ * @param {string} params.id -
743
+ * @throws {RevenexxException}
744
+ * @returns {Promise<Models.Template>}
745
+ */
746
+ pagesTemplatesGet(params: {
747
+ id: string;
748
+ }): Promise<Models.Template>;
749
+ /**
750
+ *
751
+ * @param {string} id -
752
+ * @throws {RevenexxException}
753
+ * @returns {Promise<Models.Template>}
754
+ * @deprecated Use the object parameter style method for a better developer experience.
755
+ */
756
+ pagesTemplatesGet(id: string): Promise<Models.Template>;
757
+ /**
758
+ *
759
+ * @param {string} params.id -
760
+ * @param {string} params.description -
761
+ * @param {string} params.fieldName -
762
+ * @param {boolean} params.isDefault -
763
+ * @param {string} params.label -
764
+ * @param {string} params.pageBundle -
765
+ * @param {object[]} params.tree - Serialized block trees ({ bundle, props, props_i18n, options, children }).
766
+ * @throws {RevenexxException}
767
+ * @returns {Promise<Models.Template>}
768
+ */
769
+ pagesTemplatesUpdate(params: {
770
+ id: string;
771
+ description?: string;
772
+ fieldName?: string;
773
+ isDefault?: boolean;
774
+ label?: string;
775
+ pageBundle?: string;
776
+ tree?: object[];
777
+ }): Promise<Models.Template>;
778
+ /**
779
+ *
780
+ * @param {string} id -
781
+ * @param {string} description -
782
+ * @param {string} fieldName -
783
+ * @param {boolean} isDefault -
784
+ * @param {string} label -
785
+ * @param {string} pageBundle -
786
+ * @param {object[]} tree - Serialized block trees ({ bundle, props, props_i18n, options, children }).
787
+ * @throws {RevenexxException}
788
+ * @returns {Promise<Models.Template>}
789
+ * @deprecated Use the object parameter style method for a better developer experience.
790
+ */
791
+ pagesTemplatesUpdate(id: string, description?: string, fieldName?: string, isDefault?: boolean, label?: string, pageBundle?: string, tree?: object[]): Promise<Models.Template>;
792
+ }