@adobe/aio-commerce-lib-app 1.7.0 → 1.8.0-alpha-20260722091448
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 +92 -0
- package/dist/cjs/actions/app-config/index.cjs +41 -38
- package/dist/cjs/actions/app-config/index.d.cts +1 -1
- package/dist/cjs/actions/association/index.cjs +85 -0
- package/dist/cjs/actions/{registration → association}/index.d.cts +9 -13
- package/dist/cjs/actions/config/index.cjs +21 -32
- package/dist/cjs/actions/installation/index.cjs +72 -51
- package/dist/cjs/actions/installation/index.d.cts +2 -2
- package/dist/cjs/actions/scope-tree/index.cjs +18 -17
- package/dist/{es/app-DrYHK-z1.d.mts → cjs/app-BwehWeu1.d.cts} +1237 -1031
- package/dist/cjs/commands/index.cjs +523 -301
- package/dist/cjs/commands/templates/admin-ui/tsconfig.json +14 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/index.css +5 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/index.html +17 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/src/app.jsx +12 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/src/components/welcome.jsx +16 -0
- package/dist/cjs/commands/templates/admin-ui/web-src/src/pages/main-page.jsx +10 -0
- package/dist/cjs/commands/templates/{admin-ui-sdk/registration.js.template → admin-ui/web-src-template.d.ts} +11 -6
- package/dist/cjs/commands/templates/app-management/app-config.js.template +1 -14
- package/dist/cjs/commands/templates/app-management/association.js.template +6 -0
- package/dist/cjs/commands/templates/app-management/installation.js.template +1 -13
- package/dist/cjs/commands/templates/business-configuration/config.js.template +2 -15
- package/dist/cjs/commands/templates/business-configuration/scope-tree.js.template +0 -12
- package/dist/cjs/config/index.browser.cjs +18 -0
- package/dist/cjs/config/index.browser.d.cts +16 -0
- package/dist/cjs/config/{index.cjs → index.node.cjs} +9 -8
- package/dist/{es/config/index.d.mts → cjs/config/index.node.d.cts} +1065 -394
- package/dist/cjs/define-DOqVyexT.d.cts +34 -0
- package/dist/cjs/define-hlcQw7Cv.cjs +41 -0
- package/dist/cjs/environment-B7EnozSg.cjs +135 -0
- package/dist/cjs/{index-B5gJ-q4U.d.cts → index-B3ISkC54.d.cts} +17 -12
- package/dist/cjs/index.cjs +268 -0
- package/dist/cjs/index.d.cts +230 -0
- package/dist/cjs/{config-D-s0GSep.cjs → index.node-BWZuZLgs.cjs} +144 -44
- package/dist/cjs/{logging-BVz3weoC.cjs → logging-udPuAJPt.cjs} +2 -2
- package/dist/cjs/management/index.cjs +1 -1
- package/dist/cjs/management/index.d.cts +1 -1
- package/dist/cjs/{management-Dehz9qSJ.cjs → management-DEsRVP2L.cjs} +385 -582
- package/dist/cjs/{openapi-Cux6K4ZD.cjs → openapi-CwytYdWl.cjs} +476 -600
- package/dist/cjs/repository-CbceYZqc.cjs +69 -0
- package/dist/cjs/{router-BOR7T6qR.cjs → router-hA_Y9gZ1.cjs} +42 -44
- package/dist/cjs/{schemas-FngDuIeo.cjs → schemas-mLxMh_ko.cjs} +2 -2
- package/dist/cjs/utils-DSCmZ_iJ.cjs +408 -0
- package/dist/cjs/{validate-oAOpyFyb.cjs → validate-C_eCKp21.cjs} +21 -21
- package/dist/cjs/{webhooks-tbZy9G3p.cjs → webhooks-L4DWHSOl.cjs} +159 -151
- package/dist/es/actions/app-config/index.d.mts +1 -1
- package/dist/es/actions/app-config/index.mjs +39 -36
- package/dist/es/actions/{registration → association}/index.d.mts +9 -13
- package/dist/es/actions/association/index.mjs +82 -0
- package/dist/es/actions/config/index.mjs +17 -28
- package/dist/es/actions/installation/index.d.mts +2 -2
- package/dist/es/actions/installation/index.mjs +69 -48
- package/dist/es/actions/scope-tree/index.mjs +14 -13
- package/dist/{cjs/app-DrYHK-z1.d.cts → es/app-BwehWeu1.d.mts} +1237 -1031
- package/dist/es/commands/index.mjs +556 -332
- package/dist/es/commands/templates/admin-ui/tsconfig.json +14 -0
- package/dist/es/commands/templates/admin-ui/web-src/index.css +5 -0
- package/dist/es/commands/templates/admin-ui/web-src/index.html +17 -0
- package/dist/es/commands/templates/admin-ui/web-src/src/app.jsx +12 -0
- package/dist/es/commands/templates/admin-ui/web-src/src/components/welcome.jsx +16 -0
- package/dist/es/commands/templates/admin-ui/web-src/src/pages/main-page.jsx +10 -0
- package/dist/es/commands/templates/{admin-ui-sdk/registration.js.template → admin-ui/web-src-template.d.ts} +11 -6
- package/dist/es/commands/templates/app-management/app-config.js.template +1 -14
- package/dist/es/commands/templates/app-management/association.js.template +6 -0
- package/dist/es/commands/templates/app-management/installation.js.template +1 -13
- package/dist/es/commands/templates/business-configuration/config.js.template +2 -15
- package/dist/es/commands/templates/business-configuration/scope-tree.js.template +0 -12
- package/dist/es/config/index.browser.d.mts +16 -0
- package/dist/es/config/index.browser.mjs +17 -0
- package/dist/{cjs/config/index.d.cts → es/config/index.node.d.mts} +1066 -393
- package/dist/es/config/{index.mjs → index.node.mjs} +5 -4
- package/dist/es/define-DxH1BFia.d.mts +34 -0
- package/dist/es/define-Z_Glf1-_.mjs +35 -0
- package/dist/es/environment-C84BPRJZ.mjs +104 -0
- package/dist/es/{index-DLMbTtKS.d.mts → index-DSk-RmwM.d.mts} +17 -12
- package/dist/es/index.d.mts +230 -0
- package/dist/es/index.mjs +259 -0
- package/dist/es/{config-3I4eLyyR.mjs → index.node-DuvW9Sha.mjs} +113 -39
- package/dist/es/management/index.d.mts +1 -1
- package/dist/es/management/index.mjs +1 -1
- package/dist/es/{management-BUX-w2Ji.mjs → management-D5pmBBec.mjs} +353 -550
- package/dist/es/{openapi-B6uP0SRn.mjs → openapi-CXonvevE.mjs} +476 -600
- package/dist/es/repository-BGmy0YeZ.mjs +52 -0
- package/dist/es/{router-D58JJHHA.mjs → router-B_h0cvjc.mjs} +40 -42
- package/dist/es/utils-_gj8L6eN.mjs +289 -0
- package/dist/es/{validate-Dfajrp99.mjs → validate-t0T0F2MF.mjs} +18 -18
- package/dist/es/{webhooks-B5oq9ULL.mjs → webhooks-D7DExIDM.mjs} +150 -142
- package/package.json +40 -17
- package/dist/cjs/actions/registration/index.cjs +0 -50
- package/dist/cjs/admin-ui-sdk-EU915zlR.d.cts +0 -664
- package/dist/es/actions/registration/index.mjs +0 -49
- package/dist/es/admin-ui-sdk-BwnD0xjK.d.mts +0 -664
- /package/dist/cjs/{chunk-Cozy-1ZF.cjs → rolldown-runtime-Cozy-1ZF.cjs} +0 -0
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
var openapi = "3.1.0";
|
|
17
17
|
var info = {
|
|
18
18
|
"title": "App Management API",
|
|
19
|
-
"description": "REST API for managing Adobe Commerce App Builder apps: resolving app configuration, managing configuration values, running the installation and uninstallation lifecycle,
|
|
20
|
-
"version": "
|
|
19
|
+
"description": "REST API for managing Adobe Commerce App Builder apps: resolving app configuration, managing configuration values, running the installation and uninstallation lifecycle, and managing the scope tree.",
|
|
20
|
+
"version": "2.0.0",
|
|
21
21
|
"contact": {},
|
|
22
22
|
"license": {
|
|
23
23
|
"identifier": "Apache-2.0",
|
|
@@ -30,8 +30,17 @@ var paths = {
|
|
|
30
30
|
"/app-config": { "get": {
|
|
31
31
|
"operationId": "getAppConfig",
|
|
32
32
|
"summary": "Get Commerce App Configuration",
|
|
33
|
-
"description": "Returns the Commerce App configuration after resolving and validating it against the schema.",
|
|
33
|
+
"description": "Returns the Commerce App configuration after resolving and validating it against the schema. When `commerceEnv` is provided, webhooks and events are filtered to that Commerce environment; when omitted, the full, unfiltered configuration is returned.",
|
|
34
34
|
"parameters": [{
|
|
35
|
+
"name": "commerceEnv",
|
|
36
|
+
"in": "query",
|
|
37
|
+
"description": "When provided, filters the returned webhooks and events to those applicable to this Commerce environment. When omitted, the full configuration is returned.",
|
|
38
|
+
"required": false,
|
|
39
|
+
"schema": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": ["paas", "saas"]
|
|
42
|
+
}
|
|
43
|
+
}, {
|
|
35
44
|
"name": "x-gw-ims-org-id",
|
|
36
45
|
"in": "header",
|
|
37
46
|
"description": "Adobe IMS organization ID that identifies the organization for the request.",
|
|
@@ -462,10 +471,9 @@ var paths = {
|
|
|
462
471
|
},
|
|
463
472
|
"required": []
|
|
464
473
|
},
|
|
465
|
-
"
|
|
466
|
-
"
|
|
467
|
-
"
|
|
468
|
-
"required": ["registration"]
|
|
474
|
+
"adminUi": {
|
|
475
|
+
"description": "The Admin UI SDK v2 configuration block (served as the `adminUi` property of the app-config response).",
|
|
476
|
+
"$ref": "#/components/schemas/AdminUiConfiguration"
|
|
469
477
|
},
|
|
470
478
|
"installation": {
|
|
471
479
|
"type": "object",
|
|
@@ -1078,6 +1086,11 @@ var paths = {
|
|
|
1078
1086
|
"format": "date-time"
|
|
1079
1087
|
},
|
|
1080
1088
|
"step": { "$ref": "#/components/schemas/StepStatus" },
|
|
1089
|
+
"config": {
|
|
1090
|
+
"description": "The validated app configuration recorded at install time. Present so uninstallation can be sourced from what was actually installed rather than the current request config. Absent on states persisted before this field was introduced.",
|
|
1091
|
+
"type": "object",
|
|
1092
|
+
"additionalProperties": true
|
|
1093
|
+
},
|
|
1081
1094
|
"data": { "anyOf": [{
|
|
1082
1095
|
"type": "object",
|
|
1083
1096
|
"propertyNames": { "type": "string" },
|
|
@@ -1106,6 +1119,11 @@ var paths = {
|
|
|
1106
1119
|
"format": "date-time"
|
|
1107
1120
|
},
|
|
1108
1121
|
"step": { "$ref": "#/components/schemas/StepStatus" },
|
|
1122
|
+
"config": {
|
|
1123
|
+
"description": "The validated app configuration recorded at install time. Present so uninstallation can be sourced from what was actually installed rather than the current request config. Absent on states persisted before this field was introduced.",
|
|
1124
|
+
"type": "object",
|
|
1125
|
+
"additionalProperties": true
|
|
1126
|
+
},
|
|
1109
1127
|
"data": { "anyOf": [{
|
|
1110
1128
|
"type": "object",
|
|
1111
1129
|
"propertyNames": { "type": "string" },
|
|
@@ -1140,6 +1158,11 @@ var paths = {
|
|
|
1140
1158
|
"format": "date-time"
|
|
1141
1159
|
},
|
|
1142
1160
|
"step": { "$ref": "#/components/schemas/StepStatus" },
|
|
1161
|
+
"config": {
|
|
1162
|
+
"description": "The validated app configuration recorded at install time. Present so uninstallation can be sourced from what was actually installed rather than the current request config. Absent on states persisted before this field was introduced.",
|
|
1163
|
+
"type": "object",
|
|
1164
|
+
"additionalProperties": true
|
|
1165
|
+
},
|
|
1143
1166
|
"data": { "anyOf": [{
|
|
1144
1167
|
"type": "object",
|
|
1145
1168
|
"propertyNames": { "type": "string" },
|
|
@@ -1205,7 +1228,10 @@ var paths = {
|
|
|
1205
1228
|
"properties": {
|
|
1206
1229
|
"appData": { "$ref": "#/components/schemas/AppData" },
|
|
1207
1230
|
"commerceBaseUrl": { "type": "string" },
|
|
1208
|
-
"commerceEnv": {
|
|
1231
|
+
"commerceEnv": {
|
|
1232
|
+
"type": "string",
|
|
1233
|
+
"enum": ["paas", "saas"]
|
|
1234
|
+
},
|
|
1209
1235
|
"ioEventsUrl": { "type": "string" },
|
|
1210
1236
|
"ioEventsEnv": { "type": "string" }
|
|
1211
1237
|
},
|
|
@@ -1233,6 +1259,11 @@ var paths = {
|
|
|
1233
1259
|
"format": "date-time"
|
|
1234
1260
|
},
|
|
1235
1261
|
"step": { "$ref": "#/components/schemas/StepStatus" },
|
|
1262
|
+
"config": {
|
|
1263
|
+
"description": "The validated app configuration recorded at install time. Present so uninstallation can be sourced from what was actually installed rather than the current request config. Absent on states persisted before this field was introduced.",
|
|
1264
|
+
"type": "object",
|
|
1265
|
+
"additionalProperties": true
|
|
1266
|
+
},
|
|
1236
1267
|
"data": { "anyOf": [{
|
|
1237
1268
|
"type": "object",
|
|
1238
1269
|
"propertyNames": { "type": "string" },
|
|
@@ -1290,7 +1321,10 @@ var paths = {
|
|
|
1290
1321
|
"properties": {
|
|
1291
1322
|
"appData": { "$ref": "#/components/schemas/AppData" },
|
|
1292
1323
|
"commerceBaseUrl": { "type": "string" },
|
|
1293
|
-
"commerceEnv": {
|
|
1324
|
+
"commerceEnv": {
|
|
1325
|
+
"type": "string",
|
|
1326
|
+
"enum": ["paas", "saas"]
|
|
1327
|
+
},
|
|
1294
1328
|
"ioEventsUrl": { "type": "string" },
|
|
1295
1329
|
"ioEventsEnv": { "type": "string" }
|
|
1296
1330
|
},
|
|
@@ -1373,6 +1407,11 @@ var paths = {
|
|
|
1373
1407
|
"format": "date-time"
|
|
1374
1408
|
},
|
|
1375
1409
|
"step": { "$ref": "#/components/schemas/StepStatus" },
|
|
1410
|
+
"config": {
|
|
1411
|
+
"description": "The validated app configuration recorded at install time. Present so uninstallation can be sourced from what was actually installed rather than the current request config. Absent on states persisted before this field was introduced.",
|
|
1412
|
+
"type": "object",
|
|
1413
|
+
"additionalProperties": true
|
|
1414
|
+
},
|
|
1376
1415
|
"data": { "anyOf": [{
|
|
1377
1416
|
"type": "object",
|
|
1378
1417
|
"propertyNames": { "type": "string" },
|
|
@@ -1401,6 +1440,11 @@ var paths = {
|
|
|
1401
1440
|
"format": "date-time"
|
|
1402
1441
|
},
|
|
1403
1442
|
"step": { "$ref": "#/components/schemas/StepStatus" },
|
|
1443
|
+
"config": {
|
|
1444
|
+
"description": "The validated app configuration recorded at install time. Present so uninstallation can be sourced from what was actually installed rather than the current request config. Absent on states persisted before this field was introduced.",
|
|
1445
|
+
"type": "object",
|
|
1446
|
+
"additionalProperties": true
|
|
1447
|
+
},
|
|
1404
1448
|
"data": { "anyOf": [{
|
|
1405
1449
|
"type": "object",
|
|
1406
1450
|
"propertyNames": { "type": "string" },
|
|
@@ -1435,6 +1479,11 @@ var paths = {
|
|
|
1435
1479
|
"format": "date-time"
|
|
1436
1480
|
},
|
|
1437
1481
|
"step": { "$ref": "#/components/schemas/StepStatus" },
|
|
1482
|
+
"config": {
|
|
1483
|
+
"description": "The validated app configuration recorded at install time. Present so uninstallation can be sourced from what was actually installed rather than the current request config. Absent on states persisted before this field was introduced.",
|
|
1484
|
+
"type": "object",
|
|
1485
|
+
"additionalProperties": true
|
|
1486
|
+
},
|
|
1438
1487
|
"data": { "anyOf": [{
|
|
1439
1488
|
"type": "object",
|
|
1440
1489
|
"propertyNames": { "type": "string" },
|
|
@@ -1500,7 +1549,10 @@ var paths = {
|
|
|
1500
1549
|
"properties": {
|
|
1501
1550
|
"appData": { "$ref": "#/components/schemas/AppData" },
|
|
1502
1551
|
"commerceBaseUrl": { "type": "string" },
|
|
1503
|
-
"commerceEnv": {
|
|
1552
|
+
"commerceEnv": {
|
|
1553
|
+
"type": "string",
|
|
1554
|
+
"enum": ["paas", "saas"]
|
|
1555
|
+
},
|
|
1504
1556
|
"ioEventsUrl": { "type": "string" },
|
|
1505
1557
|
"ioEventsEnv": { "type": "string" }
|
|
1506
1558
|
},
|
|
@@ -1528,6 +1580,11 @@ var paths = {
|
|
|
1528
1580
|
"format": "date-time"
|
|
1529
1581
|
},
|
|
1530
1582
|
"step": { "$ref": "#/components/schemas/StepStatus" },
|
|
1583
|
+
"config": {
|
|
1584
|
+
"description": "The validated app configuration recorded at install time. Present so uninstallation can be sourced from what was actually installed rather than the current request config. Absent on states persisted before this field was introduced.",
|
|
1585
|
+
"type": "object",
|
|
1586
|
+
"additionalProperties": true
|
|
1587
|
+
},
|
|
1531
1588
|
"data": { "anyOf": [{
|
|
1532
1589
|
"type": "object",
|
|
1533
1590
|
"propertyNames": { "type": "string" },
|
|
@@ -1589,35 +1646,6 @@ var paths = {
|
|
|
1589
1646
|
"tags": ["Management"]
|
|
1590
1647
|
}
|
|
1591
1648
|
},
|
|
1592
|
-
"/registration": { "get": {
|
|
1593
|
-
"operationId": "getRegistration",
|
|
1594
|
-
"summary": "Get Registration",
|
|
1595
|
-
"description": "Returns the Admin UI SDK registration object configured for this app.",
|
|
1596
|
-
"parameters": [{
|
|
1597
|
-
"name": "x-gw-ims-org-id",
|
|
1598
|
-
"in": "header",
|
|
1599
|
-
"description": "Adobe IMS organization ID that identifies the organization for the request.",
|
|
1600
|
-
"required": true,
|
|
1601
|
-
"schema": { "type": "string" }
|
|
1602
|
-
}],
|
|
1603
|
-
"responses": {
|
|
1604
|
-
"200": {
|
|
1605
|
-
"description": "The Admin UI SDK registration payload.",
|
|
1606
|
-
"content": { "application/json": { "schema": {
|
|
1607
|
-
"type": "object",
|
|
1608
|
-
"properties": { "registration": { "$ref": "#/components/schemas/AdminUiSdkRegistration" } },
|
|
1609
|
-
"required": ["registration"]
|
|
1610
|
-
} } }
|
|
1611
|
-
},
|
|
1612
|
-
"401": { "description": "You are not authorized to access this resource. Ensure the IMS token and the x-gw-ims-org-id header are correctly set and valid." },
|
|
1613
|
-
"403": { "description": "The access token is valid, but it is not allowed to access the requested organization or operation." },
|
|
1614
|
-
"500": {
|
|
1615
|
-
"description": "An unexpected server error occurred.",
|
|
1616
|
-
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1617
|
-
}
|
|
1618
|
-
},
|
|
1619
|
-
"tags": ["Admin UI"]
|
|
1620
|
-
} },
|
|
1621
1649
|
"/scope-tree": {
|
|
1622
1650
|
"get": {
|
|
1623
1651
|
"operationId": "getScopeTree",
|
|
@@ -1758,7 +1786,7 @@ var paths = {
|
|
|
1758
1786
|
},
|
|
1759
1787
|
"commerceEnv": {
|
|
1760
1788
|
"type": "string",
|
|
1761
|
-
"
|
|
1789
|
+
"enum": ["paas", "saas"]
|
|
1762
1790
|
}
|
|
1763
1791
|
},
|
|
1764
1792
|
"required": ["commerceBaseUrl"]
|
|
@@ -1839,6 +1867,75 @@ var paths = {
|
|
|
1839
1867
|
},
|
|
1840
1868
|
"tags": ["Business Configuration"]
|
|
1841
1869
|
}
|
|
1870
|
+
},
|
|
1871
|
+
"/association": {
|
|
1872
|
+
"post": {
|
|
1873
|
+
"operationId": "setAssociation",
|
|
1874
|
+
"summary": "Store Commerce Association",
|
|
1875
|
+
"description": "Persists the Commerce instance the app is associated with so runtime actions can later retrieve it via the SDK helpers.",
|
|
1876
|
+
"parameters": [{
|
|
1877
|
+
"name": "x-gw-ims-org-id",
|
|
1878
|
+
"in": "header",
|
|
1879
|
+
"description": "Adobe IMS organization ID that identifies the organization for the request.",
|
|
1880
|
+
"required": true,
|
|
1881
|
+
"schema": { "type": "string" }
|
|
1882
|
+
}],
|
|
1883
|
+
"requestBody": {
|
|
1884
|
+
"required": true,
|
|
1885
|
+
"content": { "application/json": { "schema": {
|
|
1886
|
+
"type": "object",
|
|
1887
|
+
"properties": {
|
|
1888
|
+
"commerceBaseUrl": {
|
|
1889
|
+
"description": "Commerce API base URL of the associated instance.",
|
|
1890
|
+
"type": "string",
|
|
1891
|
+
"format": "uri"
|
|
1892
|
+
},
|
|
1893
|
+
"commerceEnv": {
|
|
1894
|
+
"description": "Deployment type of the associated Commerce instance.",
|
|
1895
|
+
"type": "string",
|
|
1896
|
+
"enum": ["saas", "paas"]
|
|
1897
|
+
}
|
|
1898
|
+
},
|
|
1899
|
+
"required": ["commerceBaseUrl", "commerceEnv"]
|
|
1900
|
+
} } }
|
|
1901
|
+
},
|
|
1902
|
+
"responses": {
|
|
1903
|
+
"204": { "description": "Association data stored successfully." },
|
|
1904
|
+
"400": {
|
|
1905
|
+
"description": "Bad request, the request body is invalid.",
|
|
1906
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1907
|
+
},
|
|
1908
|
+
"401": { "description": "You are not authorized to access this resource. Ensure the IMS token and the x-gw-ims-org-id header are correctly set and valid." },
|
|
1909
|
+
"403": { "description": "The access token is valid, but it is not allowed to access the requested organization or operation." },
|
|
1910
|
+
"500": {
|
|
1911
|
+
"description": "Internal server error while storing the association data.",
|
|
1912
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1913
|
+
}
|
|
1914
|
+
},
|
|
1915
|
+
"tags": ["Association"]
|
|
1916
|
+
},
|
|
1917
|
+
"delete": {
|
|
1918
|
+
"operationId": "clearAssociation",
|
|
1919
|
+
"summary": "Clear Commerce Association",
|
|
1920
|
+
"description": "Removes the stored Commerce instance details. Called when the app is unassociated.",
|
|
1921
|
+
"parameters": [{
|
|
1922
|
+
"name": "x-gw-ims-org-id",
|
|
1923
|
+
"in": "header",
|
|
1924
|
+
"description": "Adobe IMS organization ID that identifies the organization for the request.",
|
|
1925
|
+
"required": true,
|
|
1926
|
+
"schema": { "type": "string" }
|
|
1927
|
+
}],
|
|
1928
|
+
"responses": {
|
|
1929
|
+
"204": { "description": "Association data cleared successfully." },
|
|
1930
|
+
"401": { "description": "You are not authorized to access this resource. Ensure the IMS token and the x-gw-ims-org-id header are correctly set and valid." },
|
|
1931
|
+
"403": { "description": "The access token is valid, but it is not allowed to access the requested organization or operation." },
|
|
1932
|
+
"500": {
|
|
1933
|
+
"description": "Internal server error while clearing the association data.",
|
|
1934
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
"tags": ["Association"]
|
|
1938
|
+
}
|
|
1842
1939
|
}
|
|
1843
1940
|
};
|
|
1844
1941
|
var components = {
|
|
@@ -2349,10 +2446,187 @@ var components = {
|
|
|
2349
2446
|
],
|
|
2350
2447
|
"title": "CustomScopeOutput"
|
|
2351
2448
|
},
|
|
2352
|
-
"
|
|
2449
|
+
"AdminUiMenu": {
|
|
2450
|
+
"type": "object",
|
|
2451
|
+
"properties": {
|
|
2452
|
+
"id": {
|
|
2453
|
+
"type": "string",
|
|
2454
|
+
"minLength": 1,
|
|
2455
|
+
"pattern": "^[A-Za-z0-9_/:]+$"
|
|
2456
|
+
},
|
|
2457
|
+
"label": {
|
|
2458
|
+
"type": "string",
|
|
2459
|
+
"minLength": 1
|
|
2460
|
+
},
|
|
2461
|
+
"description": {
|
|
2462
|
+
"type": "string",
|
|
2463
|
+
"minLength": 1
|
|
2464
|
+
},
|
|
2465
|
+
"pageTitle": {
|
|
2466
|
+
"type": "string",
|
|
2467
|
+
"minLength": 1
|
|
2468
|
+
},
|
|
2469
|
+
"parentMenu": {
|
|
2470
|
+
"type": "string",
|
|
2471
|
+
"enum": [
|
|
2472
|
+
"sales",
|
|
2473
|
+
"catalog",
|
|
2474
|
+
"customers",
|
|
2475
|
+
"marketing",
|
|
2476
|
+
"content",
|
|
2477
|
+
"reports",
|
|
2478
|
+
"stores",
|
|
2479
|
+
"system"
|
|
2480
|
+
]
|
|
2481
|
+
},
|
|
2482
|
+
"sandboxPermissions": { "$ref": "#/components/schemas/AdminUiSandboxPermissions" }
|
|
2483
|
+
},
|
|
2484
|
+
"required": [
|
|
2485
|
+
"id",
|
|
2486
|
+
"label",
|
|
2487
|
+
"description"
|
|
2488
|
+
]
|
|
2489
|
+
},
|
|
2490
|
+
"AdminUiMassAction": { "oneOf": [{
|
|
2491
|
+
"type": "object",
|
|
2492
|
+
"properties": {
|
|
2493
|
+
"id": {
|
|
2494
|
+
"type": "string",
|
|
2495
|
+
"minLength": 1
|
|
2496
|
+
},
|
|
2497
|
+
"label": {
|
|
2498
|
+
"type": "string",
|
|
2499
|
+
"minLength": 1
|
|
2500
|
+
},
|
|
2501
|
+
"type": { "const": "view" },
|
|
2502
|
+
"path": {
|
|
2503
|
+
"type": "string",
|
|
2504
|
+
"minLength": 1
|
|
2505
|
+
},
|
|
2506
|
+
"title": {
|
|
2507
|
+
"type": "string",
|
|
2508
|
+
"minLength": 1
|
|
2509
|
+
},
|
|
2510
|
+
"description": {
|
|
2511
|
+
"type": "string",
|
|
2512
|
+
"minLength": 1
|
|
2513
|
+
},
|
|
2514
|
+
"confirm": { "$ref": "#/components/schemas/AdminUiConfirm" },
|
|
2515
|
+
"notifications": { "$ref": "#/components/schemas/AdminUiNotifications" },
|
|
2516
|
+
"selectionLimit": {
|
|
2517
|
+
"type": "number",
|
|
2518
|
+
"minimum": 1
|
|
2519
|
+
},
|
|
2520
|
+
"sandboxPermissions": { "$ref": "#/components/schemas/AdminUiSandboxPermissions" }
|
|
2521
|
+
},
|
|
2522
|
+
"required": [
|
|
2523
|
+
"id",
|
|
2524
|
+
"label",
|
|
2525
|
+
"type",
|
|
2526
|
+
"path"
|
|
2527
|
+
],
|
|
2528
|
+
"additionalProperties": false
|
|
2529
|
+
}, {
|
|
2530
|
+
"type": "object",
|
|
2531
|
+
"properties": {
|
|
2532
|
+
"id": {
|
|
2533
|
+
"type": "string",
|
|
2534
|
+
"minLength": 1
|
|
2535
|
+
},
|
|
2536
|
+
"label": {
|
|
2537
|
+
"type": "string",
|
|
2538
|
+
"minLength": 1
|
|
2539
|
+
},
|
|
2540
|
+
"type": { "const": "worker" },
|
|
2541
|
+
"runtimeAction": {
|
|
2542
|
+
"type": "string",
|
|
2543
|
+
"minLength": 1
|
|
2544
|
+
},
|
|
2545
|
+
"title": {
|
|
2546
|
+
"type": "string",
|
|
2547
|
+
"minLength": 1
|
|
2548
|
+
},
|
|
2549
|
+
"description": {
|
|
2550
|
+
"type": "string",
|
|
2551
|
+
"minLength": 1
|
|
2552
|
+
},
|
|
2553
|
+
"confirm": { "$ref": "#/components/schemas/AdminUiConfirm" },
|
|
2554
|
+
"notifications": { "$ref": "#/components/schemas/AdminUiNotifications" },
|
|
2555
|
+
"selectionLimit": {
|
|
2556
|
+
"type": "number",
|
|
2557
|
+
"minimum": 1
|
|
2558
|
+
},
|
|
2559
|
+
"timeout": {
|
|
2560
|
+
"type": "number",
|
|
2561
|
+
"minimum": 1
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
"required": [
|
|
2565
|
+
"id",
|
|
2566
|
+
"label",
|
|
2567
|
+
"type",
|
|
2568
|
+
"runtimeAction"
|
|
2569
|
+
],
|
|
2570
|
+
"additionalProperties": false
|
|
2571
|
+
}] },
|
|
2572
|
+
"AdminUiConfiguration": {
|
|
2573
|
+
"type": "object",
|
|
2574
|
+
"properties": {
|
|
2575
|
+
"menu": { "$ref": "#/components/schemas/AdminUiMenu" },
|
|
2576
|
+
"order": {
|
|
2577
|
+
"type": "object",
|
|
2578
|
+
"properties": {
|
|
2579
|
+
"massActions": {
|
|
2580
|
+
"type": "array",
|
|
2581
|
+
"items": { "$ref": "#/components/schemas/AdminUiMassAction" }
|
|
2582
|
+
},
|
|
2583
|
+
"gridColumns": { "$ref": "#/components/schemas/AdminUiGridColumns" },
|
|
2584
|
+
"viewButtons": {
|
|
2585
|
+
"type": "array",
|
|
2586
|
+
"items": { "$ref": "#/components/schemas/AdminUiOrderViewButton" }
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
},
|
|
2590
|
+
"product": {
|
|
2591
|
+
"type": "object",
|
|
2592
|
+
"properties": {
|
|
2593
|
+
"massActions": {
|
|
2594
|
+
"type": "array",
|
|
2595
|
+
"items": { "$ref": "#/components/schemas/AdminUiMassAction" }
|
|
2596
|
+
},
|
|
2597
|
+
"gridColumns": { "$ref": "#/components/schemas/AdminUiGridColumns" }
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
"customer": {
|
|
2601
|
+
"type": "object",
|
|
2602
|
+
"properties": {
|
|
2603
|
+
"massActions": {
|
|
2604
|
+
"type": "array",
|
|
2605
|
+
"items": { "$ref": "#/components/schemas/AdminUiMassAction" }
|
|
2606
|
+
},
|
|
2607
|
+
"gridColumns": { "$ref": "#/components/schemas/AdminUiGridColumns" }
|
|
2608
|
+
}
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
"additionalProperties": false,
|
|
2612
|
+
"required": []
|
|
2613
|
+
},
|
|
2614
|
+
"AdminUiGridColumns": {
|
|
2353
2615
|
"type": "object",
|
|
2354
2616
|
"properties": {
|
|
2355
|
-
"
|
|
2617
|
+
"label": {
|
|
2618
|
+
"type": "string",
|
|
2619
|
+
"minLength": 1
|
|
2620
|
+
},
|
|
2621
|
+
"description": {
|
|
2622
|
+
"type": "string",
|
|
2623
|
+
"minLength": 1
|
|
2624
|
+
},
|
|
2625
|
+
"runtimeAction": {
|
|
2626
|
+
"type": "string",
|
|
2627
|
+
"minLength": 1
|
|
2628
|
+
},
|
|
2629
|
+
"columns": {
|
|
2356
2630
|
"type": "array",
|
|
2357
2631
|
"items": {
|
|
2358
2632
|
"type": "object",
|
|
@@ -2361,571 +2635,181 @@ var components = {
|
|
|
2361
2635
|
"type": "string",
|
|
2362
2636
|
"minLength": 1
|
|
2363
2637
|
},
|
|
2364
|
-
"
|
|
2638
|
+
"label": {
|
|
2365
2639
|
"type": "string",
|
|
2366
2640
|
"minLength": 1
|
|
2367
2641
|
},
|
|
2368
|
-
"
|
|
2642
|
+
"type": {
|
|
2369
2643
|
"type": "string",
|
|
2370
|
-
"
|
|
2644
|
+
"enum": [
|
|
2645
|
+
"boolean",
|
|
2646
|
+
"date",
|
|
2647
|
+
"datetime",
|
|
2648
|
+
"float",
|
|
2649
|
+
"integer",
|
|
2650
|
+
"string"
|
|
2651
|
+
]
|
|
2371
2652
|
},
|
|
2372
|
-
"
|
|
2373
|
-
"isSection": { "type": "boolean" },
|
|
2374
|
-
"sandbox": {
|
|
2653
|
+
"align": {
|
|
2375
2654
|
"type": "string",
|
|
2376
|
-
"
|
|
2655
|
+
"enum": [
|
|
2656
|
+
"left",
|
|
2657
|
+
"right",
|
|
2658
|
+
"center"
|
|
2659
|
+
]
|
|
2377
2660
|
}
|
|
2378
2661
|
},
|
|
2379
|
-
"required": [
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
"massActions": {
|
|
2386
|
-
"type": "array",
|
|
2387
|
-
"items": {
|
|
2388
|
-
"type": "object",
|
|
2389
|
-
"properties": {
|
|
2390
|
-
"actionId": {
|
|
2391
|
-
"type": "string",
|
|
2392
|
-
"minLength": 1
|
|
2393
|
-
},
|
|
2394
|
-
"label": {
|
|
2395
|
-
"type": "string",
|
|
2396
|
-
"minLength": 1
|
|
2397
|
-
},
|
|
2398
|
-
"title": {
|
|
2399
|
-
"type": "string",
|
|
2400
|
-
"minLength": 1
|
|
2401
|
-
},
|
|
2402
|
-
"confirm": {
|
|
2403
|
-
"type": "object",
|
|
2404
|
-
"properties": {
|
|
2405
|
-
"title": {
|
|
2406
|
-
"type": "string",
|
|
2407
|
-
"minLength": 1
|
|
2408
|
-
},
|
|
2409
|
-
"message": {
|
|
2410
|
-
"type": "string",
|
|
2411
|
-
"minLength": 1
|
|
2412
|
-
}
|
|
2413
|
-
},
|
|
2414
|
-
"required": []
|
|
2415
|
-
},
|
|
2416
|
-
"path": {
|
|
2417
|
-
"type": "string",
|
|
2418
|
-
"minLength": 1
|
|
2419
|
-
},
|
|
2420
|
-
"displayIframe": { "type": "boolean" },
|
|
2421
|
-
"timeout": {
|
|
2422
|
-
"type": "number",
|
|
2423
|
-
"minimum": 0
|
|
2424
|
-
},
|
|
2425
|
-
"sandbox": {
|
|
2426
|
-
"type": "string",
|
|
2427
|
-
"pattern": "^(?:allow-downloads|allow-modals|allow-popups)(?: (?:allow-downloads|allow-modals|allow-popups))*$"
|
|
2428
|
-
},
|
|
2429
|
-
"selectionLimit": {
|
|
2430
|
-
"type": "number",
|
|
2431
|
-
"minimum": 0
|
|
2432
|
-
}
|
|
2433
|
-
},
|
|
2434
|
-
"required": [
|
|
2435
|
-
"actionId",
|
|
2436
|
-
"label",
|
|
2437
|
-
"path"
|
|
2438
|
-
],
|
|
2439
|
-
"additionalProperties": false,
|
|
2440
|
-
"dependentSchemas": { "sandbox": {
|
|
2441
|
-
"required": ["displayIframe"],
|
|
2442
|
-
"properties": { "displayIframe": { "const": true } }
|
|
2443
|
-
} }
|
|
2444
|
-
}
|
|
2445
|
-
},
|
|
2446
|
-
"gridColumns": {
|
|
2447
|
-
"type": "object",
|
|
2448
|
-
"properties": {
|
|
2449
|
-
"data": {
|
|
2450
|
-
"type": "object",
|
|
2451
|
-
"properties": { "meshId": {
|
|
2452
|
-
"type": "string",
|
|
2453
|
-
"minLength": 1
|
|
2454
|
-
} },
|
|
2455
|
-
"required": ["meshId"]
|
|
2456
|
-
},
|
|
2457
|
-
"properties": {
|
|
2458
|
-
"type": "array",
|
|
2459
|
-
"items": {
|
|
2460
|
-
"type": "object",
|
|
2461
|
-
"properties": {
|
|
2462
|
-
"label": {
|
|
2463
|
-
"type": "string",
|
|
2464
|
-
"minLength": 1
|
|
2465
|
-
},
|
|
2466
|
-
"columnId": {
|
|
2467
|
-
"type": "string",
|
|
2468
|
-
"minLength": 1
|
|
2469
|
-
},
|
|
2470
|
-
"type": {
|
|
2471
|
-
"type": "string",
|
|
2472
|
-
"enum": [
|
|
2473
|
-
"boolean",
|
|
2474
|
-
"date",
|
|
2475
|
-
"float",
|
|
2476
|
-
"integer",
|
|
2477
|
-
"string"
|
|
2478
|
-
]
|
|
2479
|
-
},
|
|
2480
|
-
"align": {
|
|
2481
|
-
"type": "string",
|
|
2482
|
-
"enum": [
|
|
2483
|
-
"left",
|
|
2484
|
-
"right",
|
|
2485
|
-
"center"
|
|
2486
|
-
]
|
|
2487
|
-
}
|
|
2488
|
-
},
|
|
2489
|
-
"required": [
|
|
2490
|
-
"label",
|
|
2491
|
-
"columnId",
|
|
2492
|
-
"type",
|
|
2493
|
-
"align"
|
|
2494
|
-
]
|
|
2495
|
-
},
|
|
2496
|
-
"minItems": 1
|
|
2497
|
-
}
|
|
2498
|
-
},
|
|
2499
|
-
"required": ["data", "properties"]
|
|
2500
|
-
},
|
|
2501
|
-
"viewButtons": {
|
|
2502
|
-
"type": "array",
|
|
2503
|
-
"items": {
|
|
2504
|
-
"type": "object",
|
|
2505
|
-
"properties": {
|
|
2506
|
-
"buttonId": {
|
|
2507
|
-
"type": "string",
|
|
2508
|
-
"minLength": 1
|
|
2509
|
-
},
|
|
2510
|
-
"label": {
|
|
2511
|
-
"type": "string",
|
|
2512
|
-
"minLength": 1
|
|
2513
|
-
},
|
|
2514
|
-
"confirm": {
|
|
2515
|
-
"type": "object",
|
|
2516
|
-
"properties": { "message": {
|
|
2517
|
-
"type": "string",
|
|
2518
|
-
"minLength": 1
|
|
2519
|
-
} },
|
|
2520
|
-
"required": []
|
|
2521
|
-
},
|
|
2522
|
-
"path": {
|
|
2523
|
-
"type": "string",
|
|
2524
|
-
"minLength": 1
|
|
2525
|
-
},
|
|
2526
|
-
"level": {
|
|
2527
|
-
"type": "number",
|
|
2528
|
-
"enum": [
|
|
2529
|
-
-1,
|
|
2530
|
-
0,
|
|
2531
|
-
1
|
|
2532
|
-
]
|
|
2533
|
-
},
|
|
2534
|
-
"sortOrder": {
|
|
2535
|
-
"type": "number",
|
|
2536
|
-
"minimum": 0
|
|
2537
|
-
},
|
|
2538
|
-
"displayIframe": { "type": "boolean" },
|
|
2539
|
-
"timeout": {
|
|
2540
|
-
"type": "number",
|
|
2541
|
-
"minimum": 0
|
|
2542
|
-
},
|
|
2543
|
-
"sandbox": {
|
|
2544
|
-
"type": "string",
|
|
2545
|
-
"pattern": "^(?:allow-downloads|allow-modals|allow-popups)(?: (?:allow-downloads|allow-modals|allow-popups))*$"
|
|
2546
|
-
}
|
|
2547
|
-
},
|
|
2548
|
-
"required": [
|
|
2549
|
-
"buttonId",
|
|
2550
|
-
"label",
|
|
2551
|
-
"path"
|
|
2552
|
-
],
|
|
2553
|
-
"dependentSchemas": { "sandbox": {
|
|
2554
|
-
"required": ["displayIframe"],
|
|
2555
|
-
"properties": { "displayIframe": { "const": true } }
|
|
2556
|
-
} }
|
|
2557
|
-
}
|
|
2558
|
-
},
|
|
2559
|
-
"customFees": {
|
|
2560
|
-
"type": "array",
|
|
2561
|
-
"items": {
|
|
2562
|
-
"type": "object",
|
|
2563
|
-
"properties": {
|
|
2564
|
-
"id": {
|
|
2565
|
-
"type": "string",
|
|
2566
|
-
"minLength": 1
|
|
2567
|
-
},
|
|
2568
|
-
"label": {
|
|
2569
|
-
"type": "string",
|
|
2570
|
-
"minLength": 1
|
|
2571
|
-
},
|
|
2572
|
-
"value": { "type": "number" },
|
|
2573
|
-
"orderMinimumAmount": { "type": "number" },
|
|
2574
|
-
"applyFeeOnLastInvoice": { "type": "boolean" },
|
|
2575
|
-
"applyFeeOnLastCreditMemo": { "type": "boolean" }
|
|
2576
|
-
},
|
|
2577
|
-
"required": [
|
|
2578
|
-
"id",
|
|
2579
|
-
"label",
|
|
2580
|
-
"value"
|
|
2581
|
-
]
|
|
2582
|
-
}
|
|
2583
|
-
}
|
|
2662
|
+
"required": [
|
|
2663
|
+
"id",
|
|
2664
|
+
"label",
|
|
2665
|
+
"type",
|
|
2666
|
+
"align"
|
|
2667
|
+
]
|
|
2584
2668
|
},
|
|
2585
|
-
"
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
"title": {
|
|
2604
|
-
"type": "string",
|
|
2605
|
-
"minLength": 1
|
|
2606
|
-
},
|
|
2607
|
-
"confirm": {
|
|
2608
|
-
"type": "object",
|
|
2609
|
-
"properties": {
|
|
2610
|
-
"title": {
|
|
2611
|
-
"type": "string",
|
|
2612
|
-
"minLength": 1
|
|
2613
|
-
},
|
|
2614
|
-
"message": {
|
|
2615
|
-
"type": "string",
|
|
2616
|
-
"minLength": 1
|
|
2617
|
-
}
|
|
2618
|
-
},
|
|
2619
|
-
"required": []
|
|
2620
|
-
},
|
|
2621
|
-
"path": {
|
|
2622
|
-
"type": "string",
|
|
2623
|
-
"minLength": 1
|
|
2624
|
-
},
|
|
2625
|
-
"displayIframe": { "type": "boolean" },
|
|
2626
|
-
"timeout": {
|
|
2627
|
-
"type": "number",
|
|
2628
|
-
"minimum": 0
|
|
2629
|
-
},
|
|
2630
|
-
"sandbox": {
|
|
2631
|
-
"type": "string",
|
|
2632
|
-
"pattern": "^(?:allow-downloads|allow-modals|allow-popups)(?: (?:allow-downloads|allow-modals|allow-popups))*$"
|
|
2633
|
-
},
|
|
2634
|
-
"productSelectLimit": {
|
|
2635
|
-
"type": "number",
|
|
2636
|
-
"minimum": 0
|
|
2637
|
-
}
|
|
2638
|
-
},
|
|
2639
|
-
"required": [
|
|
2640
|
-
"actionId",
|
|
2641
|
-
"label",
|
|
2642
|
-
"path"
|
|
2643
|
-
],
|
|
2644
|
-
"additionalProperties": false,
|
|
2645
|
-
"dependentSchemas": { "sandbox": {
|
|
2646
|
-
"required": ["displayIframe"],
|
|
2647
|
-
"properties": { "displayIframe": { "const": true } }
|
|
2648
|
-
} }
|
|
2649
|
-
}
|
|
2650
|
-
},
|
|
2651
|
-
"gridColumns": {
|
|
2652
|
-
"type": "object",
|
|
2653
|
-
"properties": {
|
|
2654
|
-
"data": {
|
|
2655
|
-
"type": "object",
|
|
2656
|
-
"properties": { "meshId": {
|
|
2657
|
-
"type": "string",
|
|
2658
|
-
"minLength": 1
|
|
2659
|
-
} },
|
|
2660
|
-
"required": ["meshId"]
|
|
2661
|
-
},
|
|
2662
|
-
"properties": {
|
|
2663
|
-
"type": "array",
|
|
2664
|
-
"items": {
|
|
2665
|
-
"type": "object",
|
|
2666
|
-
"properties": {
|
|
2667
|
-
"label": {
|
|
2668
|
-
"type": "string",
|
|
2669
|
-
"minLength": 1
|
|
2670
|
-
},
|
|
2671
|
-
"columnId": {
|
|
2672
|
-
"type": "string",
|
|
2673
|
-
"minLength": 1
|
|
2674
|
-
},
|
|
2675
|
-
"type": {
|
|
2676
|
-
"type": "string",
|
|
2677
|
-
"enum": [
|
|
2678
|
-
"boolean",
|
|
2679
|
-
"date",
|
|
2680
|
-
"float",
|
|
2681
|
-
"integer",
|
|
2682
|
-
"string"
|
|
2683
|
-
]
|
|
2684
|
-
},
|
|
2685
|
-
"align": {
|
|
2686
|
-
"type": "string",
|
|
2687
|
-
"enum": [
|
|
2688
|
-
"left",
|
|
2689
|
-
"right",
|
|
2690
|
-
"center"
|
|
2691
|
-
]
|
|
2692
|
-
}
|
|
2693
|
-
},
|
|
2694
|
-
"required": [
|
|
2695
|
-
"label",
|
|
2696
|
-
"columnId",
|
|
2697
|
-
"type",
|
|
2698
|
-
"align"
|
|
2699
|
-
]
|
|
2700
|
-
},
|
|
2701
|
-
"minItems": 1
|
|
2702
|
-
}
|
|
2703
|
-
},
|
|
2704
|
-
"required": ["data", "properties"]
|
|
2705
|
-
}
|
|
2669
|
+
"minItems": 1
|
|
2670
|
+
}
|
|
2671
|
+
},
|
|
2672
|
+
"required": [
|
|
2673
|
+
"label",
|
|
2674
|
+
"description",
|
|
2675
|
+
"runtimeAction",
|
|
2676
|
+
"columns"
|
|
2677
|
+
]
|
|
2678
|
+
},
|
|
2679
|
+
"AdminUiOrderViewButton": {
|
|
2680
|
+
"discriminator": { "propertyName": "type" },
|
|
2681
|
+
"oneOf": [{
|
|
2682
|
+
"type": "object",
|
|
2683
|
+
"properties": {
|
|
2684
|
+
"type": {
|
|
2685
|
+
"type": "string",
|
|
2686
|
+
"const": "view"
|
|
2706
2687
|
},
|
|
2707
|
-
"
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
"
|
|
2712
|
-
"
|
|
2713
|
-
|
|
2714
|
-
"items": {
|
|
2715
|
-
"type": "object",
|
|
2716
|
-
"properties": {
|
|
2717
|
-
"actionId": {
|
|
2718
|
-
"type": "string",
|
|
2719
|
-
"minLength": 1
|
|
2720
|
-
},
|
|
2721
|
-
"label": {
|
|
2722
|
-
"type": "string",
|
|
2723
|
-
"minLength": 1
|
|
2724
|
-
},
|
|
2725
|
-
"title": {
|
|
2726
|
-
"type": "string",
|
|
2727
|
-
"minLength": 1
|
|
2728
|
-
},
|
|
2729
|
-
"confirm": {
|
|
2730
|
-
"type": "object",
|
|
2731
|
-
"properties": {
|
|
2732
|
-
"title": {
|
|
2733
|
-
"type": "string",
|
|
2734
|
-
"minLength": 1
|
|
2735
|
-
},
|
|
2736
|
-
"message": {
|
|
2737
|
-
"type": "string",
|
|
2738
|
-
"minLength": 1
|
|
2739
|
-
}
|
|
2740
|
-
},
|
|
2741
|
-
"required": []
|
|
2742
|
-
},
|
|
2743
|
-
"path": {
|
|
2744
|
-
"type": "string",
|
|
2745
|
-
"minLength": 1
|
|
2746
|
-
},
|
|
2747
|
-
"displayIframe": { "type": "boolean" },
|
|
2748
|
-
"timeout": {
|
|
2749
|
-
"type": "number",
|
|
2750
|
-
"minimum": 0
|
|
2751
|
-
},
|
|
2752
|
-
"sandbox": {
|
|
2753
|
-
"type": "string",
|
|
2754
|
-
"pattern": "^(?:allow-downloads|allow-modals|allow-popups)(?: (?:allow-downloads|allow-modals|allow-popups))*$"
|
|
2755
|
-
},
|
|
2756
|
-
"customerSelectLimit": {
|
|
2757
|
-
"type": "number",
|
|
2758
|
-
"minimum": 0
|
|
2759
|
-
}
|
|
2760
|
-
},
|
|
2761
|
-
"required": [
|
|
2762
|
-
"actionId",
|
|
2763
|
-
"label",
|
|
2764
|
-
"path"
|
|
2765
|
-
],
|
|
2766
|
-
"additionalProperties": false,
|
|
2767
|
-
"dependentSchemas": { "sandbox": {
|
|
2768
|
-
"required": ["displayIframe"],
|
|
2769
|
-
"properties": { "displayIframe": { "const": true } }
|
|
2770
|
-
} }
|
|
2771
|
-
}
|
|
2772
|
-
},
|
|
2773
|
-
"gridColumns": {
|
|
2774
|
-
"type": "object",
|
|
2775
|
-
"properties": {
|
|
2776
|
-
"data": {
|
|
2777
|
-
"type": "object",
|
|
2778
|
-
"properties": { "meshId": {
|
|
2779
|
-
"type": "string",
|
|
2780
|
-
"minLength": 1
|
|
2781
|
-
} },
|
|
2782
|
-
"required": ["meshId"]
|
|
2783
|
-
},
|
|
2784
|
-
"properties": {
|
|
2785
|
-
"type": "array",
|
|
2786
|
-
"items": {
|
|
2787
|
-
"type": "object",
|
|
2788
|
-
"properties": {
|
|
2789
|
-
"label": {
|
|
2790
|
-
"type": "string",
|
|
2791
|
-
"minLength": 1
|
|
2792
|
-
},
|
|
2793
|
-
"columnId": {
|
|
2794
|
-
"type": "string",
|
|
2795
|
-
"minLength": 1
|
|
2796
|
-
},
|
|
2797
|
-
"type": {
|
|
2798
|
-
"type": "string",
|
|
2799
|
-
"enum": [
|
|
2800
|
-
"boolean",
|
|
2801
|
-
"date",
|
|
2802
|
-
"float",
|
|
2803
|
-
"integer",
|
|
2804
|
-
"string"
|
|
2805
|
-
]
|
|
2806
|
-
},
|
|
2807
|
-
"align": {
|
|
2808
|
-
"type": "string",
|
|
2809
|
-
"enum": [
|
|
2810
|
-
"left",
|
|
2811
|
-
"right",
|
|
2812
|
-
"center"
|
|
2813
|
-
]
|
|
2814
|
-
}
|
|
2815
|
-
},
|
|
2816
|
-
"required": [
|
|
2817
|
-
"label",
|
|
2818
|
-
"columnId",
|
|
2819
|
-
"type",
|
|
2820
|
-
"align"
|
|
2821
|
-
]
|
|
2822
|
-
},
|
|
2823
|
-
"minItems": 1
|
|
2824
|
-
}
|
|
2825
|
-
},
|
|
2826
|
-
"required": ["data", "properties"]
|
|
2827
|
-
}
|
|
2688
|
+
"id": {
|
|
2689
|
+
"type": "string",
|
|
2690
|
+
"minLength": 1
|
|
2691
|
+
},
|
|
2692
|
+
"label": {
|
|
2693
|
+
"type": "string",
|
|
2694
|
+
"minLength": 1
|
|
2828
2695
|
},
|
|
2829
|
-
"
|
|
2696
|
+
"description": {
|
|
2697
|
+
"type": "string",
|
|
2698
|
+
"minLength": 1
|
|
2699
|
+
},
|
|
2700
|
+
"path": {
|
|
2701
|
+
"type": "string",
|
|
2702
|
+
"minLength": 1
|
|
2703
|
+
},
|
|
2704
|
+
"level": {
|
|
2705
|
+
"type": "number",
|
|
2706
|
+
"enum": [
|
|
2707
|
+
-1,
|
|
2708
|
+
0,
|
|
2709
|
+
1
|
|
2710
|
+
]
|
|
2711
|
+
},
|
|
2712
|
+
"sortOrder": {
|
|
2713
|
+
"type": "number",
|
|
2714
|
+
"minimum": 1
|
|
2715
|
+
},
|
|
2716
|
+
"confirm": { "$ref": "#/components/schemas/AdminUiConfirm" },
|
|
2717
|
+
"sandboxPermissions": { "$ref": "#/components/schemas/AdminUiSandboxPermissions" },
|
|
2718
|
+
"notifications": { "$ref": "#/components/schemas/AdminUiNotifications" }
|
|
2830
2719
|
},
|
|
2831
|
-
"
|
|
2832
|
-
"type"
|
|
2833
|
-
"
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
"required": ["actionId"]
|
|
2877
|
-
}
|
|
2878
|
-
},
|
|
2879
|
-
"customer": {
|
|
2880
|
-
"type": "array",
|
|
2881
|
-
"items": {
|
|
2882
|
-
"type": "object",
|
|
2883
|
-
"properties": {
|
|
2884
|
-
"actionId": {
|
|
2885
|
-
"type": "string",
|
|
2886
|
-
"minLength": 1
|
|
2887
|
-
},
|
|
2888
|
-
"successMessage": {
|
|
2889
|
-
"type": "string",
|
|
2890
|
-
"minLength": 1
|
|
2891
|
-
},
|
|
2892
|
-
"errorMessage": {
|
|
2893
|
-
"type": "string",
|
|
2894
|
-
"minLength": 1
|
|
2895
|
-
}
|
|
2896
|
-
},
|
|
2897
|
-
"required": ["actionId"]
|
|
2898
|
-
}
|
|
2899
|
-
}
|
|
2900
|
-
},
|
|
2901
|
-
"required": []
|
|
2902
|
-
},
|
|
2903
|
-
"orderViewButtons": {
|
|
2904
|
-
"type": "array",
|
|
2905
|
-
"items": {
|
|
2906
|
-
"type": "object",
|
|
2907
|
-
"properties": {
|
|
2908
|
-
"buttonId": {
|
|
2909
|
-
"type": "string",
|
|
2910
|
-
"minLength": 1
|
|
2911
|
-
},
|
|
2912
|
-
"successMessage": {
|
|
2913
|
-
"type": "string",
|
|
2914
|
-
"minLength": 1
|
|
2915
|
-
},
|
|
2916
|
-
"errorMessage": {
|
|
2917
|
-
"type": "string",
|
|
2918
|
-
"minLength": 1
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
|
-
"required": ["buttonId"]
|
|
2922
|
-
}
|
|
2923
|
-
}
|
|
2720
|
+
"required": [
|
|
2721
|
+
"type",
|
|
2722
|
+
"id",
|
|
2723
|
+
"label",
|
|
2724
|
+
"path"
|
|
2725
|
+
]
|
|
2726
|
+
}, {
|
|
2727
|
+
"type": "object",
|
|
2728
|
+
"properties": {
|
|
2729
|
+
"type": {
|
|
2730
|
+
"type": "string",
|
|
2731
|
+
"const": "worker"
|
|
2732
|
+
},
|
|
2733
|
+
"id": {
|
|
2734
|
+
"type": "string",
|
|
2735
|
+
"minLength": 1
|
|
2736
|
+
},
|
|
2737
|
+
"label": {
|
|
2738
|
+
"type": "string",
|
|
2739
|
+
"minLength": 1
|
|
2740
|
+
},
|
|
2741
|
+
"description": {
|
|
2742
|
+
"type": "string",
|
|
2743
|
+
"minLength": 1
|
|
2744
|
+
},
|
|
2745
|
+
"runtimeAction": {
|
|
2746
|
+
"type": "string",
|
|
2747
|
+
"minLength": 1
|
|
2748
|
+
},
|
|
2749
|
+
"level": {
|
|
2750
|
+
"type": "number",
|
|
2751
|
+
"enum": [
|
|
2752
|
+
-1,
|
|
2753
|
+
0,
|
|
2754
|
+
1
|
|
2755
|
+
]
|
|
2756
|
+
},
|
|
2757
|
+
"sortOrder": {
|
|
2758
|
+
"type": "number",
|
|
2759
|
+
"minimum": 1
|
|
2760
|
+
},
|
|
2761
|
+
"confirm": { "$ref": "#/components/schemas/AdminUiConfirm" },
|
|
2762
|
+
"timeout": {
|
|
2763
|
+
"type": "number",
|
|
2764
|
+
"minimum": 1
|
|
2924
2765
|
},
|
|
2925
|
-
"
|
|
2766
|
+
"notifications": { "$ref": "#/components/schemas/AdminUiNotifications" }
|
|
2767
|
+
},
|
|
2768
|
+
"required": [
|
|
2769
|
+
"type",
|
|
2770
|
+
"id",
|
|
2771
|
+
"label",
|
|
2772
|
+
"runtimeAction"
|
|
2773
|
+
]
|
|
2774
|
+
}]
|
|
2775
|
+
},
|
|
2776
|
+
"AdminUiConfirm": {
|
|
2777
|
+
"type": "object",
|
|
2778
|
+
"properties": {
|
|
2779
|
+
"title": {
|
|
2780
|
+
"type": "string",
|
|
2781
|
+
"minLength": 1
|
|
2782
|
+
},
|
|
2783
|
+
"message": {
|
|
2784
|
+
"type": "string",
|
|
2785
|
+
"minLength": 1
|
|
2786
|
+
}
|
|
2787
|
+
}
|
|
2788
|
+
},
|
|
2789
|
+
"AdminUiNotifications": {
|
|
2790
|
+
"type": "object",
|
|
2791
|
+
"properties": {
|
|
2792
|
+
"success": {
|
|
2793
|
+
"type": "string",
|
|
2794
|
+
"minLength": 1
|
|
2795
|
+
},
|
|
2796
|
+
"error": {
|
|
2797
|
+
"type": "string",
|
|
2798
|
+
"minLength": 1
|
|
2926
2799
|
}
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
"AdminUiSandboxPermissions": {
|
|
2803
|
+
"type": "array",
|
|
2804
|
+
"items": {
|
|
2805
|
+
"type": "string",
|
|
2806
|
+
"enum": [
|
|
2807
|
+
"allow-downloads",
|
|
2808
|
+
"allow-modals",
|
|
2809
|
+
"allow-popups"
|
|
2810
|
+
]
|
|
2927
2811
|
},
|
|
2928
|
-
"
|
|
2812
|
+
"minItems": 1
|
|
2929
2813
|
},
|
|
2930
2814
|
"CustomScopeInput": {
|
|
2931
2815
|
"type": "object",
|
|
@@ -2999,14 +2883,6 @@ var tags = [
|
|
|
2999
2883
|
"description": "Documentation",
|
|
3000
2884
|
"url": "https://developer.adobe.com/commerce/extensibility/app-management/installation/"
|
|
3001
2885
|
}
|
|
3002
|
-
},
|
|
3003
|
-
{
|
|
3004
|
-
"name": "Admin UI",
|
|
3005
|
-
"description": "Admin UI SDK registration.",
|
|
3006
|
-
"externalDocs": {
|
|
3007
|
-
"description": "Documentation",
|
|
3008
|
-
"url": "https://developer.adobe.com/commerce/extensibility/admin-ui-sdk/"
|
|
3009
|
-
}
|
|
3010
2886
|
}
|
|
3011
2887
|
];
|
|
3012
2888
|
var security = [{ "imsOAuth": ["AdobeID", "openid"] }];
|