@zephytiju/juntai-typescript-sdk 3.5.0 → 3.7.0
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/CHANGELOG.md +12 -0
- package/README.md +20 -3
- package/dist/generated/lattice.ontology/index.d.ts +2 -2
- package/dist/generated/lattice.ontology/index.js +1 -1
- package/dist/generated/lattice.ontology/sdk.gen.d.ts +17 -1
- package/dist/generated/lattice.ontology/sdk.gen.js +32 -0
- package/dist/generated/lattice.ontology/types.gen.d.ts +598 -0
- package/dist/generated/prism.build/types.gen.d.ts +3 -3
- package/dist/generated/prism.composition/index.d.ts +1 -1
- package/dist/generated/prism.composition/sdk.gen.d.ts +2 -0
- package/dist/generated/prism.composition/sdk.gen.js +2 -0
- package/dist/generated/prism.composition/types.gen.d.ts +726 -2
- package/dist/release-manifest.json +20 -20
- package/package.json +1 -1
- package/sources/openapi.lock.json +24 -24
|
@@ -53,6 +53,590 @@ export type ApplyVariant = {
|
|
|
53
53
|
*/
|
|
54
54
|
key: string;
|
|
55
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* AuthoringCapabilities
|
|
58
|
+
*/
|
|
59
|
+
export type AuthoringCapabilities = {
|
|
60
|
+
/**
|
|
61
|
+
* Aspectratio
|
|
62
|
+
*/
|
|
63
|
+
aspectRatio?: number | null;
|
|
64
|
+
maximumSpan?: AuthoringSpan | null;
|
|
65
|
+
minimumSpan?: AuthoringSpan | null;
|
|
66
|
+
/**
|
|
67
|
+
* Overflow
|
|
68
|
+
*/
|
|
69
|
+
overflow?: 'host' | 'component' | 'clip' | null;
|
|
70
|
+
preferredSpan?: AuthoringSpan | null;
|
|
71
|
+
/**
|
|
72
|
+
* Resizable
|
|
73
|
+
*/
|
|
74
|
+
resizable?: boolean | null;
|
|
75
|
+
/**
|
|
76
|
+
* Responsive
|
|
77
|
+
*/
|
|
78
|
+
responsive?: boolean | null;
|
|
79
|
+
/**
|
|
80
|
+
* Supportedroles
|
|
81
|
+
*/
|
|
82
|
+
supportedRoles: Array<string>;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* AuthoringContext
|
|
86
|
+
*/
|
|
87
|
+
export type AuthoringContext = {
|
|
88
|
+
insertion: Compatibility;
|
|
89
|
+
/**
|
|
90
|
+
* Instanceid
|
|
91
|
+
*/
|
|
92
|
+
instanceId?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* Releasekey
|
|
95
|
+
*/
|
|
96
|
+
releaseKey: string;
|
|
97
|
+
/**
|
|
98
|
+
* Requirescustomlayout
|
|
99
|
+
*/
|
|
100
|
+
requiresCustomLayout: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Targetslotid
|
|
103
|
+
*/
|
|
104
|
+
targetSlotId: string;
|
|
105
|
+
/**
|
|
106
|
+
* Variants
|
|
107
|
+
*/
|
|
108
|
+
variants: Array<VariantCompatibility>;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* AuthoringDefinition
|
|
112
|
+
*/
|
|
113
|
+
export type AuthoringDefinition = {
|
|
114
|
+
/**
|
|
115
|
+
* Definition
|
|
116
|
+
*/
|
|
117
|
+
definition: {
|
|
118
|
+
[key: string]: JsonValue;
|
|
119
|
+
} | boolean;
|
|
120
|
+
/**
|
|
121
|
+
* ExactSchemaRef
|
|
122
|
+
*/
|
|
123
|
+
reference: {
|
|
124
|
+
/**
|
|
125
|
+
* Catalog
|
|
126
|
+
*/
|
|
127
|
+
catalog: string;
|
|
128
|
+
/**
|
|
129
|
+
* Digest
|
|
130
|
+
*/
|
|
131
|
+
digest: string;
|
|
132
|
+
/**
|
|
133
|
+
* Schema
|
|
134
|
+
*/
|
|
135
|
+
schema: string;
|
|
136
|
+
/**
|
|
137
|
+
* Version
|
|
138
|
+
*/
|
|
139
|
+
version: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* AuthoringPresentation
|
|
144
|
+
*/
|
|
145
|
+
export type AuthoringPresentation = {
|
|
146
|
+
/**
|
|
147
|
+
* Category
|
|
148
|
+
*/
|
|
149
|
+
category: string;
|
|
150
|
+
/**
|
|
151
|
+
* Compatibledistributions
|
|
152
|
+
*/
|
|
153
|
+
compatibleDistributions: Array<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Compatiblelayoutroles
|
|
156
|
+
*/
|
|
157
|
+
compatibleLayoutRoles?: Array<string> | null;
|
|
158
|
+
/**
|
|
159
|
+
* Compatibleslotroles
|
|
160
|
+
*/
|
|
161
|
+
compatibleSlotRoles?: Array<string> | null;
|
|
162
|
+
/**
|
|
163
|
+
* Description
|
|
164
|
+
*/
|
|
165
|
+
description?: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* Documentationurl
|
|
168
|
+
*/
|
|
169
|
+
documentationUrl?: string | null;
|
|
170
|
+
/**
|
|
171
|
+
* Iconref
|
|
172
|
+
*/
|
|
173
|
+
iconRef?: string | null;
|
|
174
|
+
/**
|
|
175
|
+
* Label
|
|
176
|
+
*/
|
|
177
|
+
label: string;
|
|
178
|
+
/**
|
|
179
|
+
* Previewfixture
|
|
180
|
+
*/
|
|
181
|
+
previewFixture?: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* Requiredcapabilities
|
|
184
|
+
*/
|
|
185
|
+
requiredCapabilities?: Array<string> | null;
|
|
186
|
+
/**
|
|
187
|
+
* Searchterms
|
|
188
|
+
*/
|
|
189
|
+
searchTerms: Array<string>;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* AuthoringProjection
|
|
193
|
+
*
|
|
194
|
+
* Snapshot only: at most 1 MiB, 128 contexts, 32 releases, 256 definitions.
|
|
195
|
+
*
|
|
196
|
+
* Over-limit/dependency failures return an explicit HTTP error. Select one
|
|
197
|
+
* instance or exact candidate to bound a page-wide read; nothing is truncated.
|
|
198
|
+
*/
|
|
199
|
+
export type AuthoringProjection = {
|
|
200
|
+
/**
|
|
201
|
+
* Contexts
|
|
202
|
+
*/
|
|
203
|
+
contexts: Array<AuthoringContext>;
|
|
204
|
+
/**
|
|
205
|
+
* Definitions
|
|
206
|
+
*/
|
|
207
|
+
definitions: Array<AuthoringDefinition>;
|
|
208
|
+
/**
|
|
209
|
+
* Evaluateddraftetag
|
|
210
|
+
*/
|
|
211
|
+
evaluatedDraftEtag: string;
|
|
212
|
+
/**
|
|
213
|
+
* Releases
|
|
214
|
+
*/
|
|
215
|
+
releases: Array<AuthoringRelease>;
|
|
216
|
+
templateRelease: TemplateRef;
|
|
217
|
+
/**
|
|
218
|
+
* Version
|
|
219
|
+
*/
|
|
220
|
+
version: 1;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* AuthoringRelease
|
|
224
|
+
*/
|
|
225
|
+
export type AuthoringRelease = {
|
|
226
|
+
/**
|
|
227
|
+
* Bindingfingerprint
|
|
228
|
+
*/
|
|
229
|
+
bindingFingerprint: string;
|
|
230
|
+
componentRelease: ComponentRelease;
|
|
231
|
+
/**
|
|
232
|
+
* SchemaContract
|
|
233
|
+
*
|
|
234
|
+
* Resolved immutable declarations, with no local definition names to interpret.
|
|
235
|
+
*/
|
|
236
|
+
declarations: {
|
|
237
|
+
/**
|
|
238
|
+
* Actions
|
|
239
|
+
*/
|
|
240
|
+
actions: Array<{
|
|
241
|
+
/**
|
|
242
|
+
* Key
|
|
243
|
+
*/
|
|
244
|
+
key: string;
|
|
245
|
+
/**
|
|
246
|
+
* Label
|
|
247
|
+
*/
|
|
248
|
+
label: string;
|
|
249
|
+
/**
|
|
250
|
+
* ExactSchemaRef
|
|
251
|
+
*/
|
|
252
|
+
request_schema_ref: {
|
|
253
|
+
/**
|
|
254
|
+
* Catalog
|
|
255
|
+
*/
|
|
256
|
+
catalog: string;
|
|
257
|
+
/**
|
|
258
|
+
* Digest
|
|
259
|
+
*/
|
|
260
|
+
digest: string;
|
|
261
|
+
/**
|
|
262
|
+
* Schema
|
|
263
|
+
*/
|
|
264
|
+
schema: string;
|
|
265
|
+
/**
|
|
266
|
+
* Version
|
|
267
|
+
*/
|
|
268
|
+
version: string;
|
|
269
|
+
};
|
|
270
|
+
response_schema_ref: {
|
|
271
|
+
/**
|
|
272
|
+
* Catalog
|
|
273
|
+
*/
|
|
274
|
+
catalog: string;
|
|
275
|
+
/**
|
|
276
|
+
* Digest
|
|
277
|
+
*/
|
|
278
|
+
digest: string;
|
|
279
|
+
/**
|
|
280
|
+
* Schema
|
|
281
|
+
*/
|
|
282
|
+
schema: string;
|
|
283
|
+
/**
|
|
284
|
+
* Version
|
|
285
|
+
*/
|
|
286
|
+
version: string;
|
|
287
|
+
} | null;
|
|
288
|
+
}>;
|
|
289
|
+
/**
|
|
290
|
+
* ConfigurationSchema[ExactSchemaRef]
|
|
291
|
+
*/
|
|
292
|
+
configuration: {
|
|
293
|
+
defaults: unknown;
|
|
294
|
+
/**
|
|
295
|
+
* Inspector Hints
|
|
296
|
+
*/
|
|
297
|
+
inspector_hints: {
|
|
298
|
+
[key: string]: unknown;
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
* ExactSchemaRef
|
|
302
|
+
*/
|
|
303
|
+
schema_ref: {
|
|
304
|
+
/**
|
|
305
|
+
* Catalog
|
|
306
|
+
*/
|
|
307
|
+
catalog: string;
|
|
308
|
+
/**
|
|
309
|
+
* Digest
|
|
310
|
+
*/
|
|
311
|
+
digest: string;
|
|
312
|
+
/**
|
|
313
|
+
* Schema
|
|
314
|
+
*/
|
|
315
|
+
schema: string;
|
|
316
|
+
/**
|
|
317
|
+
* Version
|
|
318
|
+
*/
|
|
319
|
+
version: string;
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* Events
|
|
324
|
+
*/
|
|
325
|
+
events: Array<{
|
|
326
|
+
/**
|
|
327
|
+
* Key
|
|
328
|
+
*/
|
|
329
|
+
key: string;
|
|
330
|
+
/**
|
|
331
|
+
* Label
|
|
332
|
+
*/
|
|
333
|
+
label: string;
|
|
334
|
+
/**
|
|
335
|
+
* ExactSchemaRef
|
|
336
|
+
*/
|
|
337
|
+
payload_schema_ref: {
|
|
338
|
+
/**
|
|
339
|
+
* Catalog
|
|
340
|
+
*/
|
|
341
|
+
catalog: string;
|
|
342
|
+
/**
|
|
343
|
+
* Digest
|
|
344
|
+
*/
|
|
345
|
+
digest: string;
|
|
346
|
+
/**
|
|
347
|
+
* Schema
|
|
348
|
+
*/
|
|
349
|
+
schema: string;
|
|
350
|
+
/**
|
|
351
|
+
* Version
|
|
352
|
+
*/
|
|
353
|
+
version: string;
|
|
354
|
+
};
|
|
355
|
+
}>;
|
|
356
|
+
/**
|
|
357
|
+
* Inputs
|
|
358
|
+
*/
|
|
359
|
+
inputs: Array<{
|
|
360
|
+
/**
|
|
361
|
+
* Key
|
|
362
|
+
*/
|
|
363
|
+
key: string;
|
|
364
|
+
/**
|
|
365
|
+
* Label
|
|
366
|
+
*/
|
|
367
|
+
label: string;
|
|
368
|
+
/**
|
|
369
|
+
* Max Bytes
|
|
370
|
+
*/
|
|
371
|
+
max_bytes: number | null;
|
|
372
|
+
/**
|
|
373
|
+
* Required
|
|
374
|
+
*/
|
|
375
|
+
required: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* ExactSchemaRef
|
|
378
|
+
*/
|
|
379
|
+
schema_ref: {
|
|
380
|
+
/**
|
|
381
|
+
* Catalog
|
|
382
|
+
*/
|
|
383
|
+
catalog: string;
|
|
384
|
+
/**
|
|
385
|
+
* Digest
|
|
386
|
+
*/
|
|
387
|
+
digest: string;
|
|
388
|
+
/**
|
|
389
|
+
* Schema
|
|
390
|
+
*/
|
|
391
|
+
schema: string;
|
|
392
|
+
/**
|
|
393
|
+
* Version
|
|
394
|
+
*/
|
|
395
|
+
version: string;
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* Value Semantics
|
|
399
|
+
*/
|
|
400
|
+
value_semantics: 'stable-identifier' | 'bounded-value';
|
|
401
|
+
}>;
|
|
402
|
+
/**
|
|
403
|
+
* Intents
|
|
404
|
+
*/
|
|
405
|
+
intents: Array<{
|
|
406
|
+
/**
|
|
407
|
+
* Key
|
|
408
|
+
*/
|
|
409
|
+
key: string;
|
|
410
|
+
/**
|
|
411
|
+
* Label
|
|
412
|
+
*/
|
|
413
|
+
label: string;
|
|
414
|
+
/**
|
|
415
|
+
* ExactSchemaRef
|
|
416
|
+
*/
|
|
417
|
+
payload_schema_ref: {
|
|
418
|
+
/**
|
|
419
|
+
* Catalog
|
|
420
|
+
*/
|
|
421
|
+
catalog: string;
|
|
422
|
+
/**
|
|
423
|
+
* Digest
|
|
424
|
+
*/
|
|
425
|
+
digest: string;
|
|
426
|
+
/**
|
|
427
|
+
* Schema
|
|
428
|
+
*/
|
|
429
|
+
schema: string;
|
|
430
|
+
/**
|
|
431
|
+
* Version
|
|
432
|
+
*/
|
|
433
|
+
version: string;
|
|
434
|
+
};
|
|
435
|
+
}>;
|
|
436
|
+
/**
|
|
437
|
+
* Outputs
|
|
438
|
+
*/
|
|
439
|
+
outputs: Array<{
|
|
440
|
+
/**
|
|
441
|
+
* Key
|
|
442
|
+
*/
|
|
443
|
+
key: string;
|
|
444
|
+
/**
|
|
445
|
+
* Label
|
|
446
|
+
*/
|
|
447
|
+
label: string;
|
|
448
|
+
/**
|
|
449
|
+
* Max Bytes
|
|
450
|
+
*/
|
|
451
|
+
max_bytes: number | null;
|
|
452
|
+
/**
|
|
453
|
+
* ExactSchemaRef
|
|
454
|
+
*/
|
|
455
|
+
schema_ref: {
|
|
456
|
+
/**
|
|
457
|
+
* Catalog
|
|
458
|
+
*/
|
|
459
|
+
catalog: string;
|
|
460
|
+
/**
|
|
461
|
+
* Digest
|
|
462
|
+
*/
|
|
463
|
+
digest: string;
|
|
464
|
+
/**
|
|
465
|
+
* Schema
|
|
466
|
+
*/
|
|
467
|
+
schema: string;
|
|
468
|
+
/**
|
|
469
|
+
* Version
|
|
470
|
+
*/
|
|
471
|
+
version: string;
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* Value Semantics
|
|
475
|
+
*/
|
|
476
|
+
value_semantics: 'stable-identifier' | 'bounded-value';
|
|
477
|
+
}>;
|
|
478
|
+
/**
|
|
479
|
+
* Slots
|
|
480
|
+
*/
|
|
481
|
+
slots: Array<{
|
|
482
|
+
/**
|
|
483
|
+
* Accepted Roles
|
|
484
|
+
*/
|
|
485
|
+
accepted_roles: Array<string>;
|
|
486
|
+
/**
|
|
487
|
+
* Cardinality
|
|
488
|
+
*/
|
|
489
|
+
cardinality: 'zero-or-one' | 'exactly-one' | 'zero-or-more' | 'one-or-more';
|
|
490
|
+
/**
|
|
491
|
+
* Key
|
|
492
|
+
*/
|
|
493
|
+
key: string;
|
|
494
|
+
/**
|
|
495
|
+
* Label
|
|
496
|
+
*/
|
|
497
|
+
label: string;
|
|
498
|
+
/**
|
|
499
|
+
* Nesting Depth
|
|
500
|
+
*/
|
|
501
|
+
nesting_depth: number;
|
|
502
|
+
/**
|
|
503
|
+
* ExactSchemaRef
|
|
504
|
+
*/
|
|
505
|
+
payload_schema_ref: {
|
|
506
|
+
/**
|
|
507
|
+
* Catalog
|
|
508
|
+
*/
|
|
509
|
+
catalog: string;
|
|
510
|
+
/**
|
|
511
|
+
* Digest
|
|
512
|
+
*/
|
|
513
|
+
digest: string;
|
|
514
|
+
/**
|
|
515
|
+
* Schema
|
|
516
|
+
*/
|
|
517
|
+
schema: string;
|
|
518
|
+
/**
|
|
519
|
+
* Version
|
|
520
|
+
*/
|
|
521
|
+
version: string;
|
|
522
|
+
};
|
|
523
|
+
}>;
|
|
524
|
+
/**
|
|
525
|
+
* State
|
|
526
|
+
*/
|
|
527
|
+
state: Array<{
|
|
528
|
+
/**
|
|
529
|
+
* Key
|
|
530
|
+
*/
|
|
531
|
+
key: string;
|
|
532
|
+
/**
|
|
533
|
+
* Label
|
|
534
|
+
*/
|
|
535
|
+
label: string;
|
|
536
|
+
/**
|
|
537
|
+
* Max Bytes
|
|
538
|
+
*/
|
|
539
|
+
max_bytes: number | null;
|
|
540
|
+
/**
|
|
541
|
+
* ExactSchemaRef
|
|
542
|
+
*/
|
|
543
|
+
schema_ref: {
|
|
544
|
+
/**
|
|
545
|
+
* Catalog
|
|
546
|
+
*/
|
|
547
|
+
catalog: string;
|
|
548
|
+
/**
|
|
549
|
+
* Digest
|
|
550
|
+
*/
|
|
551
|
+
digest: string;
|
|
552
|
+
/**
|
|
553
|
+
* Schema
|
|
554
|
+
*/
|
|
555
|
+
schema: string;
|
|
556
|
+
/**
|
|
557
|
+
* Version
|
|
558
|
+
*/
|
|
559
|
+
version: string;
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* Value Semantics
|
|
563
|
+
*/
|
|
564
|
+
value_semantics: 'stable-identifier' | 'bounded-value';
|
|
565
|
+
}>;
|
|
566
|
+
};
|
|
567
|
+
/**
|
|
568
|
+
* Defaultvariantkey
|
|
569
|
+
*/
|
|
570
|
+
defaultVariantKey: string | null;
|
|
571
|
+
layoutCapabilities: AuthoringCapabilities;
|
|
572
|
+
presentation: AuthoringPresentation;
|
|
573
|
+
/**
|
|
574
|
+
* Releasekey
|
|
575
|
+
*/
|
|
576
|
+
releaseKey: string;
|
|
577
|
+
/**
|
|
578
|
+
* Sdkmajor
|
|
579
|
+
*/
|
|
580
|
+
sdkMajor: number;
|
|
581
|
+
/**
|
|
582
|
+
* Variants
|
|
583
|
+
*/
|
|
584
|
+
variants: Array<AuthoringVariant>;
|
|
585
|
+
};
|
|
586
|
+
/**
|
|
587
|
+
* AuthoringSpan
|
|
588
|
+
*/
|
|
589
|
+
export type AuthoringSpan = {
|
|
590
|
+
/**
|
|
591
|
+
* Columns
|
|
592
|
+
*/
|
|
593
|
+
columns: number;
|
|
594
|
+
/**
|
|
595
|
+
* Rows
|
|
596
|
+
*/
|
|
597
|
+
rows: number;
|
|
598
|
+
};
|
|
599
|
+
/**
|
|
600
|
+
* AuthoringVariant
|
|
601
|
+
*/
|
|
602
|
+
export type AuthoringVariant = {
|
|
603
|
+
/**
|
|
604
|
+
* Description
|
|
605
|
+
*/
|
|
606
|
+
description?: string | null;
|
|
607
|
+
/**
|
|
608
|
+
* Isdefault
|
|
609
|
+
*/
|
|
610
|
+
isDefault: boolean;
|
|
611
|
+
/**
|
|
612
|
+
* Key
|
|
613
|
+
*/
|
|
614
|
+
key: string;
|
|
615
|
+
/**
|
|
616
|
+
* Label
|
|
617
|
+
*/
|
|
618
|
+
label: string;
|
|
619
|
+
/**
|
|
620
|
+
* Layoutconfig
|
|
621
|
+
*/
|
|
622
|
+
layoutConfig: ({
|
|
623
|
+
kind: 'alignment';
|
|
624
|
+
} & AlignmentConfig) | ({
|
|
625
|
+
kind: 'stack';
|
|
626
|
+
} & StackConfigOutput) | ({
|
|
627
|
+
kind: 'grid';
|
|
628
|
+
} & GridConfigOutput) | ({
|
|
629
|
+
kind: 'responsive';
|
|
630
|
+
} & ResponsiveConfigOutput);
|
|
631
|
+
/**
|
|
632
|
+
* Layoutconfigdigest
|
|
633
|
+
*/
|
|
634
|
+
layoutConfigDigest: string;
|
|
635
|
+
/**
|
|
636
|
+
* Layoutconfigversion
|
|
637
|
+
*/
|
|
638
|
+
layoutConfigVersion: 1;
|
|
639
|
+
};
|
|
56
640
|
/**
|
|
57
641
|
* Binding
|
|
58
642
|
*/
|
|
@@ -128,6 +712,40 @@ export type BreakpointOutput = {
|
|
|
128
712
|
*/
|
|
129
713
|
minWidth: number;
|
|
130
714
|
};
|
|
715
|
+
/**
|
|
716
|
+
* Compatibility
|
|
717
|
+
*/
|
|
718
|
+
export type Compatibility = {
|
|
719
|
+
/**
|
|
720
|
+
* Reasons
|
|
721
|
+
*/
|
|
722
|
+
reasons: Array<CompatibilityReason>;
|
|
723
|
+
/**
|
|
724
|
+
* Status
|
|
725
|
+
*/
|
|
726
|
+
status: 'compatible' | 'incompatible';
|
|
727
|
+
};
|
|
728
|
+
/**
|
|
729
|
+
* CompatibilityReason
|
|
730
|
+
*/
|
|
731
|
+
export type CompatibilityReason = {
|
|
732
|
+
/**
|
|
733
|
+
* Code
|
|
734
|
+
*/
|
|
735
|
+
code: string;
|
|
736
|
+
/**
|
|
737
|
+
* Message
|
|
738
|
+
*/
|
|
739
|
+
message: string;
|
|
740
|
+
/**
|
|
741
|
+
* Path
|
|
742
|
+
*/
|
|
743
|
+
path: string;
|
|
744
|
+
/**
|
|
745
|
+
* Targetid
|
|
746
|
+
*/
|
|
747
|
+
targetId: string;
|
|
748
|
+
};
|
|
131
749
|
/**
|
|
132
750
|
* Component
|
|
133
751
|
*/
|
|
@@ -561,6 +1179,12 @@ export type LayoutNodeInput = {
|
|
|
561
1179
|
* Slotname
|
|
562
1180
|
*/
|
|
563
1181
|
slotName?: string | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Splitallocation
|
|
1184
|
+
*
|
|
1185
|
+
* Optional selected shares for a template-declared resizable split. Positive integer units total 1000000; immediate child IDs occur exactly once in child order. Omit for legacy behavior; explicit null is invalid. Requires compatible readers.
|
|
1186
|
+
*/
|
|
1187
|
+
splitAllocation?: SplitAllocation;
|
|
564
1188
|
};
|
|
565
1189
|
/**
|
|
566
1190
|
* LayoutNode
|
|
@@ -595,6 +1219,12 @@ export type LayoutNodeOutput = {
|
|
|
595
1219
|
* Slotname
|
|
596
1220
|
*/
|
|
597
1221
|
slotName?: string | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Splitallocation
|
|
1224
|
+
*
|
|
1225
|
+
* Optional selected shares for a template-declared resizable split. Positive integer units total 1000000; immediate child IDs occur exactly once in child order. Omit for legacy behavior; explicit null is invalid. Requires compatible readers.
|
|
1226
|
+
*/
|
|
1227
|
+
splitAllocation?: SplitAllocation;
|
|
598
1228
|
};
|
|
599
1229
|
/**
|
|
600
1230
|
* LayoutRegion
|
|
@@ -890,6 +1520,37 @@ export type PageDocumentOutput = {
|
|
|
890
1520
|
navigationStyle: 'left' | 'top' | 'both';
|
|
891
1521
|
templateRelease: TemplateRef;
|
|
892
1522
|
};
|
|
1523
|
+
/**
|
|
1524
|
+
* PageDraftResponse
|
|
1525
|
+
*/
|
|
1526
|
+
export type PageDraftResponse = {
|
|
1527
|
+
authoring?: AuthoringProjection | null;
|
|
1528
|
+
/**
|
|
1529
|
+
* Digest
|
|
1530
|
+
*/
|
|
1531
|
+
digest?: string | null;
|
|
1532
|
+
document: PageDocumentOutput;
|
|
1533
|
+
/**
|
|
1534
|
+
* Etag
|
|
1535
|
+
*/
|
|
1536
|
+
etag?: string | null;
|
|
1537
|
+
/**
|
|
1538
|
+
* Id
|
|
1539
|
+
*/
|
|
1540
|
+
id: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Lasteditedat
|
|
1543
|
+
*/
|
|
1544
|
+
lastEditedAt?: string | null;
|
|
1545
|
+
/**
|
|
1546
|
+
* Lasteditorid
|
|
1547
|
+
*/
|
|
1548
|
+
lastEditorId?: string | null;
|
|
1549
|
+
/**
|
|
1550
|
+
* State
|
|
1551
|
+
*/
|
|
1552
|
+
state?: string | null;
|
|
1553
|
+
};
|
|
893
1554
|
/**
|
|
894
1555
|
* PageIdentity
|
|
895
1556
|
*/
|
|
@@ -1337,6 +1998,32 @@ export type SchemaPin = {
|
|
|
1337
1998
|
*/
|
|
1338
1999
|
version: string;
|
|
1339
2000
|
};
|
|
2001
|
+
/**
|
|
2002
|
+
* SplitAllocation
|
|
2003
|
+
*/
|
|
2004
|
+
export type SplitAllocation = {
|
|
2005
|
+
/**
|
|
2006
|
+
* Shares
|
|
2007
|
+
*/
|
|
2008
|
+
shares: Array<SplitShare>;
|
|
2009
|
+
/**
|
|
2010
|
+
* Version
|
|
2011
|
+
*/
|
|
2012
|
+
version: 1;
|
|
2013
|
+
};
|
|
2014
|
+
/**
|
|
2015
|
+
* SplitShare
|
|
2016
|
+
*/
|
|
2017
|
+
export type SplitShare = {
|
|
2018
|
+
/**
|
|
2019
|
+
* Childid
|
|
2020
|
+
*/
|
|
2021
|
+
childId: string;
|
|
2022
|
+
/**
|
|
2023
|
+
* Units
|
|
2024
|
+
*/
|
|
2025
|
+
units: number;
|
|
2026
|
+
};
|
|
1340
2027
|
/**
|
|
1341
2028
|
* StackConfig
|
|
1342
2029
|
*/
|
|
@@ -1460,6 +2147,16 @@ export type ValidationError = {
|
|
|
1460
2147
|
*/
|
|
1461
2148
|
type: string;
|
|
1462
2149
|
};
|
|
2150
|
+
/**
|
|
2151
|
+
* VariantCompatibility
|
|
2152
|
+
*/
|
|
2153
|
+
export type VariantCompatibility = {
|
|
2154
|
+
compatibility: Compatibility;
|
|
2155
|
+
/**
|
|
2156
|
+
* Key
|
|
2157
|
+
*/
|
|
2158
|
+
key: string;
|
|
2159
|
+
};
|
|
1463
2160
|
/**
|
|
1464
2161
|
* _HTTPErrorDetails
|
|
1465
2162
|
*/
|
|
@@ -2429,13 +3126,40 @@ export type ApplyLayoutVariantResponses = {
|
|
|
2429
3126
|
export type ApplyLayoutVariantResponse = ApplyLayoutVariantResponses[keyof ApplyLayoutVariantResponses];
|
|
2430
3127
|
export type GetUiPageDraftData = {
|
|
2431
3128
|
body?: never;
|
|
3129
|
+
headers?: {
|
|
3130
|
+
/**
|
|
3131
|
+
* Optional current Draft ETag for an authoring projection.
|
|
3132
|
+
*/
|
|
3133
|
+
'If-Match'?: string;
|
|
3134
|
+
};
|
|
2432
3135
|
path: {
|
|
2433
3136
|
/**
|
|
2434
3137
|
* Page Id
|
|
2435
3138
|
*/
|
|
2436
3139
|
page_id: string;
|
|
2437
3140
|
};
|
|
2438
|
-
query?:
|
|
3141
|
+
query?: {
|
|
3142
|
+
/**
|
|
3143
|
+
* Includeauthoring
|
|
3144
|
+
*/
|
|
3145
|
+
includeAuthoring?: boolean;
|
|
3146
|
+
/**
|
|
3147
|
+
* Blueprintassetid
|
|
3148
|
+
*/
|
|
3149
|
+
blueprintAssetId?: string | null;
|
|
3150
|
+
/**
|
|
3151
|
+
* Blueprintversionid
|
|
3152
|
+
*/
|
|
3153
|
+
blueprintVersionId?: string | null;
|
|
3154
|
+
/**
|
|
3155
|
+
* Targetslotid
|
|
3156
|
+
*/
|
|
3157
|
+
targetSlotId?: string | null;
|
|
3158
|
+
/**
|
|
3159
|
+
* Instanceid
|
|
3160
|
+
*/
|
|
3161
|
+
instanceId?: string | null;
|
|
3162
|
+
};
|
|
2439
3163
|
url: '/v1/ui-pages/{page_id}/draft';
|
|
2440
3164
|
};
|
|
2441
3165
|
export type GetUiPageDraftErrors = {
|
|
@@ -2485,7 +3209,7 @@ export type GetUiPageDraftResponses = {
|
|
|
2485
3209
|
/**
|
|
2486
3210
|
* Successful Response
|
|
2487
3211
|
*/
|
|
2488
|
-
200:
|
|
3212
|
+
200: PageDraftResponse;
|
|
2489
3213
|
};
|
|
2490
3214
|
export type GetUiPageDraftResponse = GetUiPageDraftResponses[keyof GetUiPageDraftResponses];
|
|
2491
3215
|
export type UpdateUiPageDraftData = {
|