@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
|
@@ -173,6 +173,38 @@ export type AutomationTarget = {
|
|
|
173
173
|
*/
|
|
174
174
|
model: string;
|
|
175
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* BlueprintDefinitionView
|
|
178
|
+
*/
|
|
179
|
+
export type BlueprintDefinitionView = {
|
|
180
|
+
/**
|
|
181
|
+
* Application Id
|
|
182
|
+
*/
|
|
183
|
+
application_id: string;
|
|
184
|
+
/**
|
|
185
|
+
* Definition
|
|
186
|
+
*/
|
|
187
|
+
definition: ({
|
|
188
|
+
kind: 'InterfaceDefinition';
|
|
189
|
+
} & InterfaceDefinition) | ({
|
|
190
|
+
kind: 'RelationDefinition';
|
|
191
|
+
} & RelationDefinition) | ({
|
|
192
|
+
kind: 'ModelDefinition';
|
|
193
|
+
} & ModelDefinition) | ({
|
|
194
|
+
kind: 'EventDefinition';
|
|
195
|
+
} & EventDefinition) | ({
|
|
196
|
+
kind: 'AutomationDefinition';
|
|
197
|
+
} & AutomationDefinition);
|
|
198
|
+
/**
|
|
199
|
+
* Digest
|
|
200
|
+
*/
|
|
201
|
+
digest: string;
|
|
202
|
+
source: BlueprintSource;
|
|
203
|
+
/**
|
|
204
|
+
* Source Digest
|
|
205
|
+
*/
|
|
206
|
+
source_digest: string;
|
|
207
|
+
};
|
|
176
208
|
/**
|
|
177
209
|
* BlueprintSource
|
|
178
210
|
*/
|
|
@@ -186,6 +218,29 @@ export type BlueprintSource = {
|
|
|
186
218
|
*/
|
|
187
219
|
version_id: string;
|
|
188
220
|
};
|
|
221
|
+
/**
|
|
222
|
+
* BlueprintSourceView
|
|
223
|
+
*/
|
|
224
|
+
export type BlueprintSourceView = {
|
|
225
|
+
/**
|
|
226
|
+
* Application Id
|
|
227
|
+
*/
|
|
228
|
+
application_id: string;
|
|
229
|
+
bundle: OntologyBundle;
|
|
230
|
+
/**
|
|
231
|
+
* Items
|
|
232
|
+
*/
|
|
233
|
+
items: Array<DefinitionSummary>;
|
|
234
|
+
/**
|
|
235
|
+
* Next After Id
|
|
236
|
+
*/
|
|
237
|
+
next_after_id: string | null;
|
|
238
|
+
source: BlueprintSource;
|
|
239
|
+
/**
|
|
240
|
+
* Source Digest
|
|
241
|
+
*/
|
|
242
|
+
source_digest: string;
|
|
243
|
+
};
|
|
189
244
|
/**
|
|
190
245
|
* BundleCreate
|
|
191
246
|
*/
|
|
@@ -244,6 +299,23 @@ export type BundlePatch = {
|
|
|
244
299
|
*/
|
|
245
300
|
tags?: Array<string> | null;
|
|
246
301
|
};
|
|
302
|
+
/**
|
|
303
|
+
* BundleRevisionPage
|
|
304
|
+
*/
|
|
305
|
+
export type BundleRevisionPage = {
|
|
306
|
+
/**
|
|
307
|
+
* Items
|
|
308
|
+
*/
|
|
309
|
+
items: Array<BundleView>;
|
|
310
|
+
/**
|
|
311
|
+
* Next After Revision
|
|
312
|
+
*/
|
|
313
|
+
next_after_revision: number | null;
|
|
314
|
+
/**
|
|
315
|
+
* Through Revision
|
|
316
|
+
*/
|
|
317
|
+
through_revision: number;
|
|
318
|
+
};
|
|
247
319
|
/**
|
|
248
320
|
* BundleView
|
|
249
321
|
*/
|
|
@@ -513,6 +585,64 @@ export type DefinitionRef = {
|
|
|
513
585
|
*/
|
|
514
586
|
revision: number;
|
|
515
587
|
};
|
|
588
|
+
/**
|
|
589
|
+
* DefinitionRevisionPage
|
|
590
|
+
*/
|
|
591
|
+
export type DefinitionRevisionPage = {
|
|
592
|
+
/**
|
|
593
|
+
* Items
|
|
594
|
+
*/
|
|
595
|
+
items: Array<DefinitionSummary>;
|
|
596
|
+
/**
|
|
597
|
+
* Next After Revision
|
|
598
|
+
*/
|
|
599
|
+
next_after_revision: number | null;
|
|
600
|
+
/**
|
|
601
|
+
* Through Revision
|
|
602
|
+
*/
|
|
603
|
+
through_revision: number;
|
|
604
|
+
};
|
|
605
|
+
/**
|
|
606
|
+
* DefinitionSummary
|
|
607
|
+
*/
|
|
608
|
+
export type DefinitionSummary = {
|
|
609
|
+
/**
|
|
610
|
+
* Bundle Id
|
|
611
|
+
*/
|
|
612
|
+
bundle_id: string;
|
|
613
|
+
/**
|
|
614
|
+
* Category
|
|
615
|
+
*/
|
|
616
|
+
category?: string | null;
|
|
617
|
+
/**
|
|
618
|
+
* Digest
|
|
619
|
+
*/
|
|
620
|
+
digest: string;
|
|
621
|
+
/**
|
|
622
|
+
* Id
|
|
623
|
+
*/
|
|
624
|
+
id: string;
|
|
625
|
+
/**
|
|
626
|
+
* Interfaces
|
|
627
|
+
*/
|
|
628
|
+
interfaces?: Array<string>;
|
|
629
|
+
/**
|
|
630
|
+
* Kind
|
|
631
|
+
*/
|
|
632
|
+
kind: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition';
|
|
633
|
+
/**
|
|
634
|
+
* Lifecycle
|
|
635
|
+
*/
|
|
636
|
+
lifecycle: string;
|
|
637
|
+
/**
|
|
638
|
+
* Revision
|
|
639
|
+
*/
|
|
640
|
+
revision: number;
|
|
641
|
+
/**
|
|
642
|
+
* Tags
|
|
643
|
+
*/
|
|
644
|
+
tags?: Array<string>;
|
|
645
|
+
};
|
|
516
646
|
/**
|
|
517
647
|
* DefinitionWrite
|
|
518
648
|
*/
|
|
@@ -1417,6 +1547,242 @@ export type HttpValidationIssue = {
|
|
|
1417
1547
|
*/
|
|
1418
1548
|
type: string;
|
|
1419
1549
|
};
|
|
1550
|
+
export type ReadBlueprintSourceData = {
|
|
1551
|
+
body?: never;
|
|
1552
|
+
path: {
|
|
1553
|
+
/**
|
|
1554
|
+
* Asset Id
|
|
1555
|
+
*/
|
|
1556
|
+
asset_id: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* Version Id
|
|
1559
|
+
*/
|
|
1560
|
+
version_id: string;
|
|
1561
|
+
};
|
|
1562
|
+
query?: {
|
|
1563
|
+
/**
|
|
1564
|
+
* Limit
|
|
1565
|
+
*/
|
|
1566
|
+
limit?: number;
|
|
1567
|
+
/**
|
|
1568
|
+
* After Id
|
|
1569
|
+
*/
|
|
1570
|
+
after_id?: string | null;
|
|
1571
|
+
/**
|
|
1572
|
+
* Expected Digest
|
|
1573
|
+
*/
|
|
1574
|
+
expected_digest?: string | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* Kind
|
|
1577
|
+
*/
|
|
1578
|
+
kind?: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition' | null;
|
|
1579
|
+
};
|
|
1580
|
+
url: '/v1/blueprint-assets/{asset_id}/versions/{version_id}';
|
|
1581
|
+
};
|
|
1582
|
+
export type ReadBlueprintSourceErrors = {
|
|
1583
|
+
/**
|
|
1584
|
+
* Request does not match the endpoint contract
|
|
1585
|
+
*/
|
|
1586
|
+
400: HttpErrorEnvelope;
|
|
1587
|
+
/**
|
|
1588
|
+
* Stable Lattice domain error
|
|
1589
|
+
*/
|
|
1590
|
+
403: {
|
|
1591
|
+
code: string;
|
|
1592
|
+
findings: Array<{
|
|
1593
|
+
[key: string]: unknown;
|
|
1594
|
+
}>;
|
|
1595
|
+
};
|
|
1596
|
+
/**
|
|
1597
|
+
* Stable Lattice domain error
|
|
1598
|
+
*/
|
|
1599
|
+
404: {
|
|
1600
|
+
code: string;
|
|
1601
|
+
findings: Array<{
|
|
1602
|
+
[key: string]: unknown;
|
|
1603
|
+
}>;
|
|
1604
|
+
};
|
|
1605
|
+
/**
|
|
1606
|
+
* Stable Lattice domain error
|
|
1607
|
+
*/
|
|
1608
|
+
409: {
|
|
1609
|
+
code: string;
|
|
1610
|
+
findings: Array<{
|
|
1611
|
+
[key: string]: unknown;
|
|
1612
|
+
}>;
|
|
1613
|
+
};
|
|
1614
|
+
/**
|
|
1615
|
+
* Stable Lattice domain error
|
|
1616
|
+
*/
|
|
1617
|
+
410: {
|
|
1618
|
+
code: string;
|
|
1619
|
+
findings: Array<{
|
|
1620
|
+
[key: string]: unknown;
|
|
1621
|
+
}>;
|
|
1622
|
+
};
|
|
1623
|
+
/**
|
|
1624
|
+
* Stable Lattice domain error
|
|
1625
|
+
*/
|
|
1626
|
+
422: {
|
|
1627
|
+
code: string;
|
|
1628
|
+
findings: Array<{
|
|
1629
|
+
[key: string]: unknown;
|
|
1630
|
+
}>;
|
|
1631
|
+
};
|
|
1632
|
+
/**
|
|
1633
|
+
* Stable Lattice domain error
|
|
1634
|
+
*/
|
|
1635
|
+
499: {
|
|
1636
|
+
code: string;
|
|
1637
|
+
findings: Array<{
|
|
1638
|
+
[key: string]: unknown;
|
|
1639
|
+
}>;
|
|
1640
|
+
};
|
|
1641
|
+
/**
|
|
1642
|
+
* Request failed inside the framework boundary
|
|
1643
|
+
*/
|
|
1644
|
+
500: HttpErrorEnvelope;
|
|
1645
|
+
/**
|
|
1646
|
+
* Stable Lattice domain error
|
|
1647
|
+
*/
|
|
1648
|
+
503: {
|
|
1649
|
+
code: string;
|
|
1650
|
+
findings: Array<{
|
|
1651
|
+
[key: string]: unknown;
|
|
1652
|
+
}>;
|
|
1653
|
+
};
|
|
1654
|
+
/**
|
|
1655
|
+
* Stable Lattice domain error
|
|
1656
|
+
*/
|
|
1657
|
+
504: {
|
|
1658
|
+
code: string;
|
|
1659
|
+
findings: Array<{
|
|
1660
|
+
[key: string]: unknown;
|
|
1661
|
+
}>;
|
|
1662
|
+
};
|
|
1663
|
+
};
|
|
1664
|
+
export type ReadBlueprintSourceError = ReadBlueprintSourceErrors[keyof ReadBlueprintSourceErrors];
|
|
1665
|
+
export type ReadBlueprintSourceResponses = {
|
|
1666
|
+
/**
|
|
1667
|
+
* Successful Response
|
|
1668
|
+
*/
|
|
1669
|
+
200: BlueprintSourceView;
|
|
1670
|
+
};
|
|
1671
|
+
export type ReadBlueprintSourceResponse = ReadBlueprintSourceResponses[keyof ReadBlueprintSourceResponses];
|
|
1672
|
+
export type ReadBlueprintDefinitionData = {
|
|
1673
|
+
body?: never;
|
|
1674
|
+
path: {
|
|
1675
|
+
/**
|
|
1676
|
+
* Asset Id
|
|
1677
|
+
*/
|
|
1678
|
+
asset_id: string;
|
|
1679
|
+
/**
|
|
1680
|
+
* Version Id
|
|
1681
|
+
*/
|
|
1682
|
+
version_id: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* Definition Id
|
|
1685
|
+
*/
|
|
1686
|
+
definition_id: string;
|
|
1687
|
+
};
|
|
1688
|
+
query: {
|
|
1689
|
+
/**
|
|
1690
|
+
* Expected Digest
|
|
1691
|
+
*/
|
|
1692
|
+
expected_digest: string;
|
|
1693
|
+
};
|
|
1694
|
+
url: '/v1/blueprint-assets/{asset_id}/versions/{version_id}/definitions/{definition_id}';
|
|
1695
|
+
};
|
|
1696
|
+
export type ReadBlueprintDefinitionErrors = {
|
|
1697
|
+
/**
|
|
1698
|
+
* Request does not match the endpoint contract
|
|
1699
|
+
*/
|
|
1700
|
+
400: HttpErrorEnvelope;
|
|
1701
|
+
/**
|
|
1702
|
+
* Stable Lattice domain error
|
|
1703
|
+
*/
|
|
1704
|
+
403: {
|
|
1705
|
+
code: string;
|
|
1706
|
+
findings: Array<{
|
|
1707
|
+
[key: string]: unknown;
|
|
1708
|
+
}>;
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* Stable Lattice domain error
|
|
1712
|
+
*/
|
|
1713
|
+
404: {
|
|
1714
|
+
code: string;
|
|
1715
|
+
findings: Array<{
|
|
1716
|
+
[key: string]: unknown;
|
|
1717
|
+
}>;
|
|
1718
|
+
};
|
|
1719
|
+
/**
|
|
1720
|
+
* Stable Lattice domain error
|
|
1721
|
+
*/
|
|
1722
|
+
409: {
|
|
1723
|
+
code: string;
|
|
1724
|
+
findings: Array<{
|
|
1725
|
+
[key: string]: unknown;
|
|
1726
|
+
}>;
|
|
1727
|
+
};
|
|
1728
|
+
/**
|
|
1729
|
+
* Stable Lattice domain error
|
|
1730
|
+
*/
|
|
1731
|
+
410: {
|
|
1732
|
+
code: string;
|
|
1733
|
+
findings: Array<{
|
|
1734
|
+
[key: string]: unknown;
|
|
1735
|
+
}>;
|
|
1736
|
+
};
|
|
1737
|
+
/**
|
|
1738
|
+
* Stable Lattice domain error
|
|
1739
|
+
*/
|
|
1740
|
+
422: {
|
|
1741
|
+
code: string;
|
|
1742
|
+
findings: Array<{
|
|
1743
|
+
[key: string]: unknown;
|
|
1744
|
+
}>;
|
|
1745
|
+
};
|
|
1746
|
+
/**
|
|
1747
|
+
* Stable Lattice domain error
|
|
1748
|
+
*/
|
|
1749
|
+
499: {
|
|
1750
|
+
code: string;
|
|
1751
|
+
findings: Array<{
|
|
1752
|
+
[key: string]: unknown;
|
|
1753
|
+
}>;
|
|
1754
|
+
};
|
|
1755
|
+
/**
|
|
1756
|
+
* Request failed inside the framework boundary
|
|
1757
|
+
*/
|
|
1758
|
+
500: HttpErrorEnvelope;
|
|
1759
|
+
/**
|
|
1760
|
+
* Stable Lattice domain error
|
|
1761
|
+
*/
|
|
1762
|
+
503: {
|
|
1763
|
+
code: string;
|
|
1764
|
+
findings: Array<{
|
|
1765
|
+
[key: string]: unknown;
|
|
1766
|
+
}>;
|
|
1767
|
+
};
|
|
1768
|
+
/**
|
|
1769
|
+
* Stable Lattice domain error
|
|
1770
|
+
*/
|
|
1771
|
+
504: {
|
|
1772
|
+
code: string;
|
|
1773
|
+
findings: Array<{
|
|
1774
|
+
[key: string]: unknown;
|
|
1775
|
+
}>;
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
export type ReadBlueprintDefinitionError = ReadBlueprintDefinitionErrors[keyof ReadBlueprintDefinitionErrors];
|
|
1779
|
+
export type ReadBlueprintDefinitionResponses = {
|
|
1780
|
+
/**
|
|
1781
|
+
* Successful Response
|
|
1782
|
+
*/
|
|
1783
|
+
200: BlueprintDefinitionView;
|
|
1784
|
+
};
|
|
1785
|
+
export type ReadBlueprintDefinitionResponse = ReadBlueprintDefinitionResponses[keyof ReadBlueprintDefinitionResponses];
|
|
1420
1786
|
export type CreateBlueprintImportPlanData = {
|
|
1421
1787
|
body: ImportPlanRequest;
|
|
1422
1788
|
path?: never;
|
|
@@ -2806,6 +3172,120 @@ export type WriteDefinitionResponses = {
|
|
|
2806
3172
|
200: Document;
|
|
2807
3173
|
};
|
|
2808
3174
|
export type WriteDefinitionResponse = WriteDefinitionResponses[keyof WriteDefinitionResponses];
|
|
3175
|
+
export type ListBundleVersionsData = {
|
|
3176
|
+
body?: never;
|
|
3177
|
+
path: {
|
|
3178
|
+
/**
|
|
3179
|
+
* Bundle Id
|
|
3180
|
+
*/
|
|
3181
|
+
bundle_id: string;
|
|
3182
|
+
};
|
|
3183
|
+
query?: {
|
|
3184
|
+
/**
|
|
3185
|
+
* Limit
|
|
3186
|
+
*/
|
|
3187
|
+
limit?: number;
|
|
3188
|
+
/**
|
|
3189
|
+
* After Revision
|
|
3190
|
+
*/
|
|
3191
|
+
after_revision?: number;
|
|
3192
|
+
/**
|
|
3193
|
+
* Through Revision
|
|
3194
|
+
*/
|
|
3195
|
+
through_revision?: number | null;
|
|
3196
|
+
};
|
|
3197
|
+
url: '/v1/bundles/{bundle_id}/versions';
|
|
3198
|
+
};
|
|
3199
|
+
export type ListBundleVersionsErrors = {
|
|
3200
|
+
/**
|
|
3201
|
+
* Request does not match the endpoint contract
|
|
3202
|
+
*/
|
|
3203
|
+
400: HttpErrorEnvelope;
|
|
3204
|
+
/**
|
|
3205
|
+
* Stable Lattice domain error
|
|
3206
|
+
*/
|
|
3207
|
+
403: {
|
|
3208
|
+
code: string;
|
|
3209
|
+
findings: Array<{
|
|
3210
|
+
[key: string]: unknown;
|
|
3211
|
+
}>;
|
|
3212
|
+
};
|
|
3213
|
+
/**
|
|
3214
|
+
* Stable Lattice domain error
|
|
3215
|
+
*/
|
|
3216
|
+
404: {
|
|
3217
|
+
code: string;
|
|
3218
|
+
findings: Array<{
|
|
3219
|
+
[key: string]: unknown;
|
|
3220
|
+
}>;
|
|
3221
|
+
};
|
|
3222
|
+
/**
|
|
3223
|
+
* Stable Lattice domain error
|
|
3224
|
+
*/
|
|
3225
|
+
409: {
|
|
3226
|
+
code: string;
|
|
3227
|
+
findings: Array<{
|
|
3228
|
+
[key: string]: unknown;
|
|
3229
|
+
}>;
|
|
3230
|
+
};
|
|
3231
|
+
/**
|
|
3232
|
+
* Stable Lattice domain error
|
|
3233
|
+
*/
|
|
3234
|
+
410: {
|
|
3235
|
+
code: string;
|
|
3236
|
+
findings: Array<{
|
|
3237
|
+
[key: string]: unknown;
|
|
3238
|
+
}>;
|
|
3239
|
+
};
|
|
3240
|
+
/**
|
|
3241
|
+
* Stable Lattice domain error
|
|
3242
|
+
*/
|
|
3243
|
+
422: {
|
|
3244
|
+
code: string;
|
|
3245
|
+
findings: Array<{
|
|
3246
|
+
[key: string]: unknown;
|
|
3247
|
+
}>;
|
|
3248
|
+
};
|
|
3249
|
+
/**
|
|
3250
|
+
* Stable Lattice domain error
|
|
3251
|
+
*/
|
|
3252
|
+
499: {
|
|
3253
|
+
code: string;
|
|
3254
|
+
findings: Array<{
|
|
3255
|
+
[key: string]: unknown;
|
|
3256
|
+
}>;
|
|
3257
|
+
};
|
|
3258
|
+
/**
|
|
3259
|
+
* Request failed inside the framework boundary
|
|
3260
|
+
*/
|
|
3261
|
+
500: HttpErrorEnvelope;
|
|
3262
|
+
/**
|
|
3263
|
+
* Stable Lattice domain error
|
|
3264
|
+
*/
|
|
3265
|
+
503: {
|
|
3266
|
+
code: string;
|
|
3267
|
+
findings: Array<{
|
|
3268
|
+
[key: string]: unknown;
|
|
3269
|
+
}>;
|
|
3270
|
+
};
|
|
3271
|
+
/**
|
|
3272
|
+
* Stable Lattice domain error
|
|
3273
|
+
*/
|
|
3274
|
+
504: {
|
|
3275
|
+
code: string;
|
|
3276
|
+
findings: Array<{
|
|
3277
|
+
[key: string]: unknown;
|
|
3278
|
+
}>;
|
|
3279
|
+
};
|
|
3280
|
+
};
|
|
3281
|
+
export type ListBundleVersionsError = ListBundleVersionsErrors[keyof ListBundleVersionsErrors];
|
|
3282
|
+
export type ListBundleVersionsResponses = {
|
|
3283
|
+
/**
|
|
3284
|
+
* Successful Response
|
|
3285
|
+
*/
|
|
3286
|
+
200: BundleRevisionPage;
|
|
3287
|
+
};
|
|
3288
|
+
export type ListBundleVersionsResponse = ListBundleVersionsResponses[keyof ListBundleVersionsResponses];
|
|
2809
3289
|
export type CompareBundleRevisionsData = {
|
|
2810
3290
|
body: CompatibilityRequest;
|
|
2811
3291
|
path?: never;
|
|
@@ -3217,6 +3697,124 @@ export type PatchDefinitionResponses = {
|
|
|
3217
3697
|
200: Document;
|
|
3218
3698
|
};
|
|
3219
3699
|
export type PatchDefinitionResponse = PatchDefinitionResponses[keyof PatchDefinitionResponses];
|
|
3700
|
+
export type ListDefinitionVersionsData = {
|
|
3701
|
+
body?: never;
|
|
3702
|
+
path: {
|
|
3703
|
+
/**
|
|
3704
|
+
* Definition Kind
|
|
3705
|
+
*/
|
|
3706
|
+
definition_kind: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition';
|
|
3707
|
+
/**
|
|
3708
|
+
* Definition Id
|
|
3709
|
+
*/
|
|
3710
|
+
definition_id: string;
|
|
3711
|
+
};
|
|
3712
|
+
query?: {
|
|
3713
|
+
/**
|
|
3714
|
+
* Limit
|
|
3715
|
+
*/
|
|
3716
|
+
limit?: number;
|
|
3717
|
+
/**
|
|
3718
|
+
* After Revision
|
|
3719
|
+
*/
|
|
3720
|
+
after_revision?: number;
|
|
3721
|
+
/**
|
|
3722
|
+
* Through Revision
|
|
3723
|
+
*/
|
|
3724
|
+
through_revision?: number | null;
|
|
3725
|
+
};
|
|
3726
|
+
url: '/v1/definitions/{definition_kind}/{definition_id}/versions';
|
|
3727
|
+
};
|
|
3728
|
+
export type ListDefinitionVersionsErrors = {
|
|
3729
|
+
/**
|
|
3730
|
+
* Request does not match the endpoint contract
|
|
3731
|
+
*/
|
|
3732
|
+
400: HttpErrorEnvelope;
|
|
3733
|
+
/**
|
|
3734
|
+
* Stable Lattice domain error
|
|
3735
|
+
*/
|
|
3736
|
+
403: {
|
|
3737
|
+
code: string;
|
|
3738
|
+
findings: Array<{
|
|
3739
|
+
[key: string]: unknown;
|
|
3740
|
+
}>;
|
|
3741
|
+
};
|
|
3742
|
+
/**
|
|
3743
|
+
* Stable Lattice domain error
|
|
3744
|
+
*/
|
|
3745
|
+
404: {
|
|
3746
|
+
code: string;
|
|
3747
|
+
findings: Array<{
|
|
3748
|
+
[key: string]: unknown;
|
|
3749
|
+
}>;
|
|
3750
|
+
};
|
|
3751
|
+
/**
|
|
3752
|
+
* Stable Lattice domain error
|
|
3753
|
+
*/
|
|
3754
|
+
409: {
|
|
3755
|
+
code: string;
|
|
3756
|
+
findings: Array<{
|
|
3757
|
+
[key: string]: unknown;
|
|
3758
|
+
}>;
|
|
3759
|
+
};
|
|
3760
|
+
/**
|
|
3761
|
+
* Stable Lattice domain error
|
|
3762
|
+
*/
|
|
3763
|
+
410: {
|
|
3764
|
+
code: string;
|
|
3765
|
+
findings: Array<{
|
|
3766
|
+
[key: string]: unknown;
|
|
3767
|
+
}>;
|
|
3768
|
+
};
|
|
3769
|
+
/**
|
|
3770
|
+
* Stable Lattice domain error
|
|
3771
|
+
*/
|
|
3772
|
+
422: {
|
|
3773
|
+
code: string;
|
|
3774
|
+
findings: Array<{
|
|
3775
|
+
[key: string]: unknown;
|
|
3776
|
+
}>;
|
|
3777
|
+
};
|
|
3778
|
+
/**
|
|
3779
|
+
* Stable Lattice domain error
|
|
3780
|
+
*/
|
|
3781
|
+
499: {
|
|
3782
|
+
code: string;
|
|
3783
|
+
findings: Array<{
|
|
3784
|
+
[key: string]: unknown;
|
|
3785
|
+
}>;
|
|
3786
|
+
};
|
|
3787
|
+
/**
|
|
3788
|
+
* Request failed inside the framework boundary
|
|
3789
|
+
*/
|
|
3790
|
+
500: HttpErrorEnvelope;
|
|
3791
|
+
/**
|
|
3792
|
+
* Stable Lattice domain error
|
|
3793
|
+
*/
|
|
3794
|
+
503: {
|
|
3795
|
+
code: string;
|
|
3796
|
+
findings: Array<{
|
|
3797
|
+
[key: string]: unknown;
|
|
3798
|
+
}>;
|
|
3799
|
+
};
|
|
3800
|
+
/**
|
|
3801
|
+
* Stable Lattice domain error
|
|
3802
|
+
*/
|
|
3803
|
+
504: {
|
|
3804
|
+
code: string;
|
|
3805
|
+
findings: Array<{
|
|
3806
|
+
[key: string]: unknown;
|
|
3807
|
+
}>;
|
|
3808
|
+
};
|
|
3809
|
+
};
|
|
3810
|
+
export type ListDefinitionVersionsError = ListDefinitionVersionsErrors[keyof ListDefinitionVersionsErrors];
|
|
3811
|
+
export type ListDefinitionVersionsResponses = {
|
|
3812
|
+
/**
|
|
3813
|
+
* Successful Response
|
|
3814
|
+
*/
|
|
3815
|
+
200: DefinitionRevisionPage;
|
|
3816
|
+
};
|
|
3817
|
+
export type ListDefinitionVersionsResponse = ListDefinitionVersionsResponses[keyof ListDefinitionVersionsResponses];
|
|
3220
3818
|
export type PublishPreviewSnapshotData = {
|
|
3221
3819
|
body: SnapshotRequest;
|
|
3222
3820
|
path?: never;
|
|
@@ -29,7 +29,7 @@ export type BuildRequest = {
|
|
|
29
29
|
/**
|
|
30
30
|
* Builderreleaseid
|
|
31
31
|
*/
|
|
32
|
-
builderReleaseId: 'prism-builder@1.1.0';
|
|
32
|
+
builderReleaseId: 'prism-builder@1.1.0' | 'prism-builder@1.2.0';
|
|
33
33
|
/**
|
|
34
34
|
* Operatingsystemid
|
|
35
35
|
*/
|
|
@@ -133,7 +133,7 @@ export type OutputReceipt = {
|
|
|
133
133
|
/**
|
|
134
134
|
* Builder Release
|
|
135
135
|
*/
|
|
136
|
-
builder_release: 'prism-builder@1.1.0';
|
|
136
|
+
builder_release: 'prism-builder@1.1.0' | 'prism-builder@1.2.0';
|
|
137
137
|
/**
|
|
138
138
|
* Configuration Id
|
|
139
139
|
*/
|
|
@@ -186,7 +186,7 @@ export type Provenance = {
|
|
|
186
186
|
/**
|
|
187
187
|
* Builderrelease
|
|
188
188
|
*/
|
|
189
|
-
builderRelease: 'prism-builder@1.1.0';
|
|
189
|
+
builderRelease: 'prism-builder@1.1.0' | 'prism-builder@1.2.0';
|
|
190
190
|
/**
|
|
191
191
|
* Configurationdigest
|
|
192
192
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { activateUiPageRevision, applyLayoutVariant, commitUiPageRevision, createOperatingSystem, createUiPage, getLayoutTemplateRelease, getOperatingSystem, getOperatingSystemDraft, getOperatingSystemRevision, getUiPageDraft, getUiPageRevision, listLayoutTemplateReleases, listOperatingSystemRevisions, listOperatingSystems, listUiPageRevisions, listUiPages, markOperatingSystemReadyForRelease, type Options, registerLayoutTemplateRelease, updateUiPageDraft } from './sdk.gen.js';
|
|
2
|
-
export type { ActivatePage, ActivateUiPageRevisionData, ActivateUiPageRevisionError, ActivateUiPageRevisionErrors, ActivateUiPageRevisionResponse, ActivateUiPageRevisionResponses, AlignmentConfig, ApplyLayoutVariantData, ApplyLayoutVariantError, ApplyLayoutVariantErrors, ApplyLayoutVariantResponse, ApplyLayoutVariantResponses, ApplyVariant, Binding, BreakpointInput, BreakpointOutput, ClientOptions, CommitUiPageRevisionData, CommitUiPageRevisionError, CommitUiPageRevisionErrors, CommitUiPageRevisionResponse, CommitUiPageRevisionResponses, ComponentInput, ComponentOutput, ComponentPin, ComponentRelease, CompositionError, Constraints, ContextTarget, CreateOperatingSystemData, CreateOperatingSystemError, CreateOperatingSystemErrors, CreateOperatingSystemResponse, CreateOperatingSystemResponses, CreateOs, CreatePage, CreateUiPageData, CreateUiPageError, CreateUiPageErrors, CreateUiPageResponse, CreateUiPageResponses, DomainSource, GetLayoutTemplateReleaseData, GetLayoutTemplateReleaseError, GetLayoutTemplateReleaseErrors, GetLayoutTemplateReleaseResponse, GetLayoutTemplateReleaseResponses, GetOperatingSystemData, GetOperatingSystemDraftData, GetOperatingSystemDraftError, GetOperatingSystemDraftErrors, GetOperatingSystemDraftResponse, GetOperatingSystemDraftResponses, GetOperatingSystemError, GetOperatingSystemErrors, GetOperatingSystemResponse, GetOperatingSystemResponses, GetOperatingSystemRevisionData, GetOperatingSystemRevisionError, GetOperatingSystemRevisionErrors, GetOperatingSystemRevisionResponse, GetOperatingSystemRevisionResponses, GetUiPageDraftData, GetUiPageDraftError, GetUiPageDraftErrors, GetUiPageDraftResponse, GetUiPageDraftResponses, GetUiPageRevisionData, GetUiPageRevisionError, GetUiPageRevisionErrors, GetUiPageRevisionResponse, GetUiPageRevisionResponses, GridAreaInput, GridAreaOutput, GridConfigInput, GridConfigOutput, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, InputTarget, IntentTarget, JsonValue, KeySource, LayoutNodeInput, LayoutNodeOutput, LayoutRegionInput, LayoutRegionOutput, ListLayoutTemplateReleasesData, ListLayoutTemplateReleasesError, ListLayoutTemplateReleasesErrors, ListLayoutTemplateReleasesResponse, ListLayoutTemplateReleasesResponses, ListOperatingSystemRevisionsData, ListOperatingSystemRevisionsError, ListOperatingSystemRevisionsErrors, ListOperatingSystemRevisionsResponse, ListOperatingSystemRevisionsResponses, ListOperatingSystemsData, ListOperatingSystemsError, ListOperatingSystemsErrors, ListOperatingSystemsResponse, ListOperatingSystemsResponses, ListUiPageRevisionsData, ListUiPageRevisionsError, ListUiPageRevisionsErrors, ListUiPageRevisionsResponse, ListUiPageRevisionsResponses, ListUiPagesData, ListUiPagesError, ListUiPagesErrors, ListUiPagesResponse, ListUiPagesResponses, LiteralSource, LocaleSource, MarkOperatingSystemReadyForReleaseData, MarkOperatingSystemReadyForReleaseError, MarkOperatingSystemReadyForReleaseErrors, MarkOperatingSystemReadyForReleaseResponse, MarkOperatingSystemReadyForReleaseResponses, NavigationEntry, NavigationSnapshot, NavigationTarget, OsDraft, OsIdentity, OsRevision, OutputSource, PageAssignment, PageDocumentInput, PageDocumentOutput, PageIdentity, PageRevision, Provenance, RegisterLayoutTemplateReleaseData, RegisterLayoutTemplateReleaseError, RegisterLayoutTemplateReleaseErrors, RegisterLayoutTemplateReleaseResponse, RegisterLayoutTemplateReleaseResponses, ResourceDocumentOsDraft, ResourceDocumentOsIdentity, ResourceDocumentOsRevision, ResourceDocumentPageDocument, ResourceDocumentPageIdentity, ResourceDocumentPageRevision, ResourceDocumentTemplateRelease, ResourcePageOsIdentity, ResourcePageOsRevision, ResourcePagePageIdentity, ResourcePagePageRevision, ResourcePageTemplateRelease, ResponsiveConfigInput, ResponsiveConfigOutput, SchemaPin, StackConfigInput, StackConfigOutput, StateSource, TemplateRef, TemplateRelease, UpdateUiPageDraftData, UpdateUiPageDraftError, UpdateUiPageDraftErrors, UpdateUiPageDraftResponse, UpdateUiPageDraftResponses, ValidationError } from './types.gen.js';
|
|
2
|
+
export type { ActivatePage, ActivateUiPageRevisionData, ActivateUiPageRevisionError, ActivateUiPageRevisionErrors, ActivateUiPageRevisionResponse, ActivateUiPageRevisionResponses, AlignmentConfig, ApplyLayoutVariantData, ApplyLayoutVariantError, ApplyLayoutVariantErrors, ApplyLayoutVariantResponse, ApplyLayoutVariantResponses, ApplyVariant, AuthoringCapabilities, AuthoringContext, AuthoringDefinition, AuthoringPresentation, AuthoringProjection, AuthoringRelease, AuthoringSpan, AuthoringVariant, Binding, BreakpointInput, BreakpointOutput, ClientOptions, CommitUiPageRevisionData, CommitUiPageRevisionError, CommitUiPageRevisionErrors, CommitUiPageRevisionResponse, CommitUiPageRevisionResponses, Compatibility, CompatibilityReason, ComponentInput, ComponentOutput, ComponentPin, ComponentRelease, CompositionError, Constraints, ContextTarget, CreateOperatingSystemData, CreateOperatingSystemError, CreateOperatingSystemErrors, CreateOperatingSystemResponse, CreateOperatingSystemResponses, CreateOs, CreatePage, CreateUiPageData, CreateUiPageError, CreateUiPageErrors, CreateUiPageResponse, CreateUiPageResponses, DomainSource, GetLayoutTemplateReleaseData, GetLayoutTemplateReleaseError, GetLayoutTemplateReleaseErrors, GetLayoutTemplateReleaseResponse, GetLayoutTemplateReleaseResponses, GetOperatingSystemData, GetOperatingSystemDraftData, GetOperatingSystemDraftError, GetOperatingSystemDraftErrors, GetOperatingSystemDraftResponse, GetOperatingSystemDraftResponses, GetOperatingSystemError, GetOperatingSystemErrors, GetOperatingSystemResponse, GetOperatingSystemResponses, GetOperatingSystemRevisionData, GetOperatingSystemRevisionError, GetOperatingSystemRevisionErrors, GetOperatingSystemRevisionResponse, GetOperatingSystemRevisionResponses, GetUiPageDraftData, GetUiPageDraftError, GetUiPageDraftErrors, GetUiPageDraftResponse, GetUiPageDraftResponses, GetUiPageRevisionData, GetUiPageRevisionError, GetUiPageRevisionErrors, GetUiPageRevisionResponse, GetUiPageRevisionResponses, GridAreaInput, GridAreaOutput, GridConfigInput, GridConfigOutput, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, InputTarget, IntentTarget, JsonValue, KeySource, LayoutNodeInput, LayoutNodeOutput, LayoutRegionInput, LayoutRegionOutput, ListLayoutTemplateReleasesData, ListLayoutTemplateReleasesError, ListLayoutTemplateReleasesErrors, ListLayoutTemplateReleasesResponse, ListLayoutTemplateReleasesResponses, ListOperatingSystemRevisionsData, ListOperatingSystemRevisionsError, ListOperatingSystemRevisionsErrors, ListOperatingSystemRevisionsResponse, ListOperatingSystemRevisionsResponses, ListOperatingSystemsData, ListOperatingSystemsError, ListOperatingSystemsErrors, ListOperatingSystemsResponse, ListOperatingSystemsResponses, ListUiPageRevisionsData, ListUiPageRevisionsError, ListUiPageRevisionsErrors, ListUiPageRevisionsResponse, ListUiPageRevisionsResponses, ListUiPagesData, ListUiPagesError, ListUiPagesErrors, ListUiPagesResponse, ListUiPagesResponses, LiteralSource, LocaleSource, MarkOperatingSystemReadyForReleaseData, MarkOperatingSystemReadyForReleaseError, MarkOperatingSystemReadyForReleaseErrors, MarkOperatingSystemReadyForReleaseResponse, MarkOperatingSystemReadyForReleaseResponses, NavigationEntry, NavigationSnapshot, NavigationTarget, OsDraft, OsIdentity, OsRevision, OutputSource, PageAssignment, PageDocumentInput, PageDocumentOutput, PageDraftResponse, PageIdentity, PageRevision, Provenance, RegisterLayoutTemplateReleaseData, RegisterLayoutTemplateReleaseError, RegisterLayoutTemplateReleaseErrors, RegisterLayoutTemplateReleaseResponse, RegisterLayoutTemplateReleaseResponses, ResourceDocumentOsDraft, ResourceDocumentOsIdentity, ResourceDocumentOsRevision, ResourceDocumentPageDocument, ResourceDocumentPageIdentity, ResourceDocumentPageRevision, ResourceDocumentTemplateRelease, ResourcePageOsIdentity, ResourcePageOsRevision, ResourcePagePageIdentity, ResourcePagePageRevision, ResourcePageTemplateRelease, ResponsiveConfigInput, ResponsiveConfigOutput, SchemaPin, SplitAllocation, SplitShare, StackConfigInput, StackConfigOutput, StateSource, TemplateRef, TemplateRelease, UpdateUiPageDraftData, UpdateUiPageDraftError, UpdateUiPageDraftErrors, UpdateUiPageDraftResponse, UpdateUiPageDraftResponses, ValidationError, VariantCompatibility } from './types.gen.js';
|
|
@@ -71,6 +71,8 @@ export declare const activateUiPageRevision: <ThrowOnError extends boolean = fal
|
|
|
71
71
|
export declare const applyLayoutVariant: <ThrowOnError extends boolean = false>(options: Options<ApplyLayoutVariantData, ThrowOnError>) => RequestResult<ApplyLayoutVariantResponses, ApplyLayoutVariantErrors, ThrowOnError>;
|
|
72
72
|
/**
|
|
73
73
|
* Get Page Draft
|
|
74
|
+
*
|
|
75
|
+
* Read the current Draft and ETag. includeAuthoring=true adds a transient, authorized exact-release metadata projection. Supply blueprintAssetId, blueprintVersionId and targetSlotId together for an unplaced candidate (no known binding fingerprint required), or instanceId for one saved instance. With no selector, project all current instances with deduplicated releases and definitions. Selectors require includeAuthoring=true and cannot be mixed. The optional If-Match header checks the evaluated Draft ETag. Limits: 1 MiB projection, 128 contexts, 32 releases, 256 definitions and 256 variants per release. Oversize returns 413; invalid metadata, stale pins and dependencies fail explicitly without a partial projection. Ordinary Draft reads remain independent of authoring metadata resolution.
|
|
74
76
|
*/
|
|
75
77
|
export declare const getUiPageDraft: <ThrowOnError extends boolean = false>(options: Options<GetUiPageDraftData, ThrowOnError>) => RequestResult<GetUiPageDraftResponses, GetUiPageDraftErrors, ThrowOnError>;
|
|
76
78
|
/**
|
|
@@ -134,6 +134,8 @@ export const applyLayoutVariant = (options) => (options.client ?? client).post({
|
|
|
134
134
|
});
|
|
135
135
|
/**
|
|
136
136
|
* Get Page Draft
|
|
137
|
+
*
|
|
138
|
+
* Read the current Draft and ETag. includeAuthoring=true adds a transient, authorized exact-release metadata projection. Supply blueprintAssetId, blueprintVersionId and targetSlotId together for an unplaced candidate (no known binding fingerprint required), or instanceId for one saved instance. With no selector, project all current instances with deduplicated releases and definitions. Selectors require includeAuthoring=true and cannot be mixed. The optional If-Match header checks the evaluated Draft ETag. Limits: 1 MiB projection, 128 contexts, 32 releases, 256 definitions and 256 variants per release. Oversize returns 413; invalid metadata, stale pins and dependencies fail explicitly without a partial projection. Ordinary Draft reads remain independent of authoring metadata resolution.
|
|
137
139
|
*/
|
|
138
140
|
export const getUiPageDraft = (options) => (options.client ?? client).get({
|
|
139
141
|
security: [{ scheme: 'bearer', type: 'http' }],
|