Skip to content

Commit 11aa3f4

Browse files
committed
chore(openapi): add new endpoints for trust portal settings management
1 parent 1cc0146 commit 11aa3f4

1 file changed

Lines changed: 122 additions & 86 deletions

File tree

packages/docs/openapi.json

Lines changed: 122 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -9998,20 +9998,130 @@
99989998
]
99999999
}
1000010000
},
10001-
"/v1/trust-portal/overview": {
10001+
"/v1/trust-portal/settings/toggle": {
10002+
"put": {
10003+
"operationId": "TrustPortalController_togglePortal_v1",
10004+
"parameters": [],
10005+
"responses": {
10006+
"200": {
10007+
"description": ""
10008+
}
10009+
},
10010+
"security": [
10011+
{
10012+
"apikey": []
10013+
}
10014+
],
10015+
"summary": "Enable or disable the trust portal",
10016+
"tags": [
10017+
"Trust Portal"
10018+
]
10019+
}
10020+
},
10021+
"/v1/trust-portal/settings/custom-domain": {
1000210022
"post": {
10003-
"operationId": "TrustPortalController_updateOverview_v1",
10004-
"parameters": [
10023+
"operationId": "TrustPortalController_addCustomDomain_v1",
10024+
"parameters": [],
10025+
"responses": {
10026+
"201": {
10027+
"description": ""
10028+
}
10029+
},
10030+
"security": [
1000510031
{
10006-
"name": "X-Organization-Id",
10007-
"in": "header",
10008-
"description": "Organization ID (required for session auth, optional for API key auth)",
10009-
"required": false,
10010-
"schema": {
10011-
"type": "string"
10012-
}
10032+
"apikey": []
10033+
}
10034+
],
10035+
"summary": "Add or update a custom domain for the trust portal",
10036+
"tags": [
10037+
"Trust Portal"
10038+
]
10039+
}
10040+
},
10041+
"/v1/trust-portal/settings/check-dns": {
10042+
"post": {
10043+
"operationId": "TrustPortalController_checkDnsRecords_v1",
10044+
"parameters": [],
10045+
"responses": {
10046+
"201": {
10047+
"description": ""
10048+
}
10049+
},
10050+
"security": [
10051+
{
10052+
"apikey": []
1001310053
}
1001410054
],
10055+
"summary": "Check DNS records for a custom domain",
10056+
"tags": [
10057+
"Trust Portal"
10058+
]
10059+
}
10060+
},
10061+
"/v1/trust-portal/settings/faqs": {
10062+
"put": {
10063+
"operationId": "TrustPortalController_updateFaqs_v1",
10064+
"parameters": [],
10065+
"responses": {
10066+
"200": {
10067+
"description": ""
10068+
}
10069+
},
10070+
"security": [
10071+
{
10072+
"apikey": []
10073+
}
10074+
],
10075+
"summary": "Update trust portal FAQs",
10076+
"tags": [
10077+
"Trust Portal"
10078+
]
10079+
}
10080+
},
10081+
"/v1/trust-portal/settings/allowed-domains": {
10082+
"put": {
10083+
"operationId": "TrustPortalController_updateAllowedDomains_v1",
10084+
"parameters": [],
10085+
"responses": {
10086+
"200": {
10087+
"description": ""
10088+
}
10089+
},
10090+
"security": [
10091+
{
10092+
"apikey": []
10093+
}
10094+
],
10095+
"summary": "Update allowed domains for the trust portal",
10096+
"tags": [
10097+
"Trust Portal"
10098+
]
10099+
}
10100+
},
10101+
"/v1/trust-portal/settings/frameworks": {
10102+
"put": {
10103+
"operationId": "TrustPortalController_updateFrameworks_v1",
10104+
"parameters": [],
10105+
"responses": {
10106+
"200": {
10107+
"description": ""
10108+
}
10109+
},
10110+
"security": [
10111+
{
10112+
"apikey": []
10113+
}
10114+
],
10115+
"summary": "Update trust portal framework settings",
10116+
"tags": [
10117+
"Trust Portal"
10118+
]
10119+
}
10120+
},
10121+
"/v1/trust-portal/overview": {
10122+
"post": {
10123+
"operationId": "TrustPortalController_updateOverview_v1",
10124+
"parameters": [],
1001510125
"responses": {
1001610126
"200": {
1001710127
"description": "Overview updated successfully"
@@ -10030,15 +10140,6 @@
1003010140
"get": {
1003110141
"operationId": "TrustPortalController_getOverview_v1",
1003210142
"parameters": [
10033-
{
10034-
"name": "X-Organization-Id",
10035-
"in": "header",
10036-
"description": "Organization ID (required for session auth, optional for API key auth)",
10037-
"required": false,
10038-
"schema": {
10039-
"type": "string"
10040-
}
10041-
},
1004210143
{
1004310144
"name": "organizationId",
1004410145
"required": true,
@@ -10067,17 +10168,7 @@
1006710168
"/v1/trust-portal/custom-links": {
1006810169
"post": {
1006910170
"operationId": "TrustPortalController_createCustomLink_v1",
10070-
"parameters": [
10071-
{
10072-
"name": "X-Organization-Id",
10073-
"in": "header",
10074-
"description": "Organization ID (required for session auth, optional for API key auth)",
10075-
"required": false,
10076-
"schema": {
10077-
"type": "string"
10078-
}
10079-
}
10080-
],
10171+
"parameters": [],
1008110172
"responses": {
1008210173
"201": {
1008310174
"description": "Custom link created successfully"
@@ -10096,15 +10187,6 @@
1009610187
"get": {
1009710188
"operationId": "TrustPortalController_listCustomLinks_v1",
1009810189
"parameters": [
10099-
{
10100-
"name": "X-Organization-Id",
10101-
"in": "header",
10102-
"description": "Organization ID (required for session auth, optional for API key auth)",
10103-
"required": false,
10104-
"schema": {
10105-
"type": "string"
10106-
}
10107-
},
1010810190
{
1010910191
"name": "organizationId",
1011010192
"required": true,
@@ -10134,15 +10216,6 @@
1013410216
"post": {
1013510217
"operationId": "TrustPortalController_updateCustomLink_v1",
1013610218
"parameters": [
10137-
{
10138-
"name": "X-Organization-Id",
10139-
"in": "header",
10140-
"description": "Organization ID (required for session auth, optional for API key auth)",
10141-
"required": false,
10142-
"schema": {
10143-
"type": "string"
10144-
}
10145-
},
1014610219
{
1014710220
"name": "linkId",
1014810221
"required": true,
@@ -10172,15 +10245,6 @@
1017210245
"post": {
1017310246
"operationId": "TrustPortalController_deleteCustomLink_v1",
1017410247
"parameters": [
10175-
{
10176-
"name": "X-Organization-Id",
10177-
"in": "header",
10178-
"description": "Organization ID (required for session auth, optional for API key auth)",
10179-
"required": false,
10180-
"schema": {
10181-
"type": "string"
10182-
}
10183-
},
1018410248
{
1018510249
"name": "linkId",
1018610250
"required": true,
@@ -10209,17 +10273,7 @@
1020910273
"/v1/trust-portal/custom-links/reorder": {
1021010274
"post": {
1021110275
"operationId": "TrustPortalController_reorderCustomLinks_v1",
10212-
"parameters": [
10213-
{
10214-
"name": "X-Organization-Id",
10215-
"in": "header",
10216-
"description": "Organization ID (required for session auth, optional for API key auth)",
10217-
"required": false,
10218-
"schema": {
10219-
"type": "string"
10220-
}
10221-
}
10222-
],
10276+
"parameters": [],
1022310277
"responses": {
1022410278
"200": {
1022510279
"description": "Custom links reordered successfully"
@@ -10240,15 +10294,6 @@
1024010294
"post": {
1024110295
"operationId": "TrustPortalController_updateVendorTrustSettings_v1",
1024210296
"parameters": [
10243-
{
10244-
"name": "X-Organization-Id",
10245-
"in": "header",
10246-
"description": "Organization ID (required for session auth, optional for API key auth)",
10247-
"required": false,
10248-
"schema": {
10249-
"type": "string"
10250-
}
10251-
},
1025210297
{
1025310298
"name": "vendorId",
1025410299
"required": true,
@@ -10278,15 +10323,6 @@
1027810323
"get": {
1027910324
"operationId": "TrustPortalController_listPublicVendors_v1",
1028010325
"parameters": [
10281-
{
10282-
"name": "X-Organization-Id",
10283-
"in": "header",
10284-
"description": "Organization ID (required for session auth, optional for API key auth)",
10285-
"required": false,
10286-
"schema": {
10287-
"type": "string"
10288-
}
10289-
},
1029010326
{
1029110327
"name": "organizationId",
1029210328
"required": true,

0 commit comments

Comments
 (0)