@adobe/aio-commerce-lib-app 2.1.0 → 2.2.0-alpha-20261110204456
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 +23 -0
- package/dist/cjs/actions/app-config/index.cjs +5 -5
- package/dist/cjs/actions/app-config/index.d.cts +2 -2
- package/dist/cjs/actions/association/index.cjs +2 -2
- package/dist/cjs/actions/config/index.cjs +2 -2
- package/dist/cjs/actions/config/index.d.cts +2 -2
- package/dist/cjs/actions/installation/index.cjs +61 -21
- package/dist/cjs/actions/installation/index.d.cts +4 -3
- package/dist/cjs/actions/scope-tree/index.cjs +2 -2
- package/dist/cjs/{app-Ch19CR6g.d.cts → app-D57Rhsqg.d.cts} +326 -0
- package/dist/cjs/commands/index.cjs +27 -12
- package/dist/cjs/config/index.browser.d.cts +2 -1
- package/dist/cjs/config/index.node.cjs +3 -3
- package/dist/cjs/config/index.node.d.cts +94 -6
- package/dist/{es/define-C95h_wa0.d.mts → cjs/define-b00_dBkO.d.cts} +1 -1
- package/dist/cjs/{index-D-Qn-irL.d.cts → index-8TD-noge.d.cts} +316 -316
- package/dist/cjs/{index-DWEigxhy.d.cts → index-vAue-u_y.d.cts} +1 -4
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.d.cts +8 -8
- package/dist/cjs/{index.node-CxdwPrOg.cjs → index.node-CcH8PCzC.cjs} +1 -1
- package/dist/cjs/management/index.cjs +1 -1
- package/dist/cjs/management/index.d.cts +6 -1
- package/dist/cjs/{management-C_JQpgVB.cjs → management-Bed2BGcZ.cjs} +18 -6
- package/dist/cjs/{openapi-DFoMdZzI.cjs → openapi-CFqaMxUV.cjs} +426 -45
- package/dist/cjs/types-DslZGym8.d.cts +23 -0
- package/dist/cjs/{utils-B_Ypb2xF.cjs → utils-gONsOMjJ.cjs} +17 -2
- package/dist/cjs/{validate-B0rOILvG.cjs → validate-DAw7Pxp3.cjs} +1 -1
- package/dist/cjs/{router-DpB8wpR2.cjs → version-D750nyuB.cjs} +77 -19
- package/dist/{es/webhooks-C9vMZZDZ.d.mts → cjs/webhooks-C0NksFmg.d.cts} +266 -10
- package/dist/cjs/{webhooks-TvDm57xt.cjs → webhooks-EVlO8rxi.cjs} +53 -12
- package/dist/es/actions/app-config/index.d.mts +2 -2
- package/dist/es/actions/app-config/index.mjs +5 -5
- package/dist/es/actions/association/index.mjs +2 -2
- package/dist/es/actions/config/index.d.mts +1 -1
- package/dist/es/actions/config/index.mjs +2 -2
- package/dist/es/actions/installation/index.d.mts +4 -3
- package/dist/es/actions/installation/index.mjs +62 -22
- package/dist/es/actions/scope-tree/index.mjs +2 -2
- package/dist/es/{app-Ch19CR6g.d.mts → app-D57Rhsqg.d.mts} +326 -0
- package/dist/es/commands/index.mjs +27 -12
- package/dist/es/config/index.browser.d.mts +2 -1
- package/dist/es/config/index.node.d.mts +93 -4
- package/dist/es/config/index.node.mjs +3 -3
- package/dist/{cjs/define-C12IwNNN.d.cts → es/define-BZUvvjcZ.d.mts} +1 -1
- package/dist/es/{index-VgCNSlLP.d.mts → index-C_bP0dOM.d.mts} +2 -2
- package/dist/es/{index-CgsSXApi.d.mts → index-DUJtT78x.d.mts} +2 -2
- package/dist/es/index.d.mts +8 -8
- package/dist/es/index.mjs +1 -1
- package/dist/es/{index.node-C8EXBW94.mjs → index.node-ClvSfs5w.mjs} +1 -1
- package/dist/es/management/index.d.mts +6 -1
- package/dist/es/management/index.mjs +1 -1
- package/dist/es/{management-DKDR7-fX.mjs → management-DzRJV-AP.mjs} +18 -6
- package/dist/es/{openapi-E_1RFhAr.mjs → openapi-BUIws500.mjs} +426 -45
- package/dist/es/types-DslZGym8.d.mts +23 -0
- package/dist/es/{utils-SOtVo2VW.mjs → utils-D81SFSIR.mjs} +17 -2
- package/dist/es/{validate-CiJIjyOr.mjs → validate-BszbuhiE.mjs} +1 -1
- package/dist/es/{router-C23GIyGQ.mjs → version-DYwRSDcV.mjs} +71 -20
- package/dist/es/{webhooks-CfrYeMy_.mjs → webhooks-DRPXVMMo.mjs} +48 -13
- package/dist/{cjs/webhooks-Buu1d7AB.d.cts → es/webhooks-DvBYapZN.d.mts} +266 -10
- package/package.json +4 -4
|
@@ -17,7 +17,7 @@ var openapi = "3.1.0";
|
|
|
17
17
|
var info = {
|
|
18
18
|
"title": "App Management API",
|
|
19
19
|
"description": "REST API for managing Adobe Commerce App Builder apps: resolving app configuration, managing configuration values, running the installation, upgrade, and uninstallation lifecycle, and managing the scope tree.",
|
|
20
|
-
"version": "4.
|
|
20
|
+
"version": "4.2.0",
|
|
21
21
|
"contact": {},
|
|
22
22
|
"license": {
|
|
23
23
|
"identifier": "Apache-2.0",
|
|
@@ -50,6 +50,7 @@ var paths = {
|
|
|
50
50
|
"responses": {
|
|
51
51
|
"200": {
|
|
52
52
|
"description": "The resolved and validated Commerce App configuration.",
|
|
53
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
53
54
|
"content": { "application/json": { "schema": {
|
|
54
55
|
"description": "Current app configuration",
|
|
55
56
|
"type": "object",
|
|
@@ -547,10 +548,17 @@ var paths = {
|
|
|
547
548
|
"required": ["metadata", "openApiSpecUrl"]
|
|
548
549
|
} } }
|
|
549
550
|
},
|
|
550
|
-
"401": {
|
|
551
|
-
|
|
551
|
+
"401": {
|
|
552
|
+
"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.",
|
|
553
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
554
|
+
},
|
|
555
|
+
"403": {
|
|
556
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
557
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
558
|
+
},
|
|
552
559
|
"500": {
|
|
553
560
|
"description": "An unexpected server error occurred.",
|
|
561
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
554
562
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
555
563
|
}
|
|
556
564
|
},
|
|
@@ -591,6 +599,7 @@ var paths = {
|
|
|
591
599
|
"responses": {
|
|
592
600
|
"200": {
|
|
593
601
|
"description": "The configuration schema and the stored configuration values for the requested scope. Password fields are masked in the response.",
|
|
602
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
594
603
|
"content": { "application/json": { "schema": {
|
|
595
604
|
"description": "Current configuration values for the given scope",
|
|
596
605
|
"type": "object",
|
|
@@ -870,12 +879,20 @@ var paths = {
|
|
|
870
879
|
},
|
|
871
880
|
"400": {
|
|
872
881
|
"description": "The request is invalid or could not be parsed.",
|
|
882
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
873
883
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationErrorResponse" } } }
|
|
874
884
|
},
|
|
875
|
-
"401": {
|
|
876
|
-
|
|
885
|
+
"401": {
|
|
886
|
+
"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.",
|
|
887
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
888
|
+
},
|
|
889
|
+
"403": {
|
|
890
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
891
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
892
|
+
},
|
|
877
893
|
"500": {
|
|
878
894
|
"description": "An unexpected server error occurred.",
|
|
895
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
879
896
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
880
897
|
}
|
|
881
898
|
},
|
|
@@ -929,10 +946,13 @@ var paths = {
|
|
|
929
946
|
"responses": {
|
|
930
947
|
"200": {
|
|
931
948
|
"description": "The configuration values were successfully updated. Returns the updated configuration with password fields masked.",
|
|
932
|
-
"headers": {
|
|
933
|
-
"
|
|
934
|
-
|
|
935
|
-
|
|
949
|
+
"headers": {
|
|
950
|
+
"Cache-Control": {
|
|
951
|
+
"description": "Prevents clients from caching configuration mutation responses.",
|
|
952
|
+
"schema": { "const": "no-store" }
|
|
953
|
+
},
|
|
954
|
+
"x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" }
|
|
955
|
+
},
|
|
936
956
|
"content": { "application/json": { "schema": {
|
|
937
957
|
"description": "Configuration values updated for the given scope",
|
|
938
958
|
"type": "object",
|
|
@@ -958,12 +978,20 @@ var paths = {
|
|
|
958
978
|
},
|
|
959
979
|
"400": {
|
|
960
980
|
"description": "The request is invalid or could not be parsed.",
|
|
981
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
961
982
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationErrorResponse" } } }
|
|
962
983
|
},
|
|
963
|
-
"401": {
|
|
964
|
-
|
|
984
|
+
"401": {
|
|
985
|
+
"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.",
|
|
986
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
987
|
+
},
|
|
988
|
+
"403": {
|
|
989
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
990
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
991
|
+
},
|
|
965
992
|
"500": {
|
|
966
993
|
"description": "An unexpected server error occurred.",
|
|
994
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
967
995
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
968
996
|
}
|
|
969
997
|
},
|
|
@@ -1011,6 +1039,7 @@ var paths = {
|
|
|
1011
1039
|
"responses": {
|
|
1012
1040
|
"200": {
|
|
1013
1041
|
"description": "The latest lifecycle attempt, the latest one that ran `operation`, or the one named by `attemptId`, or the installation record of an older library version.",
|
|
1042
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1014
1043
|
"content": { "application/json": { "schema": { "oneOf": [
|
|
1015
1044
|
{ "$ref": "#/components/schemas/LifecycleAttemptStatus" },
|
|
1016
1045
|
{ "$ref": "#/components/schemas/InProgressWorkflowState" },
|
|
@@ -1018,19 +1047,31 @@ var paths = {
|
|
|
1018
1047
|
{ "$ref": "#/components/schemas/FailedWorkflowState" }
|
|
1019
1048
|
] } } }
|
|
1020
1049
|
},
|
|
1021
|
-
"204": {
|
|
1050
|
+
"204": {
|
|
1051
|
+
"description": "No installation workflow state or lifecycle attempt has been stored yet, or no attempt ran the requested `operation`.",
|
|
1052
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1053
|
+
},
|
|
1022
1054
|
"400": {
|
|
1023
1055
|
"description": "The `attemptId` or `operation` query parameter is invalid.",
|
|
1056
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1024
1057
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationErrorResponse" } } }
|
|
1025
1058
|
},
|
|
1026
|
-
"401": {
|
|
1027
|
-
|
|
1059
|
+
"401": {
|
|
1060
|
+
"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.",
|
|
1061
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1062
|
+
},
|
|
1063
|
+
"403": {
|
|
1064
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1065
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1066
|
+
},
|
|
1028
1067
|
"404": {
|
|
1029
1068
|
"description": "No lifecycle attempt has the given `attemptId`, or it did not run the requested `operation`.",
|
|
1069
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1030
1070
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1031
1071
|
},
|
|
1032
1072
|
"500": {
|
|
1033
1073
|
"description": "An unexpected server error occurred.",
|
|
1074
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1034
1075
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1035
1076
|
}
|
|
1036
1077
|
},
|
|
@@ -1054,6 +1095,7 @@ var paths = {
|
|
|
1054
1095
|
"responses": {
|
|
1055
1096
|
"202": {
|
|
1056
1097
|
"description": "The plan started. Poll `GET /installation` for its status.",
|
|
1098
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1057
1099
|
"content": { "application/json": { "schema": { "allOf": [{ "$ref": "#/components/schemas/LifecycleAttemptStatus" }, {
|
|
1058
1100
|
"type": "object",
|
|
1059
1101
|
"properties": {
|
|
@@ -1068,12 +1110,20 @@ var paths = {
|
|
|
1068
1110
|
},
|
|
1069
1111
|
"400": {
|
|
1070
1112
|
"description": "The request is invalid, for example without a `planId`.",
|
|
1113
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1071
1114
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationErrorResponse" } } }
|
|
1072
1115
|
},
|
|
1073
|
-
"401": {
|
|
1074
|
-
|
|
1116
|
+
"401": {
|
|
1117
|
+
"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.",
|
|
1118
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1119
|
+
},
|
|
1120
|
+
"403": {
|
|
1121
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1122
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1123
|
+
},
|
|
1075
1124
|
"409": {
|
|
1076
1125
|
"description": "The plan cannot start. `code` tells why: `in-progress` (another attempt is running; `attempt` carries its status), `stale-plan` (the `planId` is not the pending plan, or the installed state now calls for another operation; plan again), `not-associated`, `unreadable-state`, `baseline-missing` (the stored state names a baseline snapshot that no longer exists), `installed-without-config`, or `already-current`. Without a `code`, planning is blocked by the `issues`, or the application ID changed.",
|
|
1126
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1077
1127
|
"content": { "application/json": { "schema": {
|
|
1078
1128
|
"type": "object",
|
|
1079
1129
|
"properties": {
|
|
@@ -1090,6 +1140,7 @@ var paths = {
|
|
|
1090
1140
|
},
|
|
1091
1141
|
"500": {
|
|
1092
1142
|
"description": "An unexpected server error occurred.",
|
|
1143
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1093
1144
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1094
1145
|
}
|
|
1095
1146
|
},
|
|
@@ -1114,6 +1165,7 @@ var paths = {
|
|
|
1114
1165
|
"responses": {
|
|
1115
1166
|
"200": {
|
|
1116
1167
|
"description": "The plan and its validation result.",
|
|
1168
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1117
1169
|
"content": { "application/json": { "schema": { "allOf": [{
|
|
1118
1170
|
"type": "object",
|
|
1119
1171
|
"properties": {
|
|
@@ -1146,12 +1198,20 @@ var paths = {
|
|
|
1146
1198
|
},
|
|
1147
1199
|
"400": {
|
|
1148
1200
|
"description": "The request is invalid or could not be parsed.",
|
|
1201
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1149
1202
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationErrorResponse" } } }
|
|
1150
1203
|
},
|
|
1151
|
-
"401": {
|
|
1152
|
-
|
|
1204
|
+
"401": {
|
|
1205
|
+
"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.",
|
|
1206
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1207
|
+
},
|
|
1208
|
+
"403": {
|
|
1209
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1210
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1211
|
+
},
|
|
1153
1212
|
"409": {
|
|
1154
1213
|
"description": "Nothing was planned. `code` tells why: `in-progress` (an attempt is running; `attempt` carries its status), `not-associated`, `unreadable-state`, `baseline-missing` (the stored state names a baseline snapshot that no longer exists), `installed-without-config`, or `already-current`. Without a `code`, planning is blocked by the `issues`, or the application ID changed.",
|
|
1214
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1155
1215
|
"content": { "application/json": { "schema": {
|
|
1156
1216
|
"type": "object",
|
|
1157
1217
|
"properties": {
|
|
@@ -1168,6 +1228,7 @@ var paths = {
|
|
|
1168
1228
|
},
|
|
1169
1229
|
"500": {
|
|
1170
1230
|
"description": "An unexpected server error occurred.",
|
|
1231
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1171
1232
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1172
1233
|
}
|
|
1173
1234
|
},
|
|
@@ -1188,6 +1249,7 @@ var paths = {
|
|
|
1188
1249
|
"responses": {
|
|
1189
1250
|
"200": {
|
|
1190
1251
|
"description": "The current scope tree, freshly fetched.",
|
|
1252
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1191
1253
|
"content": { "application/json": { "schema": {
|
|
1192
1254
|
"type": "object",
|
|
1193
1255
|
"properties": { "scopes": {
|
|
@@ -1199,10 +1261,13 @@ var paths = {
|
|
|
1199
1261
|
},
|
|
1200
1262
|
"203": {
|
|
1201
1263
|
"description": "The scope tree returned from cache or persisted storage.",
|
|
1202
|
-
"headers": {
|
|
1203
|
-
"
|
|
1204
|
-
|
|
1205
|
-
|
|
1264
|
+
"headers": {
|
|
1265
|
+
"x-cache": {
|
|
1266
|
+
"description": "Indicates that the returned scope tree came from cache.",
|
|
1267
|
+
"schema": { "const": "hit" }
|
|
1268
|
+
},
|
|
1269
|
+
"x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" }
|
|
1270
|
+
},
|
|
1206
1271
|
"content": { "application/json": { "schema": {
|
|
1207
1272
|
"description": "Cached scope tree",
|
|
1208
1273
|
"type": "object",
|
|
@@ -1213,10 +1278,17 @@ var paths = {
|
|
|
1213
1278
|
"required": ["scopes"]
|
|
1214
1279
|
} } }
|
|
1215
1280
|
},
|
|
1216
|
-
"401": {
|
|
1217
|
-
|
|
1281
|
+
"401": {
|
|
1282
|
+
"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.",
|
|
1283
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1284
|
+
},
|
|
1285
|
+
"403": {
|
|
1286
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1287
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1288
|
+
},
|
|
1218
1289
|
"500": {
|
|
1219
1290
|
"description": "An unexpected server error occurred.",
|
|
1291
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1220
1292
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1221
1293
|
}
|
|
1222
1294
|
},
|
|
@@ -1248,10 +1320,13 @@ var paths = {
|
|
|
1248
1320
|
"responses": {
|
|
1249
1321
|
"200": {
|
|
1250
1322
|
"description": "The stored custom scope tree result.",
|
|
1251
|
-
"headers": {
|
|
1252
|
-
"
|
|
1253
|
-
|
|
1254
|
-
|
|
1323
|
+
"headers": {
|
|
1324
|
+
"Cache-Control": {
|
|
1325
|
+
"description": "Prevents clients from caching custom scope tree mutation responses.",
|
|
1326
|
+
"schema": { "const": "no-store" }
|
|
1327
|
+
},
|
|
1328
|
+
"x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" }
|
|
1329
|
+
},
|
|
1255
1330
|
"content": { "application/json": { "schema": {
|
|
1256
1331
|
"type": "object",
|
|
1257
1332
|
"properties": { "result": {
|
|
@@ -1278,12 +1353,20 @@ var paths = {
|
|
|
1278
1353
|
},
|
|
1279
1354
|
"400": {
|
|
1280
1355
|
"description": "The request body is invalid: the scopes array is missing or not an array, a scope is missing a required field or has an invalid type, a scope uses a reserved code (commerce or global), or two scopes share the same code and level.",
|
|
1356
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1281
1357
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationErrorResponse" } } }
|
|
1282
1358
|
},
|
|
1283
|
-
"401": {
|
|
1284
|
-
|
|
1359
|
+
"401": {
|
|
1360
|
+
"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.",
|
|
1361
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1362
|
+
},
|
|
1363
|
+
"403": {
|
|
1364
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1365
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1366
|
+
},
|
|
1285
1367
|
"500": {
|
|
1286
1368
|
"description": "An unexpected server error occurred.",
|
|
1369
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1287
1370
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1288
1371
|
}
|
|
1289
1372
|
},
|
|
@@ -1322,6 +1405,7 @@ var paths = {
|
|
|
1322
1405
|
"responses": {
|
|
1323
1406
|
"200": {
|
|
1324
1407
|
"description": "The synchronized Commerce scope tree.",
|
|
1408
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1325
1409
|
"content": { "application/json": { "schema": {
|
|
1326
1410
|
"type": "object",
|
|
1327
1411
|
"properties": {
|
|
@@ -1336,10 +1420,13 @@ var paths = {
|
|
|
1336
1420
|
},
|
|
1337
1421
|
"203": {
|
|
1338
1422
|
"description": "The cached scope tree returned when Commerce scopes could not be freshly fetched.",
|
|
1339
|
-
"headers": {
|
|
1340
|
-
"
|
|
1341
|
-
|
|
1342
|
-
|
|
1423
|
+
"headers": {
|
|
1424
|
+
"x-cache": {
|
|
1425
|
+
"description": "Indicates that the returned scope tree came from cache.",
|
|
1426
|
+
"schema": { "const": "hit" }
|
|
1427
|
+
},
|
|
1428
|
+
"x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" }
|
|
1429
|
+
},
|
|
1343
1430
|
"content": { "application/json": { "schema": {
|
|
1344
1431
|
"type": "object",
|
|
1345
1432
|
"properties": {
|
|
@@ -1354,12 +1441,20 @@ var paths = {
|
|
|
1354
1441
|
},
|
|
1355
1442
|
"400": {
|
|
1356
1443
|
"description": "The request is invalid or could not be parsed.",
|
|
1444
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1357
1445
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ValidationErrorResponse" } } }
|
|
1358
1446
|
},
|
|
1359
|
-
"401": {
|
|
1360
|
-
|
|
1447
|
+
"401": {
|
|
1448
|
+
"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.",
|
|
1449
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1450
|
+
},
|
|
1451
|
+
"403": {
|
|
1452
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1453
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1454
|
+
},
|
|
1361
1455
|
"500": {
|
|
1362
1456
|
"description": "An unexpected server error occurred.",
|
|
1457
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1363
1458
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1364
1459
|
}
|
|
1365
1460
|
},
|
|
@@ -1379,16 +1474,24 @@ var paths = {
|
|
|
1379
1474
|
"responses": {
|
|
1380
1475
|
"200": {
|
|
1381
1476
|
"description": "The result of removing synchronized Commerce scope data.",
|
|
1477
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1382
1478
|
"content": { "application/json": { "schema": {
|
|
1383
1479
|
"type": "object",
|
|
1384
1480
|
"properties": { "message": { "enum": ["Commerce scopes unsynced successfully", "No commerce scopes to unsync"] } },
|
|
1385
1481
|
"required": ["message"]
|
|
1386
1482
|
} } }
|
|
1387
1483
|
},
|
|
1388
|
-
"401": {
|
|
1389
|
-
|
|
1484
|
+
"401": {
|
|
1485
|
+
"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.",
|
|
1486
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1487
|
+
},
|
|
1488
|
+
"403": {
|
|
1489
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1490
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1491
|
+
},
|
|
1390
1492
|
"500": {
|
|
1391
1493
|
"description": "An unexpected server error occurred.",
|
|
1494
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1392
1495
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1393
1496
|
}
|
|
1394
1497
|
},
|
|
@@ -1429,6 +1532,7 @@ var paths = {
|
|
|
1429
1532
|
"responses": {
|
|
1430
1533
|
"200": {
|
|
1431
1534
|
"description": "Association data stored successfully. Returns the app's IMS client ID so the Commerce App Management Service can bind record ownership.",
|
|
1535
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1432
1536
|
"content": { "application/json": { "schema": {
|
|
1433
1537
|
"type": "object",
|
|
1434
1538
|
"properties": { "clientId": {
|
|
@@ -1440,12 +1544,20 @@ var paths = {
|
|
|
1440
1544
|
},
|
|
1441
1545
|
"400": {
|
|
1442
1546
|
"description": "Bad request, the request body is invalid.",
|
|
1547
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1443
1548
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1444
1549
|
},
|
|
1445
|
-
"401": {
|
|
1446
|
-
|
|
1550
|
+
"401": {
|
|
1551
|
+
"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.",
|
|
1552
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1553
|
+
},
|
|
1554
|
+
"403": {
|
|
1555
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1556
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1557
|
+
},
|
|
1447
1558
|
"500": {
|
|
1448
1559
|
"description": "Internal server error while storing the association data.",
|
|
1560
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1449
1561
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1450
1562
|
}
|
|
1451
1563
|
},
|
|
@@ -1463,11 +1575,21 @@ var paths = {
|
|
|
1463
1575
|
"schema": { "type": "string" }
|
|
1464
1576
|
}],
|
|
1465
1577
|
"responses": {
|
|
1466
|
-
"204": {
|
|
1467
|
-
|
|
1468
|
-
|
|
1578
|
+
"204": {
|
|
1579
|
+
"description": "Association data cleared successfully.",
|
|
1580
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1581
|
+
},
|
|
1582
|
+
"401": {
|
|
1583
|
+
"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.",
|
|
1584
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1585
|
+
},
|
|
1586
|
+
"403": {
|
|
1587
|
+
"description": "The access token is valid, but it is not allowed to access the requested organization or operation.",
|
|
1588
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } }
|
|
1589
|
+
},
|
|
1469
1590
|
"500": {
|
|
1470
1591
|
"description": "Internal server error while clearing the association data.",
|
|
1592
|
+
"headers": { "x-ac-sdk-lib-versions": { "$ref": "#/components/headers/SdkLibVersions" } },
|
|
1471
1593
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } }
|
|
1472
1594
|
}
|
|
1473
1595
|
},
|
|
@@ -2168,11 +2290,23 @@ var components = {
|
|
|
2168
2290
|
},
|
|
2169
2291
|
"invoice": {
|
|
2170
2292
|
"type": "object",
|
|
2171
|
-
"properties": {
|
|
2293
|
+
"properties": {
|
|
2294
|
+
"gridColumns": { "$ref": "#/components/schemas/AdminUiGridColumns" },
|
|
2295
|
+
"viewButtons": {
|
|
2296
|
+
"type": "array",
|
|
2297
|
+
"items": { "$ref": "#/components/schemas/AdminUiInvoiceViewButton" }
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2172
2300
|
},
|
|
2173
2301
|
"creditMemo": {
|
|
2174
2302
|
"type": "object",
|
|
2175
|
-
"properties": {
|
|
2303
|
+
"properties": {
|
|
2304
|
+
"gridColumns": { "$ref": "#/components/schemas/AdminUiGridColumns" },
|
|
2305
|
+
"viewButtons": {
|
|
2306
|
+
"type": "array",
|
|
2307
|
+
"items": { "$ref": "#/components/schemas/AdminUiCreditMemoViewButton" }
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2176
2310
|
},
|
|
2177
2311
|
"shipment": {
|
|
2178
2312
|
"type": "object",
|
|
@@ -2261,6 +2395,232 @@ var components = {
|
|
|
2261
2395
|
},
|
|
2262
2396
|
"oneOf": [{ "$ref": "#/components/schemas/AdminUiOrderViewNavigationButton" }, { "$ref": "#/components/schemas/AdminUiOrderViewWorkerButton" }]
|
|
2263
2397
|
},
|
|
2398
|
+
"AdminUiInvoiceViewButton": {
|
|
2399
|
+
"discriminator": {
|
|
2400
|
+
"propertyName": "type",
|
|
2401
|
+
"mapping": {
|
|
2402
|
+
"view": "#/components/schemas/AdminUiInvoiceViewNavigationButton",
|
|
2403
|
+
"worker": "#/components/schemas/AdminUiInvoiceViewWorkerButton"
|
|
2404
|
+
}
|
|
2405
|
+
},
|
|
2406
|
+
"oneOf": [{ "$ref": "#/components/schemas/AdminUiInvoiceViewNavigationButton" }, { "$ref": "#/components/schemas/AdminUiInvoiceViewWorkerButton" }]
|
|
2407
|
+
},
|
|
2408
|
+
"AdminUiInvoiceViewNavigationButton": {
|
|
2409
|
+
"type": "object",
|
|
2410
|
+
"properties": {
|
|
2411
|
+
"type": {
|
|
2412
|
+
"type": "string",
|
|
2413
|
+
"const": "view"
|
|
2414
|
+
},
|
|
2415
|
+
"id": {
|
|
2416
|
+
"type": "string",
|
|
2417
|
+
"minLength": 1
|
|
2418
|
+
},
|
|
2419
|
+
"label": {
|
|
2420
|
+
"type": "string",
|
|
2421
|
+
"minLength": 1
|
|
2422
|
+
},
|
|
2423
|
+
"description": {
|
|
2424
|
+
"type": "string",
|
|
2425
|
+
"minLength": 1
|
|
2426
|
+
},
|
|
2427
|
+
"title": {
|
|
2428
|
+
"type": "string",
|
|
2429
|
+
"minLength": 1
|
|
2430
|
+
},
|
|
2431
|
+
"path": {
|
|
2432
|
+
"type": "string",
|
|
2433
|
+
"minLength": 1
|
|
2434
|
+
},
|
|
2435
|
+
"aclProtected": { "type": "boolean" },
|
|
2436
|
+
"level": {
|
|
2437
|
+
"type": "number",
|
|
2438
|
+
"enum": [
|
|
2439
|
+
-1,
|
|
2440
|
+
0,
|
|
2441
|
+
1
|
|
2442
|
+
]
|
|
2443
|
+
},
|
|
2444
|
+
"sortOrder": {
|
|
2445
|
+
"type": "number",
|
|
2446
|
+
"minimum": 0
|
|
2447
|
+
},
|
|
2448
|
+
"confirm": { "$ref": "#/components/schemas/AdminUiConfirm" },
|
|
2449
|
+
"sandboxPermissions": { "$ref": "#/components/schemas/AdminUiSandboxPermissions" },
|
|
2450
|
+
"notifications": { "$ref": "#/components/schemas/AdminUiNotifications" }
|
|
2451
|
+
},
|
|
2452
|
+
"additionalProperties": false,
|
|
2453
|
+
"required": [
|
|
2454
|
+
"type",
|
|
2455
|
+
"id",
|
|
2456
|
+
"label",
|
|
2457
|
+
"path"
|
|
2458
|
+
]
|
|
2459
|
+
},
|
|
2460
|
+
"AdminUiInvoiceViewWorkerButton": {
|
|
2461
|
+
"type": "object",
|
|
2462
|
+
"properties": {
|
|
2463
|
+
"type": {
|
|
2464
|
+
"type": "string",
|
|
2465
|
+
"const": "worker"
|
|
2466
|
+
},
|
|
2467
|
+
"id": {
|
|
2468
|
+
"type": "string",
|
|
2469
|
+
"minLength": 1
|
|
2470
|
+
},
|
|
2471
|
+
"label": {
|
|
2472
|
+
"type": "string",
|
|
2473
|
+
"minLength": 1
|
|
2474
|
+
},
|
|
2475
|
+
"description": {
|
|
2476
|
+
"type": "string",
|
|
2477
|
+
"minLength": 1
|
|
2478
|
+
},
|
|
2479
|
+
"runtimeAction": {
|
|
2480
|
+
"type": "string",
|
|
2481
|
+
"minLength": 1
|
|
2482
|
+
},
|
|
2483
|
+
"aclProtected": { "type": "boolean" },
|
|
2484
|
+
"level": {
|
|
2485
|
+
"type": "number",
|
|
2486
|
+
"enum": [
|
|
2487
|
+
-1,
|
|
2488
|
+
0,
|
|
2489
|
+
1
|
|
2490
|
+
]
|
|
2491
|
+
},
|
|
2492
|
+
"sortOrder": {
|
|
2493
|
+
"type": "number",
|
|
2494
|
+
"minimum": 0
|
|
2495
|
+
},
|
|
2496
|
+
"confirm": { "$ref": "#/components/schemas/AdminUiConfirm" },
|
|
2497
|
+
"timeout": {
|
|
2498
|
+
"type": "number",
|
|
2499
|
+
"minimum": 0
|
|
2500
|
+
},
|
|
2501
|
+
"notifications": { "$ref": "#/components/schemas/AdminUiNotifications" }
|
|
2502
|
+
},
|
|
2503
|
+
"additionalProperties": false,
|
|
2504
|
+
"required": [
|
|
2505
|
+
"type",
|
|
2506
|
+
"id",
|
|
2507
|
+
"label",
|
|
2508
|
+
"runtimeAction"
|
|
2509
|
+
]
|
|
2510
|
+
},
|
|
2511
|
+
"AdminUiCreditMemoViewButton": {
|
|
2512
|
+
"discriminator": {
|
|
2513
|
+
"propertyName": "type",
|
|
2514
|
+
"mapping": {
|
|
2515
|
+
"view": "#/components/schemas/AdminUiCreditMemoViewNavigationButton",
|
|
2516
|
+
"worker": "#/components/schemas/AdminUiCreditMemoViewWorkerButton"
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
"oneOf": [{ "$ref": "#/components/schemas/AdminUiCreditMemoViewNavigationButton" }, { "$ref": "#/components/schemas/AdminUiCreditMemoViewWorkerButton" }]
|
|
2520
|
+
},
|
|
2521
|
+
"AdminUiCreditMemoViewNavigationButton": {
|
|
2522
|
+
"type": "object",
|
|
2523
|
+
"properties": {
|
|
2524
|
+
"type": {
|
|
2525
|
+
"type": "string",
|
|
2526
|
+
"const": "view"
|
|
2527
|
+
},
|
|
2528
|
+
"id": {
|
|
2529
|
+
"type": "string",
|
|
2530
|
+
"minLength": 1
|
|
2531
|
+
},
|
|
2532
|
+
"label": {
|
|
2533
|
+
"type": "string",
|
|
2534
|
+
"minLength": 1
|
|
2535
|
+
},
|
|
2536
|
+
"description": {
|
|
2537
|
+
"type": "string",
|
|
2538
|
+
"minLength": 1
|
|
2539
|
+
},
|
|
2540
|
+
"title": {
|
|
2541
|
+
"type": "string",
|
|
2542
|
+
"minLength": 1
|
|
2543
|
+
},
|
|
2544
|
+
"path": {
|
|
2545
|
+
"type": "string",
|
|
2546
|
+
"minLength": 1
|
|
2547
|
+
},
|
|
2548
|
+
"aclProtected": { "type": "boolean" },
|
|
2549
|
+
"level": {
|
|
2550
|
+
"type": "number",
|
|
2551
|
+
"enum": [
|
|
2552
|
+
-1,
|
|
2553
|
+
0,
|
|
2554
|
+
1
|
|
2555
|
+
]
|
|
2556
|
+
},
|
|
2557
|
+
"sortOrder": {
|
|
2558
|
+
"type": "number",
|
|
2559
|
+
"minimum": 0
|
|
2560
|
+
},
|
|
2561
|
+
"confirm": { "$ref": "#/components/schemas/AdminUiConfirm" },
|
|
2562
|
+
"sandboxPermissions": { "$ref": "#/components/schemas/AdminUiSandboxPermissions" },
|
|
2563
|
+
"notifications": { "$ref": "#/components/schemas/AdminUiNotifications" }
|
|
2564
|
+
},
|
|
2565
|
+
"additionalProperties": false,
|
|
2566
|
+
"required": [
|
|
2567
|
+
"type",
|
|
2568
|
+
"id",
|
|
2569
|
+
"label",
|
|
2570
|
+
"path"
|
|
2571
|
+
]
|
|
2572
|
+
},
|
|
2573
|
+
"AdminUiCreditMemoViewWorkerButton": {
|
|
2574
|
+
"type": "object",
|
|
2575
|
+
"properties": {
|
|
2576
|
+
"type": {
|
|
2577
|
+
"type": "string",
|
|
2578
|
+
"const": "worker"
|
|
2579
|
+
},
|
|
2580
|
+
"id": {
|
|
2581
|
+
"type": "string",
|
|
2582
|
+
"minLength": 1
|
|
2583
|
+
},
|
|
2584
|
+
"label": {
|
|
2585
|
+
"type": "string",
|
|
2586
|
+
"minLength": 1
|
|
2587
|
+
},
|
|
2588
|
+
"description": {
|
|
2589
|
+
"type": "string",
|
|
2590
|
+
"minLength": 1
|
|
2591
|
+
},
|
|
2592
|
+
"runtimeAction": {
|
|
2593
|
+
"type": "string",
|
|
2594
|
+
"minLength": 1
|
|
2595
|
+
},
|
|
2596
|
+
"aclProtected": { "type": "boolean" },
|
|
2597
|
+
"level": {
|
|
2598
|
+
"type": "number",
|
|
2599
|
+
"enum": [
|
|
2600
|
+
-1,
|
|
2601
|
+
0,
|
|
2602
|
+
1
|
|
2603
|
+
]
|
|
2604
|
+
},
|
|
2605
|
+
"sortOrder": {
|
|
2606
|
+
"type": "number",
|
|
2607
|
+
"minimum": 0
|
|
2608
|
+
},
|
|
2609
|
+
"confirm": { "$ref": "#/components/schemas/AdminUiConfirm" },
|
|
2610
|
+
"timeout": {
|
|
2611
|
+
"type": "number",
|
|
2612
|
+
"minimum": 0
|
|
2613
|
+
},
|
|
2614
|
+
"notifications": { "$ref": "#/components/schemas/AdminUiNotifications" }
|
|
2615
|
+
},
|
|
2616
|
+
"additionalProperties": false,
|
|
2617
|
+
"required": [
|
|
2618
|
+
"type",
|
|
2619
|
+
"id",
|
|
2620
|
+
"label",
|
|
2621
|
+
"runtimeAction"
|
|
2622
|
+
]
|
|
2623
|
+
},
|
|
2264
2624
|
"AdminUiConfirm": {
|
|
2265
2625
|
"type": "object",
|
|
2266
2626
|
"properties": {
|
|
@@ -2568,6 +2928,20 @@ var components = {
|
|
|
2568
2928
|
"appData": { "$ref": "#/components/schemas/AppData" },
|
|
2569
2929
|
"ioEventsUrl": { "type": "string" },
|
|
2570
2930
|
"ioEventsEnv": { "type": "string" },
|
|
2931
|
+
"commerceBaseUrl": {
|
|
2932
|
+
"description": "The base URL of the Commerce instance. Used only to plan and start an uninstallation of an app that has no association record. Starting the uninstallation stores it as the association record. Ignored when the app has one.",
|
|
2933
|
+
"type": ["string", "null"],
|
|
2934
|
+
"format": "uri"
|
|
2935
|
+
},
|
|
2936
|
+
"commerceEnv": {
|
|
2937
|
+
"description": "The deployment type of the Commerce instance. Used with `commerceBaseUrl`.",
|
|
2938
|
+
"type": ["string", "null"],
|
|
2939
|
+
"enum": [
|
|
2940
|
+
"saas",
|
|
2941
|
+
"paas",
|
|
2942
|
+
null
|
|
2943
|
+
]
|
|
2944
|
+
},
|
|
2571
2945
|
"operation": {
|
|
2572
2946
|
"description": "Set to `uninstall` to plan an uninstallation. Without it, `POST /installation/plan` plans the install or upgrade the installed state calls for.",
|
|
2573
2947
|
"const": "uninstall"
|
|
@@ -2875,6 +3249,13 @@ var components = {
|
|
|
2875
3249
|
]
|
|
2876
3250
|
}
|
|
2877
3251
|
},
|
|
3252
|
+
"headers": { "SdkLibVersions": {
|
|
3253
|
+
"description": "Versions of the SDK libraries that serve the request, as an RFC 8941 structured-field dictionary with string values. The keys are the package names without the `@adobe/aio-commerce-` prefix. `lib-app` is the version lib-app was built with and `lib-config` is the installed lib-config it loads. These are not the version of the app.",
|
|
3254
|
+
"schema": {
|
|
3255
|
+
"type": "string",
|
|
3256
|
+
"examples": ["lib-app=\"2.2.0\", lib-config=\"1.4.1\""]
|
|
3257
|
+
}
|
|
3258
|
+
} },
|
|
2878
3259
|
"securitySchemes": { "imsOAuth": {
|
|
2879
3260
|
"type": "oauth2",
|
|
2880
3261
|
"description": "Adobe IMS OAuth 2.0 access token. Send it as Authorization: Bearer <IMS access token>.",
|