jmapcloud-types 2.0.23-qa.6 → 2.0.23-qa.9
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.
|
@@ -651,6 +651,45 @@ export interface paths {
|
|
|
651
651
|
patch?: never
|
|
652
652
|
trace?: never
|
|
653
653
|
}
|
|
654
|
+
"/rest/v1/organizations/{organization}/projects/{project}/preview-image": {
|
|
655
|
+
parameters: {
|
|
656
|
+
query?: never
|
|
657
|
+
header?: never
|
|
658
|
+
path?: never
|
|
659
|
+
cookie?: never
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* Get the preview image of a project
|
|
663
|
+
* @description Returns the preview image of a project of your organization.
|
|
664
|
+
*
|
|
665
|
+
* **Required role:** `ORG_VIEWER`, and the current user must have the **`VIEW`** permission on the project.
|
|
666
|
+
*
|
|
667
|
+
* ### Format (`Accept` header)
|
|
668
|
+
* | `Accept` | Response |
|
|
669
|
+
* |---|---|
|
|
670
|
+
* | `image/png`, `image/*`, `*\/*` or none | The PNG image (`Content-Type: image/png`) |
|
|
671
|
+
* | `text/plain` | A Base64 data URI (`data:image/png;base64,...`), ready for an `<img src>` |
|
|
672
|
+
*
|
|
673
|
+
* When both are accepted, the one with the higher quality (`q`) wins, and PNG on a tie. An `Accept` that allows neither returns `406`.
|
|
674
|
+
*
|
|
675
|
+
* ### Caching
|
|
676
|
+
* The response has an `ETag` (one per format) and `Cache-Control: private, no-cache`. Send the `ETag` back in `If-None-Match`: when the image hasn't changed, the response is `304` without a body.
|
|
677
|
+
*
|
|
678
|
+
* ### When it fails
|
|
679
|
+
* `404` (without a body) when the project has no preview image. The preview image is set with `previewImage` when creating or updating the project.
|
|
680
|
+
*
|
|
681
|
+
* ### Organization
|
|
682
|
+
* `organization` must be the organization of the access token, and the project must belong to it; otherwise the request returns `404`.
|
|
683
|
+
*/
|
|
684
|
+
get: operations["getProjectPreviewImage"]
|
|
685
|
+
put?: never
|
|
686
|
+
post?: never
|
|
687
|
+
delete?: never
|
|
688
|
+
options?: never
|
|
689
|
+
head?: never
|
|
690
|
+
patch?: never
|
|
691
|
+
trace?: never
|
|
692
|
+
}
|
|
654
693
|
"/rest/v1/organizations/{organization}/projects/{project}/layers": {
|
|
655
694
|
parameters: {
|
|
656
695
|
query?: never
|
|
@@ -1692,6 +1731,84 @@ export interface paths {
|
|
|
1692
1731
|
patch: operations["updateDynamicFilter"]
|
|
1693
1732
|
trace?: never
|
|
1694
1733
|
}
|
|
1734
|
+
"/rest/v1/organizations/{organization}/projects/{project}/tables/{table}/form": {
|
|
1735
|
+
parameters: {
|
|
1736
|
+
query?: never
|
|
1737
|
+
header?: never
|
|
1738
|
+
path?: never
|
|
1739
|
+
cookie?: never
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* Get the form of a table
|
|
1743
|
+
* @description Returns the form assigned to a table of a project: its `name`, `formSchema` (JSON Schema), `uiSchema` (JSON Forms UI schema with `translations`) and tags, as `GET .../datasources/{datasource}/forms/{form}` returns it.
|
|
1744
|
+
*
|
|
1745
|
+
* **Required role:** `ORG_VIEWER`, and the current user must have the **`VIEW`** permission on the project.
|
|
1746
|
+
*
|
|
1747
|
+
* `404` if the table has no form.
|
|
1748
|
+
*
|
|
1749
|
+
* ### Locale (`locale`)
|
|
1750
|
+
* Without `locale`, `uiSchema.translations` has all the locales. With `locale` (`en`, `fr`, `es`), it only keeps that locale. A code that isn't a known language returns `400`.
|
|
1751
|
+
*
|
|
1752
|
+
* ### Form assignment
|
|
1753
|
+
* Forms are created on a data source (`POST .../datasources/{datasource}/forms`). Assigning a form to a table makes it the form used to edit the table's rows in the project. A table has **at most one** form.
|
|
1754
|
+
*
|
|
1755
|
+
* - The form must be a form of the table's data source, owned by your organization. The forms of a data source shared by another organization can't be assigned.
|
|
1756
|
+
* - The id of the assigned form is also the `formId` of the table (`GET .../tables/{table}`).
|
|
1757
|
+
* - Deleting the form removes the assignment: the table then has no form. Copying a project copies its tables with their form.
|
|
1758
|
+
*
|
|
1759
|
+
* ### Organization and project
|
|
1760
|
+
* `organization` must be the organization of the access token, and the project must belong to it. The table must belong to the project; otherwise the request returns `404`.
|
|
1761
|
+
*/
|
|
1762
|
+
get: operations["getTableForm"]
|
|
1763
|
+
/**
|
|
1764
|
+
* Assign a form to a table
|
|
1765
|
+
* @description Assigns a form to a table of a project. The form **replaces** the form already assigned to the table, if any.
|
|
1766
|
+
*
|
|
1767
|
+
* **Required role:** `ORG_EDITOR`, and the current user must have the **`MODIFY`** permission on the project.
|
|
1768
|
+
*
|
|
1769
|
+
* ### Fields
|
|
1770
|
+
* | Field | Required | Description |
|
|
1771
|
+
* |---|---|---|
|
|
1772
|
+
* | `formId` | Yes | The id of a form of the table's data source. |
|
|
1773
|
+
*
|
|
1774
|
+
* ### Response
|
|
1775
|
+
* `result` is the id of the assigned form.
|
|
1776
|
+
*
|
|
1777
|
+
* ### When it fails
|
|
1778
|
+
* `400` if `formId` is missing or empty, or if the form isn't a form of the table's data source in your organization.
|
|
1779
|
+
*
|
|
1780
|
+
* ### Form assignment
|
|
1781
|
+
* Forms are created on a data source (`POST .../datasources/{datasource}/forms`). Assigning a form to a table makes it the form used to edit the table's rows in the project. A table has **at most one** form.
|
|
1782
|
+
*
|
|
1783
|
+
* - The form must be a form of the table's data source, owned by your organization. The forms of a data source shared by another organization can't be assigned.
|
|
1784
|
+
* - The id of the assigned form is also the `formId` of the table (`GET .../tables/{table}`).
|
|
1785
|
+
* - Deleting the form removes the assignment: the table then has no form. Copying a project copies its tables with their form.
|
|
1786
|
+
*
|
|
1787
|
+
* ### Organization and project
|
|
1788
|
+
* `organization` must be the organization of the access token, and the project must belong to it. The table must belong to the project; otherwise the request returns `404`.
|
|
1789
|
+
*/
|
|
1790
|
+
put: operations["assignTableForm"]
|
|
1791
|
+
post?: never
|
|
1792
|
+
/**
|
|
1793
|
+
* Remove the form of a table
|
|
1794
|
+
* @description Removes the form of a table of a project. The table then has no form.
|
|
1795
|
+
*
|
|
1796
|
+
* **Required role:** `ORG_EDITOR`, and the current user must have the **`MODIFY`** permission on the project.
|
|
1797
|
+
*
|
|
1798
|
+
* Only the assignment is removed: the form itself isn't deleted, and stays assigned to the other tables and layers. `404` if the table has no form.
|
|
1799
|
+
*
|
|
1800
|
+
* ### Response
|
|
1801
|
+
* `result` is the id of the form that was assigned.
|
|
1802
|
+
*
|
|
1803
|
+
* ### Organization and project
|
|
1804
|
+
* `organization` must be the organization of the access token, and the project must belong to it. The table must belong to the project; otherwise the request returns `404`.
|
|
1805
|
+
*/
|
|
1806
|
+
delete: operations["unassignTableForm"]
|
|
1807
|
+
options?: never
|
|
1808
|
+
head?: never
|
|
1809
|
+
patch?: never
|
|
1810
|
+
trace?: never
|
|
1811
|
+
}
|
|
1695
1812
|
"/rest/v1/organizations/{organization}/projects/{project}/tables/{table}/reports": {
|
|
1696
1813
|
parameters: {
|
|
1697
1814
|
query?: never
|
|
@@ -3409,6 +3526,11 @@ export interface components {
|
|
|
3409
3526
|
dataSourceOrganizationId?: string
|
|
3410
3527
|
/** @example This table is about an interesting subject! */
|
|
3411
3528
|
description?: string
|
|
3529
|
+
/**
|
|
3530
|
+
* @description Id of the form assigned to the table (a form of the table's data source). Absent when the table has no form. Changed with `PUT` and `DELETE .../tables/{table}/form`.
|
|
3531
|
+
* @example af3da5af-c03b-467c-bf10-ff5e2780bdff
|
|
3532
|
+
*/
|
|
3533
|
+
formId?: string
|
|
3412
3534
|
id: string
|
|
3413
3535
|
/** Format: date-time */
|
|
3414
3536
|
lastModificationDate?: string
|
|
@@ -5287,6 +5409,11 @@ export interface components {
|
|
|
5287
5409
|
presentationPage?: {
|
|
5288
5410
|
[key: string]: string
|
|
5289
5411
|
}
|
|
5412
|
+
/**
|
|
5413
|
+
* @description An image representing the project content, as Base64 or as a Base64 data URI. PNG, GIF or JPEG, maximum 500 KB and 1024x1024 pixels. Stored as PNG. An empty string removes it
|
|
5414
|
+
* @example data:image/png;base64,iVBORw0KGgo...
|
|
5415
|
+
*/
|
|
5416
|
+
previewImage?: string
|
|
5290
5417
|
/**
|
|
5291
5418
|
* @description If true, the project will be anonymously accessible
|
|
5292
5419
|
* @example true
|
|
@@ -7054,6 +7181,11 @@ export interface components {
|
|
|
7054
7181
|
description?: {
|
|
7055
7182
|
[key: string]: string
|
|
7056
7183
|
}
|
|
7184
|
+
/**
|
|
7185
|
+
* @description Id of the form assigned to the table (a form of the table's data source). Absent when the table has no form. Changed with `PUT` and `DELETE .../tables/{table}/form`.
|
|
7186
|
+
* @example af3da5af-c03b-467c-bf10-ff5e2780bdff
|
|
7187
|
+
*/
|
|
7188
|
+
formId?: string
|
|
7057
7189
|
id: string
|
|
7058
7190
|
/** Format: date-time */
|
|
7059
7191
|
lastModificationDate?: string
|
|
@@ -10382,6 +10514,95 @@ export interface operations {
|
|
|
10382
10514
|
}
|
|
10383
10515
|
}
|
|
10384
10516
|
}
|
|
10517
|
+
getProjectPreviewImage: {
|
|
10518
|
+
parameters: {
|
|
10519
|
+
query?: never
|
|
10520
|
+
header?: never
|
|
10521
|
+
path: {
|
|
10522
|
+
/** @description Id of your organization (must match the access token) */
|
|
10523
|
+
organization: string
|
|
10524
|
+
/** @description Id of the project */
|
|
10525
|
+
project: string
|
|
10526
|
+
}
|
|
10527
|
+
cookie?: never
|
|
10528
|
+
}
|
|
10529
|
+
requestBody?: never
|
|
10530
|
+
responses: {
|
|
10531
|
+
/** @description The preview image, as PNG or as a Base64 data URI depending on `Accept` */
|
|
10532
|
+
200: {
|
|
10533
|
+
headers: {
|
|
10534
|
+
[name: string]: unknown
|
|
10535
|
+
}
|
|
10536
|
+
content: {
|
|
10537
|
+
"image/png": string
|
|
10538
|
+
"text/plain": string
|
|
10539
|
+
}
|
|
10540
|
+
}
|
|
10541
|
+
/** @description The preview image hasn't changed: `If-None-Match` matches its `ETag` */
|
|
10542
|
+
304: {
|
|
10543
|
+
headers: {
|
|
10544
|
+
[name: string]: unknown
|
|
10545
|
+
}
|
|
10546
|
+
content: {
|
|
10547
|
+
"*/*": string
|
|
10548
|
+
}
|
|
10549
|
+
}
|
|
10550
|
+
/** @description `organization` or `project` is not a valid UUID */
|
|
10551
|
+
400: {
|
|
10552
|
+
headers: {
|
|
10553
|
+
[name: string]: unknown
|
|
10554
|
+
}
|
|
10555
|
+
content: {
|
|
10556
|
+
"application/json": components["schemas"]["ResponseBody400"]
|
|
10557
|
+
}
|
|
10558
|
+
}
|
|
10559
|
+
/** @description You are not authorized to view the resource */
|
|
10560
|
+
401: {
|
|
10561
|
+
headers: {
|
|
10562
|
+
[name: string]: unknown
|
|
10563
|
+
}
|
|
10564
|
+
content: {
|
|
10565
|
+
"application/json": components["schemas"]["ResponseBody401"]
|
|
10566
|
+
}
|
|
10567
|
+
}
|
|
10568
|
+
/** @description Missing `ORG_VIEWER` role, `organization` is not the organization of the access token, or no `VIEW` permission on the project */
|
|
10569
|
+
403: {
|
|
10570
|
+
headers: {
|
|
10571
|
+
[name: string]: unknown
|
|
10572
|
+
}
|
|
10573
|
+
content: {
|
|
10574
|
+
"application/json": components["schemas"]["ResponseBody403"]
|
|
10575
|
+
}
|
|
10576
|
+
}
|
|
10577
|
+
/** @description The project doesn't exist in `organization`, or has no preview image (no body) */
|
|
10578
|
+
404: {
|
|
10579
|
+
headers: {
|
|
10580
|
+
[name: string]: unknown
|
|
10581
|
+
}
|
|
10582
|
+
content: {
|
|
10583
|
+
"*/*": string
|
|
10584
|
+
}
|
|
10585
|
+
}
|
|
10586
|
+
/** @description `Accept` allows neither `image/png` nor `text/plain` */
|
|
10587
|
+
406: {
|
|
10588
|
+
headers: {
|
|
10589
|
+
[name: string]: unknown
|
|
10590
|
+
}
|
|
10591
|
+
content: {
|
|
10592
|
+
"*/*": string
|
|
10593
|
+
}
|
|
10594
|
+
}
|
|
10595
|
+
/** @description The server encounters an unexpected internal error */
|
|
10596
|
+
500: {
|
|
10597
|
+
headers: {
|
|
10598
|
+
[name: string]: unknown
|
|
10599
|
+
}
|
|
10600
|
+
content: {
|
|
10601
|
+
"application/json": components["schemas"]["ResponseBody500"]
|
|
10602
|
+
}
|
|
10603
|
+
}
|
|
10604
|
+
}
|
|
10605
|
+
}
|
|
10385
10606
|
getProjectExtent: {
|
|
10386
10607
|
parameters: {
|
|
10387
10608
|
query?: {
|
|
@@ -15305,6 +15526,230 @@ export interface operations {
|
|
|
15305
15526
|
}
|
|
15306
15527
|
}
|
|
15307
15528
|
}
|
|
15529
|
+
getTableForm: {
|
|
15530
|
+
parameters: {
|
|
15531
|
+
query?: {
|
|
15532
|
+
/** @description ISO 639 language code (`en`, `fr`, `es`): `uiSchema.translations` only keeps this locale */
|
|
15533
|
+
locale?: string
|
|
15534
|
+
}
|
|
15535
|
+
header?: never
|
|
15536
|
+
path: {
|
|
15537
|
+
/** @description Id of your organization (must match the access token) */
|
|
15538
|
+
organization: string
|
|
15539
|
+
/** @description Id of the project */
|
|
15540
|
+
project: string
|
|
15541
|
+
/** @description Id of the table (a table of the project) */
|
|
15542
|
+
table: string
|
|
15543
|
+
}
|
|
15544
|
+
cookie?: never
|
|
15545
|
+
}
|
|
15546
|
+
requestBody?: never
|
|
15547
|
+
responses: {
|
|
15548
|
+
/** @description The form of the table, with its tags */
|
|
15549
|
+
200: {
|
|
15550
|
+
headers: {
|
|
15551
|
+
[name: string]: unknown
|
|
15552
|
+
}
|
|
15553
|
+
content: {
|
|
15554
|
+
"application/json": components["schemas"]["ResponseGetForm"]
|
|
15555
|
+
}
|
|
15556
|
+
}
|
|
15557
|
+
/** @description `organization`, `project` or `table` is not a valid UUID, or `locale` isn't a known language */
|
|
15558
|
+
400: {
|
|
15559
|
+
headers: {
|
|
15560
|
+
[name: string]: unknown
|
|
15561
|
+
}
|
|
15562
|
+
content: {
|
|
15563
|
+
"application/json": components["schemas"]["ResponseBody400"]
|
|
15564
|
+
}
|
|
15565
|
+
}
|
|
15566
|
+
/** @description You are not authorized to view the resource */
|
|
15567
|
+
401: {
|
|
15568
|
+
headers: {
|
|
15569
|
+
[name: string]: unknown
|
|
15570
|
+
}
|
|
15571
|
+
content: {
|
|
15572
|
+
"application/json": components["schemas"]["ResponseBody401"]
|
|
15573
|
+
}
|
|
15574
|
+
}
|
|
15575
|
+
/** @description Missing `ORG_VIEWER` role, `organization` is not the organization of the access token, or no `VIEW` permission on the project */
|
|
15576
|
+
403: {
|
|
15577
|
+
headers: {
|
|
15578
|
+
[name: string]: unknown
|
|
15579
|
+
}
|
|
15580
|
+
content: {
|
|
15581
|
+
"application/json": components["schemas"]["ResponseBody403"]
|
|
15582
|
+
}
|
|
15583
|
+
}
|
|
15584
|
+
/** @description The project doesn't exist in `organization`, the table isn't in the project, or the table has no form */
|
|
15585
|
+
404: {
|
|
15586
|
+
headers: {
|
|
15587
|
+
[name: string]: unknown
|
|
15588
|
+
}
|
|
15589
|
+
content: {
|
|
15590
|
+
"application/json": components["schemas"]["ResponseBody404"]
|
|
15591
|
+
}
|
|
15592
|
+
}
|
|
15593
|
+
/** @description The server encounters an unexpected internal error */
|
|
15594
|
+
500: {
|
|
15595
|
+
headers: {
|
|
15596
|
+
[name: string]: unknown
|
|
15597
|
+
}
|
|
15598
|
+
content: {
|
|
15599
|
+
"application/json": components["schemas"]["ResponseBody500"]
|
|
15600
|
+
}
|
|
15601
|
+
}
|
|
15602
|
+
}
|
|
15603
|
+
}
|
|
15604
|
+
assignTableForm: {
|
|
15605
|
+
parameters: {
|
|
15606
|
+
query?: never
|
|
15607
|
+
header?: never
|
|
15608
|
+
path: {
|
|
15609
|
+
/** @description Id of your organization (must match the access token) */
|
|
15610
|
+
organization: string
|
|
15611
|
+
/** @description Id of the project */
|
|
15612
|
+
project: string
|
|
15613
|
+
/** @description Id of the table (a table of the project) */
|
|
15614
|
+
table: string
|
|
15615
|
+
}
|
|
15616
|
+
cookie?: never
|
|
15617
|
+
}
|
|
15618
|
+
/** @description The form to assign */
|
|
15619
|
+
requestBody: {
|
|
15620
|
+
content: {
|
|
15621
|
+
"application/json": components["schemas"]["ParamFormAssignment"]
|
|
15622
|
+
}
|
|
15623
|
+
}
|
|
15624
|
+
responses: {
|
|
15625
|
+
/** @description The form was assigned, replacing the previous one. `result` is the form id. */
|
|
15626
|
+
200: {
|
|
15627
|
+
headers: {
|
|
15628
|
+
[name: string]: unknown
|
|
15629
|
+
}
|
|
15630
|
+
content: {
|
|
15631
|
+
"application/json": components["schemas"]["ResponseAssignForm"]
|
|
15632
|
+
}
|
|
15633
|
+
}
|
|
15634
|
+
/** @description `formId` missing or empty, or the form isn't a form of the table's data source in your organization */
|
|
15635
|
+
400: {
|
|
15636
|
+
headers: {
|
|
15637
|
+
[name: string]: unknown
|
|
15638
|
+
}
|
|
15639
|
+
content: {
|
|
15640
|
+
"application/json": components["schemas"]["ResponseBody400"]
|
|
15641
|
+
}
|
|
15642
|
+
}
|
|
15643
|
+
/** @description You are not authorized to view the resource */
|
|
15644
|
+
401: {
|
|
15645
|
+
headers: {
|
|
15646
|
+
[name: string]: unknown
|
|
15647
|
+
}
|
|
15648
|
+
content: {
|
|
15649
|
+
"application/json": components["schemas"]["ResponseBody401"]
|
|
15650
|
+
}
|
|
15651
|
+
}
|
|
15652
|
+
/** @description Missing `ORG_EDITOR` role, `organization` is not the organization of the access token, or no `MODIFY` permission on the project */
|
|
15653
|
+
403: {
|
|
15654
|
+
headers: {
|
|
15655
|
+
[name: string]: unknown
|
|
15656
|
+
}
|
|
15657
|
+
content: {
|
|
15658
|
+
"application/json": components["schemas"]["ResponseBody403"]
|
|
15659
|
+
}
|
|
15660
|
+
}
|
|
15661
|
+
/** @description The project doesn't exist in `organization`, or the table isn't in the project */
|
|
15662
|
+
404: {
|
|
15663
|
+
headers: {
|
|
15664
|
+
[name: string]: unknown
|
|
15665
|
+
}
|
|
15666
|
+
content: {
|
|
15667
|
+
"application/json": components["schemas"]["ResponseBody404"]
|
|
15668
|
+
}
|
|
15669
|
+
}
|
|
15670
|
+
/** @description The server encounters an unexpected internal error */
|
|
15671
|
+
500: {
|
|
15672
|
+
headers: {
|
|
15673
|
+
[name: string]: unknown
|
|
15674
|
+
}
|
|
15675
|
+
content: {
|
|
15676
|
+
"application/json": components["schemas"]["ResponseBody500"]
|
|
15677
|
+
}
|
|
15678
|
+
}
|
|
15679
|
+
}
|
|
15680
|
+
}
|
|
15681
|
+
unassignTableForm: {
|
|
15682
|
+
parameters: {
|
|
15683
|
+
query?: never
|
|
15684
|
+
header?: never
|
|
15685
|
+
path: {
|
|
15686
|
+
/** @description Id of your organization (must match the access token) */
|
|
15687
|
+
organization: string
|
|
15688
|
+
/** @description Id of the project */
|
|
15689
|
+
project: string
|
|
15690
|
+
/** @description Id of the table (a table of the project) */
|
|
15691
|
+
table: string
|
|
15692
|
+
}
|
|
15693
|
+
cookie?: never
|
|
15694
|
+
}
|
|
15695
|
+
requestBody?: never
|
|
15696
|
+
responses: {
|
|
15697
|
+
/** @description The form was removed from the table. `result` is the form id. */
|
|
15698
|
+
200: {
|
|
15699
|
+
headers: {
|
|
15700
|
+
[name: string]: unknown
|
|
15701
|
+
}
|
|
15702
|
+
content: {
|
|
15703
|
+
"application/json": components["schemas"]["ResponseUnassignForm"]
|
|
15704
|
+
}
|
|
15705
|
+
}
|
|
15706
|
+
/** @description `organization`, `project` or `table` is not a valid UUID */
|
|
15707
|
+
400: {
|
|
15708
|
+
headers: {
|
|
15709
|
+
[name: string]: unknown
|
|
15710
|
+
}
|
|
15711
|
+
content: {
|
|
15712
|
+
"application/json": components["schemas"]["ResponseBody400"]
|
|
15713
|
+
}
|
|
15714
|
+
}
|
|
15715
|
+
/** @description You are not authorized to view the resource */
|
|
15716
|
+
401: {
|
|
15717
|
+
headers: {
|
|
15718
|
+
[name: string]: unknown
|
|
15719
|
+
}
|
|
15720
|
+
content: {
|
|
15721
|
+
"application/json": components["schemas"]["ResponseBody401"]
|
|
15722
|
+
}
|
|
15723
|
+
}
|
|
15724
|
+
/** @description Missing `ORG_EDITOR` role, `organization` is not the organization of the access token, or no `MODIFY` permission on the project */
|
|
15725
|
+
403: {
|
|
15726
|
+
headers: {
|
|
15727
|
+
[name: string]: unknown
|
|
15728
|
+
}
|
|
15729
|
+
content: {
|
|
15730
|
+
"application/json": components["schemas"]["ResponseBody403"]
|
|
15731
|
+
}
|
|
15732
|
+
}
|
|
15733
|
+
/** @description The project doesn't exist in `organization`, the table isn't in the project, or the table has no form */
|
|
15734
|
+
404: {
|
|
15735
|
+
headers: {
|
|
15736
|
+
[name: string]: unknown
|
|
15737
|
+
}
|
|
15738
|
+
content: {
|
|
15739
|
+
"application/json": components["schemas"]["ResponseBody404"]
|
|
15740
|
+
}
|
|
15741
|
+
}
|
|
15742
|
+
/** @description The server encounters an unexpected internal error */
|
|
15743
|
+
500: {
|
|
15744
|
+
headers: {
|
|
15745
|
+
[name: string]: unknown
|
|
15746
|
+
}
|
|
15747
|
+
content: {
|
|
15748
|
+
"application/json": components["schemas"]["ResponseBody500"]
|
|
15749
|
+
}
|
|
15750
|
+
}
|
|
15751
|
+
}
|
|
15752
|
+
}
|
|
15308
15753
|
updateTableDatasetAttributesOrder: {
|
|
15309
15754
|
parameters: {
|
|
15310
15755
|
query?: never
|
|
@@ -439,6 +439,7 @@ export type GetNgLayersConfigurationQuery = {
|
|
|
439
439
|
allowClientSideEditing: boolean | null
|
|
440
440
|
permissions: Array<string | null> | null
|
|
441
441
|
baseFilter: string | null
|
|
442
|
+
forms: Array<string | null> | null
|
|
442
443
|
attributes: Array<{ id: string | null; name: string; title: string | null; type: string | null; indexed: boolean | null; visible: boolean | null } | null> | null
|
|
443
444
|
} | null>
|
|
444
445
|
getTableDatasetDynamicFilters: Array<{ id: string; name: string | null; resourceId: string; active: boolean | null; filter: string } | null>
|
package/mcs.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// The JSON Forms 3.8.0 root also loads store declarations that assume Symbol.observable exists.
|
|
2
|
+
// Import the models directly so standalone consumers can compile with skipLibCheck disabled.
|
|
3
|
+
// Recheck the root import on upgrade (https://github.com/eclipsesource/jsonforms/issues/1988).
|
|
1
4
|
import type { BaseUISchemaElement, JsonSchema7, Layout, Scoped } from "@jsonforms/core/lib/models"
|
|
2
5
|
import { JMultiLocaleTranslationValue, LOCALES } from "."
|
|
3
6
|
import { components } from "./generated/mcs-generated"
|
|
@@ -260,6 +263,7 @@ interface JTable<TText extends LocalizedText = JMultiLocaleTranslationValue> ext
|
|
|
260
263
|
dataSourceId: string
|
|
261
264
|
dataSourceOrganizationId: string
|
|
262
265
|
allowClientSideEditing: boolean
|
|
266
|
+
formId?: string
|
|
263
267
|
filter?: string
|
|
264
268
|
listed: boolean
|
|
265
269
|
attributes: TableAttribute<TText>[]
|
|
@@ -769,6 +773,7 @@ export interface FormNodeTable extends FormNodeBase {
|
|
|
769
773
|
relationshipId: string
|
|
770
774
|
attributeNames: string[]
|
|
771
775
|
attributeNameSorted?: string
|
|
776
|
+
formId?: string
|
|
772
777
|
}
|
|
773
778
|
}
|
|
774
779
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-types",
|
|
3
|
-
"version": "2.0.23-qa.
|
|
3
|
+
"version": "2.0.23-qa.9",
|
|
4
4
|
"description": "TypeScript definitions for Jmap Cloud",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
"scripts": {
|
|
46
46
|
"lint": "node ../../scripts/lint.mjs packages/jmapcloud-types"
|
|
47
47
|
}
|
|
48
|
-
}
|
|
48
|
+
}
|