@commercetools/cli-topic-sphere 0.0.0 → 0.0.2-rc.e6e7b377

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 (807) hide show
  1. package/dist/commands/sphere/api-clients/create.d.ts +3 -0
  2. package/dist/commands/sphere/api-clients/create.d.ts.map +1 -0
  3. package/dist/commands/sphere/api-clients/create.js +6 -0
  4. package/dist/commands/sphere/api-clients/create.js.map +1 -0
  5. package/dist/commands/sphere/api-clients/delete.d.ts +3 -0
  6. package/dist/commands/sphere/api-clients/delete.d.ts.map +1 -0
  7. package/dist/commands/sphere/api-clients/delete.js +6 -0
  8. package/dist/commands/sphere/api-clients/delete.js.map +1 -0
  9. package/dist/commands/sphere/api-clients/get.d.ts +3 -0
  10. package/dist/commands/sphere/api-clients/get.d.ts.map +1 -0
  11. package/dist/commands/sphere/api-clients/get.js +6 -0
  12. package/dist/commands/sphere/api-clients/get.js.map +1 -0
  13. package/dist/commands/sphere/api-clients/list.d.ts +3 -0
  14. package/dist/commands/sphere/api-clients/list.d.ts.map +1 -0
  15. package/dist/commands/sphere/api-clients/list.js +6 -0
  16. package/dist/commands/sphere/api-clients/list.js.map +1 -0
  17. package/dist/commands/sphere/api-clients/update.d.ts +3 -0
  18. package/dist/commands/sphere/api-clients/update.d.ts.map +1 -0
  19. package/dist/commands/sphere/api-clients/update.js +6 -0
  20. package/dist/commands/sphere/api-clients/update.js.map +1 -0
  21. package/dist/commands/sphere/approval-flows/create.d.ts +3 -0
  22. package/dist/commands/sphere/approval-flows/create.d.ts.map +1 -0
  23. package/dist/commands/sphere/approval-flows/create.js +6 -0
  24. package/dist/commands/sphere/approval-flows/create.js.map +1 -0
  25. package/dist/commands/sphere/approval-flows/delete.d.ts +3 -0
  26. package/dist/commands/sphere/approval-flows/delete.d.ts.map +1 -0
  27. package/dist/commands/sphere/approval-flows/delete.js +6 -0
  28. package/dist/commands/sphere/approval-flows/delete.js.map +1 -0
  29. package/dist/commands/sphere/approval-flows/get.d.ts +3 -0
  30. package/dist/commands/sphere/approval-flows/get.d.ts.map +1 -0
  31. package/dist/commands/sphere/approval-flows/get.js +6 -0
  32. package/dist/commands/sphere/approval-flows/get.js.map +1 -0
  33. package/dist/commands/sphere/approval-flows/list.d.ts +3 -0
  34. package/dist/commands/sphere/approval-flows/list.d.ts.map +1 -0
  35. package/dist/commands/sphere/approval-flows/list.js +6 -0
  36. package/dist/commands/sphere/approval-flows/list.js.map +1 -0
  37. package/dist/commands/sphere/approval-flows/update.d.ts +3 -0
  38. package/dist/commands/sphere/approval-flows/update.d.ts.map +1 -0
  39. package/dist/commands/sphere/approval-flows/update.js +6 -0
  40. package/dist/commands/sphere/approval-flows/update.js.map +1 -0
  41. package/dist/commands/sphere/approval-rules/create.d.ts +3 -0
  42. package/dist/commands/sphere/approval-rules/create.d.ts.map +1 -0
  43. package/dist/commands/sphere/approval-rules/create.js +7 -0
  44. package/dist/commands/sphere/approval-rules/create.js.map +1 -0
  45. package/dist/commands/sphere/approval-rules/delete.d.ts +3 -0
  46. package/dist/commands/sphere/approval-rules/delete.d.ts.map +1 -0
  47. package/dist/commands/sphere/approval-rules/delete.js +7 -0
  48. package/dist/commands/sphere/approval-rules/delete.js.map +1 -0
  49. package/dist/commands/sphere/approval-rules/get.d.ts +3 -0
  50. package/dist/commands/sphere/approval-rules/get.d.ts.map +1 -0
  51. package/dist/commands/sphere/approval-rules/get.js +7 -0
  52. package/dist/commands/sphere/approval-rules/get.js.map +1 -0
  53. package/dist/commands/sphere/approval-rules/list.d.ts +3 -0
  54. package/dist/commands/sphere/approval-rules/list.d.ts.map +1 -0
  55. package/dist/commands/sphere/approval-rules/list.js +7 -0
  56. package/dist/commands/sphere/approval-rules/list.js.map +1 -0
  57. package/dist/commands/sphere/approval-rules/update.d.ts +3 -0
  58. package/dist/commands/sphere/approval-rules/update.d.ts.map +1 -0
  59. package/dist/commands/sphere/approval-rules/update.js +7 -0
  60. package/dist/commands/sphere/approval-rules/update.js.map +1 -0
  61. package/dist/commands/sphere/associate-roles/create.d.ts +3 -0
  62. package/dist/commands/sphere/associate-roles/create.d.ts.map +1 -0
  63. package/dist/commands/sphere/associate-roles/create.js +7 -0
  64. package/dist/commands/sphere/associate-roles/create.js.map +1 -0
  65. package/dist/commands/sphere/associate-roles/delete.d.ts +3 -0
  66. package/dist/commands/sphere/associate-roles/delete.d.ts.map +1 -0
  67. package/dist/commands/sphere/associate-roles/delete.js +7 -0
  68. package/dist/commands/sphere/associate-roles/delete.js.map +1 -0
  69. package/dist/commands/sphere/associate-roles/get.d.ts +3 -0
  70. package/dist/commands/sphere/associate-roles/get.d.ts.map +1 -0
  71. package/dist/commands/sphere/associate-roles/get.js +7 -0
  72. package/dist/commands/sphere/associate-roles/get.js.map +1 -0
  73. package/dist/commands/sphere/associate-roles/list.d.ts +3 -0
  74. package/dist/commands/sphere/associate-roles/list.d.ts.map +1 -0
  75. package/dist/commands/sphere/associate-roles/list.js +7 -0
  76. package/dist/commands/sphere/associate-roles/list.js.map +1 -0
  77. package/dist/commands/sphere/associate-roles/update.d.ts +3 -0
  78. package/dist/commands/sphere/associate-roles/update.d.ts.map +1 -0
  79. package/dist/commands/sphere/associate-roles/update.js +7 -0
  80. package/dist/commands/sphere/associate-roles/update.js.map +1 -0
  81. package/dist/commands/sphere/attribute-groups/create.d.ts +3 -0
  82. package/dist/commands/sphere/attribute-groups/create.d.ts.map +1 -0
  83. package/dist/commands/sphere/attribute-groups/create.js +7 -0
  84. package/dist/commands/sphere/attribute-groups/create.js.map +1 -0
  85. package/dist/commands/sphere/attribute-groups/delete.d.ts +3 -0
  86. package/dist/commands/sphere/attribute-groups/delete.d.ts.map +1 -0
  87. package/dist/commands/sphere/attribute-groups/delete.js +7 -0
  88. package/dist/commands/sphere/attribute-groups/delete.js.map +1 -0
  89. package/dist/commands/sphere/attribute-groups/get.d.ts +3 -0
  90. package/dist/commands/sphere/attribute-groups/get.d.ts.map +1 -0
  91. package/dist/commands/sphere/attribute-groups/get.js +7 -0
  92. package/dist/commands/sphere/attribute-groups/get.js.map +1 -0
  93. package/dist/commands/sphere/attribute-groups/list.d.ts +3 -0
  94. package/dist/commands/sphere/attribute-groups/list.d.ts.map +1 -0
  95. package/dist/commands/sphere/attribute-groups/list.js +7 -0
  96. package/dist/commands/sphere/attribute-groups/list.js.map +1 -0
  97. package/dist/commands/sphere/attribute-groups/update.d.ts +3 -0
  98. package/dist/commands/sphere/attribute-groups/update.d.ts.map +1 -0
  99. package/dist/commands/sphere/attribute-groups/update.js +7 -0
  100. package/dist/commands/sphere/attribute-groups/update.js.map +1 -0
  101. package/dist/commands/sphere/business-units/create.d.ts +3 -0
  102. package/dist/commands/sphere/business-units/create.d.ts.map +1 -0
  103. package/dist/commands/sphere/business-units/create.js +7 -0
  104. package/dist/commands/sphere/business-units/create.js.map +1 -0
  105. package/dist/commands/sphere/business-units/delete.d.ts +3 -0
  106. package/dist/commands/sphere/business-units/delete.d.ts.map +1 -0
  107. package/dist/commands/sphere/business-units/delete.js +7 -0
  108. package/dist/commands/sphere/business-units/delete.js.map +1 -0
  109. package/dist/commands/sphere/business-units/get.d.ts +3 -0
  110. package/dist/commands/sphere/business-units/get.d.ts.map +1 -0
  111. package/dist/commands/sphere/business-units/get.js +7 -0
  112. package/dist/commands/sphere/business-units/get.js.map +1 -0
  113. package/dist/commands/sphere/business-units/list.d.ts +3 -0
  114. package/dist/commands/sphere/business-units/list.d.ts.map +1 -0
  115. package/dist/commands/sphere/business-units/list.js +7 -0
  116. package/dist/commands/sphere/business-units/list.js.map +1 -0
  117. package/dist/commands/sphere/business-units/update.d.ts +3 -0
  118. package/dist/commands/sphere/business-units/update.d.ts.map +1 -0
  119. package/dist/commands/sphere/business-units/update.js +7 -0
  120. package/dist/commands/sphere/business-units/update.js.map +1 -0
  121. package/dist/commands/sphere/cart-discounts/create.d.ts +3 -0
  122. package/dist/commands/sphere/cart-discounts/create.d.ts.map +1 -0
  123. package/dist/commands/sphere/cart-discounts/create.js +7 -0
  124. package/dist/commands/sphere/cart-discounts/create.js.map +1 -0
  125. package/dist/commands/sphere/cart-discounts/delete.d.ts +3 -0
  126. package/dist/commands/sphere/cart-discounts/delete.d.ts.map +1 -0
  127. package/dist/commands/sphere/cart-discounts/delete.js +7 -0
  128. package/dist/commands/sphere/cart-discounts/delete.js.map +1 -0
  129. package/dist/commands/sphere/cart-discounts/get.d.ts +3 -0
  130. package/dist/commands/sphere/cart-discounts/get.d.ts.map +1 -0
  131. package/dist/commands/sphere/cart-discounts/get.js +7 -0
  132. package/dist/commands/sphere/cart-discounts/get.js.map +1 -0
  133. package/dist/commands/sphere/cart-discounts/list.d.ts +3 -0
  134. package/dist/commands/sphere/cart-discounts/list.d.ts.map +1 -0
  135. package/dist/commands/sphere/cart-discounts/list.js +7 -0
  136. package/dist/commands/sphere/cart-discounts/list.js.map +1 -0
  137. package/dist/commands/sphere/cart-discounts/update.d.ts +3 -0
  138. package/dist/commands/sphere/cart-discounts/update.d.ts.map +1 -0
  139. package/dist/commands/sphere/cart-discounts/update.js +7 -0
  140. package/dist/commands/sphere/cart-discounts/update.js.map +1 -0
  141. package/dist/commands/sphere/carts/create.d.ts +3 -0
  142. package/dist/commands/sphere/carts/create.d.ts.map +1 -0
  143. package/dist/commands/sphere/carts/create.js +6 -0
  144. package/dist/commands/sphere/carts/create.js.map +1 -0
  145. package/dist/commands/sphere/carts/delete.d.ts +3 -0
  146. package/dist/commands/sphere/carts/delete.d.ts.map +1 -0
  147. package/dist/commands/sphere/carts/delete.js +6 -0
  148. package/dist/commands/sphere/carts/delete.js.map +1 -0
  149. package/dist/commands/sphere/carts/get.d.ts +3 -0
  150. package/dist/commands/sphere/carts/get.d.ts.map +1 -0
  151. package/dist/commands/sphere/carts/get.js +6 -0
  152. package/dist/commands/sphere/carts/get.js.map +1 -0
  153. package/dist/commands/sphere/carts/list.d.ts +3 -0
  154. package/dist/commands/sphere/carts/list.d.ts.map +1 -0
  155. package/dist/commands/sphere/carts/list.js +6 -0
  156. package/dist/commands/sphere/carts/list.js.map +1 -0
  157. package/dist/commands/sphere/carts/update.d.ts +3 -0
  158. package/dist/commands/sphere/carts/update.d.ts.map +1 -0
  159. package/dist/commands/sphere/carts/update.js +6 -0
  160. package/dist/commands/sphere/carts/update.js.map +1 -0
  161. package/dist/commands/sphere/categories/create.d.ts +3 -0
  162. package/dist/commands/sphere/categories/create.d.ts.map +1 -0
  163. package/dist/commands/sphere/categories/create.js +7 -0
  164. package/dist/commands/sphere/categories/create.js.map +1 -0
  165. package/dist/commands/sphere/categories/delete.d.ts +3 -0
  166. package/dist/commands/sphere/categories/delete.d.ts.map +1 -0
  167. package/dist/commands/sphere/categories/delete.js +7 -0
  168. package/dist/commands/sphere/categories/delete.js.map +1 -0
  169. package/dist/commands/sphere/categories/get.d.ts +3 -0
  170. package/dist/commands/sphere/categories/get.d.ts.map +1 -0
  171. package/dist/commands/sphere/categories/get.js +7 -0
  172. package/dist/commands/sphere/categories/get.js.map +1 -0
  173. package/dist/commands/sphere/categories/list.d.ts +3 -0
  174. package/dist/commands/sphere/categories/list.d.ts.map +1 -0
  175. package/dist/commands/sphere/categories/list.js +7 -0
  176. package/dist/commands/sphere/categories/list.js.map +1 -0
  177. package/dist/commands/sphere/categories/update.d.ts +3 -0
  178. package/dist/commands/sphere/categories/update.d.ts.map +1 -0
  179. package/dist/commands/sphere/categories/update.js +7 -0
  180. package/dist/commands/sphere/categories/update.js.map +1 -0
  181. package/dist/commands/sphere/channels/create.d.ts +3 -0
  182. package/dist/commands/sphere/channels/create.d.ts.map +1 -0
  183. package/dist/commands/sphere/channels/create.js +7 -0
  184. package/dist/commands/sphere/channels/create.js.map +1 -0
  185. package/dist/commands/sphere/channels/delete.d.ts +3 -0
  186. package/dist/commands/sphere/channels/delete.d.ts.map +1 -0
  187. package/dist/commands/sphere/channels/delete.js +7 -0
  188. package/dist/commands/sphere/channels/delete.js.map +1 -0
  189. package/dist/commands/sphere/channels/get.d.ts +3 -0
  190. package/dist/commands/sphere/channels/get.d.ts.map +1 -0
  191. package/dist/commands/sphere/channels/get.js +7 -0
  192. package/dist/commands/sphere/channels/get.js.map +1 -0
  193. package/dist/commands/sphere/channels/list.d.ts +3 -0
  194. package/dist/commands/sphere/channels/list.d.ts.map +1 -0
  195. package/dist/commands/sphere/channels/list.js +7 -0
  196. package/dist/commands/sphere/channels/list.js.map +1 -0
  197. package/dist/commands/sphere/channels/update.d.ts +3 -0
  198. package/dist/commands/sphere/channels/update.d.ts.map +1 -0
  199. package/dist/commands/sphere/channels/update.js +7 -0
  200. package/dist/commands/sphere/channels/update.js.map +1 -0
  201. package/dist/commands/sphere/custom-objects/create.d.ts +11 -0
  202. package/dist/commands/sphere/custom-objects/create.d.ts.map +1 -0
  203. package/dist/commands/sphere/custom-objects/create.js +23 -0
  204. package/dist/commands/sphere/custom-objects/create.js.map +1 -0
  205. package/dist/commands/sphere/custom-objects/delete.d.ts +13 -0
  206. package/dist/commands/sphere/custom-objects/delete.d.ts.map +1 -0
  207. package/dist/commands/sphere/custom-objects/delete.js +29 -0
  208. package/dist/commands/sphere/custom-objects/delete.js.map +1 -0
  209. package/dist/commands/sphere/custom-objects/get.d.ts +12 -0
  210. package/dist/commands/sphere/custom-objects/get.d.ts.map +1 -0
  211. package/dist/commands/sphere/custom-objects/get.js +22 -0
  212. package/dist/commands/sphere/custom-objects/get.js.map +1 -0
  213. package/dist/commands/sphere/custom-objects/list.d.ts +15 -0
  214. package/dist/commands/sphere/custom-objects/list.d.ts.map +1 -0
  215. package/dist/commands/sphere/custom-objects/list.js +38 -0
  216. package/dist/commands/sphere/custom-objects/list.js.map +1 -0
  217. package/dist/commands/sphere/customer-groups/create.d.ts +3 -0
  218. package/dist/commands/sphere/customer-groups/create.d.ts.map +1 -0
  219. package/dist/commands/sphere/customer-groups/create.js +7 -0
  220. package/dist/commands/sphere/customer-groups/create.js.map +1 -0
  221. package/dist/commands/sphere/customer-groups/delete.d.ts +3 -0
  222. package/dist/commands/sphere/customer-groups/delete.d.ts.map +1 -0
  223. package/dist/commands/sphere/customer-groups/delete.js +7 -0
  224. package/dist/commands/sphere/customer-groups/delete.js.map +1 -0
  225. package/dist/commands/sphere/customer-groups/get.d.ts +3 -0
  226. package/dist/commands/sphere/customer-groups/get.d.ts.map +1 -0
  227. package/dist/commands/sphere/customer-groups/get.js +7 -0
  228. package/dist/commands/sphere/customer-groups/get.js.map +1 -0
  229. package/dist/commands/sphere/customer-groups/list.d.ts +3 -0
  230. package/dist/commands/sphere/customer-groups/list.d.ts.map +1 -0
  231. package/dist/commands/sphere/customer-groups/list.js +7 -0
  232. package/dist/commands/sphere/customer-groups/list.js.map +1 -0
  233. package/dist/commands/sphere/customer-groups/update.d.ts +3 -0
  234. package/dist/commands/sphere/customer-groups/update.d.ts.map +1 -0
  235. package/dist/commands/sphere/customer-groups/update.js +7 -0
  236. package/dist/commands/sphere/customer-groups/update.js.map +1 -0
  237. package/dist/commands/sphere/customers/create.d.ts +3 -0
  238. package/dist/commands/sphere/customers/create.d.ts.map +1 -0
  239. package/dist/commands/sphere/customers/create.js +7 -0
  240. package/dist/commands/sphere/customers/create.js.map +1 -0
  241. package/dist/commands/sphere/customers/delete.d.ts +3 -0
  242. package/dist/commands/sphere/customers/delete.d.ts.map +1 -0
  243. package/dist/commands/sphere/customers/delete.js +7 -0
  244. package/dist/commands/sphere/customers/delete.js.map +1 -0
  245. package/dist/commands/sphere/customers/get.d.ts +3 -0
  246. package/dist/commands/sphere/customers/get.d.ts.map +1 -0
  247. package/dist/commands/sphere/customers/get.js +7 -0
  248. package/dist/commands/sphere/customers/get.js.map +1 -0
  249. package/dist/commands/sphere/customers/list.d.ts +3 -0
  250. package/dist/commands/sphere/customers/list.d.ts.map +1 -0
  251. package/dist/commands/sphere/customers/list.js +7 -0
  252. package/dist/commands/sphere/customers/list.js.map +1 -0
  253. package/dist/commands/sphere/customers/update.d.ts +3 -0
  254. package/dist/commands/sphere/customers/update.d.ts.map +1 -0
  255. package/dist/commands/sphere/customers/update.js +7 -0
  256. package/dist/commands/sphere/customers/update.js.map +1 -0
  257. package/dist/commands/sphere/discount-codes/create.d.ts +3 -0
  258. package/dist/commands/sphere/discount-codes/create.d.ts.map +1 -0
  259. package/dist/commands/sphere/discount-codes/create.js +7 -0
  260. package/dist/commands/sphere/discount-codes/create.js.map +1 -0
  261. package/dist/commands/sphere/discount-codes/delete.d.ts +3 -0
  262. package/dist/commands/sphere/discount-codes/delete.d.ts.map +1 -0
  263. package/dist/commands/sphere/discount-codes/delete.js +7 -0
  264. package/dist/commands/sphere/discount-codes/delete.js.map +1 -0
  265. package/dist/commands/sphere/discount-codes/get.d.ts +3 -0
  266. package/dist/commands/sphere/discount-codes/get.d.ts.map +1 -0
  267. package/dist/commands/sphere/discount-codes/get.js +7 -0
  268. package/dist/commands/sphere/discount-codes/get.js.map +1 -0
  269. package/dist/commands/sphere/discount-codes/list.d.ts +3 -0
  270. package/dist/commands/sphere/discount-codes/list.d.ts.map +1 -0
  271. package/dist/commands/sphere/discount-codes/list.js +7 -0
  272. package/dist/commands/sphere/discount-codes/list.js.map +1 -0
  273. package/dist/commands/sphere/discount-codes/update.d.ts +3 -0
  274. package/dist/commands/sphere/discount-codes/update.d.ts.map +1 -0
  275. package/dist/commands/sphere/discount-codes/update.js +7 -0
  276. package/dist/commands/sphere/discount-codes/update.js.map +1 -0
  277. package/dist/commands/sphere/discount-groups/create.d.ts +3 -0
  278. package/dist/commands/sphere/discount-groups/create.d.ts.map +1 -0
  279. package/dist/commands/sphere/discount-groups/create.js +7 -0
  280. package/dist/commands/sphere/discount-groups/create.js.map +1 -0
  281. package/dist/commands/sphere/discount-groups/delete.d.ts +3 -0
  282. package/dist/commands/sphere/discount-groups/delete.d.ts.map +1 -0
  283. package/dist/commands/sphere/discount-groups/delete.js +7 -0
  284. package/dist/commands/sphere/discount-groups/delete.js.map +1 -0
  285. package/dist/commands/sphere/discount-groups/get.d.ts +3 -0
  286. package/dist/commands/sphere/discount-groups/get.d.ts.map +1 -0
  287. package/dist/commands/sphere/discount-groups/get.js +7 -0
  288. package/dist/commands/sphere/discount-groups/get.js.map +1 -0
  289. package/dist/commands/sphere/discount-groups/list.d.ts +3 -0
  290. package/dist/commands/sphere/discount-groups/list.d.ts.map +1 -0
  291. package/dist/commands/sphere/discount-groups/list.js +7 -0
  292. package/dist/commands/sphere/discount-groups/list.js.map +1 -0
  293. package/dist/commands/sphere/discount-groups/update.d.ts +3 -0
  294. package/dist/commands/sphere/discount-groups/update.d.ts.map +1 -0
  295. package/dist/commands/sphere/discount-groups/update.js +7 -0
  296. package/dist/commands/sphere/discount-groups/update.js.map +1 -0
  297. package/dist/commands/sphere/extensions/create.d.ts +3 -0
  298. package/dist/commands/sphere/extensions/create.d.ts.map +1 -0
  299. package/dist/commands/sphere/extensions/create.js +7 -0
  300. package/dist/commands/sphere/extensions/create.js.map +1 -0
  301. package/dist/commands/sphere/extensions/delete.d.ts +3 -0
  302. package/dist/commands/sphere/extensions/delete.d.ts.map +1 -0
  303. package/dist/commands/sphere/extensions/delete.js +7 -0
  304. package/dist/commands/sphere/extensions/delete.js.map +1 -0
  305. package/dist/commands/sphere/extensions/get.d.ts +3 -0
  306. package/dist/commands/sphere/extensions/get.d.ts.map +1 -0
  307. package/dist/commands/sphere/extensions/get.js +7 -0
  308. package/dist/commands/sphere/extensions/get.js.map +1 -0
  309. package/dist/commands/sphere/extensions/list.d.ts +3 -0
  310. package/dist/commands/sphere/extensions/list.d.ts.map +1 -0
  311. package/dist/commands/sphere/extensions/list.js +7 -0
  312. package/dist/commands/sphere/extensions/list.js.map +1 -0
  313. package/dist/commands/sphere/extensions/update.d.ts +3 -0
  314. package/dist/commands/sphere/extensions/update.d.ts.map +1 -0
  315. package/dist/commands/sphere/extensions/update.js +7 -0
  316. package/dist/commands/sphere/extensions/update.js.map +1 -0
  317. package/dist/commands/sphere/inventory/create.d.ts +3 -0
  318. package/dist/commands/sphere/inventory/create.d.ts.map +1 -0
  319. package/dist/commands/sphere/inventory/create.js +6 -0
  320. package/dist/commands/sphere/inventory/create.js.map +1 -0
  321. package/dist/commands/sphere/inventory/delete.d.ts +3 -0
  322. package/dist/commands/sphere/inventory/delete.d.ts.map +1 -0
  323. package/dist/commands/sphere/inventory/delete.js +6 -0
  324. package/dist/commands/sphere/inventory/delete.js.map +1 -0
  325. package/dist/commands/sphere/inventory/get.d.ts +3 -0
  326. package/dist/commands/sphere/inventory/get.d.ts.map +1 -0
  327. package/dist/commands/sphere/inventory/get.js +6 -0
  328. package/dist/commands/sphere/inventory/get.js.map +1 -0
  329. package/dist/commands/sphere/inventory/list.d.ts +3 -0
  330. package/dist/commands/sphere/inventory/list.d.ts.map +1 -0
  331. package/dist/commands/sphere/inventory/list.js +6 -0
  332. package/dist/commands/sphere/inventory/list.js.map +1 -0
  333. package/dist/commands/sphere/inventory/update.d.ts +3 -0
  334. package/dist/commands/sphere/inventory/update.d.ts.map +1 -0
  335. package/dist/commands/sphere/inventory/update.js +6 -0
  336. package/dist/commands/sphere/inventory/update.js.map +1 -0
  337. package/dist/commands/sphere/me/carts/create.d.ts +3 -0
  338. package/dist/commands/sphere/me/carts/create.d.ts.map +1 -0
  339. package/dist/commands/sphere/me/carts/create.js +6 -0
  340. package/dist/commands/sphere/me/carts/create.js.map +1 -0
  341. package/dist/commands/sphere/me/carts/get.d.ts +3 -0
  342. package/dist/commands/sphere/me/carts/get.d.ts.map +1 -0
  343. package/dist/commands/sphere/me/carts/get.js +6 -0
  344. package/dist/commands/sphere/me/carts/get.js.map +1 -0
  345. package/dist/commands/sphere/me/carts/list.d.ts +3 -0
  346. package/dist/commands/sphere/me/carts/list.d.ts.map +1 -0
  347. package/dist/commands/sphere/me/carts/list.js +6 -0
  348. package/dist/commands/sphere/me/carts/list.js.map +1 -0
  349. package/dist/commands/sphere/me/carts/update.d.ts +3 -0
  350. package/dist/commands/sphere/me/carts/update.d.ts.map +1 -0
  351. package/dist/commands/sphere/me/carts/update.js +6 -0
  352. package/dist/commands/sphere/me/carts/update.js.map +1 -0
  353. package/dist/commands/sphere/me/orders/get.d.ts +3 -0
  354. package/dist/commands/sphere/me/orders/get.d.ts.map +1 -0
  355. package/dist/commands/sphere/me/orders/get.js +6 -0
  356. package/dist/commands/sphere/me/orders/get.js.map +1 -0
  357. package/dist/commands/sphere/me/orders/list.d.ts +3 -0
  358. package/dist/commands/sphere/me/orders/list.d.ts.map +1 -0
  359. package/dist/commands/sphere/me/orders/list.js +6 -0
  360. package/dist/commands/sphere/me/orders/list.js.map +1 -0
  361. package/dist/commands/sphere/orders/create.d.ts +3 -0
  362. package/dist/commands/sphere/orders/create.d.ts.map +1 -0
  363. package/dist/commands/sphere/orders/create.js +7 -0
  364. package/dist/commands/sphere/orders/create.js.map +1 -0
  365. package/dist/commands/sphere/orders/delete.d.ts +3 -0
  366. package/dist/commands/sphere/orders/delete.d.ts.map +1 -0
  367. package/dist/commands/sphere/orders/delete.js +7 -0
  368. package/dist/commands/sphere/orders/delete.js.map +1 -0
  369. package/dist/commands/sphere/orders/get.d.ts +3 -0
  370. package/dist/commands/sphere/orders/get.d.ts.map +1 -0
  371. package/dist/commands/sphere/orders/get.js +7 -0
  372. package/dist/commands/sphere/orders/get.js.map +1 -0
  373. package/dist/commands/sphere/orders/list.d.ts +3 -0
  374. package/dist/commands/sphere/orders/list.d.ts.map +1 -0
  375. package/dist/commands/sphere/orders/list.js +7 -0
  376. package/dist/commands/sphere/orders/list.js.map +1 -0
  377. package/dist/commands/sphere/orders/update.d.ts +3 -0
  378. package/dist/commands/sphere/orders/update.d.ts.map +1 -0
  379. package/dist/commands/sphere/orders/update.js +7 -0
  380. package/dist/commands/sphere/orders/update.js.map +1 -0
  381. package/dist/commands/sphere/payment-methods/create.d.ts +3 -0
  382. package/dist/commands/sphere/payment-methods/create.d.ts.map +1 -0
  383. package/dist/commands/sphere/payment-methods/create.js +7 -0
  384. package/dist/commands/sphere/payment-methods/create.js.map +1 -0
  385. package/dist/commands/sphere/payment-methods/delete.d.ts +3 -0
  386. package/dist/commands/sphere/payment-methods/delete.d.ts.map +1 -0
  387. package/dist/commands/sphere/payment-methods/delete.js +7 -0
  388. package/dist/commands/sphere/payment-methods/delete.js.map +1 -0
  389. package/dist/commands/sphere/payment-methods/get.d.ts +3 -0
  390. package/dist/commands/sphere/payment-methods/get.d.ts.map +1 -0
  391. package/dist/commands/sphere/payment-methods/get.js +7 -0
  392. package/dist/commands/sphere/payment-methods/get.js.map +1 -0
  393. package/dist/commands/sphere/payment-methods/list.d.ts +3 -0
  394. package/dist/commands/sphere/payment-methods/list.d.ts.map +1 -0
  395. package/dist/commands/sphere/payment-methods/list.js +7 -0
  396. package/dist/commands/sphere/payment-methods/list.js.map +1 -0
  397. package/dist/commands/sphere/payment-methods/update.d.ts +3 -0
  398. package/dist/commands/sphere/payment-methods/update.d.ts.map +1 -0
  399. package/dist/commands/sphere/payment-methods/update.js +7 -0
  400. package/dist/commands/sphere/payment-methods/update.js.map +1 -0
  401. package/dist/commands/sphere/payments/create.d.ts +3 -0
  402. package/dist/commands/sphere/payments/create.d.ts.map +1 -0
  403. package/dist/commands/sphere/payments/create.js +7 -0
  404. package/dist/commands/sphere/payments/create.js.map +1 -0
  405. package/dist/commands/sphere/payments/delete.d.ts +3 -0
  406. package/dist/commands/sphere/payments/delete.d.ts.map +1 -0
  407. package/dist/commands/sphere/payments/delete.js +7 -0
  408. package/dist/commands/sphere/payments/delete.js.map +1 -0
  409. package/dist/commands/sphere/payments/get.d.ts +3 -0
  410. package/dist/commands/sphere/payments/get.d.ts.map +1 -0
  411. package/dist/commands/sphere/payments/get.js +7 -0
  412. package/dist/commands/sphere/payments/get.js.map +1 -0
  413. package/dist/commands/sphere/payments/list.d.ts +3 -0
  414. package/dist/commands/sphere/payments/list.d.ts.map +1 -0
  415. package/dist/commands/sphere/payments/list.js +7 -0
  416. package/dist/commands/sphere/payments/list.js.map +1 -0
  417. package/dist/commands/sphere/payments/update.d.ts +3 -0
  418. package/dist/commands/sphere/payments/update.d.ts.map +1 -0
  419. package/dist/commands/sphere/payments/update.js +7 -0
  420. package/dist/commands/sphere/payments/update.js.map +1 -0
  421. package/dist/commands/sphere/product-discounts/create.d.ts +3 -0
  422. package/dist/commands/sphere/product-discounts/create.d.ts.map +1 -0
  423. package/dist/commands/sphere/product-discounts/create.js +7 -0
  424. package/dist/commands/sphere/product-discounts/create.js.map +1 -0
  425. package/dist/commands/sphere/product-discounts/delete.d.ts +3 -0
  426. package/dist/commands/sphere/product-discounts/delete.d.ts.map +1 -0
  427. package/dist/commands/sphere/product-discounts/delete.js +7 -0
  428. package/dist/commands/sphere/product-discounts/delete.js.map +1 -0
  429. package/dist/commands/sphere/product-discounts/get.d.ts +3 -0
  430. package/dist/commands/sphere/product-discounts/get.d.ts.map +1 -0
  431. package/dist/commands/sphere/product-discounts/get.js +7 -0
  432. package/dist/commands/sphere/product-discounts/get.js.map +1 -0
  433. package/dist/commands/sphere/product-discounts/list.d.ts +3 -0
  434. package/dist/commands/sphere/product-discounts/list.d.ts.map +1 -0
  435. package/dist/commands/sphere/product-discounts/list.js +7 -0
  436. package/dist/commands/sphere/product-discounts/list.js.map +1 -0
  437. package/dist/commands/sphere/product-discounts/update.d.ts +3 -0
  438. package/dist/commands/sphere/product-discounts/update.d.ts.map +1 -0
  439. package/dist/commands/sphere/product-discounts/update.js +7 -0
  440. package/dist/commands/sphere/product-discounts/update.js.map +1 -0
  441. package/dist/commands/sphere/product-projections/get.d.ts +3 -0
  442. package/dist/commands/sphere/product-projections/get.d.ts.map +1 -0
  443. package/dist/commands/sphere/product-projections/get.js +7 -0
  444. package/dist/commands/sphere/product-projections/get.js.map +1 -0
  445. package/dist/commands/sphere/product-projections/list.d.ts +3 -0
  446. package/dist/commands/sphere/product-projections/list.d.ts.map +1 -0
  447. package/dist/commands/sphere/product-projections/list.js +7 -0
  448. package/dist/commands/sphere/product-projections/list.js.map +1 -0
  449. package/dist/commands/sphere/product-selections/create.d.ts +3 -0
  450. package/dist/commands/sphere/product-selections/create.d.ts.map +1 -0
  451. package/dist/commands/sphere/product-selections/create.js +7 -0
  452. package/dist/commands/sphere/product-selections/create.js.map +1 -0
  453. package/dist/commands/sphere/product-selections/delete.d.ts +3 -0
  454. package/dist/commands/sphere/product-selections/delete.d.ts.map +1 -0
  455. package/dist/commands/sphere/product-selections/delete.js +7 -0
  456. package/dist/commands/sphere/product-selections/delete.js.map +1 -0
  457. package/dist/commands/sphere/product-selections/get.d.ts +3 -0
  458. package/dist/commands/sphere/product-selections/get.d.ts.map +1 -0
  459. package/dist/commands/sphere/product-selections/get.js +7 -0
  460. package/dist/commands/sphere/product-selections/get.js.map +1 -0
  461. package/dist/commands/sphere/product-selections/list.d.ts +3 -0
  462. package/dist/commands/sphere/product-selections/list.d.ts.map +1 -0
  463. package/dist/commands/sphere/product-selections/list.js +7 -0
  464. package/dist/commands/sphere/product-selections/list.js.map +1 -0
  465. package/dist/commands/sphere/product-selections/update.d.ts +3 -0
  466. package/dist/commands/sphere/product-selections/update.d.ts.map +1 -0
  467. package/dist/commands/sphere/product-selections/update.js +7 -0
  468. package/dist/commands/sphere/product-selections/update.js.map +1 -0
  469. package/dist/commands/sphere/product-tailoring/create.d.ts +3 -0
  470. package/dist/commands/sphere/product-tailoring/create.d.ts.map +1 -0
  471. package/dist/commands/sphere/product-tailoring/create.js +7 -0
  472. package/dist/commands/sphere/product-tailoring/create.js.map +1 -0
  473. package/dist/commands/sphere/product-tailoring/delete.d.ts +3 -0
  474. package/dist/commands/sphere/product-tailoring/delete.d.ts.map +1 -0
  475. package/dist/commands/sphere/product-tailoring/delete.js +7 -0
  476. package/dist/commands/sphere/product-tailoring/delete.js.map +1 -0
  477. package/dist/commands/sphere/product-tailoring/get.d.ts +3 -0
  478. package/dist/commands/sphere/product-tailoring/get.d.ts.map +1 -0
  479. package/dist/commands/sphere/product-tailoring/get.js +7 -0
  480. package/dist/commands/sphere/product-tailoring/get.js.map +1 -0
  481. package/dist/commands/sphere/product-tailoring/list.d.ts +3 -0
  482. package/dist/commands/sphere/product-tailoring/list.d.ts.map +1 -0
  483. package/dist/commands/sphere/product-tailoring/list.js +7 -0
  484. package/dist/commands/sphere/product-tailoring/list.js.map +1 -0
  485. package/dist/commands/sphere/product-tailoring/update.d.ts +3 -0
  486. package/dist/commands/sphere/product-tailoring/update.d.ts.map +1 -0
  487. package/dist/commands/sphere/product-tailoring/update.js +7 -0
  488. package/dist/commands/sphere/product-tailoring/update.js.map +1 -0
  489. package/dist/commands/sphere/product-types/create.d.ts +3 -0
  490. package/dist/commands/sphere/product-types/create.d.ts.map +1 -0
  491. package/dist/commands/sphere/product-types/create.js +7 -0
  492. package/dist/commands/sphere/product-types/create.js.map +1 -0
  493. package/dist/commands/sphere/product-types/delete.d.ts +3 -0
  494. package/dist/commands/sphere/product-types/delete.d.ts.map +1 -0
  495. package/dist/commands/sphere/product-types/delete.js +7 -0
  496. package/dist/commands/sphere/product-types/delete.js.map +1 -0
  497. package/dist/commands/sphere/product-types/get.d.ts +3 -0
  498. package/dist/commands/sphere/product-types/get.d.ts.map +1 -0
  499. package/dist/commands/sphere/product-types/get.js +7 -0
  500. package/dist/commands/sphere/product-types/get.js.map +1 -0
  501. package/dist/commands/sphere/product-types/list.d.ts +3 -0
  502. package/dist/commands/sphere/product-types/list.d.ts.map +1 -0
  503. package/dist/commands/sphere/product-types/list.js +7 -0
  504. package/dist/commands/sphere/product-types/list.js.map +1 -0
  505. package/dist/commands/sphere/product-types/update.d.ts +3 -0
  506. package/dist/commands/sphere/product-types/update.d.ts.map +1 -0
  507. package/dist/commands/sphere/product-types/update.js +7 -0
  508. package/dist/commands/sphere/product-types/update.js.map +1 -0
  509. package/dist/commands/sphere/products/create.d.ts +3 -0
  510. package/dist/commands/sphere/products/create.d.ts.map +1 -0
  511. package/dist/commands/sphere/products/create.js +7 -0
  512. package/dist/commands/sphere/products/create.js.map +1 -0
  513. package/dist/commands/sphere/products/delete.d.ts +3 -0
  514. package/dist/commands/sphere/products/delete.d.ts.map +1 -0
  515. package/dist/commands/sphere/products/delete.js +7 -0
  516. package/dist/commands/sphere/products/delete.js.map +1 -0
  517. package/dist/commands/sphere/products/get.d.ts +3 -0
  518. package/dist/commands/sphere/products/get.d.ts.map +1 -0
  519. package/dist/commands/sphere/products/get.js +7 -0
  520. package/dist/commands/sphere/products/get.js.map +1 -0
  521. package/dist/commands/sphere/products/list.d.ts +3 -0
  522. package/dist/commands/sphere/products/list.d.ts.map +1 -0
  523. package/dist/commands/sphere/products/list.js +7 -0
  524. package/dist/commands/sphere/products/list.js.map +1 -0
  525. package/dist/commands/sphere/products/update.d.ts +3 -0
  526. package/dist/commands/sphere/products/update.d.ts.map +1 -0
  527. package/dist/commands/sphere/products/update.js +7 -0
  528. package/dist/commands/sphere/products/update.js.map +1 -0
  529. package/dist/commands/sphere/quote-requests/create.d.ts +3 -0
  530. package/dist/commands/sphere/quote-requests/create.d.ts.map +1 -0
  531. package/dist/commands/sphere/quote-requests/create.js +7 -0
  532. package/dist/commands/sphere/quote-requests/create.js.map +1 -0
  533. package/dist/commands/sphere/quote-requests/delete.d.ts +3 -0
  534. package/dist/commands/sphere/quote-requests/delete.d.ts.map +1 -0
  535. package/dist/commands/sphere/quote-requests/delete.js +7 -0
  536. package/dist/commands/sphere/quote-requests/delete.js.map +1 -0
  537. package/dist/commands/sphere/quote-requests/get.d.ts +3 -0
  538. package/dist/commands/sphere/quote-requests/get.d.ts.map +1 -0
  539. package/dist/commands/sphere/quote-requests/get.js +7 -0
  540. package/dist/commands/sphere/quote-requests/get.js.map +1 -0
  541. package/dist/commands/sphere/quote-requests/list.d.ts +3 -0
  542. package/dist/commands/sphere/quote-requests/list.d.ts.map +1 -0
  543. package/dist/commands/sphere/quote-requests/list.js +7 -0
  544. package/dist/commands/sphere/quote-requests/list.js.map +1 -0
  545. package/dist/commands/sphere/quote-requests/update.d.ts +3 -0
  546. package/dist/commands/sphere/quote-requests/update.d.ts.map +1 -0
  547. package/dist/commands/sphere/quote-requests/update.js +7 -0
  548. package/dist/commands/sphere/quote-requests/update.js.map +1 -0
  549. package/dist/commands/sphere/quotes/create.d.ts +3 -0
  550. package/dist/commands/sphere/quotes/create.d.ts.map +1 -0
  551. package/dist/commands/sphere/quotes/create.js +7 -0
  552. package/dist/commands/sphere/quotes/create.js.map +1 -0
  553. package/dist/commands/sphere/quotes/delete.d.ts +3 -0
  554. package/dist/commands/sphere/quotes/delete.d.ts.map +1 -0
  555. package/dist/commands/sphere/quotes/delete.js +7 -0
  556. package/dist/commands/sphere/quotes/delete.js.map +1 -0
  557. package/dist/commands/sphere/quotes/get.d.ts +3 -0
  558. package/dist/commands/sphere/quotes/get.d.ts.map +1 -0
  559. package/dist/commands/sphere/quotes/get.js +7 -0
  560. package/dist/commands/sphere/quotes/get.js.map +1 -0
  561. package/dist/commands/sphere/quotes/list.d.ts +3 -0
  562. package/dist/commands/sphere/quotes/list.d.ts.map +1 -0
  563. package/dist/commands/sphere/quotes/list.js +7 -0
  564. package/dist/commands/sphere/quotes/list.js.map +1 -0
  565. package/dist/commands/sphere/quotes/update.d.ts +3 -0
  566. package/dist/commands/sphere/quotes/update.d.ts.map +1 -0
  567. package/dist/commands/sphere/quotes/update.js +7 -0
  568. package/dist/commands/sphere/quotes/update.js.map +1 -0
  569. package/dist/commands/sphere/reviews/create.d.ts +3 -0
  570. package/dist/commands/sphere/reviews/create.d.ts.map +1 -0
  571. package/dist/commands/sphere/reviews/create.js +6 -0
  572. package/dist/commands/sphere/reviews/create.js.map +1 -0
  573. package/dist/commands/sphere/reviews/delete.d.ts +3 -0
  574. package/dist/commands/sphere/reviews/delete.d.ts.map +1 -0
  575. package/dist/commands/sphere/reviews/delete.js +6 -0
  576. package/dist/commands/sphere/reviews/delete.js.map +1 -0
  577. package/dist/commands/sphere/reviews/get.d.ts +3 -0
  578. package/dist/commands/sphere/reviews/get.d.ts.map +1 -0
  579. package/dist/commands/sphere/reviews/get.js +6 -0
  580. package/dist/commands/sphere/reviews/get.js.map +1 -0
  581. package/dist/commands/sphere/reviews/list.d.ts +3 -0
  582. package/dist/commands/sphere/reviews/list.d.ts.map +1 -0
  583. package/dist/commands/sphere/reviews/list.js +6 -0
  584. package/dist/commands/sphere/reviews/list.js.map +1 -0
  585. package/dist/commands/sphere/reviews/update.d.ts +3 -0
  586. package/dist/commands/sphere/reviews/update.d.ts.map +1 -0
  587. package/dist/commands/sphere/reviews/update.js +6 -0
  588. package/dist/commands/sphere/reviews/update.js.map +1 -0
  589. package/dist/commands/sphere/shipping-methods/create.d.ts +3 -0
  590. package/dist/commands/sphere/shipping-methods/create.d.ts.map +1 -0
  591. package/dist/commands/sphere/shipping-methods/create.js +7 -0
  592. package/dist/commands/sphere/shipping-methods/create.js.map +1 -0
  593. package/dist/commands/sphere/shipping-methods/delete.d.ts +3 -0
  594. package/dist/commands/sphere/shipping-methods/delete.d.ts.map +1 -0
  595. package/dist/commands/sphere/shipping-methods/delete.js +7 -0
  596. package/dist/commands/sphere/shipping-methods/delete.js.map +1 -0
  597. package/dist/commands/sphere/shipping-methods/get.d.ts +3 -0
  598. package/dist/commands/sphere/shipping-methods/get.d.ts.map +1 -0
  599. package/dist/commands/sphere/shipping-methods/get.js +7 -0
  600. package/dist/commands/sphere/shipping-methods/get.js.map +1 -0
  601. package/dist/commands/sphere/shipping-methods/list.d.ts +3 -0
  602. package/dist/commands/sphere/shipping-methods/list.d.ts.map +1 -0
  603. package/dist/commands/sphere/shipping-methods/list.js +7 -0
  604. package/dist/commands/sphere/shipping-methods/list.js.map +1 -0
  605. package/dist/commands/sphere/shipping-methods/update.d.ts +3 -0
  606. package/dist/commands/sphere/shipping-methods/update.d.ts.map +1 -0
  607. package/dist/commands/sphere/shipping-methods/update.js +7 -0
  608. package/dist/commands/sphere/shipping-methods/update.js.map +1 -0
  609. package/dist/commands/sphere/shopping-lists/create.d.ts +3 -0
  610. package/dist/commands/sphere/shopping-lists/create.d.ts.map +1 -0
  611. package/dist/commands/sphere/shopping-lists/create.js +7 -0
  612. package/dist/commands/sphere/shopping-lists/create.js.map +1 -0
  613. package/dist/commands/sphere/shopping-lists/delete.d.ts +3 -0
  614. package/dist/commands/sphere/shopping-lists/delete.d.ts.map +1 -0
  615. package/dist/commands/sphere/shopping-lists/delete.js +7 -0
  616. package/dist/commands/sphere/shopping-lists/delete.js.map +1 -0
  617. package/dist/commands/sphere/shopping-lists/get.d.ts +3 -0
  618. package/dist/commands/sphere/shopping-lists/get.d.ts.map +1 -0
  619. package/dist/commands/sphere/shopping-lists/get.js +7 -0
  620. package/dist/commands/sphere/shopping-lists/get.js.map +1 -0
  621. package/dist/commands/sphere/shopping-lists/list.d.ts +3 -0
  622. package/dist/commands/sphere/shopping-lists/list.d.ts.map +1 -0
  623. package/dist/commands/sphere/shopping-lists/list.js +7 -0
  624. package/dist/commands/sphere/shopping-lists/list.js.map +1 -0
  625. package/dist/commands/sphere/shopping-lists/update.d.ts +3 -0
  626. package/dist/commands/sphere/shopping-lists/update.d.ts.map +1 -0
  627. package/dist/commands/sphere/shopping-lists/update.js +7 -0
  628. package/dist/commands/sphere/shopping-lists/update.js.map +1 -0
  629. package/dist/commands/sphere/staged-quotes/create.d.ts +3 -0
  630. package/dist/commands/sphere/staged-quotes/create.d.ts.map +1 -0
  631. package/dist/commands/sphere/staged-quotes/create.js +7 -0
  632. package/dist/commands/sphere/staged-quotes/create.js.map +1 -0
  633. package/dist/commands/sphere/staged-quotes/delete.d.ts +3 -0
  634. package/dist/commands/sphere/staged-quotes/delete.d.ts.map +1 -0
  635. package/dist/commands/sphere/staged-quotes/delete.js +7 -0
  636. package/dist/commands/sphere/staged-quotes/delete.js.map +1 -0
  637. package/dist/commands/sphere/staged-quotes/get.d.ts +3 -0
  638. package/dist/commands/sphere/staged-quotes/get.d.ts.map +1 -0
  639. package/dist/commands/sphere/staged-quotes/get.js +7 -0
  640. package/dist/commands/sphere/staged-quotes/get.js.map +1 -0
  641. package/dist/commands/sphere/staged-quotes/list.d.ts +3 -0
  642. package/dist/commands/sphere/staged-quotes/list.d.ts.map +1 -0
  643. package/dist/commands/sphere/staged-quotes/list.js +7 -0
  644. package/dist/commands/sphere/staged-quotes/list.js.map +1 -0
  645. package/dist/commands/sphere/staged-quotes/update.d.ts +3 -0
  646. package/dist/commands/sphere/staged-quotes/update.d.ts.map +1 -0
  647. package/dist/commands/sphere/staged-quotes/update.js +7 -0
  648. package/dist/commands/sphere/staged-quotes/update.js.map +1 -0
  649. package/dist/commands/sphere/states/create.d.ts +3 -0
  650. package/dist/commands/sphere/states/create.d.ts.map +1 -0
  651. package/dist/commands/sphere/states/create.js +7 -0
  652. package/dist/commands/sphere/states/create.js.map +1 -0
  653. package/dist/commands/sphere/states/delete.d.ts +3 -0
  654. package/dist/commands/sphere/states/delete.d.ts.map +1 -0
  655. package/dist/commands/sphere/states/delete.js +7 -0
  656. package/dist/commands/sphere/states/delete.js.map +1 -0
  657. package/dist/commands/sphere/states/get.d.ts +3 -0
  658. package/dist/commands/sphere/states/get.d.ts.map +1 -0
  659. package/dist/commands/sphere/states/get.js +7 -0
  660. package/dist/commands/sphere/states/get.js.map +1 -0
  661. package/dist/commands/sphere/states/list.d.ts +3 -0
  662. package/dist/commands/sphere/states/list.d.ts.map +1 -0
  663. package/dist/commands/sphere/states/list.js +7 -0
  664. package/dist/commands/sphere/states/list.js.map +1 -0
  665. package/dist/commands/sphere/states/update.d.ts +3 -0
  666. package/dist/commands/sphere/states/update.d.ts.map +1 -0
  667. package/dist/commands/sphere/states/update.js +7 -0
  668. package/dist/commands/sphere/states/update.js.map +1 -0
  669. package/dist/commands/sphere/stores/create.d.ts +3 -0
  670. package/dist/commands/sphere/stores/create.d.ts.map +1 -0
  671. package/dist/commands/sphere/stores/create.js +7 -0
  672. package/dist/commands/sphere/stores/create.js.map +1 -0
  673. package/dist/commands/sphere/stores/delete.d.ts +3 -0
  674. package/dist/commands/sphere/stores/delete.d.ts.map +1 -0
  675. package/dist/commands/sphere/stores/delete.js +7 -0
  676. package/dist/commands/sphere/stores/delete.js.map +1 -0
  677. package/dist/commands/sphere/stores/get.d.ts +3 -0
  678. package/dist/commands/sphere/stores/get.d.ts.map +1 -0
  679. package/dist/commands/sphere/stores/get.js +7 -0
  680. package/dist/commands/sphere/stores/get.js.map +1 -0
  681. package/dist/commands/sphere/stores/list.d.ts +3 -0
  682. package/dist/commands/sphere/stores/list.d.ts.map +1 -0
  683. package/dist/commands/sphere/stores/list.js +7 -0
  684. package/dist/commands/sphere/stores/list.js.map +1 -0
  685. package/dist/commands/sphere/stores/update.d.ts +3 -0
  686. package/dist/commands/sphere/stores/update.d.ts.map +1 -0
  687. package/dist/commands/sphere/stores/update.js +7 -0
  688. package/dist/commands/sphere/stores/update.js.map +1 -0
  689. package/dist/commands/sphere/subscriptions/create.d.ts +3 -0
  690. package/dist/commands/sphere/subscriptions/create.d.ts.map +1 -0
  691. package/dist/commands/sphere/subscriptions/create.js +7 -0
  692. package/dist/commands/sphere/subscriptions/create.js.map +1 -0
  693. package/dist/commands/sphere/subscriptions/delete.d.ts +3 -0
  694. package/dist/commands/sphere/subscriptions/delete.d.ts.map +1 -0
  695. package/dist/commands/sphere/subscriptions/delete.js +7 -0
  696. package/dist/commands/sphere/subscriptions/delete.js.map +1 -0
  697. package/dist/commands/sphere/subscriptions/get.d.ts +3 -0
  698. package/dist/commands/sphere/subscriptions/get.d.ts.map +1 -0
  699. package/dist/commands/sphere/subscriptions/get.js +7 -0
  700. package/dist/commands/sphere/subscriptions/get.js.map +1 -0
  701. package/dist/commands/sphere/subscriptions/list.d.ts +3 -0
  702. package/dist/commands/sphere/subscriptions/list.d.ts.map +1 -0
  703. package/dist/commands/sphere/subscriptions/list.js +7 -0
  704. package/dist/commands/sphere/subscriptions/list.js.map +1 -0
  705. package/dist/commands/sphere/subscriptions/update.d.ts +3 -0
  706. package/dist/commands/sphere/subscriptions/update.d.ts.map +1 -0
  707. package/dist/commands/sphere/subscriptions/update.js +7 -0
  708. package/dist/commands/sphere/subscriptions/update.js.map +1 -0
  709. package/dist/commands/sphere/tax-categories/create.d.ts +3 -0
  710. package/dist/commands/sphere/tax-categories/create.d.ts.map +1 -0
  711. package/dist/commands/sphere/tax-categories/create.js +7 -0
  712. package/dist/commands/sphere/tax-categories/create.js.map +1 -0
  713. package/dist/commands/sphere/tax-categories/delete.d.ts +3 -0
  714. package/dist/commands/sphere/tax-categories/delete.d.ts.map +1 -0
  715. package/dist/commands/sphere/tax-categories/delete.js +7 -0
  716. package/dist/commands/sphere/tax-categories/delete.js.map +1 -0
  717. package/dist/commands/sphere/tax-categories/get.d.ts +3 -0
  718. package/dist/commands/sphere/tax-categories/get.d.ts.map +1 -0
  719. package/dist/commands/sphere/tax-categories/get.js +7 -0
  720. package/dist/commands/sphere/tax-categories/get.js.map +1 -0
  721. package/dist/commands/sphere/tax-categories/list.d.ts +3 -0
  722. package/dist/commands/sphere/tax-categories/list.d.ts.map +1 -0
  723. package/dist/commands/sphere/tax-categories/list.js +7 -0
  724. package/dist/commands/sphere/tax-categories/list.js.map +1 -0
  725. package/dist/commands/sphere/tax-categories/update.d.ts +3 -0
  726. package/dist/commands/sphere/tax-categories/update.d.ts.map +1 -0
  727. package/dist/commands/sphere/tax-categories/update.js +7 -0
  728. package/dist/commands/sphere/tax-categories/update.js.map +1 -0
  729. package/dist/commands/sphere/types/create.d.ts +3 -0
  730. package/dist/commands/sphere/types/create.d.ts.map +1 -0
  731. package/dist/commands/sphere/types/create.js +7 -0
  732. package/dist/commands/sphere/types/create.js.map +1 -0
  733. package/dist/commands/sphere/types/delete.d.ts +3 -0
  734. package/dist/commands/sphere/types/delete.d.ts.map +1 -0
  735. package/dist/commands/sphere/types/delete.js +7 -0
  736. package/dist/commands/sphere/types/delete.js.map +1 -0
  737. package/dist/commands/sphere/types/get.d.ts +3 -0
  738. package/dist/commands/sphere/types/get.d.ts.map +1 -0
  739. package/dist/commands/sphere/types/get.js +7 -0
  740. package/dist/commands/sphere/types/get.js.map +1 -0
  741. package/dist/commands/sphere/types/list.d.ts +3 -0
  742. package/dist/commands/sphere/types/list.d.ts.map +1 -0
  743. package/dist/commands/sphere/types/list.js +7 -0
  744. package/dist/commands/sphere/types/list.js.map +1 -0
  745. package/dist/commands/sphere/types/update.d.ts +3 -0
  746. package/dist/commands/sphere/types/update.d.ts.map +1 -0
  747. package/dist/commands/sphere/types/update.js +7 -0
  748. package/dist/commands/sphere/types/update.js.map +1 -0
  749. package/dist/commands/sphere/zones/create.d.ts +3 -0
  750. package/dist/commands/sphere/zones/create.d.ts.map +1 -0
  751. package/dist/commands/sphere/zones/create.js +7 -0
  752. package/dist/commands/sphere/zones/create.js.map +1 -0
  753. package/dist/commands/sphere/zones/delete.d.ts +3 -0
  754. package/dist/commands/sphere/zones/delete.d.ts.map +1 -0
  755. package/dist/commands/sphere/zones/delete.js +7 -0
  756. package/dist/commands/sphere/zones/delete.js.map +1 -0
  757. package/dist/commands/sphere/zones/get.d.ts +3 -0
  758. package/dist/commands/sphere/zones/get.d.ts.map +1 -0
  759. package/dist/commands/sphere/zones/get.js +7 -0
  760. package/dist/commands/sphere/zones/get.js.map +1 -0
  761. package/dist/commands/sphere/zones/list.d.ts +3 -0
  762. package/dist/commands/sphere/zones/list.d.ts.map +1 -0
  763. package/dist/commands/sphere/zones/list.js +7 -0
  764. package/dist/commands/sphere/zones/list.js.map +1 -0
  765. package/dist/commands/sphere/zones/update.d.ts +3 -0
  766. package/dist/commands/sphere/zones/update.d.ts.map +1 -0
  767. package/dist/commands/sphere/zones/update.js +7 -0
  768. package/dist/commands/sphere/zones/update.js.map +1 -0
  769. package/dist/common/crud/body-parser.d.ts +2 -0
  770. package/dist/common/crud/body-parser.d.ts.map +1 -0
  771. package/dist/common/crud/body-parser.js +9 -0
  772. package/dist/common/crud/body-parser.js.map +1 -0
  773. package/dist/common/crud/create.d.ts +4 -0
  774. package/dist/common/crud/create.d.ts.map +1 -0
  775. package/dist/common/crud/create.js +25 -0
  776. package/dist/common/crud/create.js.map +1 -0
  777. package/dist/common/crud/delete.d.ts +4 -0
  778. package/dist/common/crud/delete.d.ts.map +1 -0
  779. package/dist/common/crud/delete.js +44 -0
  780. package/dist/common/crud/delete.js.map +1 -0
  781. package/dist/common/crud/get.d.ts +4 -0
  782. package/dist/common/crud/get.d.ts.map +1 -0
  783. package/dist/common/crud/get.js +39 -0
  784. package/dist/common/crud/get.js.map +1 -0
  785. package/dist/common/crud/list.d.ts +4 -0
  786. package/dist/common/crud/list.d.ts.map +1 -0
  787. package/dist/common/crud/list.js +44 -0
  788. package/dist/common/crud/list.js.map +1 -0
  789. package/dist/common/crud/resource-config.d.ts +6 -0
  790. package/dist/common/crud/resource-config.d.ts.map +1 -0
  791. package/dist/common/crud/resource-config.js +2 -0
  792. package/dist/common/crud/resource-config.js.map +1 -0
  793. package/dist/common/crud/update.d.ts +4 -0
  794. package/dist/common/crud/update.d.ts.map +1 -0
  795. package/dist/common/crud/update.js +50 -0
  796. package/dist/common/crud/update.js.map +1 -0
  797. package/dist/common/oclif/sphere-base-command.d.ts +20 -0
  798. package/dist/common/oclif/sphere-base-command.d.ts.map +1 -0
  799. package/dist/common/oclif/sphere-base-command.js +54 -0
  800. package/dist/common/oclif/sphere-base-command.js.map +1 -0
  801. package/dist/common/oclif/sphere-command.d.ts +12 -0
  802. package/dist/common/oclif/sphere-command.d.ts.map +1 -0
  803. package/dist/common/oclif/sphere-command.js +46 -0
  804. package/dist/common/oclif/sphere-command.js.map +1 -0
  805. package/package.json +33 -7
  806. package/LICENSE +0 -21
  807. package/README.md +0 -3
@@ -0,0 +1,7 @@
1
+ import { makeSphereUpdateCommand } from "../../../common/crud/update.js";
2
+ export default makeSphereUpdateCommand({
3
+ endpoint: "tax-categories",
4
+ displayName: "Tax Categories",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/tax-categories/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/create.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereCreateCommand } from "../../../common/crud/create.js";
2
+ export default makeSphereCreateCommand({
3
+ endpoint: "types",
4
+ displayName: "Types",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/delete.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereDeleteCommand } from "../../../common/crud/delete.js";
2
+ export default makeSphereDeleteCommand({
3
+ endpoint: "types",
4
+ displayName: "Types",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/get.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereGetCommand } from "../../../common/crud/get.js";
2
+ export default makeSphereGetCommand({
3
+ endpoint: "types",
4
+ displayName: "Types",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=get.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,eAAe,oBAAoB,CAAC;IAClC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/list.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereListCommand } from "../../../common/crud/list.js";
2
+ export default makeSphereListCommand({
3
+ endpoint: "types",
4
+ displayName: "Types",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,eAAe,qBAAqB,CAAC;IACnC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/types/update.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereUpdateCommand } from "../../../common/crud/update.js";
2
+ export default makeSphereUpdateCommand({
3
+ endpoint: "types",
4
+ displayName: "Types",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/types/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/create.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereCreateCommand } from "../../../common/crud/create.js";
2
+ export default makeSphereCreateCommand({
3
+ endpoint: "zones",
4
+ displayName: "Zones",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/delete.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereDeleteCommand } from "../../../common/crud/delete.js";
2
+ export default makeSphereDeleteCommand({
3
+ endpoint: "zones",
4
+ displayName: "Zones",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/get.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereGetCommand } from "../../../common/crud/get.js";
2
+ export default makeSphereGetCommand({
3
+ endpoint: "zones",
4
+ displayName: "Zones",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=get.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,eAAe,oBAAoB,CAAC;IAClC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/list.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereListCommand } from "../../../common/crud/list.js";
2
+ export default makeSphereListCommand({
3
+ endpoint: "zones",
4
+ displayName: "Zones",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,eAAe,qBAAqB,CAAC;IACnC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: typeof import("../../../common/oclif/sphere-command.js").SphereCommand;
2
+ export default _default;
3
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/update.ts"],"names":[],"mappings":";AACA,wBAIG"}
@@ -0,0 +1,7 @@
1
+ import { makeSphereUpdateCommand } from "../../../common/crud/update.js";
2
+ export default makeSphereUpdateCommand({
3
+ endpoint: "zones",
4
+ displayName: "Zones",
5
+ supportsKey: true,
6
+ });
7
+ //# sourceMappingURL=update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/sphere/zones/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,eAAe,uBAAuB,CAAC;IACrC,QAAQ,EAAE,OAAO;IACjB,WAAW,EAAE,OAAO;IACpB,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function parseBodyArg(input: string): unknown;
2
+ //# sourceMappingURL=body-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"body-parser.d.ts","sourceRoot":"","sources":["../../../src/common/crud/body-parser.ts"],"names":[],"mappings":"AAOA,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAMnD"}
@@ -0,0 +1,9 @@
1
+ import { readFileSync } from "fs";
2
+ export function parseBodyArg(input) {
3
+ if (input.startsWith("@")) {
4
+ const filePath = input.slice(1);
5
+ return JSON.parse(readFileSync(filePath, "utf8"));
6
+ }
7
+ return JSON.parse(input);
8
+ }
9
+ //# sourceMappingURL=body-parser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"body-parser.js","sourceRoot":"","sources":["../../../src/common/crud/body-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAOlC,MAAM,UAAU,YAAY,CAAC,KAAa;IACxC,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAChC,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { SphereCommand } from "../oclif/sphere-command.js";
2
+ import type { ResourceConfig } from "./resource-config.js";
3
+ export declare function makeSphereCreateCommand(config: ResourceConfig): typeof SphereCommand;
4
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/common/crud/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CAuBpF"}
@@ -0,0 +1,25 @@
1
+ import { Flags } from "@oclif/core";
2
+ import { SphereCommand } from "../oclif/sphere-command.js";
3
+ import { parseBodyArg } from "./body-parser.js";
4
+ export function makeSphereCreateCommand(config) {
5
+ class SphereCreateCommand extends SphereCommand {
6
+ static description = `Create a ${config.displayName.replace(/s$/, "")}`;
7
+ static flags = {
8
+ ...SphereCommand.baseFlags,
9
+ body: Flags.string({
10
+ description: "JSON body for the resource, or @filepath to read from a file",
11
+ required: true,
12
+ }),
13
+ };
14
+ async run() {
15
+ const { flags } = await this.parse(SphereCreateCommand);
16
+ this.spinner.start(`Creating ${config.displayName.replace(/s$/, "")}...`);
17
+ const body = parseBodyArg(flags["body"]);
18
+ const result = await this.request("POST", `/${config.endpoint}`, body);
19
+ this.spinner.stop();
20
+ this.log(JSON.stringify(result, null, 2));
21
+ }
22
+ }
23
+ return SphereCreateCommand;
24
+ }
25
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/common/crud/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGhD,MAAM,UAAU,uBAAuB,CAAC,MAAsB;IAC5D,MAAM,mBAAoB,SAAQ,aAAa;QAC7C,MAAM,CAAU,WAAW,GAAG,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC;QAEjF,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;gBACjB,WAAW,EAAE,8DAA8D;gBAC3E,QAAQ,EAAE,IAAI;aACf,CAAC;SACH,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACxD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;YAE1E,MAAM,IAAI,GAAG,YAAY,CAAC,KAAK,CAAC,MAAM,CAAW,CAAC,CAAC;YACnD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,MAAM,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,CAAC;YACvE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,mBAAsD,CAAC;AAChE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { SphereCommand } from "../oclif/sphere-command.js";
2
+ import type { ResourceConfig } from "./resource-config.js";
3
+ export declare function makeSphereDeleteCommand(config: ResourceConfig): typeof SphereCommand;
4
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/common/crud/delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CA4CpF"}
@@ -0,0 +1,44 @@
1
+ import { Flags } from "@oclif/core";
2
+ import { SphereCommand } from "../oclif/sphere-command.js";
3
+ export function makeSphereDeleteCommand(config) {
4
+ class SphereDeleteCommand extends SphereCommand {
5
+ static description = `Delete a ${config.displayName.replace(/s$/, "")}`;
6
+ static flags = {
7
+ ...SphereCommand.baseFlags,
8
+ id: Flags.string({
9
+ description: `ID of the ${config.displayName.replace(/s$/, "")} to delete`,
10
+ exactlyOne: config.supportsKey ? ["id", "key"] : undefined,
11
+ }),
12
+ ...(config.supportsKey
13
+ ? {
14
+ key: Flags.string({
15
+ description: `Key of the ${config.displayName.replace(/s$/, "")} to delete`,
16
+ exactlyOne: ["id", "key"],
17
+ }),
18
+ }
19
+ : {}),
20
+ version: Flags.integer({
21
+ description: "Current version of the resource",
22
+ required: true,
23
+ }),
24
+ };
25
+ async run() {
26
+ const { flags } = await this.parse(SphereDeleteCommand);
27
+ const f = flags;
28
+ this.spinner.start(`Deleting ${config.displayName.replace(/s$/, "")}...`);
29
+ const version = f["version"];
30
+ let path;
31
+ if (f["key"] !== undefined) {
32
+ path = `/${config.endpoint}/key=${f["key"]}?version=${version}`;
33
+ }
34
+ else {
35
+ path = `/${config.endpoint}/${f["id"]}?version=${version}`;
36
+ }
37
+ const result = await this.request("DELETE", path);
38
+ this.spinner.stop();
39
+ this.log(JSON.stringify(result, null, 2));
40
+ }
41
+ }
42
+ return SphereDeleteCommand;
43
+ }
44
+ //# sourceMappingURL=delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../src/common/crud/delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,MAAM,UAAU,uBAAuB,CAAC,MAAsB;IAC5D,MAAM,mBAAoB,SAAQ,aAAa;QAC7C,MAAM,CAAU,WAAW,GAAG,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC;QAEjF,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC;gBACf,WAAW,EAAE,aAAa,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY;gBAC1E,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;aAC3D,CAAC;YACF,GAAG,CAAC,MAAM,CAAC,WAAW;gBACpB,CAAC,CAAC;oBACE,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;wBAChB,WAAW,EAAE,cAAc,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY;wBAC3E,UAAU,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;qBAC1B,CAAC;iBACH;gBACH,CAAC,CAAC,EAAE,CAAC;YACP,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;gBACrB,WAAW,EAAE,iCAAiC;gBAC9C,QAAQ,EAAE,IAAI;aACf,CAAC;SACH,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACxD,MAAM,CAAC,GAAG,KAAgC,CAAC;YAC3C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;YAE1E,MAAM,OAAO,GAAG,CAAC,CAAC,SAAS,CAAW,CAAC;YAEvC,IAAI,IAAY,CAAC;YACjB,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,SAAS,EAAE,CAAC;gBAC3B,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,QAAQ,CAAC,CAAC,KAAK,CAAW,YAAY,OAAO,EAAE,CAAC;YAC5E,CAAC;iBAAM,CAAC;gBACN,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAW,YAAY,OAAO,EAAE,CAAC;YACvE,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAClD,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,mBAAsD,CAAC;AAChE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { SphereCommand } from "../oclif/sphere-command.js";
2
+ import type { ResourceConfig } from "./resource-config.js";
3
+ export declare function makeSphereGetCommand(config: ResourceConfig): typeof SphereCommand;
4
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/common/crud/get.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CAsCjF"}
@@ -0,0 +1,39 @@
1
+ import { Flags } from "@oclif/core";
2
+ import { SphereCommand } from "../oclif/sphere-command.js";
3
+ export function makeSphereGetCommand(config) {
4
+ class SphereGetCommand extends SphereCommand {
5
+ static description = `Get a ${config.displayName.replace(/s$/, "")} by ID${config.supportsKey ? " or key" : ""}`;
6
+ static flags = {
7
+ ...SphereCommand.baseFlags,
8
+ id: Flags.string({
9
+ description: `ID of the ${config.displayName.replace(/s$/, "")} to retrieve`,
10
+ exactlyOne: config.supportsKey ? ["id", "key"] : undefined,
11
+ }),
12
+ ...(config.supportsKey
13
+ ? {
14
+ key: Flags.string({
15
+ description: `Key of the ${config.displayName.replace(/s$/, "")} to retrieve`,
16
+ exactlyOne: ["id", "key"],
17
+ }),
18
+ }
19
+ : {}),
20
+ };
21
+ async run() {
22
+ const { flags } = await this.parse(SphereGetCommand);
23
+ const f = flags;
24
+ this.spinner.start(`Fetching ${config.displayName.replace(/s$/, "")}...`);
25
+ let path;
26
+ if (f["key"] !== undefined) {
27
+ path = `/${config.endpoint}/key=${f["key"]}`;
28
+ }
29
+ else {
30
+ path = `/${config.endpoint}/${f["id"]}`;
31
+ }
32
+ const result = await this.request("GET", path);
33
+ this.spinner.stop();
34
+ this.log(JSON.stringify(result, null, 2));
35
+ }
36
+ }
37
+ return SphereGetCommand;
38
+ }
39
+ //# sourceMappingURL=get.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/common/crud/get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,MAAM,UAAU,oBAAoB,CAAC,MAAsB;IACzD,MAAM,gBAAiB,SAAQ,aAAa;QAC1C,MAAM,CAAU,WAAW,GAAG,SAAS,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAE1H,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC;gBACf,WAAW,EAAE,aAAa,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc;gBAC5E,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;aAC3D,CAAC;YACF,GAAG,CAAC,MAAM,CAAC,WAAW;gBACpB,CAAC,CAAC;oBACE,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;wBAChB,WAAW,EAAE,cAAc,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc;wBAC7E,UAAU,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;qBAC1B,CAAC;iBACH;gBACH,CAAC,CAAC,EAAE,CAAC;SACR,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;YACrD,MAAM,CAAC,GAAG,KAAgC,CAAC;YAC3C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;YAE1E,IAAI,IAAY,CAAC;YACjB,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,SAAS,EAAE,CAAC;gBAC3B,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,QAAQ,CAAC,CAAC,KAAK,CAAW,EAAE,CAAC;YACzD,CAAC;iBAAM,CAAC;gBACN,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAW,EAAE,CAAC;YACpD,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YAC/C,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,gBAAmD,CAAC;AAC7D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { SphereCommand } from "../oclif/sphere-command.js";
2
+ import type { ResourceConfig } from "./resource-config.js";
3
+ export declare function makeSphereListCommand(config: ResourceConfig): typeof SphereCommand;
4
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/common/crud/list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CA8ClF"}
@@ -0,0 +1,44 @@
1
+ import { Flags } from "@oclif/core";
2
+ import { SphereCommand } from "../oclif/sphere-command.js";
3
+ export function makeSphereListCommand(config) {
4
+ class SphereListCommand extends SphereCommand {
5
+ static description = `List ${config.displayName}`;
6
+ static flags = {
7
+ ...SphereCommand.baseFlags,
8
+ limit: Flags.integer({
9
+ description: "Maximum number of results to return",
10
+ default: 20,
11
+ min: 1,
12
+ }),
13
+ offset: Flags.integer({
14
+ description: "Number of results to skip",
15
+ default: 0,
16
+ min: 0,
17
+ }),
18
+ where: Flags.string({
19
+ description: "Query predicate(s) to filter results",
20
+ multiple: true,
21
+ }),
22
+ sort: Flags.string({
23
+ description: "Sort expression(s)",
24
+ multiple: true,
25
+ }),
26
+ };
27
+ async run() {
28
+ const { flags } = await this.parse(SphereListCommand);
29
+ this.spinner.start(`Fetching ${config.displayName}...`);
30
+ const params = new URLSearchParams();
31
+ params.set("limit", String(flags["limit"]));
32
+ params.set("offset", String(flags["offset"]));
33
+ const whereFlags = flags["where"];
34
+ const sortFlags = flags["sort"];
35
+ whereFlags?.forEach((w) => params.append("where", w));
36
+ sortFlags?.forEach((s) => params.append("sort", s));
37
+ const result = await this.request("GET", `/${config.endpoint}?${params.toString()}`);
38
+ this.spinner.stop();
39
+ this.log(JSON.stringify(result, null, 2));
40
+ }
41
+ }
42
+ return SphereListCommand;
43
+ }
44
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/common/crud/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,MAAM,UAAU,qBAAqB,CAAC,MAAsB;IAC1D,MAAM,iBAAkB,SAAQ,aAAa;QAC3C,MAAM,CAAU,WAAW,GAAG,QAAQ,MAAM,CAAC,WAAW,EAAE,CAAC;QAE3D,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;gBACnB,WAAW,EAAE,qCAAqC;gBAClD,OAAO,EAAE,EAAE;gBACX,GAAG,EAAE,CAAC;aACP,CAAC;YACF,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC;gBACpB,WAAW,EAAE,2BAA2B;gBACxC,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;aACP,CAAC;YACF,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC;gBAClB,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;gBACjB,WAAW,EAAE,oBAAoB;gBACjC,QAAQ,EAAE,IAAI;aACf,CAAC;SACH,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;YACtD,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,KAAK,CAAC,CAAC;YAExD,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;YACrC,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAC5C,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAE9C,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAyB,CAAC;YAC1D,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAyB,CAAC;YAExD,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;YACtD,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;YAEpD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,MAAM,CAAC,QAAQ,IAAI,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;YACrF,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,iBAAoD,CAAC;AAC9D,CAAC"}
@@ -0,0 +1,6 @@
1
+ export interface ResourceConfig {
2
+ endpoint: string;
3
+ displayName: string;
4
+ supportsKey?: boolean;
5
+ }
6
+ //# sourceMappingURL=resource-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource-config.d.ts","sourceRoot":"","sources":["../../../src/common/crud/resource-config.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAE7B,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=resource-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource-config.js","sourceRoot":"","sources":["../../../src/common/crud/resource-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { SphereCommand } from "../oclif/sphere-command.js";
2
+ import type { ResourceConfig } from "./resource-config.js";
3
+ export declare function makeSphereUpdateCommand(config: ResourceConfig): typeof SphereCommand;
4
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/common/crud/update.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,aAAa,CAiDpF"}
@@ -0,0 +1,50 @@
1
+ import { Flags } from "@oclif/core";
2
+ import { SphereCommand } from "../oclif/sphere-command.js";
3
+ import { parseBodyArg } from "./body-parser.js";
4
+ export function makeSphereUpdateCommand(config) {
5
+ class SphereUpdateCommand extends SphereCommand {
6
+ static description = `Update a ${config.displayName.replace(/s$/, "")}`;
7
+ static flags = {
8
+ ...SphereCommand.baseFlags,
9
+ id: Flags.string({
10
+ description: `ID of the ${config.displayName.replace(/s$/, "")} to update`,
11
+ exactlyOne: config.supportsKey ? ["id", "key"] : undefined,
12
+ }),
13
+ ...(config.supportsKey
14
+ ? {
15
+ key: Flags.string({
16
+ description: `Key of the ${config.displayName.replace(/s$/, "")} to update`,
17
+ exactlyOne: ["id", "key"],
18
+ }),
19
+ }
20
+ : {}),
21
+ version: Flags.integer({
22
+ description: "Current version of the resource",
23
+ required: true,
24
+ }),
25
+ actions: Flags.string({
26
+ description: "JSON array of update actions, or @filepath to read from a file",
27
+ required: true,
28
+ }),
29
+ };
30
+ async run() {
31
+ const { flags } = await this.parse(SphereUpdateCommand);
32
+ const f = flags;
33
+ this.spinner.start(`Updating ${config.displayName.replace(/s$/, "")}...`);
34
+ const actions = parseBodyArg(f["actions"]);
35
+ const version = f["version"];
36
+ let path;
37
+ if (f["key"] !== undefined) {
38
+ path = `/${config.endpoint}/key=${f["key"]}`;
39
+ }
40
+ else {
41
+ path = `/${config.endpoint}/${f["id"]}`;
42
+ }
43
+ const result = await this.request("POST", path, { version, actions });
44
+ this.spinner.stop();
45
+ this.log(JSON.stringify(result, null, 2));
46
+ }
47
+ }
48
+ return SphereUpdateCommand;
49
+ }
50
+ //# sourceMappingURL=update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/common/crud/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGhD,MAAM,UAAU,uBAAuB,CAAC,MAAsB;IAC5D,MAAM,mBAAoB,SAAQ,aAAa;QAC7C,MAAM,CAAU,WAAW,GAAG,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC;QAEjF,MAAM,CAAU,KAAK,GAAG;YACtB,GAAG,aAAa,CAAC,SAAS;YAC1B,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC;gBACf,WAAW,EAAE,aAAa,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY;gBAC1E,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;aAC3D,CAAC;YACF,GAAG,CAAC,MAAM,CAAC,WAAW;gBACpB,CAAC,CAAC;oBACE,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;wBAChB,WAAW,EAAE,cAAc,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY;wBAC3E,UAAU,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;qBAC1B,CAAC;iBACH;gBACH,CAAC,CAAC,EAAE,CAAC;YACP,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;gBACrB,WAAW,EAAE,iCAAiC;gBAC9C,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC;gBACpB,WAAW,EAAE,gEAAgE;gBAC7E,QAAQ,EAAE,IAAI;aACf,CAAC;SACH,CAAC;QAEF,KAAK,CAAC,GAAG;YACP,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACxD,MAAM,CAAC,GAAG,KAAgC,CAAC;YAC3C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;YAE1E,MAAM,OAAO,GAAG,YAAY,CAAC,CAAC,CAAC,SAAS,CAAW,CAAC,CAAC;YACrD,MAAM,OAAO,GAAG,CAAC,CAAC,SAAS,CAAW,CAAC;YAEvC,IAAI,IAAY,CAAC;YACjB,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,SAAS,EAAE,CAAC;gBAC3B,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,QAAQ,CAAC,CAAC,KAAK,CAAW,EAAE,CAAC;YACzD,CAAC;iBAAM,CAAC;gBACN,IAAI,GAAG,IAAI,MAAM,CAAC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAW,EAAE,CAAC;YACpD,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;YACtE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC;;IAEH,OAAO,mBAAsD,CAAC;AAChE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { Config } from "@oclif/core";
2
+ import { AuthCommand, CtpAuthorizedClient } from "@commercetools/cli-plugin-auth";
3
+ import type { Ora } from "ora";
4
+ export declare abstract class SphereBaseCommand extends AuthCommand {
5
+ protected authorized: boolean;
6
+ protected spinner: Ora;
7
+ static baseFlags: {
8
+ debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
+ };
10
+ constructor(argv: string[], config: Config);
11
+ protected init(): Promise<void>;
12
+ log(message?: string): void;
13
+ protected getPrincipal(): CtpAuthorizedClient;
14
+ protected getPrincipalDetails(): {
15
+ region: string;
16
+ projectKey: string;
17
+ };
18
+ private verifyAuthentication;
19
+ }
20
+ //# sourceMappingURL=sphere-base-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sphere-base-command.d.ts","sourceRoot":"","sources":["../../../src/common/oclif/sphere-base-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAS,MAAM,aAAa,CAAC;AAC5C,OAAO,EACL,WAAW,EAEX,mBAAmB,EACpB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,8BAAsB,iBAAkB,SAAQ,WAAW;IACzD,SAAS,CAAC,UAAU,EAAE,OAAO,CAAS;IACtC,SAAS,CAAC,OAAO,EAAE,GAAG,CAAC;IAEvB,OAAgB,SAAS;;MAMvB;gBAEU,IAAI,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM;cAKjB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrC,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI;IAOpC,SAAS,CAAC,YAAY,IAAI,mBAAmB;IAW7C,SAAS,CAAC,mBAAmB,IAAI;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE;IAcvE,OAAO,CAAC,oBAAoB;CAK7B"}