@salesforce/b2c-tooling-sdk 0.0.1 → 0.0.3

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.
Files changed (1106) hide show
  1. package/README.md +158 -29
  2. package/data/script-api/TopLevel.APIException.md +119 -0
  3. package/data/script-api/TopLevel.Array.md +732 -0
  4. package/data/script-api/TopLevel.ArrayBuffer.md +97 -0
  5. package/data/script-api/TopLevel.BigInt.md +154 -0
  6. package/data/script-api/TopLevel.Boolean.md +83 -0
  7. package/data/script-api/TopLevel.ConversionError.md +51 -0
  8. package/data/script-api/TopLevel.DataView.md +271 -0
  9. package/data/script-api/TopLevel.Date.md +688 -0
  10. package/data/script-api/TopLevel.ES6Iterator.md +47 -0
  11. package/data/script-api/TopLevel.Error.md +124 -0
  12. package/data/script-api/TopLevel.EvalError.md +47 -0
  13. package/data/script-api/TopLevel.Fault.md +133 -0
  14. package/data/script-api/TopLevel.Float32Array.md +186 -0
  15. package/data/script-api/TopLevel.Float64Array.md +186 -0
  16. package/data/script-api/TopLevel.Function.md +114 -0
  17. package/data/script-api/TopLevel.Generator.md +132 -0
  18. package/data/script-api/TopLevel.IOError.md +98 -0
  19. package/data/script-api/TopLevel.Int16Array.md +186 -0
  20. package/data/script-api/TopLevel.Int32Array.md +186 -0
  21. package/data/script-api/TopLevel.Int8Array.md +186 -0
  22. package/data/script-api/TopLevel.InternalError.md +47 -0
  23. package/data/script-api/TopLevel.Iterable.md +44 -0
  24. package/data/script-api/TopLevel.Iterator.md +89 -0
  25. package/data/script-api/TopLevel.JSON.md +173 -0
  26. package/data/script-api/TopLevel.Map.md +189 -0
  27. package/data/script-api/TopLevel.Math.md +948 -0
  28. package/data/script-api/TopLevel.Module.md +152 -0
  29. package/data/script-api/TopLevel.Namespace.md +152 -0
  30. package/data/script-api/TopLevel.Number.md +404 -0
  31. package/data/script-api/TopLevel.Object.md +472 -0
  32. package/data/script-api/TopLevel.QName.md +147 -0
  33. package/data/script-api/TopLevel.RangeError.md +47 -0
  34. package/data/script-api/TopLevel.ReferenceError.md +47 -0
  35. package/data/script-api/TopLevel.RegExp.md +155 -0
  36. package/data/script-api/TopLevel.Set.md +150 -0
  37. package/data/script-api/TopLevel.StopIteration.md +36 -0
  38. package/data/script-api/TopLevel.String.md +1060 -0
  39. package/data/script-api/TopLevel.Symbol.md +196 -0
  40. package/data/script-api/TopLevel.SyntaxError.md +47 -0
  41. package/data/script-api/TopLevel.SystemError.md +99 -0
  42. package/data/script-api/TopLevel.TypeError.md +47 -0
  43. package/data/script-api/TopLevel.URIError.md +47 -0
  44. package/data/script-api/TopLevel.Uint16Array.md +186 -0
  45. package/data/script-api/TopLevel.Uint32Array.md +186 -0
  46. package/data/script-api/TopLevel.Uint8Array.md +186 -0
  47. package/data/script-api/TopLevel.Uint8ClampedArray.md +186 -0
  48. package/data/script-api/TopLevel.WeakMap.md +135 -0
  49. package/data/script-api/TopLevel.WeakSet.md +96 -0
  50. package/data/script-api/TopLevel.XML.md +922 -0
  51. package/data/script-api/TopLevel.XMLList.md +418 -0
  52. package/data/script-api/TopLevel.XMLStreamError.md +115 -0
  53. package/data/script-api/TopLevel.arguments.md +56 -0
  54. package/data/script-api/TopLevel.global.md +539 -0
  55. package/data/script-api/TopLevel.md +58 -0
  56. package/data/script-api/dw.alert.Alert.md +175 -0
  57. package/data/script-api/dw.alert.Alerts.md +256 -0
  58. package/data/script-api/dw.alert.md +7 -0
  59. package/data/script-api/dw.campaign.ABTest.md +63 -0
  60. package/data/script-api/dw.campaign.ABTestMgr.md +76 -0
  61. package/data/script-api/dw.campaign.ABTestSegment.md +107 -0
  62. package/data/script-api/dw.campaign.AmountDiscount.md +70 -0
  63. package/data/script-api/dw.campaign.ApproachingDiscount.md +157 -0
  64. package/data/script-api/dw.campaign.BonusChoiceDiscount.md +190 -0
  65. package/data/script-api/dw.campaign.BonusDiscount.md +59 -0
  66. package/data/script-api/dw.campaign.Campaign.md +346 -0
  67. package/data/script-api/dw.campaign.CampaignMgr.md +436 -0
  68. package/data/script-api/dw.campaign.CampaignStatusCodes.md +103 -0
  69. package/data/script-api/dw.campaign.Coupon.md +324 -0
  70. package/data/script-api/dw.campaign.CouponMgr.md +137 -0
  71. package/data/script-api/dw.campaign.CouponRedemption.md +87 -0
  72. package/data/script-api/dw.campaign.CouponStatusCodes.md +130 -0
  73. package/data/script-api/dw.campaign.Discount.md +271 -0
  74. package/data/script-api/dw.campaign.DiscountPlan.md +322 -0
  75. package/data/script-api/dw.campaign.FixedPriceDiscount.md +74 -0
  76. package/data/script-api/dw.campaign.FixedPriceShippingDiscount.md +74 -0
  77. package/data/script-api/dw.campaign.FreeDiscount.md +24 -0
  78. package/data/script-api/dw.campaign.FreeShippingDiscount.md +24 -0
  79. package/data/script-api/dw.campaign.PercentageDiscount.md +74 -0
  80. package/data/script-api/dw.campaign.PercentageOptionDiscount.md +59 -0
  81. package/data/script-api/dw.campaign.PriceBookPriceDiscount.md +56 -0
  82. package/data/script-api/dw.campaign.Promotion.md +939 -0
  83. package/data/script-api/dw.campaign.PromotionMgr.md +478 -0
  84. package/data/script-api/dw.campaign.PromotionPlan.md +378 -0
  85. package/data/script-api/dw.campaign.SlotContent.md +131 -0
  86. package/data/script-api/dw.campaign.SourceCodeGroup.md +83 -0
  87. package/data/script-api/dw.campaign.SourceCodeInfo.md +167 -0
  88. package/data/script-api/dw.campaign.SourceCodeStatusCodes.md +61 -0
  89. package/data/script-api/dw.campaign.TotalFixedPriceDiscount.md +56 -0
  90. package/data/script-api/dw.campaign.md +36 -0
  91. package/data/script-api/dw.catalog.Catalog.md +158 -0
  92. package/data/script-api/dw.catalog.CatalogMgr.md +155 -0
  93. package/data/script-api/dw.catalog.Category.md +1212 -0
  94. package/data/script-api/dw.catalog.CategoryAssignment.md +179 -0
  95. package/data/script-api/dw.catalog.CategoryLink.md +142 -0
  96. package/data/script-api/dw.catalog.PriceBook.md +215 -0
  97. package/data/script-api/dw.catalog.PriceBookMgr.md +176 -0
  98. package/data/script-api/dw.catalog.Product.md +2492 -0
  99. package/data/script-api/dw.catalog.ProductActiveData.md +1244 -0
  100. package/data/script-api/dw.catalog.ProductAttributeModel.md +409 -0
  101. package/data/script-api/dw.catalog.ProductAvailabilityLevels.md +125 -0
  102. package/data/script-api/dw.catalog.ProductAvailabilityModel.md +516 -0
  103. package/data/script-api/dw.catalog.ProductInventoryList.md +136 -0
  104. package/data/script-api/dw.catalog.ProductInventoryMgr.md +132 -0
  105. package/data/script-api/dw.catalog.ProductInventoryRecord.md +638 -0
  106. package/data/script-api/dw.catalog.ProductLink.md +166 -0
  107. package/data/script-api/dw.catalog.ProductMgr.md +136 -0
  108. package/data/script-api/dw.catalog.ProductOption.md +189 -0
  109. package/data/script-api/dw.catalog.ProductOptionModel.md +209 -0
  110. package/data/script-api/dw.catalog.ProductOptionValue.md +132 -0
  111. package/data/script-api/dw.catalog.ProductPriceInfo.md +170 -0
  112. package/data/script-api/dw.catalog.ProductPriceModel.md +988 -0
  113. package/data/script-api/dw.catalog.ProductPriceTable.md +121 -0
  114. package/data/script-api/dw.catalog.ProductSearchHit.md +702 -0
  115. package/data/script-api/dw.catalog.ProductSearchModel.md +1894 -0
  116. package/data/script-api/dw.catalog.ProductSearchRefinementDefinition.md +99 -0
  117. package/data/script-api/dw.catalog.ProductSearchRefinementValue.md +80 -0
  118. package/data/script-api/dw.catalog.ProductSearchRefinements.md +265 -0
  119. package/data/script-api/dw.catalog.ProductVariationAttribute.md +107 -0
  120. package/data/script-api/dw.catalog.ProductVariationAttributeValue.md +215 -0
  121. package/data/script-api/dw.catalog.ProductVariationModel.md +1010 -0
  122. package/data/script-api/dw.catalog.Recommendation.md +327 -0
  123. package/data/script-api/dw.catalog.SearchModel.md +769 -0
  124. package/data/script-api/dw.catalog.SearchRefinementDefinition.md +145 -0
  125. package/data/script-api/dw.catalog.SearchRefinementValue.md +194 -0
  126. package/data/script-api/dw.catalog.SearchRefinements.md +238 -0
  127. package/data/script-api/dw.catalog.SortingOption.md +120 -0
  128. package/data/script-api/dw.catalog.SortingRule.md +53 -0
  129. package/data/script-api/dw.catalog.Store.md +484 -0
  130. package/data/script-api/dw.catalog.StoreGroup.md +95 -0
  131. package/data/script-api/dw.catalog.StoreInventoryFilter.md +112 -0
  132. package/data/script-api/dw.catalog.StoreInventoryFilterValue.md +111 -0
  133. package/data/script-api/dw.catalog.StoreMgr.md +223 -0
  134. package/data/script-api/dw.catalog.Variant.md +1000 -0
  135. package/data/script-api/dw.catalog.VariationGroup.md +869 -0
  136. package/data/script-api/dw.catalog.md +50 -0
  137. package/data/script-api/dw.content.Content.md +481 -0
  138. package/data/script-api/dw.content.ContentMgr.md +147 -0
  139. package/data/script-api/dw.content.ContentSearchModel.md +618 -0
  140. package/data/script-api/dw.content.ContentSearchRefinementDefinition.md +61 -0
  141. package/data/script-api/dw.content.ContentSearchRefinementValue.md +22 -0
  142. package/data/script-api/dw.content.ContentSearchRefinements.md +218 -0
  143. package/data/script-api/dw.content.Folder.md +432 -0
  144. package/data/script-api/dw.content.Library.md +124 -0
  145. package/data/script-api/dw.content.MarkupText.md +150 -0
  146. package/data/script-api/dw.content.MediaFile.md +367 -0
  147. package/data/script-api/dw.content.md +15 -0
  148. package/data/script-api/dw.crypto.CertificateRef.md +59 -0
  149. package/data/script-api/dw.crypto.CertificateUtils.md +162 -0
  150. package/data/script-api/dw.crypto.Cipher.md +1230 -0
  151. package/data/script-api/dw.crypto.Encoding.md +193 -0
  152. package/data/script-api/dw.crypto.JWE.md +245 -0
  153. package/data/script-api/dw.crypto.JWEHeader.md +147 -0
  154. package/data/script-api/dw.crypto.JWS.md +260 -0
  155. package/data/script-api/dw.crypto.JWSHeader.md +128 -0
  156. package/data/script-api/dw.crypto.KeyRef.md +77 -0
  157. package/data/script-api/dw.crypto.Mac.md +191 -0
  158. package/data/script-api/dw.crypto.MessageDigest.md +243 -0
  159. package/data/script-api/dw.crypto.SecureRandom.md +161 -0
  160. package/data/script-api/dw.crypto.Signature.md +241 -0
  161. package/data/script-api/dw.crypto.WeakCipher.md +725 -0
  162. package/data/script-api/dw.crypto.WeakMac.md +163 -0
  163. package/data/script-api/dw.crypto.WeakMessageDigest.md +220 -0
  164. package/data/script-api/dw.crypto.WeakSignature.md +208 -0
  165. package/data/script-api/dw.crypto.X509Certificate.md +180 -0
  166. package/data/script-api/dw.crypto.md +23 -0
  167. package/data/script-api/dw.customer.AddressBook.md +158 -0
  168. package/data/script-api/dw.customer.AgentUserMgr.md +94 -0
  169. package/data/script-api/dw.customer.AgentUserStatusCodes.md +164 -0
  170. package/data/script-api/dw.customer.AuthenticationStatus.md +157 -0
  171. package/data/script-api/dw.customer.Credentials.md +524 -0
  172. package/data/script-api/dw.customer.Customer.md +488 -0
  173. package/data/script-api/dw.customer.CustomerActiveData.md +563 -0
  174. package/data/script-api/dw.customer.CustomerAddress.md +666 -0
  175. package/data/script-api/dw.customer.CustomerCDPData.md +70 -0
  176. package/data/script-api/dw.customer.CustomerContextMgr.md +62 -0
  177. package/data/script-api/dw.customer.CustomerGroup.md +146 -0
  178. package/data/script-api/dw.customer.CustomerList.md +76 -0
  179. package/data/script-api/dw.customer.CustomerMgr.md +1046 -0
  180. package/data/script-api/dw.customer.CustomerPasswordConstraints.md +125 -0
  181. package/data/script-api/dw.customer.CustomerPaymentInstrument.md +161 -0
  182. package/data/script-api/dw.customer.CustomerStatusCodes.md +55 -0
  183. package/data/script-api/dw.customer.EncryptedObject.md +34 -0
  184. package/data/script-api/dw.customer.ExternalProfile.md +154 -0
  185. package/data/script-api/dw.customer.OrderHistory.md +167 -0
  186. package/data/script-api/dw.customer.ProductList.md +870 -0
  187. package/data/script-api/dw.customer.ProductListItem.md +469 -0
  188. package/data/script-api/dw.customer.ProductListItemPurchase.md +139 -0
  189. package/data/script-api/dw.customer.ProductListMgr.md +350 -0
  190. package/data/script-api/dw.customer.ProductListRegistrant.md +165 -0
  191. package/data/script-api/dw.customer.Profile.md +895 -0
  192. package/data/script-api/dw.customer.Wallet.md +136 -0
  193. package/data/script-api/dw.customer.md +31 -0
  194. package/data/script-api/dw.customer.oauth.OAuthAccessTokenResponse.md +171 -0
  195. package/data/script-api/dw.customer.oauth.OAuthFinalizedResponse.md +75 -0
  196. package/data/script-api/dw.customer.oauth.OAuthLoginFlowMgr.md +165 -0
  197. package/data/script-api/dw.customer.oauth.OAuthUserInfoResponse.md +84 -0
  198. package/data/script-api/dw.customer.oauth.md +9 -0
  199. package/data/script-api/dw.customer.shoppercontext.ShopperContext.md +369 -0
  200. package/data/script-api/dw.customer.shoppercontext.ShopperContextErrorCodes.md +111 -0
  201. package/data/script-api/dw.customer.shoppercontext.ShopperContextException.md +77 -0
  202. package/data/script-api/dw.customer.shoppercontext.ShopperContextMgr.md +209 -0
  203. package/data/script-api/dw.customer.shoppercontext.md +9 -0
  204. package/data/script-api/dw.experience.AspectAttributeValidationException.md +25 -0
  205. package/data/script-api/dw.experience.Component.md +166 -0
  206. package/data/script-api/dw.experience.ComponentRenderSettings.md +130 -0
  207. package/data/script-api/dw.experience.ComponentScriptContext.md +148 -0
  208. package/data/script-api/dw.experience.CustomEditor.md +146 -0
  209. package/data/script-api/dw.experience.CustomEditorResources.md +100 -0
  210. package/data/script-api/dw.experience.Page.md +467 -0
  211. package/data/script-api/dw.experience.PageMgr.md +549 -0
  212. package/data/script-api/dw.experience.PageScriptContext.md +200 -0
  213. package/data/script-api/dw.experience.Region.md +119 -0
  214. package/data/script-api/dw.experience.RegionRenderSettings.md +207 -0
  215. package/data/script-api/dw.experience.cms.CMSRecord.md +125 -0
  216. package/data/script-api/dw.experience.cms.md +6 -0
  217. package/data/script-api/dw.experience.image.FocalPoint.md +71 -0
  218. package/data/script-api/dw.experience.image.Image.md +101 -0
  219. package/data/script-api/dw.experience.image.ImageMetaData.md +71 -0
  220. package/data/script-api/dw.experience.image.md +8 -0
  221. package/data/script-api/dw.experience.md +16 -0
  222. package/data/script-api/dw.extensions.applepay.ApplePayHookResult.md +254 -0
  223. package/data/script-api/dw.extensions.applepay.ApplePayHooks.md +572 -0
  224. package/data/script-api/dw.extensions.applepay.md +7 -0
  225. package/data/script-api/dw.extensions.facebook.FacebookFeedHooks.md +102 -0
  226. package/data/script-api/dw.extensions.facebook.FacebookProduct.md +1343 -0
  227. package/data/script-api/dw.extensions.facebook.md +7 -0
  228. package/data/script-api/dw.extensions.paymentapi.PaymentApiHooks.md +136 -0
  229. package/data/script-api/dw.extensions.paymentapi.md +6 -0
  230. package/data/script-api/dw.extensions.paymentrequest.PaymentRequestHookResult.md +149 -0
  231. package/data/script-api/dw.extensions.paymentrequest.PaymentRequestHooks.md +356 -0
  232. package/data/script-api/dw.extensions.paymentrequest.md +7 -0
  233. package/data/script-api/dw.extensions.payments.SalesforceAdyenPaymentIntent.md +134 -0
  234. package/data/script-api/dw.extensions.payments.SalesforceAdyenSavedPaymentMethod.md +283 -0
  235. package/data/script-api/dw.extensions.payments.SalesforceBancontactPaymentDetails.md +88 -0
  236. package/data/script-api/dw.extensions.payments.SalesforceCardPaymentDetails.md +107 -0
  237. package/data/script-api/dw.extensions.payments.SalesforceEpsPaymentDetails.md +63 -0
  238. package/data/script-api/dw.extensions.payments.SalesforceIdealPaymentDetails.md +63 -0
  239. package/data/script-api/dw.extensions.payments.SalesforceKlarnaPaymentDetails.md +63 -0
  240. package/data/script-api/dw.extensions.payments.SalesforcePayPalOrder.md +263 -0
  241. package/data/script-api/dw.extensions.payments.SalesforcePayPalOrderAddress.md +171 -0
  242. package/data/script-api/dw.extensions.payments.SalesforcePayPalOrderPayer.md +110 -0
  243. package/data/script-api/dw.extensions.payments.SalesforcePayPalPaymentDetails.md +88 -0
  244. package/data/script-api/dw.extensions.payments.SalesforcePaymentDetails.md +83 -0
  245. package/data/script-api/dw.extensions.payments.SalesforcePaymentIntent.md +273 -0
  246. package/data/script-api/dw.extensions.payments.SalesforcePaymentMethod.md +368 -0
  247. package/data/script-api/dw.extensions.payments.SalesforcePaymentRequest.md +1077 -0
  248. package/data/script-api/dw.extensions.payments.SalesforcePaymentsHooks.md +166 -0
  249. package/data/script-api/dw.extensions.payments.SalesforcePaymentsMerchantAccount.md +151 -0
  250. package/data/script-api/dw.extensions.payments.SalesforcePaymentsMerchantAccountPaymentMethod.md +98 -0
  251. package/data/script-api/dw.extensions.payments.SalesforcePaymentsMgr.md +941 -0
  252. package/data/script-api/dw.extensions.payments.SalesforcePaymentsSiteConfiguration.md +126 -0
  253. package/data/script-api/dw.extensions.payments.SalesforcePaymentsZone.md +393 -0
  254. package/data/script-api/dw.extensions.payments.SalesforceSepaDebitPaymentDetails.md +63 -0
  255. package/data/script-api/dw.extensions.payments.SalesforceVenmoPaymentDetails.md +88 -0
  256. package/data/script-api/dw.extensions.payments.md +28 -0
  257. package/data/script-api/dw.extensions.pinterest.PinterestAvailability.md +85 -0
  258. package/data/script-api/dw.extensions.pinterest.PinterestFeedHooks.md +118 -0
  259. package/data/script-api/dw.extensions.pinterest.PinterestOrder.md +263 -0
  260. package/data/script-api/dw.extensions.pinterest.PinterestOrderHooks.md +89 -0
  261. package/data/script-api/dw.extensions.pinterest.PinterestProduct.md +677 -0
  262. package/data/script-api/dw.extensions.pinterest.md +10 -0
  263. package/data/script-api/dw.io.CSVStreamReader.md +128 -0
  264. package/data/script-api/dw.io.CSVStreamWriter.md +92 -0
  265. package/data/script-api/dw.io.File.md +729 -0
  266. package/data/script-api/dw.io.FileReader.md +70 -0
  267. package/data/script-api/dw.io.FileWriter.md +159 -0
  268. package/data/script-api/dw.io.InputStream.md +35 -0
  269. package/data/script-api/dw.io.OutputStream.md +38 -0
  270. package/data/script-api/dw.io.PrintWriter.md +66 -0
  271. package/data/script-api/dw.io.RandomAccessFileReader.md +183 -0
  272. package/data/script-api/dw.io.Reader.md +284 -0
  273. package/data/script-api/dw.io.StringWriter.md +89 -0
  274. package/data/script-api/dw.io.Writer.md +96 -0
  275. package/data/script-api/dw.io.XMLIndentingStreamWriter.md +121 -0
  276. package/data/script-api/dw.io.XMLStreamConstants.md +172 -0
  277. package/data/script-api/dw.io.XMLStreamReader.md +1181 -0
  278. package/data/script-api/dw.io.XMLStreamWriter.md +478 -0
  279. package/data/script-api/dw.io.md +21 -0
  280. package/data/script-api/dw.job.JobExecution.md +111 -0
  281. package/data/script-api/dw.job.JobStepExecution.md +136 -0
  282. package/data/script-api/dw.job.md +7 -0
  283. package/data/script-api/dw.net.FTPClient.md +621 -0
  284. package/data/script-api/dw.net.FTPFileInfo.md +132 -0
  285. package/data/script-api/dw.net.HTTPClient.md +775 -0
  286. package/data/script-api/dw.net.HTTPClientLoggingConfig.md +363 -0
  287. package/data/script-api/dw.net.HTTPRequestPart.md +296 -0
  288. package/data/script-api/dw.net.Mail.md +487 -0
  289. package/data/script-api/dw.net.SFTPClient.md +535 -0
  290. package/data/script-api/dw.net.SFTPFileInfo.md +128 -0
  291. package/data/script-api/dw.net.WebDAVClient.md +762 -0
  292. package/data/script-api/dw.net.WebDAVFileInfo.md +163 -0
  293. package/data/script-api/dw.net.md +15 -0
  294. package/data/script-api/dw.object.ActiveData.md +86 -0
  295. package/data/script-api/dw.object.CustomAttributes.md +122 -0
  296. package/data/script-api/dw.object.CustomObject.md +82 -0
  297. package/data/script-api/dw.object.CustomObjectMgr.md +478 -0
  298. package/data/script-api/dw.object.Extensible.md +71 -0
  299. package/data/script-api/dw.object.ExtensibleObject.md +85 -0
  300. package/data/script-api/dw.object.Note.md +118 -0
  301. package/data/script-api/dw.object.ObjectAttributeDefinition.md +542 -0
  302. package/data/script-api/dw.object.ObjectAttributeGroup.md +160 -0
  303. package/data/script-api/dw.object.ObjectAttributeValueDefinition.md +78 -0
  304. package/data/script-api/dw.object.ObjectTypeDefinition.md +239 -0
  305. package/data/script-api/dw.object.PersistentObject.md +92 -0
  306. package/data/script-api/dw.object.SimpleExtensible.md +53 -0
  307. package/data/script-api/dw.object.SystemObjectMgr.md +520 -0
  308. package/data/script-api/dw.object.md +19 -0
  309. package/data/script-api/dw.order.AbstractItem.md +220 -0
  310. package/data/script-api/dw.order.AbstractItemCtnr.md +219 -0
  311. package/data/script-api/dw.order.Appeasement.md +398 -0
  312. package/data/script-api/dw.order.AppeasementItem.md +104 -0
  313. package/data/script-api/dw.order.Basket.md +867 -0
  314. package/data/script-api/dw.order.BasketMgr.md +673 -0
  315. package/data/script-api/dw.order.BonusDiscountLineItem.md +309 -0
  316. package/data/script-api/dw.order.CouponLineItem.md +289 -0
  317. package/data/script-api/dw.order.CreateAgentBasketLimitExceededException.md +35 -0
  318. package/data/script-api/dw.order.CreateBasketFromOrderException.md +54 -0
  319. package/data/script-api/dw.order.CreateCouponLineItemException.md +67 -0
  320. package/data/script-api/dw.order.CreateOrderException.md +23 -0
  321. package/data/script-api/dw.order.CreateTemporaryBasketLimitExceededException.md +35 -0
  322. package/data/script-api/dw.order.GiftCertificate.md +530 -0
  323. package/data/script-api/dw.order.GiftCertificateLineItem.md +292 -0
  324. package/data/script-api/dw.order.GiftCertificateMgr.md +228 -0
  325. package/data/script-api/dw.order.GiftCertificateStatusCodes.md +108 -0
  326. package/data/script-api/dw.order.Invoice.md +571 -0
  327. package/data/script-api/dw.order.InvoiceItem.md +199 -0
  328. package/data/script-api/dw.order.LineItem.md +489 -0
  329. package/data/script-api/dw.order.LineItemCtnr.md +2399 -0
  330. package/data/script-api/dw.order.Order.md +2770 -0
  331. package/data/script-api/dw.order.OrderAddress.md +624 -0
  332. package/data/script-api/dw.order.OrderItem.md +613 -0
  333. package/data/script-api/dw.order.OrderMgr.md +1494 -0
  334. package/data/script-api/dw.order.OrderPaymentInstrument.md +231 -0
  335. package/data/script-api/dw.order.OrderProcessStatusCodes.md +146 -0
  336. package/data/script-api/dw.order.PaymentCard.md +220 -0
  337. package/data/script-api/dw.order.PaymentInstrument.md +1416 -0
  338. package/data/script-api/dw.order.PaymentMethod.md +257 -0
  339. package/data/script-api/dw.order.PaymentMgr.md +138 -0
  340. package/data/script-api/dw.order.PaymentProcessor.md +106 -0
  341. package/data/script-api/dw.order.PaymentStatusCodes.md +70 -0
  342. package/data/script-api/dw.order.PaymentTransaction.md +291 -0
  343. package/data/script-api/dw.order.PriceAdjustment.md +745 -0
  344. package/data/script-api/dw.order.PriceAdjustmentLimitTypes.md +61 -0
  345. package/data/script-api/dw.order.ProductLineItem.md +1749 -0
  346. package/data/script-api/dw.order.ProductShippingCost.md +101 -0
  347. package/data/script-api/dw.order.ProductShippingLineItem.md +336 -0
  348. package/data/script-api/dw.order.ProductShippingModel.md +143 -0
  349. package/data/script-api/dw.order.Return.md +396 -0
  350. package/data/script-api/dw.order.ReturnCase.md +463 -0
  351. package/data/script-api/dw.order.ReturnCaseItem.md +372 -0
  352. package/data/script-api/dw.order.ReturnItem.md +335 -0
  353. package/data/script-api/dw.order.Shipment.md +1124 -0
  354. package/data/script-api/dw.order.ShipmentShippingCost.md +54 -0
  355. package/data/script-api/dw.order.ShipmentShippingModel.md +203 -0
  356. package/data/script-api/dw.order.ShippingLineItem.md +315 -0
  357. package/data/script-api/dw.order.ShippingLocation.md +313 -0
  358. package/data/script-api/dw.order.ShippingMethod.md +251 -0
  359. package/data/script-api/dw.order.ShippingMgr.md +173 -0
  360. package/data/script-api/dw.order.ShippingOrder.md +630 -0
  361. package/data/script-api/dw.order.ShippingOrderItem.md +425 -0
  362. package/data/script-api/dw.order.SumItem.md +158 -0
  363. package/data/script-api/dw.order.TaxGroup.md +128 -0
  364. package/data/script-api/dw.order.TaxItem.md +74 -0
  365. package/data/script-api/dw.order.TaxMgr.md +260 -0
  366. package/data/script-api/dw.order.TrackingInfo.md +261 -0
  367. package/data/script-api/dw.order.TrackingRef.md +108 -0
  368. package/data/script-api/dw.order.hooks.BasketMergeHooks.md +87 -0
  369. package/data/script-api/dw.order.hooks.CalculateHooks.md +139 -0
  370. package/data/script-api/dw.order.hooks.CheckoutHooks.md +88 -0
  371. package/data/script-api/dw.order.hooks.OrderHooks.md +96 -0
  372. package/data/script-api/dw.order.hooks.PaymentHooks.md +325 -0
  373. package/data/script-api/dw.order.hooks.ReturnHooks.md +395 -0
  374. package/data/script-api/dw.order.hooks.ShippingOrderHooks.md +426 -0
  375. package/data/script-api/dw.order.hooks.md +12 -0
  376. package/data/script-api/dw.order.md +64 -0
  377. package/data/script-api/dw.rpc.SOAPUtil.md +736 -0
  378. package/data/script-api/dw.rpc.Stub.md +373 -0
  379. package/data/script-api/dw.rpc.WebReference.md +133 -0
  380. package/data/script-api/dw.rpc.md +8 -0
  381. package/data/script-api/dw.sitemap.SitemapFile.md +137 -0
  382. package/data/script-api/dw.sitemap.SitemapMgr.md +142 -0
  383. package/data/script-api/dw.sitemap.md +7 -0
  384. package/data/script-api/dw.suggest.BrandSuggestions.md +34 -0
  385. package/data/script-api/dw.suggest.CategorySuggestions.md +76 -0
  386. package/data/script-api/dw.suggest.ContentSuggestions.md +76 -0
  387. package/data/script-api/dw.suggest.CustomSuggestions.md +34 -0
  388. package/data/script-api/dw.suggest.ProductSuggestions.md +76 -0
  389. package/data/script-api/dw.suggest.SearchPhraseSuggestions.md +126 -0
  390. package/data/script-api/dw.suggest.SuggestModel.md +471 -0
  391. package/data/script-api/dw.suggest.SuggestedCategory.md +51 -0
  392. package/data/script-api/dw.suggest.SuggestedContent.md +51 -0
  393. package/data/script-api/dw.suggest.SuggestedPhrase.md +70 -0
  394. package/data/script-api/dw.suggest.SuggestedProduct.md +55 -0
  395. package/data/script-api/dw.suggest.SuggestedTerm.md +143 -0
  396. package/data/script-api/dw.suggest.SuggestedTerms.md +144 -0
  397. package/data/script-api/dw.suggest.Suggestions.md +206 -0
  398. package/data/script-api/dw.suggest.md +19 -0
  399. package/data/script-api/dw.svc.FTPService.md +140 -0
  400. package/data/script-api/dw.svc.FTPServiceDefinition.md +97 -0
  401. package/data/script-api/dw.svc.HTTPFormService.md +32 -0
  402. package/data/script-api/dw.svc.HTTPFormServiceDefinition.md +36 -0
  403. package/data/script-api/dw.svc.HTTPService.md +370 -0
  404. package/data/script-api/dw.svc.HTTPServiceDefinition.md +290 -0
  405. package/data/script-api/dw.svc.LocalServiceRegistry.md +63 -0
  406. package/data/script-api/dw.svc.Result.md +320 -0
  407. package/data/script-api/dw.svc.SOAPService.md +104 -0
  408. package/data/script-api/dw.svc.SOAPServiceDefinition.md +32 -0
  409. package/data/script-api/dw.svc.Service.md +276 -0
  410. package/data/script-api/dw.svc.ServiceCallback.md +282 -0
  411. package/data/script-api/dw.svc.ServiceConfig.md +114 -0
  412. package/data/script-api/dw.svc.ServiceCredential.md +162 -0
  413. package/data/script-api/dw.svc.ServiceDefinition.md +211 -0
  414. package/data/script-api/dw.svc.ServiceProfile.md +152 -0
  415. package/data/script-api/dw.svc.ServiceRegistry.md +118 -0
  416. package/data/script-api/dw.svc.md +22 -0
  417. package/data/script-api/dw.system.AgentUserStatusCodes.md +41 -0
  418. package/data/script-api/dw.system.Cache.md +126 -0
  419. package/data/script-api/dw.system.CacheMgr.md +70 -0
  420. package/data/script-api/dw.system.HookMgr.md +78 -0
  421. package/data/script-api/dw.system.InternalObject.md +47 -0
  422. package/data/script-api/dw.system.JobProcessMonitor.md +103 -0
  423. package/data/script-api/dw.system.Log.md +198 -0
  424. package/data/script-api/dw.system.LogNDC.md +75 -0
  425. package/data/script-api/dw.system.Logger.md +216 -0
  426. package/data/script-api/dw.system.OrganizationPreferences.md +53 -0
  427. package/data/script-api/dw.system.Pipeline.md +94 -0
  428. package/data/script-api/dw.system.PipelineDictionary.md +42 -0
  429. package/data/script-api/dw.system.RESTErrorResponse.md +102 -0
  430. package/data/script-api/dw.system.RESTResponseMgr.md +243 -0
  431. package/data/script-api/dw.system.RESTSuccessResponse.md +62 -0
  432. package/data/script-api/dw.system.RemoteInclude.md +146 -0
  433. package/data/script-api/dw.system.Request.md +781 -0
  434. package/data/script-api/dw.system.RequestHooks.md +112 -0
  435. package/data/script-api/dw.system.Response.md +612 -0
  436. package/data/script-api/dw.system.SearchStatus.md +187 -0
  437. package/data/script-api/dw.system.Session.md +469 -0
  438. package/data/script-api/dw.system.Site.md +570 -0
  439. package/data/script-api/dw.system.SitePreferences.md +90 -0
  440. package/data/script-api/dw.system.Status.md +330 -0
  441. package/data/script-api/dw.system.StatusItem.md +273 -0
  442. package/data/script-api/dw.system.System.md +224 -0
  443. package/data/script-api/dw.system.Transaction.md +107 -0
  444. package/data/script-api/dw.system.md +32 -0
  445. package/data/script-api/dw.template.ISML.md +127 -0
  446. package/data/script-api/dw.template.Velocity.md +168 -0
  447. package/data/script-api/dw.template.md +7 -0
  448. package/data/script-api/dw.util.ArrayList.md +99 -0
  449. package/data/script-api/dw.util.Assert.md +341 -0
  450. package/data/script-api/dw.util.BigInteger.md +283 -0
  451. package/data/script-api/dw.util.Bytes.md +278 -0
  452. package/data/script-api/dw.util.Calendar.md +1051 -0
  453. package/data/script-api/dw.util.Collection.md +272 -0
  454. package/data/script-api/dw.util.Currency.md +147 -0
  455. package/data/script-api/dw.util.DateUtils.md +82 -0
  456. package/data/script-api/dw.util.Decimal.md +386 -0
  457. package/data/script-api/dw.util.FilteringCollection.md +140 -0
  458. package/data/script-api/dw.util.Geolocation.md +293 -0
  459. package/data/script-api/dw.util.HashMap.md +50 -0
  460. package/data/script-api/dw.util.HashSet.md +65 -0
  461. package/data/script-api/dw.util.Iterator.md +86 -0
  462. package/data/script-api/dw.util.LinkedHashMap.md +52 -0
  463. package/data/script-api/dw.util.LinkedHashSet.md +68 -0
  464. package/data/script-api/dw.util.List.md +429 -0
  465. package/data/script-api/dw.util.Locale.md +274 -0
  466. package/data/script-api/dw.util.Map.md +251 -0
  467. package/data/script-api/dw.util.MapEntry.md +68 -0
  468. package/data/script-api/dw.util.MappingKey.md +96 -0
  469. package/data/script-api/dw.util.MappingMgr.md +113 -0
  470. package/data/script-api/dw.util.PropertyComparator.md +122 -0
  471. package/data/script-api/dw.util.SecureEncoder.md +582 -0
  472. package/data/script-api/dw.util.SecureFilter.md +572 -0
  473. package/data/script-api/dw.util.SeekableIterator.md +187 -0
  474. package/data/script-api/dw.util.Set.md +39 -0
  475. package/data/script-api/dw.util.SortedMap.md +148 -0
  476. package/data/script-api/dw.util.SortedSet.md +173 -0
  477. package/data/script-api/dw.util.StringUtils.md +655 -0
  478. package/data/script-api/dw.util.Template.md +141 -0
  479. package/data/script-api/dw.util.UUIDUtils.md +34 -0
  480. package/data/script-api/dw.util.md +37 -0
  481. package/data/script-api/dw.value.EnumValue.md +105 -0
  482. package/data/script-api/dw.value.MimeEncodedText.md +131 -0
  483. package/data/script-api/dw.value.Money.md +526 -0
  484. package/data/script-api/dw.value.Quantity.md +299 -0
  485. package/data/script-api/dw.value.md +9 -0
  486. package/data/script-api/dw.web.CSRFProtection.md +105 -0
  487. package/data/script-api/dw.web.ClickStream.md +177 -0
  488. package/data/script-api/dw.web.ClickStreamEntry.md +255 -0
  489. package/data/script-api/dw.web.Cookie.md +360 -0
  490. package/data/script-api/dw.web.Cookies.md +59 -0
  491. package/data/script-api/dw.web.Form.md +84 -0
  492. package/data/script-api/dw.web.FormAction.md +195 -0
  493. package/data/script-api/dw.web.FormElement.md +211 -0
  494. package/data/script-api/dw.web.FormElementValidationResult.md +170 -0
  495. package/data/script-api/dw.web.FormField.md +642 -0
  496. package/data/script-api/dw.web.FormFieldOption.md +211 -0
  497. package/data/script-api/dw.web.FormFieldOptions.md +49 -0
  498. package/data/script-api/dw.web.FormGroup.md +222 -0
  499. package/data/script-api/dw.web.FormList.md +134 -0
  500. package/data/script-api/dw.web.FormListItem.md +57 -0
  501. package/data/script-api/dw.web.Forms.md +25 -0
  502. package/data/script-api/dw.web.HttpParameter.md +462 -0
  503. package/data/script-api/dw.web.HttpParameterMap.md +194 -0
  504. package/data/script-api/dw.web.LoopIterator.md +231 -0
  505. package/data/script-api/dw.web.PageMetaData.md +197 -0
  506. package/data/script-api/dw.web.PageMetaTag.md +149 -0
  507. package/data/script-api/dw.web.PagingModel.md +407 -0
  508. package/data/script-api/dw.web.Resource.md +147 -0
  509. package/data/script-api/dw.web.URL.md +174 -0
  510. package/data/script-api/dw.web.URLAction.md +95 -0
  511. package/data/script-api/dw.web.URLParameter.md +52 -0
  512. package/data/script-api/dw.web.URLRedirect.md +72 -0
  513. package/data/script-api/dw.web.URLRedirectMgr.md +86 -0
  514. package/data/script-api/dw.web.URLUtils.md +1357 -0
  515. package/data/script-api/dw.web.md +34 -0
  516. package/data/script-api/dw.ws.Port.md +126 -0
  517. package/data/script-api/dw.ws.WSUtil.md +728 -0
  518. package/data/script-api/dw.ws.WebReference2.md +137 -0
  519. package/data/script-api/dw.ws.md +8 -0
  520. package/data/script-api/index.json +3085 -0
  521. package/data/script-api/index.md +39 -0
  522. package/data/xsd/abtest.xsd +347 -0
  523. package/data/xsd/abtestparticipants.xsd +58 -0
  524. package/data/xsd/assignment.xsd +158 -0
  525. package/data/xsd/bmext.xsd +262 -0
  526. package/data/xsd/cachesettings.xsd +75 -0
  527. package/data/xsd/catalog.xsd +1363 -0
  528. package/data/xsd/coupon.xsd +206 -0
  529. package/data/xsd/couponredemption.xsd +58 -0
  530. package/data/xsd/csrfwhitelists.xsd +81 -0
  531. package/data/xsd/customer.xsd +411 -0
  532. package/data/xsd/customeractivedata.xsd +75 -0
  533. package/data/xsd/customercdnsettings.xsd +36 -0
  534. package/data/xsd/customergroup.xsd +276 -0
  535. package/data/xsd/customerlist.xsd +72 -0
  536. package/data/xsd/customerlist2.xsd +52 -0
  537. package/data/xsd/customerpaymentinstrument.xsd +189 -0
  538. package/data/xsd/customobject.xsd +68 -0
  539. package/data/xsd/dcext.xsd +391 -0
  540. package/data/xsd/feed.xsd +76 -0
  541. package/data/xsd/form.xsd +262 -0
  542. package/data/xsd/geolocation.xsd +68 -0
  543. package/data/xsd/giftcertificate.xsd +186 -0
  544. package/data/xsd/index.json +222 -0
  545. package/data/xsd/inventory.xsd +174 -0
  546. package/data/xsd/jobs.xsd +408 -0
  547. package/data/xsd/library.xsd +547 -0
  548. package/data/xsd/locales.xsd +172 -0
  549. package/data/xsd/metadata.xsd +315 -0
  550. package/data/xsd/oauth.xsd +60 -0
  551. package/data/xsd/order.xsd +1253 -0
  552. package/data/xsd/pagemetatag.xsd +110 -0
  553. package/data/xsd/paymentmethod.xsd +216 -0
  554. package/data/xsd/paymentprocessor.xsd +86 -0
  555. package/data/xsd/preferences.xsd +74 -0
  556. package/data/xsd/priceadjustmentlimits.xsd +74 -0
  557. package/data/xsd/pricebook.xsd +166 -0
  558. package/data/xsd/productlist.xsd +246 -0
  559. package/data/xsd/promotion.xsd +1019 -0
  560. package/data/xsd/redirecturl.xsd +120 -0
  561. package/data/xsd/returnimportfeed.xsd +82 -0
  562. package/data/xsd/schedules.xsd +246 -0
  563. package/data/xsd/search.xsd +333 -0
  564. package/data/xsd/search2.xsd +439 -0
  565. package/data/xsd/services.xsd +139 -0
  566. package/data/xsd/shipping.xsd +487 -0
  567. package/data/xsd/shippingorderupdatefeed.xsd +125 -0
  568. package/data/xsd/site.xsd +89 -0
  569. package/data/xsd/sitemapconfiguration.xsd +230 -0
  570. package/data/xsd/slot.xsd +292 -0
  571. package/data/xsd/sort.xsd +298 -0
  572. package/data/xsd/sourcecode.xsd +188 -0
  573. package/data/xsd/store.xsd +194 -0
  574. package/data/xsd/tax.xsd +112 -0
  575. package/data/xsd/urlrules.xsd +273 -0
  576. package/data/xsd/xml.xsd +54 -0
  577. package/dist/cjs/auth/api-key.d.ts +28 -0
  578. package/dist/cjs/auth/api-key.js +44 -0
  579. package/dist/cjs/auth/api-key.js.map +1 -0
  580. package/dist/cjs/auth/basic.d.ts +7 -0
  581. package/dist/cjs/auth/basic.js +18 -0
  582. package/dist/cjs/auth/basic.js.map +1 -0
  583. package/dist/cjs/auth/index.d.ts +65 -0
  584. package/dist/cjs/auth/index.js +69 -0
  585. package/dist/cjs/auth/index.js.map +1 -0
  586. package/dist/cjs/auth/oauth-implicit.d.ts +74 -0
  587. package/dist/cjs/auth/oauth-implicit.js +330 -0
  588. package/dist/cjs/auth/oauth-implicit.js.map +1 -0
  589. package/dist/cjs/auth/oauth.d.ts +48 -0
  590. package/dist/cjs/auth/oauth.js +178 -0
  591. package/dist/cjs/auth/oauth.js.map +1 -0
  592. package/dist/cjs/auth/resolve.d.ts +100 -0
  593. package/dist/cjs/auth/resolve.js +173 -0
  594. package/dist/cjs/auth/resolve.js.map +1 -0
  595. package/dist/cjs/auth/types.d.ts +101 -0
  596. package/dist/cjs/auth/types.js +3 -0
  597. package/dist/cjs/auth/types.js.map +1 -0
  598. package/dist/cjs/cli/base-command.d.ts +98 -0
  599. package/dist/cjs/cli/base-command.js +331 -0
  600. package/dist/cjs/cli/base-command.js.map +1 -0
  601. package/dist/cjs/cli/cartridge-command.d.ts +65 -0
  602. package/dist/cjs/cli/cartridge-command.js +142 -0
  603. package/dist/cjs/cli/cartridge-command.js.map +1 -0
  604. package/dist/cjs/cli/cartridge-providers.d.ts +149 -0
  605. package/dist/cjs/cli/cartridge-providers.js +103 -0
  606. package/dist/cjs/cli/cartridge-providers.js.map +1 -0
  607. package/dist/cjs/cli/config.d.ts +75 -0
  608. package/dist/cjs/cli/config.js +65 -0
  609. package/dist/cjs/cli/config.js.map +1 -0
  610. package/dist/cjs/cli/hooks.d.ts +231 -0
  611. package/dist/cjs/cli/hooks.js +3 -0
  612. package/dist/cjs/cli/hooks.js.map +1 -0
  613. package/dist/cjs/cli/index.d.ts +103 -0
  614. package/dist/cjs/cli/index.js +106 -0
  615. package/dist/cjs/cli/index.js.map +1 -0
  616. package/dist/cjs/cli/instance-command.d.ts +121 -0
  617. package/dist/cjs/cli/instance-command.js +213 -0
  618. package/dist/cjs/cli/instance-command.js.map +1 -0
  619. package/dist/cjs/cli/job-command.d.ts +32 -0
  620. package/dist/cjs/cli/job-command.js +60 -0
  621. package/dist/cjs/cli/job-command.js.map +1 -0
  622. package/dist/cjs/cli/lifecycle.d.ts +189 -0
  623. package/dist/cjs/cli/lifecycle.js +130 -0
  624. package/dist/cjs/cli/lifecycle.js.map +1 -0
  625. package/dist/cjs/cli/mrt-command.d.ts +61 -0
  626. package/dist/cjs/cli/mrt-command.js +113 -0
  627. package/dist/cjs/cli/mrt-command.js.map +1 -0
  628. package/dist/cjs/cli/oauth-command.d.ts +70 -0
  629. package/dist/cjs/cli/oauth-command.js +173 -0
  630. package/dist/cjs/cli/oauth-command.js.map +1 -0
  631. package/dist/cjs/cli/ods-command.d.ts +70 -0
  632. package/dist/cjs/cli/ods-command.js +79 -0
  633. package/dist/cjs/cli/ods-command.js.map +1 -0
  634. package/dist/cjs/cli/table.d.ts +113 -0
  635. package/dist/cjs/cli/table.js +175 -0
  636. package/dist/cjs/cli/table.js.map +1 -0
  637. package/dist/cjs/cli/webdav-command.d.ts +100 -0
  638. package/dist/cjs/cli/webdav-command.js +106 -0
  639. package/dist/cjs/cli/webdav-command.js.map +1 -0
  640. package/dist/cjs/clients/custom-apis.d.ts +137 -0
  641. package/dist/cjs/clients/custom-apis.generated.d.ts +202 -0
  642. package/dist/cjs/clients/custom-apis.generated.js +6 -0
  643. package/dist/cjs/clients/custom-apis.generated.js.map +1 -0
  644. package/dist/cjs/clients/custom-apis.js +124 -0
  645. package/dist/cjs/clients/custom-apis.js.map +1 -0
  646. package/dist/cjs/clients/index.d.ts +127 -0
  647. package/dist/cjs/clients/index.js +125 -0
  648. package/dist/cjs/clients/index.js.map +1 -0
  649. package/dist/cjs/clients/middleware-registry.d.ts +184 -0
  650. package/dist/cjs/clients/middleware-registry.js +104 -0
  651. package/dist/cjs/clients/middleware-registry.js.map +1 -0
  652. package/dist/cjs/clients/middleware.d.ts +85 -0
  653. package/dist/cjs/clients/middleware.js +210 -0
  654. package/dist/cjs/clients/middleware.js.map +1 -0
  655. package/dist/cjs/clients/mrt.d.ts +120 -0
  656. package/dist/cjs/clients/mrt.generated.d.ts +2774 -0
  657. package/dist/cjs/clients/mrt.generated.js +6 -0
  658. package/dist/cjs/clients/mrt.generated.js.map +1 -0
  659. package/dist/cjs/clients/mrt.js +88 -0
  660. package/dist/cjs/clients/mrt.js.map +1 -0
  661. package/dist/cjs/clients/ocapi.d.ts +108 -0
  662. package/dist/cjs/clients/ocapi.generated.d.ts +26052 -0
  663. package/dist/cjs/clients/ocapi.generated.js +6 -0
  664. package/dist/cjs/clients/ocapi.generated.js.map +1 -0
  665. package/dist/cjs/clients/ocapi.js +80 -0
  666. package/dist/cjs/clients/ocapi.js.map +1 -0
  667. package/dist/cjs/clients/ods.d.ts +133 -0
  668. package/dist/cjs/clients/ods.generated.d.ts +2548 -0
  669. package/dist/cjs/clients/ods.generated.js +6 -0
  670. package/dist/cjs/clients/ods.generated.js.map +1 -0
  671. package/dist/cjs/clients/ods.js +103 -0
  672. package/dist/cjs/clients/ods.js.map +1 -0
  673. package/dist/cjs/clients/slas-admin.d.ts +104 -0
  674. package/dist/cjs/clients/slas-admin.generated.d.ts +1434 -0
  675. package/dist/cjs/clients/slas-admin.generated.js +6 -0
  676. package/dist/cjs/clients/slas-admin.generated.js.map +1 -0
  677. package/dist/cjs/clients/slas-admin.js +79 -0
  678. package/dist/cjs/clients/slas-admin.js.map +1 -0
  679. package/dist/cjs/clients/webdav.d.ts +157 -0
  680. package/dist/cjs/clients/webdav.js +337 -0
  681. package/dist/cjs/clients/webdav.js.map +1 -0
  682. package/dist/cjs/config/dw-json.d.ts +114 -0
  683. package/dist/cjs/config/dw-json.js +142 -0
  684. package/dist/cjs/config/dw-json.js.map +1 -0
  685. package/dist/cjs/config/index.d.ts +96 -0
  686. package/dist/cjs/config/index.js +103 -0
  687. package/dist/cjs/config/index.js.map +1 -0
  688. package/dist/cjs/config/mapping.d.ts +143 -0
  689. package/dist/cjs/config/mapping.js +212 -0
  690. package/dist/cjs/config/mapping.js.map +1 -0
  691. package/dist/cjs/config/resolved-config.d.ts +31 -0
  692. package/dist/cjs/config/resolved-config.js +84 -0
  693. package/dist/cjs/config/resolved-config.js.map +1 -0
  694. package/dist/cjs/config/resolver.d.ts +190 -0
  695. package/dist/cjs/config/resolver.js +323 -0
  696. package/dist/cjs/config/resolver.js.map +1 -0
  697. package/dist/cjs/config/sources/dw-json-source.d.ts +10 -0
  698. package/dist/cjs/config/sources/dw-json-source.js +38 -0
  699. package/dist/cjs/config/sources/dw-json-source.js.map +1 -0
  700. package/dist/cjs/config/sources/index.d.ts +7 -0
  701. package/dist/cjs/config/sources/index.js +13 -0
  702. package/dist/cjs/config/sources/index.js.map +1 -0
  703. package/dist/cjs/config/sources/mobify-source.d.ts +24 -0
  704. package/dist/cjs/config/sources/mobify-source.js +79 -0
  705. package/dist/cjs/config/sources/mobify-source.js.map +1 -0
  706. package/dist/cjs/config/types.d.ts +270 -0
  707. package/dist/cjs/config/types.js +2 -0
  708. package/dist/cjs/config/types.js.map +1 -0
  709. package/dist/cjs/defaults.d.ts +22 -0
  710. package/dist/cjs/defaults.js +28 -0
  711. package/dist/cjs/defaults.js.map +1 -0
  712. package/dist/cjs/discovery/detector.d.ts +75 -0
  713. package/dist/cjs/discovery/detector.js +108 -0
  714. package/dist/cjs/discovery/detector.js.map +1 -0
  715. package/dist/cjs/discovery/index.d.ts +63 -0
  716. package/dist/cjs/discovery/index.js +70 -0
  717. package/dist/cjs/discovery/index.js.map +1 -0
  718. package/dist/cjs/discovery/patterns/cartridges.d.ts +16 -0
  719. package/dist/cjs/discovery/patterns/cartridges.js +16 -0
  720. package/dist/cjs/discovery/patterns/cartridges.js.map +1 -0
  721. package/dist/cjs/discovery/patterns/index.d.ts +21 -0
  722. package/dist/cjs/discovery/patterns/index.js +16 -0
  723. package/dist/cjs/discovery/patterns/index.js.map +1 -0
  724. package/dist/cjs/discovery/patterns/pwa-kit.d.ts +15 -0
  725. package/dist/cjs/discovery/patterns/pwa-kit.js +26 -0
  726. package/dist/cjs/discovery/patterns/pwa-kit.js.map +1 -0
  727. package/dist/cjs/discovery/patterns/sfra.d.ts +34 -0
  728. package/dist/cjs/discovery/patterns/sfra.js +50 -0
  729. package/dist/cjs/discovery/patterns/sfra.js.map +1 -0
  730. package/dist/cjs/discovery/patterns/storefront-next.d.ts +14 -0
  731. package/dist/cjs/discovery/patterns/storefront-next.js +20 -0
  732. package/dist/cjs/discovery/patterns/storefront-next.js.map +1 -0
  733. package/dist/cjs/discovery/types.d.ts +47 -0
  734. package/dist/cjs/discovery/types.js +12 -0
  735. package/dist/cjs/discovery/types.js.map +1 -0
  736. package/dist/cjs/discovery/utils.d.ts +44 -0
  737. package/dist/cjs/discovery/utils.js +82 -0
  738. package/dist/cjs/discovery/utils.js.map +1 -0
  739. package/dist/cjs/errors/http-error.d.ts +34 -0
  740. package/dist/cjs/errors/http-error.js +45 -0
  741. package/dist/cjs/errors/http-error.js.map +1 -0
  742. package/dist/cjs/errors/index.d.ts +6 -0
  743. package/dist/cjs/errors/index.js +12 -0
  744. package/dist/cjs/errors/index.js.map +1 -0
  745. package/dist/cjs/i18n/index.d.ts +144 -0
  746. package/dist/cjs/i18n/index.js +242 -0
  747. package/dist/cjs/i18n/index.js.map +1 -0
  748. package/dist/cjs/i18n/locales/de.d.ts +13 -0
  749. package/dist/cjs/i18n/locales/de.js +19 -0
  750. package/dist/cjs/i18n/locales/de.js.map +1 -0
  751. package/dist/cjs/i18n/locales/index.d.ts +28 -0
  752. package/dist/cjs/i18n/locales/index.js +25 -0
  753. package/dist/cjs/i18n/locales/index.js.map +1 -0
  754. package/dist/cjs/index.d.ts +25 -0
  755. package/dist/cjs/index.js +31 -0
  756. package/dist/cjs/index.js.map +1 -0
  757. package/dist/cjs/instance/index.d.ts +132 -0
  758. package/dist/cjs/instance/index.js +124 -0
  759. package/dist/cjs/instance/index.js.map +1 -0
  760. package/dist/cjs/logger.d.ts +66 -0
  761. package/dist/cjs/logger.js +80 -0
  762. package/dist/cjs/logger.js.map +1 -0
  763. package/dist/cjs/logging/index.d.ts +116 -0
  764. package/dist/cjs/logging/index.js +121 -0
  765. package/dist/cjs/logging/index.js.map +1 -0
  766. package/dist/cjs/logging/logger.d.ts +9 -0
  767. package/dist/cjs/logging/logger.js +111 -0
  768. package/dist/cjs/logging/logger.js.map +1 -0
  769. package/dist/cjs/logging/types.d.ts +36 -0
  770. package/dist/cjs/logging/types.js +10 -0
  771. package/dist/cjs/logging/types.js.map +1 -0
  772. package/dist/cjs/operations/code/cartridges.d.ts +46 -0
  773. package/dist/cjs/operations/code/cartridges.js +59 -0
  774. package/dist/cjs/operations/code/cartridges.js.map +1 -0
  775. package/dist/cjs/operations/code/deploy.d.ts +101 -0
  776. package/dist/cjs/operations/code/deploy.js +218 -0
  777. package/dist/cjs/operations/code/deploy.js.map +1 -0
  778. package/dist/cjs/operations/code/index.d.ts +66 -0
  779. package/dist/cjs/operations/code/index.js +72 -0
  780. package/dist/cjs/operations/code/index.js.map +1 -0
  781. package/dist/cjs/operations/code/versions.d.ts +99 -0
  782. package/dist/cjs/operations/code/versions.js +156 -0
  783. package/dist/cjs/operations/code/versions.js.map +1 -0
  784. package/dist/cjs/operations/code/watch.d.ts +58 -0
  785. package/dist/cjs/operations/code/watch.js +226 -0
  786. package/dist/cjs/operations/code/watch.js.map +1 -0
  787. package/dist/cjs/operations/docs/download.d.ts +45 -0
  788. package/dist/cjs/operations/docs/download.js +96 -0
  789. package/dist/cjs/operations/docs/download.js.map +1 -0
  790. package/dist/cjs/operations/docs/index.d.ts +44 -0
  791. package/dist/cjs/operations/docs/index.js +12 -0
  792. package/dist/cjs/operations/docs/index.js.map +1 -0
  793. package/dist/cjs/operations/docs/schema.d.ts +24 -0
  794. package/dist/cjs/operations/docs/schema.js +92 -0
  795. package/dist/cjs/operations/docs/schema.js.map +1 -0
  796. package/dist/cjs/operations/docs/search.d.ts +67 -0
  797. package/dist/cjs/operations/docs/search.js +128 -0
  798. package/dist/cjs/operations/docs/search.js.map +1 -0
  799. package/dist/cjs/operations/docs/types.d.ts +64 -0
  800. package/dist/cjs/operations/docs/types.js +15 -0
  801. package/dist/cjs/operations/docs/types.js.map +1 -0
  802. package/dist/cjs/operations/jobs/index.d.ts +66 -0
  803. package/dist/cjs/operations/jobs/index.js +72 -0
  804. package/dist/cjs/operations/jobs/index.js.map +1 -0
  805. package/dist/cjs/operations/jobs/run.d.ts +224 -0
  806. package/dist/cjs/operations/jobs/run.js +322 -0
  807. package/dist/cjs/operations/jobs/run.js.map +1 -0
  808. package/dist/cjs/operations/jobs/site-archive.d.ts +224 -0
  809. package/dist/cjs/operations/jobs/site-archive.js +354 -0
  810. package/dist/cjs/operations/jobs/site-archive.js.map +1 -0
  811. package/dist/cjs/operations/mrt/bundle.d.ts +114 -0
  812. package/dist/cjs/operations/mrt/bundle.js +166 -0
  813. package/dist/cjs/operations/mrt/bundle.js.map +1 -0
  814. package/dist/cjs/operations/mrt/env-var.d.ts +176 -0
  815. package/dist/cjs/operations/mrt/env-var.js +231 -0
  816. package/dist/cjs/operations/mrt/env-var.js.map +1 -0
  817. package/dist/cjs/operations/mrt/env.d.ts +256 -0
  818. package/dist/cjs/operations/mrt/env.js +233 -0
  819. package/dist/cjs/operations/mrt/env.js.map +1 -0
  820. package/dist/cjs/operations/mrt/index.d.ts +49 -0
  821. package/dist/cjs/operations/mrt/index.js +55 -0
  822. package/dist/cjs/operations/mrt/index.js.map +1 -0
  823. package/dist/cjs/operations/mrt/push.d.ts +109 -0
  824. package/dist/cjs/operations/mrt/push.js +149 -0
  825. package/dist/cjs/operations/mrt/push.js.map +1 -0
  826. package/dist/cjs/operations/sites/index.d.ts +56 -0
  827. package/dist/cjs/operations/sites/index.js +19 -0
  828. package/dist/cjs/operations/sites/index.js.map +1 -0
  829. package/dist/cjs/package.json +1 -0
  830. package/dist/cjs/platform/index.d.ts +38 -0
  831. package/dist/cjs/platform/index.js +42 -0
  832. package/dist/cjs/platform/index.js.map +1 -0
  833. package/dist/cjs/platform/mrt.d.ts +19 -0
  834. package/dist/cjs/platform/mrt.js +22 -0
  835. package/dist/cjs/platform/mrt.js.map +1 -0
  836. package/dist/cjs/platform/ods.d.ts +17 -0
  837. package/dist/cjs/platform/ods.js +22 -0
  838. package/dist/cjs/platform/ods.js.map +1 -0
  839. package/dist/esm/auth/api-key.d.ts +28 -0
  840. package/dist/esm/auth/api-key.js +44 -0
  841. package/dist/esm/auth/api-key.js.map +1 -0
  842. package/dist/esm/auth/basic.d.ts +7 -0
  843. package/dist/esm/auth/basic.js +18 -0
  844. package/dist/esm/auth/basic.js.map +1 -0
  845. package/dist/esm/auth/index.d.ts +65 -0
  846. package/dist/esm/auth/index.js +69 -0
  847. package/dist/esm/auth/index.js.map +1 -0
  848. package/dist/esm/auth/oauth-implicit.d.ts +74 -0
  849. package/dist/esm/auth/oauth-implicit.js +330 -0
  850. package/dist/esm/auth/oauth-implicit.js.map +1 -0
  851. package/dist/esm/auth/oauth.d.ts +48 -0
  852. package/dist/esm/auth/oauth.js +178 -0
  853. package/dist/esm/auth/oauth.js.map +1 -0
  854. package/dist/esm/auth/resolve.d.ts +100 -0
  855. package/dist/esm/auth/resolve.js +173 -0
  856. package/dist/esm/auth/resolve.js.map +1 -0
  857. package/dist/esm/auth/types.d.ts +101 -0
  858. package/dist/esm/auth/types.js +3 -0
  859. package/dist/esm/auth/types.js.map +1 -0
  860. package/dist/esm/cli/base-command.d.ts +98 -0
  861. package/dist/esm/cli/base-command.js +331 -0
  862. package/dist/esm/cli/base-command.js.map +1 -0
  863. package/dist/esm/cli/cartridge-command.d.ts +65 -0
  864. package/dist/esm/cli/cartridge-command.js +142 -0
  865. package/dist/esm/cli/cartridge-command.js.map +1 -0
  866. package/dist/esm/cli/cartridge-providers.d.ts +149 -0
  867. package/dist/esm/cli/cartridge-providers.js +103 -0
  868. package/dist/esm/cli/cartridge-providers.js.map +1 -0
  869. package/dist/esm/cli/config.d.ts +75 -0
  870. package/dist/esm/cli/config.js +65 -0
  871. package/dist/esm/cli/config.js.map +1 -0
  872. package/dist/esm/cli/hooks.d.ts +231 -0
  873. package/dist/esm/cli/hooks.js +3 -0
  874. package/dist/esm/cli/hooks.js.map +1 -0
  875. package/dist/esm/cli/index.d.ts +103 -0
  876. package/dist/esm/cli/index.js +108 -0
  877. package/dist/esm/cli/index.js.map +1 -0
  878. package/dist/esm/cli/instance-command.d.ts +121 -0
  879. package/dist/esm/cli/instance-command.js +213 -0
  880. package/dist/esm/cli/instance-command.js.map +1 -0
  881. package/dist/esm/cli/job-command.d.ts +32 -0
  882. package/dist/esm/cli/job-command.js +66 -0
  883. package/dist/esm/cli/job-command.js.map +1 -0
  884. package/dist/esm/cli/lifecycle.d.ts +189 -0
  885. package/dist/esm/cli/lifecycle.js +130 -0
  886. package/dist/esm/cli/lifecycle.js.map +1 -0
  887. package/dist/esm/cli/mrt-command.d.ts +61 -0
  888. package/dist/esm/cli/mrt-command.js +113 -0
  889. package/dist/esm/cli/mrt-command.js.map +1 -0
  890. package/dist/esm/cli/oauth-command.d.ts +70 -0
  891. package/dist/esm/cli/oauth-command.js +173 -0
  892. package/dist/esm/cli/oauth-command.js.map +1 -0
  893. package/dist/esm/cli/ods-command.d.ts +70 -0
  894. package/dist/esm/cli/ods-command.js +79 -0
  895. package/dist/esm/cli/ods-command.js.map +1 -0
  896. package/dist/esm/cli/table.d.ts +113 -0
  897. package/dist/esm/cli/table.js +175 -0
  898. package/dist/esm/cli/table.js.map +1 -0
  899. package/dist/esm/cli/webdav-command.d.ts +100 -0
  900. package/dist/esm/cli/webdav-command.js +106 -0
  901. package/dist/esm/cli/webdav-command.js.map +1 -0
  902. package/dist/esm/clients/custom-apis.d.ts +137 -0
  903. package/dist/esm/clients/custom-apis.generated.d.ts +202 -0
  904. package/dist/esm/clients/custom-apis.generated.js +6 -0
  905. package/dist/esm/clients/custom-apis.generated.js.map +1 -0
  906. package/dist/esm/clients/custom-apis.js +124 -0
  907. package/dist/esm/clients/custom-apis.js.map +1 -0
  908. package/dist/esm/clients/index.d.ts +127 -0
  909. package/dist/esm/clients/index.js +125 -0
  910. package/dist/esm/clients/index.js.map +1 -0
  911. package/dist/esm/clients/middleware-registry.d.ts +184 -0
  912. package/dist/esm/clients/middleware-registry.js +104 -0
  913. package/dist/esm/clients/middleware-registry.js.map +1 -0
  914. package/dist/esm/clients/middleware.d.ts +85 -0
  915. package/dist/esm/clients/middleware.js +210 -0
  916. package/dist/esm/clients/middleware.js.map +1 -0
  917. package/dist/esm/clients/mrt.d.ts +120 -0
  918. package/dist/esm/clients/mrt.generated.d.ts +2774 -0
  919. package/dist/esm/clients/mrt.generated.js +6 -0
  920. package/dist/esm/clients/mrt.generated.js.map +1 -0
  921. package/dist/esm/clients/mrt.js +88 -0
  922. package/dist/esm/clients/mrt.js.map +1 -0
  923. package/dist/esm/clients/ocapi.d.ts +108 -0
  924. package/dist/esm/clients/ocapi.generated.d.ts +26052 -0
  925. package/dist/esm/clients/ocapi.generated.js +6 -0
  926. package/dist/esm/clients/ocapi.generated.js.map +1 -0
  927. package/dist/esm/clients/ocapi.js +80 -0
  928. package/dist/esm/clients/ocapi.js.map +1 -0
  929. package/dist/esm/clients/ods.d.ts +133 -0
  930. package/dist/esm/clients/ods.generated.d.ts +2548 -0
  931. package/dist/esm/clients/ods.generated.js +6 -0
  932. package/dist/esm/clients/ods.generated.js.map +1 -0
  933. package/dist/esm/clients/ods.js +103 -0
  934. package/dist/esm/clients/ods.js.map +1 -0
  935. package/dist/esm/clients/slas-admin.d.ts +104 -0
  936. package/dist/esm/clients/slas-admin.generated.d.ts +1434 -0
  937. package/dist/esm/clients/slas-admin.generated.js +6 -0
  938. package/dist/esm/clients/slas-admin.generated.js.map +1 -0
  939. package/dist/esm/clients/slas-admin.js +79 -0
  940. package/dist/esm/clients/slas-admin.js.map +1 -0
  941. package/dist/esm/clients/webdav.d.ts +157 -0
  942. package/dist/esm/clients/webdav.js +337 -0
  943. package/dist/esm/clients/webdav.js.map +1 -0
  944. package/dist/esm/config/dw-json.d.ts +114 -0
  945. package/dist/esm/config/dw-json.js +142 -0
  946. package/dist/esm/config/dw-json.js.map +1 -0
  947. package/dist/esm/config/index.d.ts +96 -0
  948. package/dist/esm/config/index.js +103 -0
  949. package/dist/esm/config/index.js.map +1 -0
  950. package/dist/esm/config/mapping.d.ts +143 -0
  951. package/dist/esm/config/mapping.js +212 -0
  952. package/dist/esm/config/mapping.js.map +1 -0
  953. package/dist/esm/config/resolved-config.d.ts +31 -0
  954. package/dist/esm/config/resolved-config.js +84 -0
  955. package/dist/esm/config/resolved-config.js.map +1 -0
  956. package/dist/esm/config/resolver.d.ts +190 -0
  957. package/dist/esm/config/resolver.js +323 -0
  958. package/dist/esm/config/resolver.js.map +1 -0
  959. package/dist/esm/config/sources/dw-json-source.d.ts +10 -0
  960. package/dist/esm/config/sources/dw-json-source.js +38 -0
  961. package/dist/esm/config/sources/dw-json-source.js.map +1 -0
  962. package/dist/esm/config/sources/index.d.ts +7 -0
  963. package/dist/esm/config/sources/index.js +13 -0
  964. package/dist/esm/config/sources/index.js.map +1 -0
  965. package/dist/esm/config/sources/mobify-source.d.ts +24 -0
  966. package/dist/esm/config/sources/mobify-source.js +79 -0
  967. package/dist/esm/config/sources/mobify-source.js.map +1 -0
  968. package/dist/esm/config/types.d.ts +270 -0
  969. package/dist/esm/config/types.js +2 -0
  970. package/dist/esm/config/types.js.map +1 -0
  971. package/dist/esm/defaults.d.ts +22 -0
  972. package/dist/esm/defaults.js +28 -0
  973. package/dist/esm/defaults.js.map +1 -0
  974. package/dist/esm/discovery/detector.d.ts +75 -0
  975. package/dist/esm/discovery/detector.js +108 -0
  976. package/dist/esm/discovery/detector.js.map +1 -0
  977. package/dist/esm/discovery/index.d.ts +63 -0
  978. package/dist/esm/discovery/index.js +70 -0
  979. package/dist/esm/discovery/index.js.map +1 -0
  980. package/dist/esm/discovery/patterns/cartridges.d.ts +16 -0
  981. package/dist/esm/discovery/patterns/cartridges.js +16 -0
  982. package/dist/esm/discovery/patterns/cartridges.js.map +1 -0
  983. package/dist/esm/discovery/patterns/index.d.ts +21 -0
  984. package/dist/esm/discovery/patterns/index.js +16 -0
  985. package/dist/esm/discovery/patterns/index.js.map +1 -0
  986. package/dist/esm/discovery/patterns/pwa-kit.d.ts +15 -0
  987. package/dist/esm/discovery/patterns/pwa-kit.js +26 -0
  988. package/dist/esm/discovery/patterns/pwa-kit.js.map +1 -0
  989. package/dist/esm/discovery/patterns/sfra.d.ts +34 -0
  990. package/dist/esm/discovery/patterns/sfra.js +50 -0
  991. package/dist/esm/discovery/patterns/sfra.js.map +1 -0
  992. package/dist/esm/discovery/patterns/storefront-next.d.ts +14 -0
  993. package/dist/esm/discovery/patterns/storefront-next.js +20 -0
  994. package/dist/esm/discovery/patterns/storefront-next.js.map +1 -0
  995. package/dist/esm/discovery/types.d.ts +47 -0
  996. package/dist/esm/discovery/types.js +12 -0
  997. package/dist/esm/discovery/types.js.map +1 -0
  998. package/dist/esm/discovery/utils.d.ts +44 -0
  999. package/dist/esm/discovery/utils.js +82 -0
  1000. package/dist/esm/discovery/utils.js.map +1 -0
  1001. package/dist/esm/errors/http-error.d.ts +34 -0
  1002. package/dist/esm/errors/http-error.js +45 -0
  1003. package/dist/esm/errors/http-error.js.map +1 -0
  1004. package/dist/esm/errors/index.d.ts +6 -0
  1005. package/dist/esm/errors/index.js +12 -0
  1006. package/dist/esm/errors/index.js.map +1 -0
  1007. package/dist/esm/i18n/index.d.ts +144 -0
  1008. package/dist/esm/i18n/index.js +242 -0
  1009. package/dist/esm/i18n/index.js.map +1 -0
  1010. package/dist/esm/i18n/locales/de.d.ts +13 -0
  1011. package/dist/esm/i18n/locales/de.js +19 -0
  1012. package/dist/esm/i18n/locales/de.js.map +1 -0
  1013. package/dist/esm/i18n/locales/index.d.ts +28 -0
  1014. package/dist/esm/i18n/locales/index.js +25 -0
  1015. package/dist/esm/i18n/locales/index.js.map +1 -0
  1016. package/dist/esm/index.d.ts +25 -0
  1017. package/dist/esm/index.js +31 -0
  1018. package/dist/esm/index.js.map +1 -0
  1019. package/dist/esm/instance/index.d.ts +132 -0
  1020. package/dist/esm/instance/index.js +124 -0
  1021. package/dist/esm/instance/index.js.map +1 -0
  1022. package/dist/esm/logger.d.ts +66 -0
  1023. package/dist/esm/logger.js +80 -0
  1024. package/dist/esm/logger.js.map +1 -0
  1025. package/dist/esm/logging/index.d.ts +116 -0
  1026. package/dist/esm/logging/index.js +121 -0
  1027. package/dist/esm/logging/index.js.map +1 -0
  1028. package/dist/esm/logging/logger.d.ts +9 -0
  1029. package/dist/esm/logging/logger.js +111 -0
  1030. package/dist/esm/logging/logger.js.map +1 -0
  1031. package/dist/esm/logging/types.d.ts +36 -0
  1032. package/dist/esm/logging/types.js +10 -0
  1033. package/dist/esm/logging/types.js.map +1 -0
  1034. package/dist/esm/operations/code/cartridges.d.ts +46 -0
  1035. package/dist/esm/operations/code/cartridges.js +59 -0
  1036. package/dist/esm/operations/code/cartridges.js.map +1 -0
  1037. package/dist/esm/operations/code/deploy.d.ts +101 -0
  1038. package/dist/esm/operations/code/deploy.js +218 -0
  1039. package/dist/esm/operations/code/deploy.js.map +1 -0
  1040. package/dist/esm/operations/code/index.d.ts +66 -0
  1041. package/dist/esm/operations/code/index.js +72 -0
  1042. package/dist/esm/operations/code/index.js.map +1 -0
  1043. package/dist/esm/operations/code/versions.d.ts +99 -0
  1044. package/dist/esm/operations/code/versions.js +157 -0
  1045. package/dist/esm/operations/code/versions.js.map +1 -0
  1046. package/dist/esm/operations/code/watch.d.ts +58 -0
  1047. package/dist/esm/operations/code/watch.js +226 -0
  1048. package/dist/esm/operations/code/watch.js.map +1 -0
  1049. package/dist/esm/operations/docs/download.d.ts +45 -0
  1050. package/dist/esm/operations/docs/download.js +96 -0
  1051. package/dist/esm/operations/docs/download.js.map +1 -0
  1052. package/dist/esm/operations/docs/index.d.ts +44 -0
  1053. package/dist/esm/operations/docs/index.js +12 -0
  1054. package/dist/esm/operations/docs/index.js.map +1 -0
  1055. package/dist/esm/operations/docs/schema.d.ts +24 -0
  1056. package/dist/esm/operations/docs/schema.js +92 -0
  1057. package/dist/esm/operations/docs/schema.js.map +1 -0
  1058. package/dist/esm/operations/docs/search.d.ts +67 -0
  1059. package/dist/esm/operations/docs/search.js +128 -0
  1060. package/dist/esm/operations/docs/search.js.map +1 -0
  1061. package/dist/esm/operations/docs/types.d.ts +64 -0
  1062. package/dist/esm/operations/docs/types.js +15 -0
  1063. package/dist/esm/operations/docs/types.js.map +1 -0
  1064. package/dist/esm/operations/jobs/index.d.ts +66 -0
  1065. package/dist/esm/operations/jobs/index.js +72 -0
  1066. package/dist/esm/operations/jobs/index.js.map +1 -0
  1067. package/dist/esm/operations/jobs/run.d.ts +224 -0
  1068. package/dist/esm/operations/jobs/run.js +333 -0
  1069. package/dist/esm/operations/jobs/run.js.map +1 -0
  1070. package/dist/esm/operations/jobs/site-archive.d.ts +224 -0
  1071. package/dist/esm/operations/jobs/site-archive.js +355 -0
  1072. package/dist/esm/operations/jobs/site-archive.js.map +1 -0
  1073. package/dist/esm/operations/mrt/bundle.d.ts +114 -0
  1074. package/dist/esm/operations/mrt/bundle.js +166 -0
  1075. package/dist/esm/operations/mrt/bundle.js.map +1 -0
  1076. package/dist/esm/operations/mrt/env-var.d.ts +176 -0
  1077. package/dist/esm/operations/mrt/env-var.js +231 -0
  1078. package/dist/esm/operations/mrt/env-var.js.map +1 -0
  1079. package/dist/esm/operations/mrt/env.d.ts +256 -0
  1080. package/dist/esm/operations/mrt/env.js +233 -0
  1081. package/dist/esm/operations/mrt/env.js.map +1 -0
  1082. package/dist/esm/operations/mrt/index.d.ts +49 -0
  1083. package/dist/esm/operations/mrt/index.js +55 -0
  1084. package/dist/esm/operations/mrt/index.js.map +1 -0
  1085. package/dist/esm/operations/mrt/push.d.ts +109 -0
  1086. package/dist/esm/operations/mrt/push.js +149 -0
  1087. package/dist/esm/operations/mrt/push.js.map +1 -0
  1088. package/dist/esm/operations/sites/index.d.ts +56 -0
  1089. package/dist/esm/operations/sites/index.js +67 -0
  1090. package/dist/esm/operations/sites/index.js.map +1 -0
  1091. package/dist/esm/platform/index.d.ts +38 -0
  1092. package/dist/esm/platform/index.js +42 -0
  1093. package/dist/esm/platform/index.js.map +1 -0
  1094. package/dist/esm/platform/mrt.d.ts +19 -0
  1095. package/dist/esm/platform/mrt.js +22 -0
  1096. package/dist/esm/platform/mrt.js.map +1 -0
  1097. package/dist/esm/platform/ods.d.ts +17 -0
  1098. package/dist/esm/platform/ods.js +22 -0
  1099. package/dist/esm/platform/ods.js.map +1 -0
  1100. package/package.json +269 -6
  1101. package/specs/README.md +7 -0
  1102. package/specs/custom-apis-v1.yaml +309 -0
  1103. package/specs/data-api.json +37503 -0
  1104. package/specs/mrt-api-v1.json +5555 -0
  1105. package/specs/ods-api-v1.json +3673 -0
  1106. package/specs/slas-admin-v1.yaml +1841 -0
@@ -0,0 +1,3673 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "version": "1.0",
5
+ "title": "B2C Commerce Developer Sandbox REST API",
6
+ "description": "B2C Commerce provides a REST API to manage developer sandboxes. The API allows you to create, manage, and delete developer sandboxes.",
7
+ "contact": {
8
+ "name": "Salesforce B2C Commerce Infocenter",
9
+ "url": "https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/sandboxes/b2c_developer_sandboxes.html?cp=0_6_4"
10
+ }
11
+ },
12
+ "tags": [
13
+ {
14
+ "name": "Common",
15
+ "x-sfdc-group-id": "Common",
16
+ "description": "General purpose API endpoints."
17
+ },
18
+ {
19
+ "name": "Realms",
20
+ "x-sfdc-group-id": "realms",
21
+ "description": "Operations on the realm level."
22
+ },
23
+ {
24
+ "name": "Sandboxes",
25
+ "x-sfdc-group-id": "sandboxes",
26
+ "description": "Operations on the sandbox level."
27
+ }
28
+ ],
29
+ "paths": {
30
+ "/": {
31
+ "get": {
32
+ "operationId": "getApiInfo",
33
+ "summary": "Retrieve API information.",
34
+ "description": "Return API version information.",
35
+ "tags": [
36
+ "Common"
37
+ ],
38
+ "responses": {
39
+ "200": {
40
+ "description": "API version information.",
41
+ "content": {
42
+ "application/json": {
43
+ "schema": {
44
+ "$ref": "#/components/schemas/ApiVersionResponse"
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ },
52
+ "/me": {
53
+ "get": {
54
+ "operationId": "getUserInfo",
55
+ "summary": "Retrieve user information.",
56
+ "description": "Return information about the user interacting with the API.",
57
+ "tags": [
58
+ "Common"
59
+ ],
60
+ "responses": {
61
+ "200": {
62
+ "description": "Metadata about the authenticated API user.",
63
+ "content": {
64
+ "application/json": {
65
+ "schema": {
66
+ "$ref": "#/components/schemas/UserInfoResponse"
67
+ }
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "security": [
73
+ {
74
+ "AccountManager": []
75
+ },
76
+ {
77
+ "ClientCredentials": []
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ "/system": {
83
+ "get": {
84
+ "operationId": "getSystemInfo",
85
+ "summary": "Retrieve system information",
86
+ "description": "Returns information about the system, the user is interacting with.",
87
+ "tags": [
88
+ "Common"
89
+ ],
90
+ "responses": {
91
+ "200": {
92
+ "description": "Metadata about the system",
93
+ "content": {
94
+ "application/json": {
95
+ "schema": {
96
+ "$ref": "#/components/schemas/SystemInfoResponse"
97
+ }
98
+ }
99
+ }
100
+ }
101
+ },
102
+ "security": [
103
+ {
104
+ "AccountManager": []
105
+ },
106
+ {
107
+ "ClientCredentials": []
108
+ }
109
+ ]
110
+ }
111
+ },
112
+ "/realms/{realm}/system": {
113
+ "parameters": [
114
+ {
115
+ "$ref": "#/components/parameters/realmParam"
116
+ }
117
+ ],
118
+ "get": {
119
+ "operationId": "getRealmSystemInfo",
120
+ "summary": "Retrieve system information",
121
+ "description": "Returns information about the system, the user is interacting with.",
122
+ "tags": [
123
+ "Common"
124
+ ],
125
+ "responses": {
126
+ "200": {
127
+ "description": "Metadata about the system",
128
+ "content": {
129
+ "application/json": {
130
+ "schema": {
131
+ "$ref": "#/components/schemas/SystemInfoResponse"
132
+ }
133
+ }
134
+ }
135
+ }
136
+ },
137
+ "security": [
138
+ {
139
+ "AccountManager": []
140
+ },
141
+ {
142
+ "ClientCredentials": []
143
+ }
144
+ ]
145
+ }
146
+ },
147
+ "/realms/{realm}": {
148
+ "parameters": [
149
+ {
150
+ "$ref": "#/components/parameters/realmParam"
151
+ },
152
+ {
153
+ "in": "query",
154
+ "name": "expand",
155
+ "description": "Additional information, which should be shown in the realm query. Available options are: [configuration,usage, accountdetails].",
156
+ "style": "form",
157
+ "explode": false,
158
+ "schema": {
159
+ "type": "array",
160
+ "items": {
161
+ "type": "string",
162
+ "enum": [
163
+ "configuration",
164
+ "usage",
165
+ "accountdetails"
166
+ ]
167
+ }
168
+ }
169
+ }
170
+ ],
171
+ "get": {
172
+ "operationId": "getRealm",
173
+ "summary": "Show realm information.",
174
+ "description": "Return metadata about a realm.",
175
+ "tags": [
176
+ "Realms"
177
+ ],
178
+ "responses": {
179
+ "200": {
180
+ "description": "Realm metadata.",
181
+ "content": {
182
+ "application/json": {
183
+ "schema": {
184
+ "$ref": "#/components/schemas/RealmResponse"
185
+ }
186
+ }
187
+ }
188
+ },
189
+ "400": {
190
+ "description": "The ID is not a valid realm ID.",
191
+ "content": {
192
+ "application/json": {
193
+ "schema": {
194
+ "$ref": "#/components/schemas/ErrorResponse"
195
+ }
196
+ }
197
+ }
198
+ },
199
+ "401": {
200
+ "description": "The user isn't authenticated.",
201
+ "content": {
202
+ "application/json": {
203
+ "schema": {
204
+ "$ref": "#/components/schemas/ErrorResponse"
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "403": {
210
+ "description": "The user doesn't have access to the realm.",
211
+ "content": {
212
+ "application/json": {
213
+ "schema": {
214
+ "$ref": "#/components/schemas/ErrorResponse"
215
+ }
216
+ }
217
+ }
218
+ },
219
+ "404": {
220
+ "description": "There isn't any realm with that ID.",
221
+ "content": {
222
+ "application/json": {
223
+ "schema": {
224
+ "$ref": "#/components/schemas/ErrorResponse"
225
+ }
226
+ }
227
+ }
228
+ }
229
+ },
230
+ "security": [
231
+ {
232
+ "AccountManager": []
233
+ },
234
+ {
235
+ "ClientCredentials": []
236
+ }
237
+ ]
238
+ }
239
+ },
240
+ "/realms/{realm}/configuration": {
241
+ "parameters": [
242
+ {
243
+ "$ref": "#/components/parameters/realmParam"
244
+ }
245
+ ],
246
+ "get": {
247
+ "operationId": "getRealmConfiguration",
248
+ "summary": "Show realm configuration.",
249
+ "description": "Return the current configuration values of the realm.",
250
+ "tags": [
251
+ "Realms"
252
+ ],
253
+ "responses": {
254
+ "200": {
255
+ "description": "Current configuration values of the realm.",
256
+ "content": {
257
+ "application/json": {
258
+ "schema": {
259
+ "$ref": "#/components/schemas/RealmConfigurationResponse"
260
+ }
261
+ }
262
+ }
263
+ },
264
+ "400": {
265
+ "description": "The ID isn't valid or the configuration isn't valid.",
266
+ "content": {
267
+ "application/json": {
268
+ "schema": {
269
+ "$ref": "#/components/schemas/ErrorResponse"
270
+ }
271
+ }
272
+ }
273
+ },
274
+ "403": {
275
+ "description": "The user doesn't have access to that realm.",
276
+ "content": {
277
+ "application/json": {
278
+ "schema": {
279
+ "$ref": "#/components/schemas/ErrorResponse"
280
+ }
281
+ }
282
+ }
283
+ },
284
+ "404": {
285
+ "description": "There isn't any realm with that ID.",
286
+ "content": {
287
+ "application/json": {
288
+ "schema": {
289
+ "$ref": "#/components/schemas/ErrorResponse"
290
+ }
291
+ }
292
+ }
293
+ }
294
+ },
295
+ "security": [
296
+ {
297
+ "AccountManager": []
298
+ },
299
+ {
300
+ "ClientCredentials": []
301
+ }
302
+ ]
303
+ },
304
+ "patch": {
305
+ "operationId": "patchRealmConfiguration",
306
+ "summary": "Update realm configuration.",
307
+ "description": "Update the customizable configuration of a realm. Note that the internal time format in weekday schedules is [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Times).",
308
+ "tags": [
309
+ "Realms"
310
+ ],
311
+ "requestBody": {
312
+ "content": {
313
+ "application/json": {
314
+ "schema": {
315
+ "$ref": "#/components/schemas/RealmConfigurationUpdateRequestModel"
316
+ }
317
+ }
318
+ },
319
+ "description": "Realm values to update.",
320
+ "required": true
321
+ },
322
+ "responses": {
323
+ "200": {
324
+ "description": "Updated realm configuration data.",
325
+ "content": {
326
+ "application/json": {
327
+ "schema": {
328
+ "$ref": "#/components/schemas/RealmConfigurationResponse"
329
+ }
330
+ }
331
+ }
332
+ },
333
+ "400": {
334
+ "description": "The ID isn't a valid realm ID.",
335
+ "content": {
336
+ "application/json": {
337
+ "schema": {
338
+ "$ref": "#/components/schemas/ErrorResponse"
339
+ }
340
+ }
341
+ }
342
+ },
343
+ "401": {
344
+ "description": "The user isn't authenticated.",
345
+ "content": {
346
+ "application/json": {
347
+ "schema": {
348
+ "$ref": "#/components/schemas/ErrorResponse"
349
+ }
350
+ }
351
+ }
352
+ },
353
+ "403": {
354
+ "description": "The user doesn't have access to that realm.",
355
+ "content": {
356
+ "application/json": {
357
+ "schema": {
358
+ "$ref": "#/components/schemas/ErrorResponse"
359
+ }
360
+ }
361
+ }
362
+ },
363
+ "404": {
364
+ "description": "There isn't any realm with that ID.",
365
+ "content": {
366
+ "application/json": {
367
+ "schema": {
368
+ "$ref": "#/components/schemas/ErrorResponse"
369
+ }
370
+ }
371
+ }
372
+ }
373
+ },
374
+ "security": [
375
+ {
376
+ "AccountManager": []
377
+ },
378
+ {
379
+ "ClientCredentials": []
380
+ }
381
+ ]
382
+ }
383
+ },
384
+ "/realms/{realm}/usage": {
385
+ "parameters": [
386
+ {
387
+ "$ref": "#/components/parameters/realmParam"
388
+ },
389
+ {
390
+ "$ref": "#/components/parameters/fromParam"
391
+ },
392
+ {
393
+ "$ref": "#/components/parameters/toParam"
394
+ },
395
+ {
396
+ "$ref": "#/components/parameters/detailedReportParam"
397
+ },
398
+ {
399
+ "$ref": "#/components/parameters/granularityParam"
400
+ }
401
+ ],
402
+ "get": {
403
+ "operationId": "getRealmUsage",
404
+ "summary": "Show usage information for realm.",
405
+ "description": "Return information about the realm's usage.",
406
+ "tags": [
407
+ "Realms"
408
+ ],
409
+ "responses": {
410
+ "200": {
411
+ "description": "Realm's usage information.",
412
+ "content": {
413
+ "application/json": {
414
+ "schema": {
415
+ "$ref": "#/components/schemas/RealmUsageResponse"
416
+ }
417
+ },
418
+ "text/csv": {
419
+ "schema": {
420
+ "$ref": "#/components/schemas/RealmUsageResponse"
421
+ }
422
+ }
423
+ }
424
+ },
425
+ "400": {
426
+ "description": "The ID isn't valid.",
427
+ "content": {
428
+ "application/json": {
429
+ "schema": {
430
+ "$ref": "#/components/schemas/ErrorResponse"
431
+ }
432
+ },
433
+ "text/csv": {
434
+ "schema": {
435
+ "$ref": "#/components/schemas/ErrorResponse"
436
+ }
437
+ }
438
+ }
439
+ },
440
+ "403": {
441
+ "description": "The user doesn't have access to the realm.",
442
+ "content": {
443
+ "application/json": {
444
+ "schema": {
445
+ "$ref": "#/components/schemas/ErrorResponse"
446
+ }
447
+ },
448
+ "text/csv": {
449
+ "schema": {
450
+ "$ref": "#/components/schemas/ErrorResponse"
451
+ }
452
+ }
453
+ }
454
+ },
455
+ "404": {
456
+ "description": "There isn't any realm with that ID.",
457
+ "content": {
458
+ "application/json": {
459
+ "schema": {
460
+ "$ref": "#/components/schemas/ErrorResponse"
461
+ }
462
+ },
463
+ "text/csv": {
464
+ "schema": {
465
+ "$ref": "#/components/schemas/ErrorResponse"
466
+ }
467
+ }
468
+ }
469
+ }
470
+ },
471
+ "security": [
472
+ {
473
+ "AccountManager": []
474
+ },
475
+ {
476
+ "ClientCredentials": []
477
+ }
478
+ ]
479
+ }
480
+ },
481
+ "/realms/usages": {
482
+ "post": {
483
+ "operationId": "searchRealmUsage",
484
+ "summary": "Show usage information for given realms.",
485
+ "description": "Update the customizable configuration of a realm. Note that the internal time format in weekday schedules is [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Times).",
486
+ "tags": [
487
+ "Realms"
488
+ ],
489
+ "requestBody": {
490
+ "content": {
491
+ "application/json": {
492
+ "schema": {
493
+ "$ref": "#/components/schemas/MultiRealmUsageRequest"
494
+ }
495
+ }
496
+ },
497
+ "description": "Return information for given all realm's usage",
498
+ "required": true
499
+ },
500
+ "responses": {
501
+ "200": {
502
+ "description": "Aggregates all realm usage data.",
503
+ "content": {
504
+ "application/json": {
505
+ "schema": {
506
+ "$ref": "#/components/schemas/MultiRealmUsageResponse"
507
+ }
508
+ },
509
+ "text/csv": {
510
+ "schema": {
511
+ "$ref": "#/components/schemas/MultiRealmUsageResponse"
512
+ }
513
+ }
514
+ }
515
+ },
516
+ "400": {
517
+ "description": "The ID isn't a valid realm ID.",
518
+ "content": {
519
+ "application/json": {
520
+ "schema": {
521
+ "$ref": "#/components/schemas/ErrorResponse"
522
+ }
523
+ },
524
+ "text/csv": {
525
+ "schema": {
526
+ "$ref": "#/components/schemas/ErrorResponse"
527
+ }
528
+ }
529
+ }
530
+ },
531
+ "401": {
532
+ "description": "The user isn't authenticated.",
533
+ "content": {
534
+ "application/json": {
535
+ "schema": {
536
+ "$ref": "#/components/schemas/ErrorResponse"
537
+ }
538
+ },
539
+ "text/csv": {
540
+ "schema": {
541
+ "$ref": "#/components/schemas/ErrorResponse"
542
+ }
543
+ }
544
+ }
545
+ },
546
+ "403": {
547
+ "description": "The user doesn't have access to that realm.",
548
+ "content": {
549
+ "application/json": {
550
+ "schema": {
551
+ "$ref": "#/components/schemas/ErrorResponse"
552
+ }
553
+ },
554
+ "text/csv": {
555
+ "schema": {
556
+ "$ref": "#/components/schemas/ErrorResponse"
557
+ }
558
+ }
559
+ }
560
+ },
561
+ "404": {
562
+ "description": "There isn't any realm with that ID.",
563
+ "content": {
564
+ "application/json": {
565
+ "schema": {
566
+ "$ref": "#/components/schemas/ErrorResponse"
567
+ }
568
+ },
569
+ "text/csv": {
570
+ "schema": {
571
+ "$ref": "#/components/schemas/ErrorResponse"
572
+ }
573
+ }
574
+ }
575
+ }
576
+ },
577
+ "security": [
578
+ {
579
+ "AccountManager": []
580
+ },
581
+ {
582
+ "ClientCredentials": []
583
+ }
584
+ ]
585
+ }
586
+ },
587
+ "/sandboxes": {
588
+ "get": {
589
+ "operationId": "getSandboxes",
590
+ "summary": "List sandboxes.",
591
+ "description": "Return all sandboxes of a realm.",
592
+ "tags": [
593
+ "Sandboxes"
594
+ ],
595
+ "parameters": [
596
+ {
597
+ "name": "include_deleted",
598
+ "in": "query",
599
+ "required": false,
600
+ "description": "If set, return deleted sandboxes.",
601
+ "schema": {
602
+ "type": "boolean"
603
+ }
604
+ },
605
+ {
606
+ "name": "filter_params",
607
+ "in": "query",
608
+ "required": false,
609
+ "description": "If passed in supported format, returns sandboxes that matches the query. Supported format: realm=zzzz&state=active&resourceProfile=medium&createdBy=user1&tags=[tag1,tag2,tag3].",
610
+ "schema": {
611
+ "type": "string"
612
+ }
613
+ }
614
+ ],
615
+ "responses": {
616
+ "200": {
617
+ "description": "List of sandboxes.",
618
+ "content": {
619
+ "application/json": {
620
+ "schema": {
621
+ "$ref": "#/components/schemas/SandboxListResponse"
622
+ }
623
+ }
624
+ }
625
+ },
626
+ "400": {
627
+ "description": "The request parameters are invalid (bad request).",
628
+ "content": {
629
+ "application/json": {
630
+ "schema": {
631
+ "$ref": "#/components/schemas/ErrorResponse"
632
+ }
633
+ }
634
+ }
635
+ },
636
+ "403": {
637
+ "description": "The user doesn't have access to that realm.",
638
+ "content": {
639
+ "application/json": {
640
+ "schema": {
641
+ "$ref": "#/components/schemas/ErrorResponse"
642
+ }
643
+ }
644
+ }
645
+ },
646
+ "404": {
647
+ "description": "There isn't any realm with that ID.",
648
+ "content": {
649
+ "application/json": {
650
+ "schema": {
651
+ "$ref": "#/components/schemas/ErrorResponse"
652
+ }
653
+ }
654
+ }
655
+ }
656
+ },
657
+ "security": [
658
+ {
659
+ "AccountManager": []
660
+ },
661
+ {
662
+ "ClientCredentials": []
663
+ }
664
+ ]
665
+ },
666
+ "post": {
667
+ "operationId": "createSandbox",
668
+ "summary": "Create sandbox.",
669
+ "description": "Create a new sandbox within the realm.",
670
+ "tags": [
671
+ "Sandboxes"
672
+ ],
673
+ "requestBody": {
674
+ "content": {
675
+ "application/json": {
676
+ "schema": {
677
+ "$ref": "#/components/schemas/SandboxProvisioningRequestModel"
678
+ }
679
+ }
680
+ },
681
+ "description": "Metadata about the new sandbox.",
682
+ "required": true
683
+ },
684
+ "responses": {
685
+ "201": {
686
+ "description": "The sandbox creation has started.",
687
+ "headers": {
688
+ "Location": {
689
+ "description": "URI of the created sandbox.",
690
+ "schema": {
691
+ "type": "string"
692
+ }
693
+ }
694
+ },
695
+ "content": {
696
+ "application/json": {
697
+ "schema": {
698
+ "$ref": "#/components/schemas/SandboxResponse"
699
+ }
700
+ }
701
+ }
702
+ },
703
+ "400": {
704
+ "description": "The request parameters are invalid (bad request).",
705
+ "content": {
706
+ "application/json": {
707
+ "schema": {
708
+ "$ref": "#/components/schemas/ErrorResponse"
709
+ }
710
+ }
711
+ }
712
+ },
713
+ "403": {
714
+ "description": "The user doesn't have access to the realm.",
715
+ "content": {
716
+ "application/json": {
717
+ "schema": {
718
+ "$ref": "#/components/schemas/ErrorResponse"
719
+ }
720
+ }
721
+ }
722
+ },
723
+ "404": {
724
+ "description": "There isn't any realm with that ID.",
725
+ "content": {
726
+ "application/json": {
727
+ "schema": {
728
+ "$ref": "#/components/schemas/ErrorResponse"
729
+ }
730
+ }
731
+ }
732
+ },
733
+ "500": {
734
+ "description": "There were server errors initiating the sandbox deployment.",
735
+ "content": {
736
+ "application/json": {
737
+ "schema": {
738
+ "$ref": "#/components/schemas/ErrorResponse"
739
+ }
740
+ }
741
+ }
742
+ }
743
+ },
744
+ "security": [
745
+ {
746
+ "AccountManager": []
747
+ },
748
+ {
749
+ "ClientCredentials": []
750
+ }
751
+ ]
752
+ }
753
+ },
754
+ "/sandboxes/{sandboxId}": {
755
+ "parameters": [
756
+ {
757
+ "$ref": "#/components/parameters/sandboxIdParam"
758
+ }
759
+ ],
760
+ "get": {
761
+ "operationId": "getSandbox",
762
+ "summary": "Retrieve sandbox information.",
763
+ "description": "Return details on a specific sandbox in a realm.",
764
+ "tags": [
765
+ "Sandboxes"
766
+ ],
767
+ "responses": {
768
+ "200": {
769
+ "description": "Details on the sandbox (including its state).",
770
+ "content": {
771
+ "application/json": {
772
+ "schema": {
773
+ "$ref": "#/components/schemas/SandboxResponse"
774
+ }
775
+ }
776
+ }
777
+ },
778
+ "400": {
779
+ "description": "The request parameters are invalid (bad request).",
780
+ "content": {
781
+ "application/json": {
782
+ "schema": {
783
+ "$ref": "#/components/schemas/ErrorResponse"
784
+ }
785
+ }
786
+ }
787
+ },
788
+ "403": {
789
+ "description": "The user doesn't have access to the requested realm.",
790
+ "content": {
791
+ "application/json": {
792
+ "schema": {
793
+ "$ref": "#/components/schemas/ErrorResponse"
794
+ }
795
+ }
796
+ }
797
+ },
798
+ "404": {
799
+ "description": "There isn't any realm with that ID.",
800
+ "content": {
801
+ "application/json": {
802
+ "schema": {
803
+ "$ref": "#/components/schemas/ErrorResponse"
804
+ }
805
+ }
806
+ }
807
+ }
808
+ },
809
+ "security": [
810
+ {
811
+ "AccountManager": []
812
+ },
813
+ {
814
+ "ClientCredentials": []
815
+ }
816
+ ]
817
+ },
818
+ "patch": {
819
+ "operationId": "patchSandbox",
820
+ "summary": "Update sandbox.",
821
+ "description": "Update a sandbox.",
822
+ "tags": [
823
+ "Sandboxes"
824
+ ],
825
+ "requestBody": {
826
+ "content": {
827
+ "application/json": {
828
+ "schema": {
829
+ "$ref": "#/components/schemas/SandboxUpdateRequestModel"
830
+ }
831
+ }
832
+ },
833
+ "description": "Sandbox values to update.",
834
+ "required": true
835
+ },
836
+ "responses": {
837
+ "200": {
838
+ "description": "Updated details on the sandbox (including its state).",
839
+ "content": {
840
+ "application/json": {
841
+ "schema": {
842
+ "$ref": "#/components/schemas/SandboxResponse"
843
+ }
844
+ }
845
+ }
846
+ },
847
+ "400": {
848
+ "description": "The request parameters are invalid (bad request).",
849
+ "content": {
850
+ "application/json": {
851
+ "schema": {
852
+ "$ref": "#/components/schemas/ErrorResponse"
853
+ }
854
+ }
855
+ }
856
+ },
857
+ "403": {
858
+ "description": "The user doesn't have access to the realm.",
859
+ "content": {
860
+ "application/json": {
861
+ "schema": {
862
+ "$ref": "#/components/schemas/ErrorResponse"
863
+ }
864
+ }
865
+ }
866
+ },
867
+ "404": {
868
+ "description": "There isn't any sandbox with that ID.",
869
+ "content": {
870
+ "application/json": {
871
+ "schema": {
872
+ "$ref": "#/components/schemas/ErrorResponse"
873
+ }
874
+ }
875
+ }
876
+ }
877
+ },
878
+ "security": [
879
+ {
880
+ "AccountManager": []
881
+ },
882
+ {
883
+ "ClientCredentials": []
884
+ }
885
+ ]
886
+ },
887
+ "delete": {
888
+ "operationId": "deleteSandbox",
889
+ "summary": "Delete sandbox.",
890
+ "description": "Delete a specific sandbox in a realm.",
891
+ "tags": [
892
+ "Sandboxes"
893
+ ],
894
+ "responses": {
895
+ "202": {
896
+ "description": "The request for deleting the sandbox has been accepted by the API server. This doesn't mean that the sandbox has already been deleted, since the actual deletion process does not necessarily start immediately and might take a while. You can track the deletion process using sandbox GET requests.\n",
897
+ "content": {
898
+ "application/json": {
899
+ "schema": {
900
+ "$ref": "#/components/schemas/StatusResponse"
901
+ }
902
+ }
903
+ }
904
+ },
905
+ "400": {
906
+ "description": "The request parameters are invalid (bad request).",
907
+ "content": {
908
+ "application/json": {
909
+ "schema": {
910
+ "$ref": "#/components/schemas/ErrorResponse"
911
+ }
912
+ }
913
+ }
914
+ },
915
+ "403": {
916
+ "description": "The user doesn't have access to that realm.",
917
+ "content": {
918
+ "application/json": {
919
+ "schema": {
920
+ "$ref": "#/components/schemas/ErrorResponse"
921
+ }
922
+ }
923
+ }
924
+ },
925
+ "404": {
926
+ "description": "ID not found.",
927
+ "content": {
928
+ "application/json": {
929
+ "schema": {
930
+ "$ref": "#/components/schemas/ErrorResponse"
931
+ }
932
+ }
933
+ }
934
+ }
935
+ },
936
+ "security": [
937
+ {
938
+ "AccountManager": []
939
+ },
940
+ {
941
+ "ClientCredentials": []
942
+ }
943
+ ]
944
+ }
945
+ },
946
+ "/sandboxes/{sandboxId}/aliases": {
947
+ "parameters": [
948
+ {
949
+ "$ref": "#/components/parameters/sandboxIdParam"
950
+ }
951
+ ],
952
+ "post": {
953
+ "operationId": "createAlias",
954
+ "summary": "Create sandbox alias.",
955
+ "description": "Create a new sandbox alias.",
956
+ "tags": [
957
+ "Sandboxes"
958
+ ],
959
+ "requestBody": {
960
+ "content": {
961
+ "application/json": {
962
+ "schema": {
963
+ "$ref": "#/components/schemas/SandboxAliasModel"
964
+ }
965
+ }
966
+ },
967
+ "description": "The alias for the sandbox",
968
+ "required": true
969
+ },
970
+ "responses": {
971
+ "200": {
972
+ "description": "The sandbox alias already exists.",
973
+ "content": {
974
+ "application/json": {
975
+ "schema": {
976
+ "$ref": "#/components/schemas/SandboxAliasResponse"
977
+ }
978
+ }
979
+ }
980
+ },
981
+ "201": {
982
+ "description": "The alias has been created.",
983
+ "content": {
984
+ "application/json": {
985
+ "schema": {
986
+ "$ref": "#/components/schemas/SandboxAliasResponse"
987
+ }
988
+ }
989
+ }
990
+ },
991
+ "400": {
992
+ "description": "The request parameters are invalid (bad request).",
993
+ "content": {
994
+ "application/json": {
995
+ "schema": {
996
+ "$ref": "#/components/schemas/ErrorResponse"
997
+ }
998
+ }
999
+ }
1000
+ },
1001
+ "403": {
1002
+ "description": "The user doesn't have access to the sandbox.",
1003
+ "content": {
1004
+ "application/json": {
1005
+ "schema": {
1006
+ "$ref": "#/components/schemas/ErrorResponse"
1007
+ }
1008
+ }
1009
+ }
1010
+ },
1011
+ "404": {
1012
+ "description": "There isn't any sandbox with that ID.",
1013
+ "content": {
1014
+ "application/json": {
1015
+ "schema": {
1016
+ "$ref": "#/components/schemas/ErrorResponse"
1017
+ }
1018
+ }
1019
+ }
1020
+ }
1021
+ },
1022
+ "security": [
1023
+ {
1024
+ "AccountManager": []
1025
+ },
1026
+ {
1027
+ "ClientCredentials": []
1028
+ }
1029
+ ]
1030
+ },
1031
+ "get": {
1032
+ "operationId": "getAliases",
1033
+ "summary": "Read all sandbox aliases",
1034
+ "description": "Retrieve a list of all past and present operations on a sandbox within the realm.",
1035
+ "tags": [
1036
+ "Sandboxes"
1037
+ ],
1038
+ "responses": {
1039
+ "200": {
1040
+ "description": "List of Alias configurations.",
1041
+ "content": {
1042
+ "application/json": {
1043
+ "schema": {
1044
+ "$ref": "#/components/schemas/SandboxAliasListResponse"
1045
+ }
1046
+ }
1047
+ }
1048
+ },
1049
+ "403": {
1050
+ "description": "The user doesn't have access to the realm or sandbox.",
1051
+ "content": {
1052
+ "application/json": {
1053
+ "schema": {
1054
+ "$ref": "#/components/schemas/ErrorResponse"
1055
+ }
1056
+ }
1057
+ }
1058
+ },
1059
+ "404": {
1060
+ "description": "There isn't any sandbox with that ID.",
1061
+ "content": {
1062
+ "application/json": {
1063
+ "schema": {
1064
+ "$ref": "#/components/schemas/ErrorResponse"
1065
+ }
1066
+ }
1067
+ }
1068
+ }
1069
+ },
1070
+ "security": [
1071
+ {
1072
+ "AccountManager": []
1073
+ },
1074
+ {
1075
+ "ClientCredentials": []
1076
+ }
1077
+ ]
1078
+ }
1079
+ },
1080
+ "/sandboxes/{sandboxId}/aliases/{sandboxAliasId}": {
1081
+ "parameters": [
1082
+ {
1083
+ "$ref": "#/components/parameters/sandboxIdParam"
1084
+ },
1085
+ {
1086
+ "$ref": "#/components/parameters/sandboxAliasIdParam"
1087
+ }
1088
+ ],
1089
+ "get": {
1090
+ "operationId": "getAlias",
1091
+ "summary": "Read Alias configuration",
1092
+ "description": "Retrieves a dedicated alias for the sandbox. Can be called without authentication to get cookie values for the alias.",
1093
+ "tags": [
1094
+ "Sandboxes"
1095
+ ],
1096
+ "responses": {
1097
+ "200": {
1098
+ "description": "The Alias configuration.",
1099
+ "content": {
1100
+ "application/json": {
1101
+ "schema": {
1102
+ "$ref": "#/components/schemas/SandboxAliasResponse"
1103
+ }
1104
+ }
1105
+ }
1106
+ },
1107
+ "403": {
1108
+ "description": "The user doesn't have access to the realm or sandbox.",
1109
+ "content": {
1110
+ "application/json": {
1111
+ "schema": {
1112
+ "$ref": "#/components/schemas/ErrorResponse"
1113
+ }
1114
+ }
1115
+ }
1116
+ },
1117
+ "404": {
1118
+ "description": "There isn't any sandbox or any alias with that ID.",
1119
+ "content": {
1120
+ "application/json": {
1121
+ "schema": {
1122
+ "$ref": "#/components/schemas/ErrorResponse"
1123
+ }
1124
+ }
1125
+ }
1126
+ }
1127
+ },
1128
+ "security": [
1129
+ {
1130
+ "AccountManager": []
1131
+ },
1132
+ {
1133
+ "ClientCredentials": []
1134
+ }
1135
+ ]
1136
+ },
1137
+ "delete": {
1138
+ "operationId": "deleteAlias",
1139
+ "summary": "Delete Alias configuration",
1140
+ "description": "Deletes a dedicated alias configuration for a sandbox.",
1141
+ "tags": [
1142
+ "Sandboxes"
1143
+ ],
1144
+ "responses": {
1145
+ "202": {
1146
+ "description": "Shows, that alias currently gets deleted.",
1147
+ "content": {
1148
+ "application/json": {
1149
+ "schema": {
1150
+ "$ref": "#/components/schemas/StatusResponse"
1151
+ }
1152
+ }
1153
+ }
1154
+ },
1155
+ "403": {
1156
+ "description": "The user doesn't have access to the realm or sandbox.",
1157
+ "content": {
1158
+ "application/json": {
1159
+ "schema": {
1160
+ "$ref": "#/components/schemas/ErrorResponse"
1161
+ }
1162
+ }
1163
+ }
1164
+ },
1165
+ "404": {
1166
+ "description": "There isn't any sandbox or any alias with that ID.",
1167
+ "content": {
1168
+ "application/json": {
1169
+ "schema": {
1170
+ "$ref": "#/components/schemas/ErrorResponse"
1171
+ }
1172
+ }
1173
+ }
1174
+ }
1175
+ },
1176
+ "security": [
1177
+ {
1178
+ "AccountManager": []
1179
+ },
1180
+ {
1181
+ "ClientCredentials": []
1182
+ }
1183
+ ]
1184
+ }
1185
+ },
1186
+ "/sandboxes/{sandboxId}/operations": {
1187
+ "parameters": [
1188
+ {
1189
+ "$ref": "#/components/parameters/sandboxIdParam"
1190
+ }
1191
+ ],
1192
+ "post": {
1193
+ "operationId": "createSandboxOperation",
1194
+ "summary": "Run sandbox operation.",
1195
+ "description": "Request an operation on a sandbox within the realm.",
1196
+ "tags": [
1197
+ "Sandboxes"
1198
+ ],
1199
+ "requestBody": {
1200
+ "content": {
1201
+ "application/json": {
1202
+ "schema": {
1203
+ "$ref": "#/components/schemas/SandboxOperationRequestModel"
1204
+ }
1205
+ }
1206
+ },
1207
+ "description": "Operation to be carried out on a sandbox.",
1208
+ "required": true
1209
+ },
1210
+ "responses": {
1211
+ "202": {
1212
+ "description": "The operation has been accepted.",
1213
+ "content": {
1214
+ "application/json": {
1215
+ "schema": {
1216
+ "$ref": "#/components/schemas/SandboxOperationResponse"
1217
+ }
1218
+ }
1219
+ }
1220
+ },
1221
+ "400": {
1222
+ "description": "The request parameters are invalid (bad request).",
1223
+ "content": {
1224
+ "application/json": {
1225
+ "schema": {
1226
+ "$ref": "#/components/schemas/ErrorResponse"
1227
+ }
1228
+ }
1229
+ }
1230
+ },
1231
+ "403": {
1232
+ "description": "The user doesn't have access to the sandbox.",
1233
+ "content": {
1234
+ "application/json": {
1235
+ "schema": {
1236
+ "$ref": "#/components/schemas/ErrorResponse"
1237
+ }
1238
+ }
1239
+ }
1240
+ },
1241
+ "404": {
1242
+ "description": "There isn't any sandbox with that ID.",
1243
+ "content": {
1244
+ "application/json": {
1245
+ "schema": {
1246
+ "$ref": "#/components/schemas/ErrorResponse"
1247
+ }
1248
+ }
1249
+ }
1250
+ },
1251
+ "422": {
1252
+ "description": "The operation isn't allowed in the current state of the sandbox.",
1253
+ "content": {
1254
+ "application/json": {
1255
+ "schema": {
1256
+ "$ref": "#/components/schemas/ErrorResponse"
1257
+ }
1258
+ }
1259
+ }
1260
+ },
1261
+ "500": {
1262
+ "description": "There were server errors during the operation.",
1263
+ "content": {
1264
+ "application/json": {
1265
+ "schema": {
1266
+ "$ref": "#/components/schemas/ErrorResponse"
1267
+ }
1268
+ }
1269
+ }
1270
+ }
1271
+ },
1272
+ "security": [
1273
+ {
1274
+ "AccountManager": []
1275
+ },
1276
+ {
1277
+ "ClientCredentials": []
1278
+ }
1279
+ ]
1280
+ },
1281
+ "get": {
1282
+ "operationId": "getSandboxOperations",
1283
+ "summary": "List sandbox operations.",
1284
+ "description": "Retrieve a list of all past and present operations on a sandbox within the realm.",
1285
+ "tags": [
1286
+ "Sandboxes"
1287
+ ],
1288
+ "parameters": [
1289
+ {
1290
+ "$ref": "#/components/parameters/fromParam"
1291
+ },
1292
+ {
1293
+ "$ref": "#/components/parameters/toParam"
1294
+ },
1295
+ {
1296
+ "$ref": "#/components/parameters/operationStateParam"
1297
+ },
1298
+ {
1299
+ "$ref": "#/components/parameters/operationStatusParam"
1300
+ },
1301
+ {
1302
+ "$ref": "#/components/parameters/operationTypeParam"
1303
+ },
1304
+ {
1305
+ "$ref": "#/components/parameters/sortOrderParam"
1306
+ },
1307
+ {
1308
+ "$ref": "#/components/parameters/sortByOperationParam"
1309
+ },
1310
+ {
1311
+ "$ref": "#/components/parameters/pageParam"
1312
+ },
1313
+ {
1314
+ "$ref": "#/components/parameters/perPageParam"
1315
+ }
1316
+ ],
1317
+ "responses": {
1318
+ "200": {
1319
+ "description": "List of operations.",
1320
+ "headers": {
1321
+ "Link": {
1322
+ "description": "Paging metadata, as described in <a href=\"https://tools.ietf.org/html/rfc5988\">RFC-5988</a>",
1323
+ "schema": {
1324
+ "type": "string"
1325
+ }
1326
+ },
1327
+ "X-Pagination-Count": {
1328
+ "description": "Total count of elements.",
1329
+ "schema": {
1330
+ "type": "integer",
1331
+ "format": "int32"
1332
+ }
1333
+ },
1334
+ "X-Pagination-Page": {
1335
+ "description": "Current page index.",
1336
+ "schema": {
1337
+ "type": "integer",
1338
+ "format": "int32"
1339
+ }
1340
+ },
1341
+ "X-Pagination-Limit": {
1342
+ "description": "Maximum count of pages.",
1343
+ "schema": {
1344
+ "type": "integer",
1345
+ "format": "int32"
1346
+ }
1347
+ }
1348
+ },
1349
+ "content": {
1350
+ "application/json": {
1351
+ "schema": {
1352
+ "$ref": "#/components/schemas/SandboxOperationListResponse"
1353
+ }
1354
+ }
1355
+ }
1356
+ },
1357
+ "400": {
1358
+ "description": "The request parameters are invalid (bad request).",
1359
+ "content": {
1360
+ "application/json": {
1361
+ "schema": {
1362
+ "$ref": "#/components/schemas/ErrorResponse"
1363
+ }
1364
+ }
1365
+ }
1366
+ },
1367
+ "403": {
1368
+ "description": "The user doesn't have access to the sandbox.",
1369
+ "content": {
1370
+ "application/json": {
1371
+ "schema": {
1372
+ "$ref": "#/components/schemas/ErrorResponse"
1373
+ }
1374
+ }
1375
+ }
1376
+ },
1377
+ "404": {
1378
+ "description": "There isn't any sandbox with that ID.",
1379
+ "content": {
1380
+ "application/json": {
1381
+ "schema": {
1382
+ "$ref": "#/components/schemas/ErrorResponse"
1383
+ }
1384
+ }
1385
+ }
1386
+ },
1387
+ "500": {
1388
+ "description": "There were server errors during the operation.",
1389
+ "content": {
1390
+ "application/json": {
1391
+ "schema": {
1392
+ "$ref": "#/components/schemas/ErrorResponse"
1393
+ }
1394
+ }
1395
+ }
1396
+ }
1397
+ },
1398
+ "security": [
1399
+ {
1400
+ "AccountManager": []
1401
+ },
1402
+ {
1403
+ "ClientCredentials": []
1404
+ }
1405
+ ]
1406
+ }
1407
+ },
1408
+ "/sandboxes/{sandboxId}/operations/{operationId}": {
1409
+ "parameters": [
1410
+ {
1411
+ "$ref": "#/components/parameters/sandboxIdParam"
1412
+ },
1413
+ {
1414
+ "$ref": "#/components/parameters/operationIdParam"
1415
+ }
1416
+ ],
1417
+ "get": {
1418
+ "operationId": "getSandboxOperation",
1419
+ "summary": "Retrieve sandbox operation.",
1420
+ "description": "Return details of a sandbox operation that was recently submitted, is currently in progress, or has already finished.",
1421
+ "tags": [
1422
+ "Sandboxes"
1423
+ ],
1424
+ "responses": {
1425
+ "200": {
1426
+ "description": "Details of the sandbox operation's state and the state of its target. If the operation has already finished, indicates whether the operation was successful.",
1427
+ "content": {
1428
+ "application/json": {
1429
+ "schema": {
1430
+ "$ref": "#/components/schemas/SandboxOperationResponse"
1431
+ }
1432
+ }
1433
+ }
1434
+ },
1435
+ "400": {
1436
+ "description": "The request parameters are invalid (bad request).",
1437
+ "content": {
1438
+ "application/json": {
1439
+ "schema": {
1440
+ "$ref": "#/components/schemas/ErrorResponse"
1441
+ }
1442
+ }
1443
+ }
1444
+ },
1445
+ "403": {
1446
+ "description": "The user doesn't have access to the requested operation or sandbox.",
1447
+ "content": {
1448
+ "application/json": {
1449
+ "schema": {
1450
+ "$ref": "#/components/schemas/ErrorResponse"
1451
+ }
1452
+ }
1453
+ }
1454
+ },
1455
+ "404": {
1456
+ "description": "There isn't any sandbox or realm matching the given parameters.",
1457
+ "content": {
1458
+ "application/json": {
1459
+ "schema": {
1460
+ "$ref": "#/components/schemas/ErrorResponse"
1461
+ }
1462
+ }
1463
+ }
1464
+ }
1465
+ },
1466
+ "security": [
1467
+ {
1468
+ "AccountManager": []
1469
+ },
1470
+ {
1471
+ "ClientCredentials": []
1472
+ }
1473
+ ]
1474
+ }
1475
+ },
1476
+ "/sandboxes/{sandboxId}/settings": {
1477
+ "parameters": [
1478
+ {
1479
+ "$ref": "#/components/parameters/sandboxIdParam"
1480
+ }
1481
+ ],
1482
+ "get": {
1483
+ "operationId": "getSandboxSettings",
1484
+ "summary": "Show sandbox settings.",
1485
+ "description": "Return all settings of the sandbox.",
1486
+ "tags": [
1487
+ "Sandboxes"
1488
+ ],
1489
+ "responses": {
1490
+ "200": {
1491
+ "description": "Details of the sandbox settings.",
1492
+ "content": {
1493
+ "application/json": {
1494
+ "schema": {
1495
+ "$ref": "#/components/schemas/SandboxSettingsResponse"
1496
+ }
1497
+ }
1498
+ }
1499
+ },
1500
+ "400": {
1501
+ "description": "The sandbox ID isn't valid.",
1502
+ "content": {
1503
+ "application/json": {
1504
+ "schema": {
1505
+ "$ref": "#/components/schemas/ErrorResponse"
1506
+ }
1507
+ }
1508
+ }
1509
+ },
1510
+ "403": {
1511
+ "description": "The user doesn't have access to the requested sandbox.",
1512
+ "content": {
1513
+ "application/json": {
1514
+ "schema": {
1515
+ "$ref": "#/components/schemas/ErrorResponse"
1516
+ }
1517
+ }
1518
+ }
1519
+ },
1520
+ "404": {
1521
+ "description": "There isn't any sandbox matching the ID.",
1522
+ "content": {
1523
+ "application/json": {
1524
+ "schema": {
1525
+ "$ref": "#/components/schemas/ErrorResponse"
1526
+ }
1527
+ }
1528
+ }
1529
+ }
1530
+ },
1531
+ "security": [
1532
+ {
1533
+ "AccountManager": []
1534
+ },
1535
+ {
1536
+ "ClientCredentials": []
1537
+ }
1538
+ ]
1539
+ }
1540
+ },
1541
+ "/sandboxes/{sandboxId}/usage": {
1542
+ "parameters": [
1543
+ {
1544
+ "$ref": "#/components/parameters/sandboxIdParam"
1545
+ },
1546
+ {
1547
+ "$ref": "#/components/parameters/fromParam"
1548
+ },
1549
+ {
1550
+ "$ref": "#/components/parameters/toParam"
1551
+ }
1552
+ ],
1553
+ "get": {
1554
+ "operationId": "getSandboxUsage",
1555
+ "summary": "Show sandbox usage.",
1556
+ "description": "Return information on sandbox usage.",
1557
+ "tags": [
1558
+ "Sandboxes"
1559
+ ],
1560
+ "responses": {
1561
+ "200": {
1562
+ "description": "Sandbox usage information.",
1563
+ "content": {
1564
+ "application/json": {
1565
+ "schema": {
1566
+ "$ref": "#/components/schemas/SandboxUsageResponse"
1567
+ }
1568
+ }
1569
+ }
1570
+ },
1571
+ "400": {
1572
+ "description": "The sandbox ID isn't valid.",
1573
+ "content": {
1574
+ "application/json": {
1575
+ "schema": {
1576
+ "$ref": "#/components/schemas/ErrorResponse"
1577
+ }
1578
+ }
1579
+ }
1580
+ },
1581
+ "403": {
1582
+ "description": "The user doesn't have access to the requested sandbox.",
1583
+ "content": {
1584
+ "application/json": {
1585
+ "schema": {
1586
+ "$ref": "#/components/schemas/ErrorResponse"
1587
+ }
1588
+ }
1589
+ }
1590
+ },
1591
+ "404": {
1592
+ "description": "There isn't any sandbox matching the ID.",
1593
+ "content": {
1594
+ "application/json": {
1595
+ "schema": {
1596
+ "$ref": "#/components/schemas/ErrorResponse"
1597
+ }
1598
+ }
1599
+ }
1600
+ }
1601
+ },
1602
+ "security": [
1603
+ {
1604
+ "AccountManager": []
1605
+ },
1606
+ {
1607
+ "ClientCredentials": []
1608
+ }
1609
+ ]
1610
+ }
1611
+ },
1612
+ "/sandboxes/{sandboxId}/storage": {
1613
+ "parameters": [
1614
+ {
1615
+ "$ref": "#/components/parameters/sandboxIdParam"
1616
+ }
1617
+ ],
1618
+ "get": {
1619
+ "operationId": "getSandboxStorage",
1620
+ "summary": "Show sandbox storage",
1621
+ "description": "Return information on sandbox storage capacity for a currently running sandbox.",
1622
+ "tags": [
1623
+ "Sandboxes"
1624
+ ],
1625
+ "responses": {
1626
+ "200": {
1627
+ "description": "Sandbox storage information.",
1628
+ "content": {
1629
+ "application/json": {
1630
+ "schema": {
1631
+ "$ref": "#/components/schemas/SandboxStorageResponse"
1632
+ }
1633
+ }
1634
+ }
1635
+ },
1636
+ "400": {
1637
+ "description": "The sandbox ID isn't valid.",
1638
+ "content": {
1639
+ "application/json": {
1640
+ "schema": {
1641
+ "$ref": "#/components/schemas/ErrorResponse"
1642
+ }
1643
+ }
1644
+ }
1645
+ },
1646
+ "403": {
1647
+ "description": "The user doesn't have access to the requested sandbox.",
1648
+ "content": {
1649
+ "application/json": {
1650
+ "schema": {
1651
+ "$ref": "#/components/schemas/ErrorResponse"
1652
+ }
1653
+ }
1654
+ }
1655
+ },
1656
+ "404": {
1657
+ "description": "There isn't any sandbox matching the ID.",
1658
+ "content": {
1659
+ "application/json": {
1660
+ "schema": {
1661
+ "$ref": "#/components/schemas/ErrorResponse"
1662
+ }
1663
+ }
1664
+ }
1665
+ }
1666
+ },
1667
+ "security": [
1668
+ {
1669
+ "AccountManager": []
1670
+ },
1671
+ {
1672
+ "ClientCredentials": []
1673
+ }
1674
+ ]
1675
+ }
1676
+ }
1677
+ },
1678
+ "servers": [
1679
+ {
1680
+ "url": "/api/v1"
1681
+ }
1682
+ ],
1683
+ "components": {
1684
+ "parameters": {
1685
+ "realmParam": {
1686
+ "name": "realm",
1687
+ "in": "path",
1688
+ "required": true,
1689
+ "description": "The four-letter ID of the realm.",
1690
+ "schema": {
1691
+ "type": "string"
1692
+ }
1693
+ },
1694
+ "sandboxIdParam": {
1695
+ "name": "sandboxId",
1696
+ "in": "path",
1697
+ "required": true,
1698
+ "description": "The sandbox UUID.",
1699
+ "schema": {
1700
+ "type": "string",
1701
+ "format": "uuid"
1702
+ }
1703
+ },
1704
+ "sandboxAliasIdParam": {
1705
+ "name": "sandboxAliasId",
1706
+ "in": "path",
1707
+ "required": true,
1708
+ "description": "The sandbox alias UUID.",
1709
+ "schema": {
1710
+ "type": "string",
1711
+ "format": "uuid"
1712
+ }
1713
+ },
1714
+ "operationIdParam": {
1715
+ "name": "operationId",
1716
+ "in": "path",
1717
+ "required": true,
1718
+ "description": "The operation UUID.",
1719
+ "schema": {
1720
+ "type": "string",
1721
+ "format": "uuid"
1722
+ }
1723
+ },
1724
+ "pageParam": {
1725
+ "name": "page",
1726
+ "in": "query",
1727
+ "required": false,
1728
+ "description": "The page to access in a paged response. Page numbers start with '0', which is the default value.",
1729
+ "schema": {
1730
+ "type": "integer",
1731
+ "format": "int32",
1732
+ "minimum": 0
1733
+ }
1734
+ },
1735
+ "perPageParam": {
1736
+ "name": "per_page",
1737
+ "in": "query",
1738
+ "required": false,
1739
+ "description": "Count of elements on a page. The default value is '20'.",
1740
+ "schema": {
1741
+ "type": "integer",
1742
+ "format": "int32",
1743
+ "minimum": 1
1744
+ }
1745
+ },
1746
+ "fromParam": {
1747
+ "name": "from",
1748
+ "in": "query",
1749
+ "required": false,
1750
+ "description": "Earliest date for which data is in the response. Thirty days in the past by default. Format is <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a>.",
1751
+ "schema": {
1752
+ "type": "string",
1753
+ "format": "date"
1754
+ }
1755
+ },
1756
+ "toParam": {
1757
+ "name": "to",
1758
+ "in": "query",
1759
+ "required": false,
1760
+ "description": "Latest date for which data is included in the response. Today's date by default. Format is <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO 8601</a>.",
1761
+ "schema": {
1762
+ "type": "string",
1763
+ "format": "date"
1764
+ }
1765
+ },
1766
+ "sortOrderParam": {
1767
+ "name": "sort_order",
1768
+ "in": "query",
1769
+ "required": false,
1770
+ "description": "Order of the list. Default value is ''asc''.",
1771
+ "schema": {
1772
+ "type": "string",
1773
+ "enum": [
1774
+ "asc",
1775
+ "desc"
1776
+ ]
1777
+ }
1778
+ },
1779
+ "sortByOperationParam": {
1780
+ "name": "sort_by",
1781
+ "in": "query",
1782
+ "required": false,
1783
+ "description": "Field by which to order the list. By default, the list is not ordered.",
1784
+ "schema": {
1785
+ "type": "string",
1786
+ "enum": [
1787
+ "created",
1788
+ "operation_state",
1789
+ "status",
1790
+ "operation"
1791
+ ]
1792
+ }
1793
+ },
1794
+ "operationStateParam": {
1795
+ "name": "operation_state",
1796
+ "in": "query",
1797
+ "required": false,
1798
+ "description": "State of operations included in the response. By default, all operations are included.",
1799
+ "schema": {
1800
+ "type": "string",
1801
+ "enum": [
1802
+ "pending",
1803
+ "running",
1804
+ "finished"
1805
+ ]
1806
+ }
1807
+ },
1808
+ "operationStatusParam": {
1809
+ "name": "status",
1810
+ "in": "query",
1811
+ "required": false,
1812
+ "description": "Status of operations included in the response. By default, all operations are included.",
1813
+ "schema": {
1814
+ "type": "string",
1815
+ "enum": [
1816
+ "success",
1817
+ "failure"
1818
+ ]
1819
+ }
1820
+ },
1821
+ "operationTypeParam": {
1822
+ "name": "operation",
1823
+ "in": "query",
1824
+ "required": false,
1825
+ "description": "Type of operations included in the response. By default, all operations are included.",
1826
+ "schema": {
1827
+ "type": "string",
1828
+ "enum": [
1829
+ "start",
1830
+ "stop",
1831
+ "restart",
1832
+ "reset",
1833
+ "create",
1834
+ "delete",
1835
+ "upgrade"
1836
+ ]
1837
+ }
1838
+ },
1839
+ "detailedReportParam": {
1840
+ "name": "detailedReport",
1841
+ "in": "query",
1842
+ "required": false,
1843
+ "description": "Field to check whether detailed report is to be retrieved, by default detailed report will not be pulled",
1844
+ "schema": {
1845
+ "type": "boolean",
1846
+ "enum": [
1847
+ false,
1848
+ true
1849
+ ],
1850
+ "default": false
1851
+ }
1852
+ },
1853
+ "granularityParam": {
1854
+ "name": "granularity",
1855
+ "in": "query",
1856
+ "required": false,
1857
+ "description": "Granularity of usage to be included in the response. By default, granular usage is not returned.",
1858
+ "schema": {
1859
+ "type": "string",
1860
+ "enum": [
1861
+ "daily",
1862
+ "weekly",
1863
+ "monthly"
1864
+ ]
1865
+ }
1866
+ }
1867
+ },
1868
+ "securitySchemes": {
1869
+ "AccountManager": {
1870
+ "type": "oauth2",
1871
+ "description": "Authenticate using Commerce Cloud Account Manager with your SSO credentials.",
1872
+ "flows": {
1873
+ "implicit": {
1874
+ "authorizationUrl": "https://account.demandware.com:443/dwsso/oauth2/authorize",
1875
+ "scopes": {}
1876
+ }
1877
+ }
1878
+ },
1879
+ "ClientCredentials": {
1880
+ "type": "oauth2",
1881
+ "description": "Authenticate using Commerce Cloud Account Manager with your client credentials.",
1882
+ "flows": {
1883
+ "clientCredentials": {
1884
+ "tokenUrl": "https://account.demandware.com:443/dwsso/oauth2/access_token",
1885
+ "scopes": {}
1886
+ }
1887
+ }
1888
+ }
1889
+ },
1890
+ "schemas": {
1891
+ "Response": {
1892
+ "type": "object",
1893
+ "required": [
1894
+ "kind",
1895
+ "code"
1896
+ ],
1897
+ "properties": {
1898
+ "kind": {
1899
+ "type": "string",
1900
+ "description": "Type of response object.",
1901
+ "enum": [
1902
+ "ApiVersion",
1903
+ "UserInfo",
1904
+ "SystemInfo",
1905
+ "Realm",
1906
+ "RealmConfiguration",
1907
+ "RealmUsage",
1908
+ "MultiRealmUsage",
1909
+ "Sandbox",
1910
+ "SandboxList",
1911
+ "SandboxAlias",
1912
+ "SandboxAliasList",
1913
+ "SandboxSettings",
1914
+ "SandboxUsage",
1915
+ "SandboxStorage",
1916
+ "SandboxOperationList",
1917
+ "Status"
1918
+ ]
1919
+ },
1920
+ "code": {
1921
+ "type": "integer",
1922
+ "format": "int32",
1923
+ "description": "Response code sent along with the status."
1924
+ }
1925
+ }
1926
+ },
1927
+ "StatusResponse": {
1928
+ "required": [
1929
+ "status"
1930
+ ],
1931
+ "allOf": [
1932
+ {
1933
+ "$ref": "#/components/schemas/Response"
1934
+ },
1935
+ {
1936
+ "type": "object",
1937
+ "properties": {
1938
+ "status": {
1939
+ "type": "string",
1940
+ "description": "String with value 'Success' or 'Failure' to indicate request outcome.",
1941
+ "enum": [
1942
+ "Success",
1943
+ "Failure"
1944
+ ]
1945
+ }
1946
+ }
1947
+ }
1948
+ ]
1949
+ },
1950
+ "PagedResponse": {
1951
+ "allOf": [
1952
+ {
1953
+ "$ref": "#/components/schemas/StatusResponse"
1954
+ },
1955
+ {
1956
+ "type": "object",
1957
+ "properties": {
1958
+ "metadata": {
1959
+ "$ref": "#/components/schemas/PagingMetadata"
1960
+ }
1961
+ }
1962
+ }
1963
+ ]
1964
+ },
1965
+ "PagingMetadata": {
1966
+ "properties": {
1967
+ "page": {
1968
+ "type": "integer",
1969
+ "format": "int32",
1970
+ "description": "Index of the current page."
1971
+ },
1972
+ "perPage": {
1973
+ "type": "integer",
1974
+ "format": "int32",
1975
+ "description": "Maximum count of elements per page."
1976
+ },
1977
+ "pageCount": {
1978
+ "type": "integer",
1979
+ "format": "int32",
1980
+ "description": "Total count of pages."
1981
+ },
1982
+ "totalCount": {
1983
+ "type": "integer",
1984
+ "format": "int64",
1985
+ "description": "Total count of elements."
1986
+ },
1987
+ "links": {
1988
+ "$ref": "#/components/schemas/PagingLinks"
1989
+ }
1990
+ }
1991
+ },
1992
+ "PagingLinks": {
1993
+ "properties": {
1994
+ "self": {
1995
+ "type": "string",
1996
+ "description": "Relative link to this page."
1997
+ },
1998
+ "first": {
1999
+ "type": "string",
2000
+ "description": "Relative link to the first page."
2001
+ },
2002
+ "previous": {
2003
+ "type": "string",
2004
+ "description": "Relative link to the previous page. 'null' if the current page is the first page."
2005
+ },
2006
+ "next": {
2007
+ "type": "string",
2008
+ "description": "Relative link to the next page. 'null' if the current page is the last page."
2009
+ },
2010
+ "last": {
2011
+ "type": "string",
2012
+ "description": "Relative link to the last page."
2013
+ }
2014
+ }
2015
+ },
2016
+ "RealmResponse": {
2017
+ "allOf": [
2018
+ {
2019
+ "$ref": "#/components/schemas/StatusResponse"
2020
+ },
2021
+ {
2022
+ "type": "object",
2023
+ "properties": {
2024
+ "data": {
2025
+ "$ref": "#/components/schemas/RealmModel"
2026
+ }
2027
+ }
2028
+ }
2029
+ ]
2030
+ },
2031
+ "RealmModel": {
2032
+ "type": "object",
2033
+ "required": [
2034
+ "id"
2035
+ ],
2036
+ "properties": {
2037
+ "id": {
2038
+ "type": "string",
2039
+ "description": "GUID of the realm in the system."
2040
+ },
2041
+ "name": {
2042
+ "type": "string",
2043
+ "description": "Human-readable four-letter ID of the realm."
2044
+ },
2045
+ "enabled": {
2046
+ "type": "boolean",
2047
+ "description": "Flag indicating whether the realm is enabled for any operations."
2048
+ },
2049
+ "usage": {
2050
+ "$ref": "#/components/schemas/RealmUsageSummaryModel"
2051
+ },
2052
+ "configuration": {
2053
+ "$ref": "#/components/schemas/RealmConfigurationModel"
2054
+ },
2055
+ "accountdetails": {
2056
+ "$ref": "#/components/schemas/AccountDetailsModel"
2057
+ }
2058
+ }
2059
+ },
2060
+ "RealmUsageSummaryModel": {
2061
+ "type": "object",
2062
+ "required": [
2063
+ "activeSandboxes"
2064
+ ],
2065
+ "properties": {
2066
+ "activeSandboxes": {
2067
+ "type": "integer",
2068
+ "format": "int64",
2069
+ "description": "Number of currently active sandboxes for a realm.",
2070
+ "example": 42
2071
+ }
2072
+ }
2073
+ },
2074
+ "RealmConfigurationResponse": {
2075
+ "allOf": [
2076
+ {
2077
+ "$ref": "#/components/schemas/StatusResponse"
2078
+ },
2079
+ {
2080
+ "type": "object",
2081
+ "properties": {
2082
+ "data": {
2083
+ "$ref": "#/components/schemas/RealmConfigurationModel"
2084
+ }
2085
+ }
2086
+ }
2087
+ ]
2088
+ },
2089
+ "ConfigurationIntegerValue": {
2090
+ "type": "object",
2091
+ "description": "Object that holds an integer-based configuration property. A zero value means \"unlimited\".",
2092
+ "properties": {
2093
+ "fixedValue": {
2094
+ "type": "integer",
2095
+ "format": "int32",
2096
+ "description": "Fixed value for this configuration property. You can't use this along with a maximum or default value."
2097
+ },
2098
+ "maximum": {
2099
+ "type": "integer",
2100
+ "format": "int32",
2101
+ "description": "Maximum value for this property."
2102
+ },
2103
+ "defaultValue": {
2104
+ "type": "integer",
2105
+ "format": "int32",
2106
+ "description": "Default value for this property."
2107
+ }
2108
+ }
2109
+ },
2110
+ "WeekdaySchedule": {
2111
+ "type": "object",
2112
+ "description": "A schedule definition for a dedicated time on specific weekdays.",
2113
+ "properties": {
2114
+ "weekdays": {
2115
+ "type": "array",
2116
+ "items": {
2117
+ "type": "string",
2118
+ "enum": [
2119
+ "MONDAY",
2120
+ "TUESDAY",
2121
+ "WEDNESDAY",
2122
+ "THURSDAY",
2123
+ "FRIDAY",
2124
+ "SATURDAY",
2125
+ "SUNDAY"
2126
+ ]
2127
+ },
2128
+ "description": "List of weekdays, where the action should take place"
2129
+ },
2130
+ "time": {
2131
+ "type": "string",
2132
+ "description": "Time (with timezone) where the action should take place on the specified weekdays. Time format is [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Times). If no time zone is given, the timezone defaults to GMT.",
2133
+ "example": "20:10:00Z"
2134
+ }
2135
+ }
2136
+ },
2137
+ "RealmSandboxConfigurationModel": {
2138
+ "type": "object",
2139
+ "description": "Configuration object related to sandboxes of a realm.",
2140
+ "required": [
2141
+ "limitsEnabled",
2142
+ "totalNumberOfSandboxes",
2143
+ "sandboxTTL",
2144
+ "localUsersAllowed"
2145
+ ],
2146
+ "properties": {
2147
+ "limitsEnabled": {
2148
+ "type": "boolean",
2149
+ "description": "Flag indicating whether sandbox specific limits are enforced for the realm."
2150
+ },
2151
+ "totalNumberOfSandboxes": {
2152
+ "type": "integer",
2153
+ "description": "Total number of sandboxes (regardless of state) that the realm can hold."
2154
+ },
2155
+ "sandboxTTL": {
2156
+ "$ref": "#/components/schemas/ConfigurationIntegerValue"
2157
+ },
2158
+ "localUsersAllowed": {
2159
+ "type": "boolean",
2160
+ "description": "Flag indicating whether users outside the Account Manager are allowed."
2161
+ }
2162
+ },
2163
+ "example": {
2164
+ "limitsEnabled": true,
2165
+ "totalNumberOfSandboxes": 50,
2166
+ "sandboxTTL": {
2167
+ "maximum": 240,
2168
+ "defaultValue": 8
2169
+ },
2170
+ "localUsersAllowed": false
2171
+ }
2172
+ },
2173
+ "RealmSandboxConfigurationUpdateModel": {
2174
+ "type": "object",
2175
+ "description": "Update data for configuration data related to sandboxes of a realm. The time formats within the weekday schedules have to be passed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Times) format.",
2176
+ "properties": {
2177
+ "sandboxTTL": {
2178
+ "$ref": "#/components/schemas/ConfigurationIntegerValue"
2179
+ },
2180
+ "startScheduler": {
2181
+ "x-type-overwrite": "WeekdaySchedule",
2182
+ "nullable": true
2183
+ },
2184
+ "stopScheduler": {
2185
+ "x-type-overwrite": "WeekdaySchedule",
2186
+ "nullable": true
2187
+ }
2188
+ },
2189
+ "example": {
2190
+ "sandboxTTL": {
2191
+ "maximum": 240,
2192
+ "defaultValue": 24
2193
+ },
2194
+ "startScheduler": {
2195
+ "weekdays": [
2196
+ "MONDAY",
2197
+ "TUESDAY",
2198
+ "WEDNESDAY",
2199
+ "THURSDAY",
2200
+ "FRIDAY"
2201
+ ],
2202
+ "time": "08:00:00+03:00"
2203
+ },
2204
+ "stopScheduler": {
2205
+ "weekdays": [
2206
+ "MONDAY",
2207
+ "TUESDAY",
2208
+ "WEDNESDAY",
2209
+ "THURSDAY",
2210
+ "FRIDAY"
2211
+ ],
2212
+ "time": "19:00:00Z"
2213
+ }
2214
+ },
2215
+ "nullable": true
2216
+ },
2217
+ "RealmRequestConfigurationModel": {
2218
+ "type": "object",
2219
+ "description": "Configuration object related to requests targeting the sandboxes of a realm.",
2220
+ "required": [
2221
+ "enforced"
2222
+ ],
2223
+ "properties": {
2224
+ "enforced": {
2225
+ "type": "boolean",
2226
+ "description": "If enabled, rate limiting is active."
2227
+ },
2228
+ "maxRate": {
2229
+ "type": "integer",
2230
+ "description": "Maximum requests allowed per time period."
2231
+ },
2232
+ "timePeriod": {
2233
+ "type": "integer",
2234
+ "description": "Number of seconds during which to count requests."
2235
+ }
2236
+ },
2237
+ "example": {
2238
+ "enforced": true,
2239
+ "maxRate": 50000,
2240
+ "timePeriod": 60
2241
+ }
2242
+ },
2243
+ "RealmConfigurationModel": {
2244
+ "type": "object",
2245
+ "properties": {
2246
+ "emails": {
2247
+ "type": "array",
2248
+ "items": {
2249
+ "type": "string",
2250
+ "pattern": "(.+)@(.+)"
2251
+ },
2252
+ "example": [
2253
+ "email1@example.com",
2254
+ "email2@example.com"
2255
+ ]
2256
+ },
2257
+ "sandbox": {
2258
+ "$ref": "#/components/schemas/RealmSandboxConfigurationModel"
2259
+ },
2260
+ "requests": {
2261
+ "$ref": "#/components/schemas/RealmRequestConfigurationModel"
2262
+ },
2263
+ "startScheduler": {
2264
+ "$ref": "#/components/schemas/WeekdaySchedule"
2265
+ },
2266
+ "stopScheduler": {
2267
+ "$ref": "#/components/schemas/WeekdaySchedule"
2268
+ }
2269
+ }
2270
+ },
2271
+ "RealmConfigurationUpdateRequestModel": {
2272
+ "type": "object",
2273
+ "properties": {
2274
+ "emails": {
2275
+ "type": "array",
2276
+ "items": {
2277
+ "type": "string",
2278
+ "pattern": "(.+)@(.+)"
2279
+ },
2280
+ "example": [
2281
+ "email1@example.com",
2282
+ "email2@example.com"
2283
+ ]
2284
+ },
2285
+ "sandbox": {
2286
+ "$ref": "#/components/schemas/RealmSandboxConfigurationUpdateModel"
2287
+ }
2288
+ }
2289
+ },
2290
+ "RealmUsageResponse": {
2291
+ "allOf": [
2292
+ {
2293
+ "$ref": "#/components/schemas/StatusResponse"
2294
+ },
2295
+ {
2296
+ "type": "object",
2297
+ "properties": {
2298
+ "data": {
2299
+ "$ref": "#/components/schemas/RealmUsageModel"
2300
+ }
2301
+ }
2302
+ }
2303
+ ]
2304
+ },
2305
+ "MultiRealmUsageModel": {
2306
+ "type": "object",
2307
+ "required": [
2308
+ "realmName"
2309
+ ],
2310
+ "properties": {
2311
+ "realmName": {
2312
+ "type": "string",
2313
+ "description": "GUID of the realm in the system."
2314
+ },
2315
+ "realmUsage": {
2316
+ "$ref": "#/components/schemas/RealmUsageModel"
2317
+ },
2318
+ "error": {
2319
+ "type": "string",
2320
+ "description": "Error while getting usage."
2321
+ }
2322
+ }
2323
+ },
2324
+ "RealmUsageModel": {
2325
+ "type": "object",
2326
+ "required": [
2327
+ "id"
2328
+ ],
2329
+ "properties": {
2330
+ "id": {
2331
+ "type": "string",
2332
+ "description": "GUID of the realm in the system."
2333
+ },
2334
+ "accountId": {
2335
+ "type": "string",
2336
+ "description": "account/SFID of the realm in clusterstate table or org62 Tenant table"
2337
+ },
2338
+ "createdSandboxes": {
2339
+ "type": "integer",
2340
+ "format": "int64",
2341
+ "description": "Total number of sandboxes created during the requested timeframe (by default, the previous 30 days).",
2342
+ "example": 93
2343
+ },
2344
+ "activeSandboxes": {
2345
+ "type": "integer",
2346
+ "format": "int64",
2347
+ "description": "Total number of sandboxes active during the requested timeframe (by default, the previous 30 days).",
2348
+ "example": 128
2349
+ },
2350
+ "deletedSandboxes": {
2351
+ "type": "integer",
2352
+ "format": "int64",
2353
+ "description": "Total number of sandboxes deleted during the requested timeframe (by default, the previous 30 days).",
2354
+ "example": 86
2355
+ },
2356
+ "sandboxSeconds": {
2357
+ "type": "integer",
2358
+ "format": "int64",
2359
+ "description": "Total number of seconds sandboxes ran during the requested timeframe (by default, the previous 30 days).",
2360
+ "example": 360000
2361
+ },
2362
+ "minutesUpByProfile": {
2363
+ "type": "array",
2364
+ "items": {
2365
+ "type": "object",
2366
+ "properties": {
2367
+ "profile": {
2368
+ "$ref": "#/components/schemas/SandboxResourceProfile"
2369
+ },
2370
+ "minutes": {
2371
+ "type": "integer",
2372
+ "format": "int64",
2373
+ "description": "How many minutes sandboxes of this profile type were running during the report timeframe."
2374
+ }
2375
+ }
2376
+ }
2377
+ },
2378
+ "minutesUp": {
2379
+ "type": "integer",
2380
+ "format": "int64",
2381
+ "description": "Sum of minutes sandboxes in this realm were running during the requested timeframe (by default, the previous 30 days).",
2382
+ "example": 360000
2383
+ },
2384
+ "minutesDown": {
2385
+ "type": "integer",
2386
+ "format": "int64",
2387
+ "description": "Sum of minutes sandboxes in this realm were not running during the requested timeframe (by default, the previous 30 days).",
2388
+ "example": 180000
2389
+ },
2390
+ "sandboxDetails": {
2391
+ "type": "array",
2392
+ "items": {
2393
+ "$ref": "#/components/schemas/SandboxInfo"
2394
+ }
2395
+ },
2396
+ "granularUsage": {
2397
+ "type": "array",
2398
+ "items": {
2399
+ "$ref": "#/components/schemas/GranularUsage"
2400
+ }
2401
+ }
2402
+ }
2403
+ },
2404
+ "AccountDetailsModel": {
2405
+ "type": "object",
2406
+ "properties": {
2407
+ "accountName": {
2408
+ "type": "string",
2409
+ "example": "Disney",
2410
+ "description": "Account name."
2411
+ },
2412
+ "creditBalance": {
2413
+ "type": "number",
2414
+ "format": "double",
2415
+ "description": "Total Credit Balance left.",
2416
+ "example": 93.234
2417
+ }
2418
+ }
2419
+ },
2420
+ "MultiRealmUsageRequest": {
2421
+ "type": "object",
2422
+ "properties": {
2423
+ "from": {
2424
+ "type": "string",
2425
+ "format": "date",
2426
+ "description": "Time the sandbox was started."
2427
+ },
2428
+ "to": {
2429
+ "type": "string",
2430
+ "format": "date",
2431
+ "description": "Time the sandbox was stopped. If the sandbox is still running, this value will not exist for the last block."
2432
+ },
2433
+ "realms": {
2434
+ "type": "array",
2435
+ "items": {
2436
+ "type": "string"
2437
+ }
2438
+ },
2439
+ "detailedReport": {
2440
+ "type": "boolean",
2441
+ "default": false,
2442
+ "enum": [
2443
+ false,
2444
+ true
2445
+ ],
2446
+ "description": "Field to check whether detailed report is to be retrieved, by default detailed report will not be pulled."
2447
+ }
2448
+ }
2449
+ },
2450
+ "MultiRealmUsageResponse": {
2451
+ "allOf": [
2452
+ {
2453
+ "$ref": "#/components/schemas/StatusResponse"
2454
+ },
2455
+ {
2456
+ "type": "object"
2457
+ }
2458
+ ],
2459
+ "properties": {
2460
+ "data": {
2461
+ "type": "array",
2462
+ "items": {
2463
+ "$ref": "#/components/schemas/MultiRealmUsageModel"
2464
+ }
2465
+ }
2466
+ }
2467
+ },
2468
+ "SandboxListResponse": {
2469
+ "allOf": [
2470
+ {
2471
+ "$ref": "#/components/schemas/StatusResponse"
2472
+ },
2473
+ {
2474
+ "type": "object",
2475
+ "properties": {
2476
+ "data": {
2477
+ "type": "array",
2478
+ "items": {
2479
+ "$ref": "#/components/schemas/SandboxModel"
2480
+ }
2481
+ }
2482
+ }
2483
+ }
2484
+ ]
2485
+ },
2486
+ "SandboxResponse": {
2487
+ "allOf": [
2488
+ {
2489
+ "$ref": "#/components/schemas/StatusResponse"
2490
+ },
2491
+ {
2492
+ "type": "object",
2493
+ "properties": {
2494
+ "data": {
2495
+ "$ref": "#/components/schemas/SandboxModel"
2496
+ }
2497
+ }
2498
+ }
2499
+ ]
2500
+ },
2501
+ "SandboxStorageModel": {
2502
+ "type": "object",
2503
+ "description": "Shows all filesystem storages and how much space is left on them.",
2504
+ "additionalProperties": {
2505
+ "$ref": "#/components/schemas/StorageUsageModel"
2506
+ }
2507
+ },
2508
+ "StorageUsageModel": {
2509
+ "type": "object",
2510
+ "description": "Represents a single filesystem storage unit with its available space.",
2511
+ "properties": {
2512
+ "spaceTotal": {
2513
+ "type": "integer",
2514
+ "format": "int64",
2515
+ "description": "Total available space in MB."
2516
+ },
2517
+ "spaceUsed": {
2518
+ "type": "integer",
2519
+ "format": "int64",
2520
+ "description": "Used space in MB."
2521
+ },
2522
+ "percentageUsed": {
2523
+ "type": "integer",
2524
+ "format": "int32",
2525
+ "description": "Used space in percent, compared to total space."
2526
+ }
2527
+ }
2528
+ },
2529
+ "SandboxModel": {
2530
+ "type": "object",
2531
+ "properties": {
2532
+ "id": {
2533
+ "type": "string"
2534
+ },
2535
+ "realm": {
2536
+ "type": "string"
2537
+ },
2538
+ "emails": {
2539
+ "type": "array",
2540
+ "items": {
2541
+ "type": "string",
2542
+ "pattern": "(.+)@(.+)"
2543
+ }
2544
+ },
2545
+ "enabled": {
2546
+ "type": "boolean",
2547
+ "description": "Flag indicating whether the sandbox is enabled for any operations."
2548
+ },
2549
+ "instance": {
2550
+ "type": "string"
2551
+ },
2552
+ "versions": {
2553
+ "type": "object",
2554
+ "title": "SandboxModelVersions",
2555
+ "description": "Versions of the components that make up the sandbox.",
2556
+ "properties": {
2557
+ "app": {
2558
+ "type": "string",
2559
+ "pattern": "\\d(\\.\\d)*",
2560
+ "description": "Version of the commerce application."
2561
+ },
2562
+ "web": {
2563
+ "type": "string",
2564
+ "description": "Version of the web proxy.",
2565
+ "pattern": "\\d(\\.\\d)*"
2566
+ }
2567
+ }
2568
+ },
2569
+ "autoScheduled": {
2570
+ "type": "boolean",
2571
+ "description": "Defaults to false. If set to true, the sandbox is covered by automatic start/stop actions, which can be set to a dedicated time via realm- configuration API."
2572
+ },
2573
+ "analyticsEnabled": {
2574
+ "type": "boolean",
2575
+ "description": "Defaults to false. If set to true, analytics will be enabled in ODS."
2576
+ },
2577
+ "resourceProfile": {
2578
+ "$ref": "#/components/schemas/SandboxResourceProfile"
2579
+ },
2580
+ "state": {
2581
+ "$ref": "#/components/schemas/SandboxState"
2582
+ },
2583
+ "createdAt": {
2584
+ "type": "string",
2585
+ "format": "date-time"
2586
+ },
2587
+ "createdBy": {
2588
+ "type": "string"
2589
+ },
2590
+ "deletedAt": {
2591
+ "type": "string",
2592
+ "format": "date-time",
2593
+ "description": "Time when the delete operation was created."
2594
+ },
2595
+ "deletedBy": {
2596
+ "type": "string",
2597
+ "description": "User who requested the sandbox deletion."
2598
+ },
2599
+ "eol": {
2600
+ "type": "string",
2601
+ "format": "date-time"
2602
+ },
2603
+ "tags": {
2604
+ "type": "array",
2605
+ "items": {
2606
+ "type": "string"
2607
+ }
2608
+ },
2609
+ "hostName": {
2610
+ "type": "string"
2611
+ },
2612
+ "links": {
2613
+ "type": "object",
2614
+ "description": "Set of named links for accessing the sandbox.",
2615
+ "properties": {
2616
+ "bm": {
2617
+ "type": "string",
2618
+ "description": "Fully qualified URL of the sandbox Business Manager web app."
2619
+ },
2620
+ "ocapi": {
2621
+ "type": "string",
2622
+ "description": "Fully qualified URL of OCAPI data API (excluding version selector)."
2623
+ },
2624
+ "impex": {
2625
+ "type": "string",
2626
+ "description": "Fully qualified WebDAV URL for accessing import and export files."
2627
+ },
2628
+ "code": {
2629
+ "type": "string",
2630
+ "description": "Fully qualified WebDAV URL for accessing code."
2631
+ },
2632
+ "logs": {
2633
+ "type": "string",
2634
+ "description": "Fully qualified WebDAV URL for accessing log files."
2635
+ }
2636
+ }
2637
+ },
2638
+ "startScheduler": {
2639
+ "$ref": "#/components/schemas/WeekdaySchedule"
2640
+ },
2641
+ "stopScheduler": {
2642
+ "$ref": "#/components/schemas/WeekdaySchedule"
2643
+ }
2644
+ }
2645
+ },
2646
+ "GranularUsage": {
2647
+ "type": "object",
2648
+ "properties": {
2649
+ "usageDate": {
2650
+ "type": "string",
2651
+ "description": "start of the usage being returned"
2652
+ },
2653
+ "creditsUp": {
2654
+ "type": "number",
2655
+ "format": "double",
2656
+ "description": "Credits consumed when sandboxes were up during the requested timeframe.",
2657
+ "example": 3600.001
2658
+ },
2659
+ "creditsDown": {
2660
+ "type": "number",
2661
+ "format": "double",
2662
+ "description": "Credits consumed when sandboxes were down during the requested timeframe.",
2663
+ "example": 1440.001
2664
+ },
2665
+ "minutesUp": {
2666
+ "type": "integer",
2667
+ "format": "int64",
2668
+ "description": "Minutes sandboxes were up during the requested timeframe.",
2669
+ "example": 360000
2670
+ },
2671
+ "minutesDown": {
2672
+ "type": "integer",
2673
+ "format": "int64",
2674
+ "description": "Minutes sandboxes were down during the requested timeframe.",
2675
+ "example": 180000
2676
+ }
2677
+ }
2678
+ },
2679
+ "SandboxInfo": {
2680
+ "type": "object",
2681
+ "properties": {
2682
+ "realm": {
2683
+ "type": "string"
2684
+ },
2685
+ "resourceProfile": {
2686
+ "$ref": "#/components/schemas/SandboxResourceProfile"
2687
+ },
2688
+ "createdAt": {
2689
+ "type": "string",
2690
+ "format": "date-time"
2691
+ },
2692
+ "deletedAt": {
2693
+ "type": "string",
2694
+ "format": "date-time",
2695
+ "description": "Time when the delete operation was created."
2696
+ },
2697
+ "name": {
2698
+ "type": "string",
2699
+ "description": "Name of the sandbox"
2700
+ },
2701
+ "instanceId": {
2702
+ "type": "string",
2703
+ "description": "instanceId of the sandbox"
2704
+ },
2705
+ "minutesUpByProfile": {
2706
+ "type": "array",
2707
+ "items": {
2708
+ "type": "object",
2709
+ "properties": {
2710
+ "profile": {
2711
+ "$ref": "#/components/schemas/SandboxResourceProfile"
2712
+ },
2713
+ "minutes": {
2714
+ "type": "integer",
2715
+ "format": "int64",
2716
+ "description": "How many minutes sandboxes of this profile type were running during the report timeframe."
2717
+ }
2718
+ }
2719
+ }
2720
+ },
2721
+ "minutesUp": {
2722
+ "type": "integer",
2723
+ "format": "int64",
2724
+ "description": "Minutes sandbox in this realm was running during the requested timeframe (by default, the previous 30 days).",
2725
+ "example": 360000
2726
+ },
2727
+ "minutesDown": {
2728
+ "type": "integer",
2729
+ "format": "int64",
2730
+ "description": "Minutes sandbox in this realm was not running during the requested timeframe (by default, the previous 30 days).",
2731
+ "example": 180000
2732
+ },
2733
+ "autoScheduled": {
2734
+ "type": "boolean",
2735
+ "description": "Defaults to false. If set to true, the sandbox is covered by automatic start/stop actions, which can be set to a dedicated time via realm- configuration API.:"
2736
+ },
2737
+ "startScheduler": {
2738
+ "$ref": "#/components/schemas/WeekdaySchedule"
2739
+ },
2740
+ "stopScheduler": {
2741
+ "$ref": "#/components/schemas/WeekdaySchedule"
2742
+ },
2743
+ "clusterName": {
2744
+ "type": "string",
2745
+ "description": "Cluster where sandbox resides."
2746
+ }
2747
+ }
2748
+ },
2749
+ "SandboxState": {
2750
+ "type": "string",
2751
+ "enum": [
2752
+ "new",
2753
+ "creating",
2754
+ "starting",
2755
+ "started",
2756
+ "stopping",
2757
+ "stopped",
2758
+ "deleting",
2759
+ "deleted",
2760
+ "resetting",
2761
+ "failed",
2762
+ "unknown",
2763
+ "upgrading"
2764
+ ]
2765
+ },
2766
+ "SandboxResourceProfile": {
2767
+ "type": "string",
2768
+ "enum": [
2769
+ "medium",
2770
+ "large",
2771
+ "xlarge",
2772
+ "xxlarge"
2773
+ ],
2774
+ "description": "Determines the resource allocation for the sandbox, \"medium\" is the default. Be careful, more powerful profiles consume more credits."
2775
+ },
2776
+ "SandboxOperationRequestModel": {
2777
+ "type": "object",
2778
+ "required": [
2779
+ "operation"
2780
+ ],
2781
+ "properties": {
2782
+ "operation": {
2783
+ "type": "string",
2784
+ "enum": [
2785
+ "start",
2786
+ "stop",
2787
+ "restart",
2788
+ "reset"
2789
+ ]
2790
+ }
2791
+ }
2792
+ },
2793
+ "SandboxAliasResponse": {
2794
+ "allOf": [
2795
+ {
2796
+ "$ref": "#/components/schemas/StatusResponse"
2797
+ },
2798
+ {
2799
+ "type": "object",
2800
+ "properties": {
2801
+ "data": {
2802
+ "$ref": "#/components/schemas/SandboxAliasModel"
2803
+ }
2804
+ }
2805
+ }
2806
+ ]
2807
+ },
2808
+ "SandboxAliasListResponse": {
2809
+ "allOf": [
2810
+ {
2811
+ "$ref": "#/components/schemas/StatusResponse"
2812
+ },
2813
+ {
2814
+ "type": "object",
2815
+ "properties": {
2816
+ "data": {
2817
+ "type": "array",
2818
+ "items": {
2819
+ "$ref": "#/components/schemas/SandboxAliasModel"
2820
+ }
2821
+ }
2822
+ }
2823
+ }
2824
+ ]
2825
+ },
2826
+ "SandboxAliasModel": {
2827
+ "type": "object",
2828
+ "required": [
2829
+ "name"
2830
+ ],
2831
+ "properties": {
2832
+ "id": {
2833
+ "type": "string",
2834
+ "format": "uuid",
2835
+ "readOnly": true,
2836
+ "description": "The sandbox alias UUID."
2837
+ },
2838
+ "name": {
2839
+ "type": "string",
2840
+ "description": "The alias name.",
2841
+ "example": "www.example.com"
2842
+ },
2843
+ "unique": {
2844
+ "type": "boolean",
2845
+ "description": "Define if it's a unique configuration",
2846
+ "example": false
2847
+ },
2848
+ "requestLetsEncryptCertificate": {
2849
+ "type": "boolean",
2850
+ "description": "Request a valid certificate to be generated on the fly through Lets Encrypt. This action consumes certificate requests from the domain quota imposed by Let's Encrypt, please read the Alias documentation carefully.",
2851
+ "example": false
2852
+ },
2853
+ "sandboxId": {
2854
+ "type": "string",
2855
+ "format": "uuid",
2856
+ "readOnly": true,
2857
+ "description": "The UUID of the sandbox the sandbox alias is pointing to."
2858
+ },
2859
+ "cookie": {
2860
+ "type": "object",
2861
+ "properties": {
2862
+ "name": {
2863
+ "type": "string"
2864
+ },
2865
+ "value": {
2866
+ "type": "string"
2867
+ },
2868
+ "path": {
2869
+ "type": "string"
2870
+ },
2871
+ "domain": {
2872
+ "type": "string"
2873
+ }
2874
+ },
2875
+ "required": [
2876
+ "name",
2877
+ "value"
2878
+ ],
2879
+ "readOnly": true,
2880
+ "description": "The cookie required for each request to this alias."
2881
+ },
2882
+ "registration": {
2883
+ "type": "string",
2884
+ "readOnly": true,
2885
+ "description": "The link that can be used to save the required cookie for this alias in the browser."
2886
+ },
2887
+ "domainVerificationRecord": {
2888
+ "type": "string",
2889
+ "readOnly": true,
2890
+ "description": "The verification code to be added as TXT record in the DNS"
2891
+ },
2892
+ "status": {
2893
+ "type": "string",
2894
+ "enum": [
2895
+ "pending",
2896
+ "verified"
2897
+ ],
2898
+ "readOnly": true,
2899
+ "description": "The status of the alias creation process"
2900
+ }
2901
+ }
2902
+ },
2903
+ "SandboxOperationResponse": {
2904
+ "allOf": [
2905
+ {
2906
+ "$ref": "#/components/schemas/StatusResponse"
2907
+ },
2908
+ {
2909
+ "type": "object",
2910
+ "properties": {
2911
+ "data": {
2912
+ "$ref": "#/components/schemas/SandboxOperationModel"
2913
+ }
2914
+ }
2915
+ }
2916
+ ]
2917
+ },
2918
+ "SandboxOperationListResponse": {
2919
+ "allOf": [
2920
+ {
2921
+ "$ref": "#/components/schemas/PagedResponse"
2922
+ },
2923
+ {
2924
+ "type": "object",
2925
+ "properties": {
2926
+ "data": {
2927
+ "type": "array",
2928
+ "items": {
2929
+ "$ref": "#/components/schemas/SandboxOperationModel"
2930
+ }
2931
+ }
2932
+ }
2933
+ }
2934
+ ]
2935
+ },
2936
+ "SandboxSettingsResponse": {
2937
+ "allOf": [
2938
+ {
2939
+ "$ref": "#/components/schemas/StatusResponse"
2940
+ },
2941
+ {
2942
+ "type": "object",
2943
+ "properties": {
2944
+ "data": {
2945
+ "$ref": "#/components/schemas/SandboxSettings"
2946
+ }
2947
+ }
2948
+ }
2949
+ ]
2950
+ },
2951
+ "SandboxStorageResponse": {
2952
+ "allOf": [
2953
+ {
2954
+ "$ref": "#/components/schemas/StatusResponse"
2955
+ },
2956
+ {
2957
+ "type": "object",
2958
+ "properties": {
2959
+ "data": {
2960
+ "$ref": "#/components/schemas/SandboxStorageModel"
2961
+ }
2962
+ }
2963
+ }
2964
+ ]
2965
+ },
2966
+ "SandboxUsageResponse": {
2967
+ "allOf": [
2968
+ {
2969
+ "$ref": "#/components/schemas/StatusResponse"
2970
+ },
2971
+ {
2972
+ "type": "object",
2973
+ "properties": {
2974
+ "data": {
2975
+ "$ref": "#/components/schemas/SandboxUsageModel"
2976
+ }
2977
+ }
2978
+ }
2979
+ ]
2980
+ },
2981
+ "SandboxUsageModel": {
2982
+ "type": "object",
2983
+ "required": [
2984
+ "id"
2985
+ ],
2986
+ "properties": {
2987
+ "id": {
2988
+ "type": "string"
2989
+ },
2990
+ "sandboxSeconds": {
2991
+ "type": "integer",
2992
+ "format": "int64",
2993
+ "description": "Total number of seconds during which the sandbox ran."
2994
+ },
2995
+ "minutesUpByProfile": {
2996
+ "type": "array",
2997
+ "items": {
2998
+ "type": "object",
2999
+ "properties": {
3000
+ "profile": {
3001
+ "$ref": "#/components/schemas/SandboxResourceProfile"
3002
+ },
3003
+ "minutes": {
3004
+ "type": "integer",
3005
+ "format": "int64",
3006
+ "description": "How many minutes sandboxes of this profile type were running during the report timeframe."
3007
+ }
3008
+ }
3009
+ }
3010
+ },
3011
+ "minutesUp": {
3012
+ "type": "integer",
3013
+ "format": "int64",
3014
+ "description": "Sum of minutes sandboxes in this realm were running during the requested timeframe (by default, the previous 30 days).",
3015
+ "example": 360000
3016
+ },
3017
+ "minutesDown": {
3018
+ "type": "integer",
3019
+ "format": "int64",
3020
+ "description": "Sum of minutes sandboxes in this realm were not running during the requested timeframe (by default, the previous 30 days).",
3021
+ "example": 180000
3022
+ },
3023
+ "granularUsage": {
3024
+ "type": "array",
3025
+ "items": {
3026
+ "$ref": "#/components/schemas/GranularUsage"
3027
+ }
3028
+ },
3029
+ "history": {
3030
+ "description": "List of blocks, which describe the separate uptimes of a sandbox",
3031
+ "type": "array",
3032
+ "items": {
3033
+ "type": "object",
3034
+ "required": [
3035
+ "from"
3036
+ ],
3037
+ "properties": {
3038
+ "from": {
3039
+ "type": "string",
3040
+ "format": "date-time",
3041
+ "description": "Time the sandbox was started."
3042
+ },
3043
+ "to": {
3044
+ "type": "string",
3045
+ "format": "date-time",
3046
+ "description": "Time the sandbox was stopped. If the sandbox is still running, this value will not exist for the last block."
3047
+ },
3048
+ "sandboxSeconds": {
3049
+ "type": "integer",
3050
+ "format": "int64",
3051
+ "description": "Number of seconds that the sandbox was running for this block."
3052
+ },
3053
+ "resourceProfile": {
3054
+ "$ref": "#/components/schemas/SandboxResourceProfile"
3055
+ },
3056
+ "exceedsTimeframe": {
3057
+ "type": "boolean",
3058
+ "description": "This property is set to true if the block exceeds the given timeframe and was therefore trimmed."
3059
+ },
3060
+ "clusterName": {
3061
+ "type": "string",
3062
+ "description": "Cluster where sandbox resides."
3063
+ }
3064
+ }
3065
+ }
3066
+ }
3067
+ }
3068
+ },
3069
+ "SandboxOperationModel": {
3070
+ "type": "object",
3071
+ "required": [
3072
+ "id",
3073
+ "operation",
3074
+ "operationState"
3075
+ ],
3076
+ "properties": {
3077
+ "id": {
3078
+ "type": "string"
3079
+ },
3080
+ "operation": {
3081
+ "type": "string",
3082
+ "enum": [
3083
+ "start",
3084
+ "stop",
3085
+ "restart",
3086
+ "reset",
3087
+ "create",
3088
+ "delete",
3089
+ "upgrade"
3090
+ ]
3091
+ },
3092
+ "createdAt": {
3093
+ "type": "string",
3094
+ "format": "date-time"
3095
+ },
3096
+ "operationBy": {
3097
+ "type": "string"
3098
+ },
3099
+ "operationState": {
3100
+ "type": "string",
3101
+ "enum": [
3102
+ "pending",
3103
+ "running",
3104
+ "finished"
3105
+ ]
3106
+ },
3107
+ "sandboxState": {
3108
+ "$ref": "#/components/schemas/SandboxState"
3109
+ },
3110
+ "status": {
3111
+ "type": "string",
3112
+ "description": "Indicates whether the operation finished successfully ('Success') or not ('Failure').",
3113
+ "enum": [
3114
+ "success",
3115
+ "failure"
3116
+ ]
3117
+ }
3118
+ }
3119
+ },
3120
+ "SandboxProvisioningRequestModel": {
3121
+ "type": "object",
3122
+ "properties": {
3123
+ "realm": {
3124
+ "type": "string"
3125
+ },
3126
+ "emails": {
3127
+ "type": "array",
3128
+ "items": {
3129
+ "type": "string",
3130
+ "pattern": "(.+)@(.+)"
3131
+ }
3132
+ },
3133
+ "ttl": {
3134
+ "type": "integer",
3135
+ "format": "int32",
3136
+ "description": "Number of hours the sandbox will live (must adhere to the maximum TTL quotas). If set to 0 or less, the sandbox will have an infinite lifetime."
3137
+ },
3138
+ "autoScheduled": {
3139
+ "type": "boolean",
3140
+ "description": "Defaults to false. If set to true, the sandbox is covered by automatic start/stop actions, which can be set to a dedicated time via realm- configuration API."
3141
+ },
3142
+ "analyticsEnabled": {
3143
+ "type": "boolean",
3144
+ "default": false,
3145
+ "description": "Defaults to false. If set to true, analytics will be enabled in ODS."
3146
+ },
3147
+ "tags": {
3148
+ "type": "array",
3149
+ "items": {
3150
+ "type": "string"
3151
+ }
3152
+ },
3153
+ "startScheduler": {
3154
+ "x-type-overwrite": "WeekdaySchedule",
3155
+ "nullable": true
3156
+ },
3157
+ "stopScheduler": {
3158
+ "x-type-overwrite": "WeekdaySchedule",
3159
+ "nullable": true
3160
+ },
3161
+ "resourceProfile": {
3162
+ "$ref": "#/components/schemas/SandboxResourceProfile"
3163
+ },
3164
+ "settings": {
3165
+ "$ref": "#/components/schemas/SandboxSettings"
3166
+ }
3167
+ },
3168
+ "required": [
3169
+ "realm"
3170
+ ],
3171
+ "example": {
3172
+ "realm": "<your realm id>",
3173
+ "emails": [
3174
+ "email1@example.com",
3175
+ "email2@example.com"
3176
+ ],
3177
+ "ttl": 24,
3178
+ "autoScheduled": false,
3179
+ "tags": [
3180
+ "<your-custom-tag>"
3181
+ ],
3182
+ "analyticsEnabled": false,
3183
+ "startScheduler": {
3184
+ "weekdays": [
3185
+ "MONDAY",
3186
+ "TUESDAY",
3187
+ "WEDNESDAY",
3188
+ "THURSDAY",
3189
+ "FRIDAY"
3190
+ ],
3191
+ "time": "08:00:00+03:00"
3192
+ },
3193
+ "stopScheduler": {
3194
+ "weekdays": [
3195
+ "MONDAY",
3196
+ "TUESDAY",
3197
+ "WEDNESDAY",
3198
+ "THURSDAY",
3199
+ "FRIDAY"
3200
+ ],
3201
+ "time": "19:00:00Z"
3202
+ },
3203
+ "resourceProfile": "medium",
3204
+ "settings": {
3205
+ "ocapi": [
3206
+ {
3207
+ "client_id": "<your client id>",
3208
+ "resources": [
3209
+ {
3210
+ "resource_id": "/**",
3211
+ "methods": [
3212
+ "get",
3213
+ "post",
3214
+ "put",
3215
+ "patch",
3216
+ "delete"
3217
+ ],
3218
+ "read_attributes": "(**)",
3219
+ "write_attributes": ""
3220
+ }
3221
+ ]
3222
+ }
3223
+ ],
3224
+ "webdav": [
3225
+ {
3226
+ "client_id": "<your client id>",
3227
+ "permissions": [
3228
+ {
3229
+ "path": "/cartridges",
3230
+ "operations": [
3231
+ "read_write"
3232
+ ]
3233
+ },
3234
+ {
3235
+ "path": "/impex",
3236
+ "operations": [
3237
+ "read_write"
3238
+ ]
3239
+ }
3240
+ ]
3241
+ }
3242
+ ]
3243
+ }
3244
+ }
3245
+ },
3246
+ "SandboxUpdateRequestModel": {
3247
+ "type": "object",
3248
+ "properties": {
3249
+ "emails": {
3250
+ "type": "array",
3251
+ "items": {
3252
+ "type": "string",
3253
+ "pattern": "(.+)@(.+)"
3254
+ }
3255
+ },
3256
+ "ttl": {
3257
+ "type": "integer",
3258
+ "format": "int32",
3259
+ "description": "Number of hours added to the sandbox lifetime (must, together with previous extensions, adhere to the maximum TTL configuration). If set to 0 or less, the sandbox will have an infinite lifetime."
3260
+ },
3261
+ "resourceProfile": {
3262
+ "$ref": "#/components/schemas/SandboxResourceProfile"
3263
+ },
3264
+ "autoScheduled": {
3265
+ "type": "boolean",
3266
+ "description": "If set to true, this sandbox will be captured by automated start-/stop -management."
3267
+ },
3268
+ "tags": {
3269
+ "type": "array",
3270
+ "items": {
3271
+ "type": "string"
3272
+ }
3273
+ },
3274
+ "startScheduler": {
3275
+ "x-type-overwrite": "WeekdaySchedule",
3276
+ "nullable": true
3277
+ },
3278
+ "stopScheduler": {
3279
+ "x-type-overwrite": "WeekdaySchedule",
3280
+ "nullable": true
3281
+ }
3282
+ },
3283
+ "example": {
3284
+ "emails": [
3285
+ "email1@example.com",
3286
+ "email2@example.com"
3287
+ ],
3288
+ "ttl": null,
3289
+ "autoScheduled": false,
3290
+ "resourceProfile": "desiredProfile",
3291
+ "tags": [
3292
+ "<your-custom-tag>"
3293
+ ],
3294
+ "startScheduler": {
3295
+ "weekdays": [
3296
+ "MONDAY",
3297
+ "TUESDAY",
3298
+ "WEDNESDAY",
3299
+ "THURSDAY",
3300
+ "FRIDAY"
3301
+ ],
3302
+ "time": "08:00:00+03:00"
3303
+ },
3304
+ "stopScheduler": {
3305
+ "weekdays": [
3306
+ "MONDAY",
3307
+ "TUESDAY",
3308
+ "WEDNESDAY",
3309
+ "THURSDAY",
3310
+ "FRIDAY"
3311
+ ],
3312
+ "time": "19:00:00Z"
3313
+ }
3314
+ }
3315
+ },
3316
+ "SandboxSettings": {
3317
+ "description": "Map of additional settings evaluated when the sandbox is provisioned and initialized.",
3318
+ "type": "object",
3319
+ "properties": {
3320
+ "ocapi": {
3321
+ "$ref": "#/components/schemas/OcapiSettings"
3322
+ },
3323
+ "webdav": {
3324
+ "$ref": "#/components/schemas/WebDavSettings"
3325
+ }
3326
+ }
3327
+ },
3328
+ "OcapiSettings": {
3329
+ "description": "Use this document to configure Open Commerce API permissions for multiple client applications in the context of a single site.",
3330
+ "type": "array",
3331
+ "minItems": 1,
3332
+ "items": {
3333
+ "description": "Describes Open Commerce API permissions for a client application.",
3334
+ "type": "object",
3335
+ "required": [
3336
+ "client_id"
3337
+ ],
3338
+ "properties": {
3339
+ "client_id": {
3340
+ "description": "Client application ID.",
3341
+ "type": "string",
3342
+ "format": "uuid"
3343
+ },
3344
+ "resources": {
3345
+ "description": "Array of resource-specific permission documents.",
3346
+ "type": "array",
3347
+ "items": {
3348
+ "description": "Configures resource specific permissions and settings.",
3349
+ "type": "object",
3350
+ "required": [
3351
+ "methods",
3352
+ "resource_id"
3353
+ ],
3354
+ "properties": {
3355
+ "methods": {
3356
+ "description": "Open Commerce API HTTP method filter. For example, the filter [\"get\",\"patch\"] allows access to the GET and PATCH methods for the specified resource path. You can specify methods that are supported for a resource. You can list all available resources and methods for the Shop API, version 18.1, with the following meta data call: http://{your-domain}/dw/meta/rest/shop/v18_1?client_id={your-client-id}\n",
3357
+ "type": "array",
3358
+ "items": {
3359
+ "type": "string",
3360
+ "enum": [
3361
+ "get",
3362
+ "delete",
3363
+ "patch",
3364
+ "post",
3365
+ "put"
3366
+ ]
3367
+ }
3368
+ },
3369
+ "read_attributes": {
3370
+ "description": "String that controls which properties are included in the response document. The configuration value must be specified using property selection syntax.\n",
3371
+ "type": "string"
3372
+ },
3373
+ "write_attributes": {
3374
+ "description": "String that controls which properties can be included in the request document. The configuration value must be specified using property selection syntax.\n",
3375
+ "type": "string"
3376
+ },
3377
+ "resource_id": {
3378
+ "description": "OCAPI resource identifier. For example: /products/*/images or /products/specific_id/images. This property supports Ant path style to describe resource IDs. You can specify wildcards or specific product IDs; you can also specify the pattern /products/** to access to all available sub-resources. You can list all resource identifiers for the Shop API, version 18.1, with the following meta data call: http://{your-domain}/dw/meta/rest/shop/v18_1?client_id={your-client-id}\n",
3379
+ "type": "string"
3380
+ },
3381
+ "version_range": {
3382
+ "description": "Version range documents granting permissions only to a subset of OCAPI versions.",
3383
+ "type": "array",
3384
+ "items": {
3385
+ "description": "Use this document to grant resource permissions only to a subset of Open Commerce API versions. You can use the properties from and until to define the range. At least one of both must be specified.\n",
3386
+ "type": "object",
3387
+ "properties": {
3388
+ "from": {
3389
+ "description": "From version (for example, 18.1). If you don't specify the from version, all versions including the oldest are accessible.",
3390
+ "type": "string"
3391
+ },
3392
+ "until": {
3393
+ "description": "Until version (for example, 18.1). The until version is exclusive, which means that it is not part of the range. If you don't specify the until version, all versions including the most recent one are accessible.\n",
3394
+ "type": "string"
3395
+ }
3396
+ }
3397
+ }
3398
+ }
3399
+ }
3400
+ }
3401
+ }
3402
+ }
3403
+ }
3404
+ },
3405
+ "WebDavSettings": {
3406
+ "description": "WebDAV settings contain WebDAV client permissions for multiple client applications in the context of your organization. WebDAV client permissions enable you to configure which API clients can access your WebDAV files. These permissions also give you fine-grained control over which directories each client can access.\n",
3407
+ "type": "array",
3408
+ "minItems": 1,
3409
+ "items": {
3410
+ "description": "An array of client-specific permission documents.",
3411
+ "type": "object",
3412
+ "required": [
3413
+ "client_id",
3414
+ "permissions"
3415
+ ],
3416
+ "properties": {
3417
+ "client_id": {
3418
+ "description": "Client ID indicating the API client for which the permissions are configured.",
3419
+ "type": "string",
3420
+ "format": "uuid"
3421
+ },
3422
+ "permissions": {
3423
+ "description": "Array of directory-based permissions documents. Multiple permissions paths cannot intersect each other; for example, the following two paths intersect and are therefore invalid: /impex/src and /impex/src/foo.\n",
3424
+ "type": "array",
3425
+ "items": {
3426
+ "description": "Use this document to configure WebDAV permissions.",
3427
+ "type": "object",
3428
+ "required": [
3429
+ "path",
3430
+ "operations"
3431
+ ],
3432
+ "properties": {
3433
+ "path": {
3434
+ "description": "Directory for which the WebDAV permission is granted, including all subdirectories. File-specific permissions are not permitted.\n",
3435
+ "type": "string"
3436
+ },
3437
+ "operations": {
3438
+ "description": "Array of operations granted on this directory. Possible values are read and read_write.\n",
3439
+ "type": "array",
3440
+ "minItems": 1,
3441
+ "items": {
3442
+ "type": "string",
3443
+ "enum": [
3444
+ "read",
3445
+ "read_write"
3446
+ ]
3447
+ }
3448
+ }
3449
+ }
3450
+ }
3451
+ }
3452
+ }
3453
+ }
3454
+ },
3455
+ "ApiVersionResponse": {
3456
+ "type": "object",
3457
+ "allOf": [
3458
+ {
3459
+ "$ref": "#/components/schemas/StatusResponse"
3460
+ },
3461
+ {
3462
+ "type": "object",
3463
+ "properties": {
3464
+ "data": {
3465
+ "$ref": "#/components/schemas/ApiVersion"
3466
+ }
3467
+ }
3468
+ }
3469
+ ]
3470
+ },
3471
+ "ApiVersion": {
3472
+ "type": "object",
3473
+ "properties": {
3474
+ "version": {
3475
+ "type": "string",
3476
+ "enum": [
3477
+ "v1"
3478
+ ]
3479
+ },
3480
+ "git": {
3481
+ "type": "object",
3482
+ "properties": {
3483
+ "commit": {
3484
+ "type": "string"
3485
+ },
3486
+ "time": {
3487
+ "type": "string",
3488
+ "format": "date-time"
3489
+ }
3490
+ }
3491
+ },
3492
+ "build": {
3493
+ "type": "object",
3494
+ "properties": {
3495
+ "version": {
3496
+ "type": "string"
3497
+ },
3498
+ "time": {
3499
+ "type": "string",
3500
+ "format": "date-time"
3501
+ }
3502
+ }
3503
+ }
3504
+ }
3505
+ },
3506
+ "UserInfoResponse": {
3507
+ "allOf": [
3508
+ {
3509
+ "$ref": "#/components/schemas/StatusResponse"
3510
+ },
3511
+ {
3512
+ "type": "object",
3513
+ "properties": {
3514
+ "data": {
3515
+ "$ref": "#/components/schemas/UserInfoSpec"
3516
+ }
3517
+ }
3518
+ }
3519
+ ]
3520
+ },
3521
+ "UserInfoSpec": {
3522
+ "type": "object",
3523
+ "properties": {
3524
+ "user": {
3525
+ "type": "object",
3526
+ "properties": {
3527
+ "id": {
3528
+ "description": "User's unique ID on Account Manager.",
3529
+ "type": "string"
3530
+ },
3531
+ "email": {
3532
+ "description": "User's email address.",
3533
+ "type": "string"
3534
+ },
3535
+ "name": {
3536
+ "description": "User's human-readable, full name.",
3537
+ "type": "string"
3538
+ }
3539
+ }
3540
+ },
3541
+ "client": {
3542
+ "type": "object",
3543
+ "properties": {
3544
+ "id": {
3545
+ "description": "OAuth client ID used to retrieve the access token.",
3546
+ "type": "string"
3547
+ }
3548
+ }
3549
+ },
3550
+ "roles": {
3551
+ "description": "User's roles as returned by Account Manager.",
3552
+ "type": "array",
3553
+ "items": {
3554
+ "type": "string"
3555
+ }
3556
+ },
3557
+ "realms": {
3558
+ "description": "Realms that the user is allowed to access. All sandboxes within these realms are accessible.",
3559
+ "type": "array",
3560
+ "items": {
3561
+ "type": "string"
3562
+ }
3563
+ },
3564
+ "sandboxes": {
3565
+ "description": "Sandboxes that the user is allowed to access.",
3566
+ "type": "array",
3567
+ "items": {
3568
+ "type": "string"
3569
+ }
3570
+ }
3571
+ }
3572
+ },
3573
+ "SystemInfoResponse": {
3574
+ "allOf": [
3575
+ {
3576
+ "$ref": "#/components/schemas/StatusResponse"
3577
+ },
3578
+ {
3579
+ "type": "object",
3580
+ "properties": {
3581
+ "data": {
3582
+ "$ref": "#/components/schemas/SystemInfoSpec"
3583
+ }
3584
+ }
3585
+ }
3586
+ ]
3587
+ },
3588
+ "SystemInfoSpec": {
3589
+ "type": "object",
3590
+ "properties": {
3591
+ "region": {
3592
+ "type": "string",
3593
+ "description": "The region, the system is deployed on."
3594
+ },
3595
+ "systemIps": {
3596
+ "type": "array",
3597
+ "items": {
3598
+ "type": "string"
3599
+ },
3600
+ "description": "Public IP addresses of internal services like API server"
3601
+ },
3602
+ "sandboxIps": {
3603
+ "type": "array",
3604
+ "items": {
3605
+ "type": "string"
3606
+ },
3607
+ "description": "Public IP addresses of all sandboxes"
3608
+ },
3609
+ "inboundIps": {
3610
+ "type": "array",
3611
+ "items": {
3612
+ "type": "string"
3613
+ },
3614
+ "description": "IP addresses for incoming traffic."
3615
+ },
3616
+ "outboundIps": {
3617
+ "type": "array",
3618
+ "items": {
3619
+ "type": "string"
3620
+ },
3621
+ "description": "IP addresses for outgoing traffic."
3622
+ }
3623
+ }
3624
+ },
3625
+ "ErrorResponse": {
3626
+ "allOf": [
3627
+ {
3628
+ "$ref": "#/components/schemas/StatusResponse"
3629
+ },
3630
+ {
3631
+ "type": "object",
3632
+ "properties": {
3633
+ "error": {
3634
+ "$ref": "#/components/schemas/ErrorModel"
3635
+ }
3636
+ }
3637
+ }
3638
+ ]
3639
+ },
3640
+ "ErrorModel": {
3641
+ "type": "object",
3642
+ "required": [
3643
+ "status"
3644
+ ],
3645
+ "properties": {
3646
+ "status": {
3647
+ "type": "string",
3648
+ "description": "String with value 'Success' or 'Failure' to indicate request outcome.",
3649
+ "enum": [
3650
+ "Success",
3651
+ "Failure"
3652
+ ]
3653
+ },
3654
+ "message": {
3655
+ "type": "string",
3656
+ "description": "Human-readable description of the error."
3657
+ },
3658
+ "reason": {
3659
+ "type": "string",
3660
+ "description": "Machine-readable, one-word, CamelCase description of why the operation failed. If this value is empty, there is no information available. The reason clarifies an HTTP status code but does not override it."
3661
+ },
3662
+ "details": {
3663
+ "description": "Extended data associated with the reason. Each reason can define its own extended details. This field is optional, and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
3664
+ "type": "object",
3665
+ "additionalProperties": {
3666
+ "type": "string"
3667
+ }
3668
+ }
3669
+ }
3670
+ }
3671
+ }
3672
+ }
3673
+ }