@monfilon/api-client 1.0.0

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 (323) hide show
  1. package/.openapi-generator/FILES +322 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +236 -0
  5. package/api/api.ts +127 -0
  6. package/api/assetAccounts.service.ts +156 -0
  7. package/api/assetAccounts.serviceInterface.ts +31 -0
  8. package/api/assets.service.ts +470 -0
  9. package/api/assets.serviceInterface.ts +90 -0
  10. package/api/averageBaskets.service.ts +532 -0
  11. package/api/averageBaskets.serviceInterface.ts +106 -0
  12. package/api/bfrSettings.service.ts +392 -0
  13. package/api/bfrSettings.serviceInterface.ts +76 -0
  14. package/api/budgetFinancings.service.ts +494 -0
  15. package/api/budgetFinancings.serviceInterface.ts +97 -0
  16. package/api/budgets.service.ts +472 -0
  17. package/api/budgets.serviceInterface.ts +91 -0
  18. package/api/businessPlanSections.service.ts +474 -0
  19. package/api/businessPlanSections.serviceInterface.ts +92 -0
  20. package/api/charges.service.ts +474 -0
  21. package/api/charges.serviceInterface.ts +92 -0
  22. package/api/compositeBaskets.service.ts +176 -0
  23. package/api/compositeBaskets.serviceInterface.ts +39 -0
  24. package/api/configSlots.service.ts +490 -0
  25. package/api/configSlots.serviceInterface.ts +95 -0
  26. package/api/convertibles.service.ts +552 -0
  27. package/api/convertibles.serviceInterface.ts +105 -0
  28. package/api/currentAccounts.service.ts +490 -0
  29. package/api/currentAccounts.serviceInterface.ts +95 -0
  30. package/api/default.service.ts +2020 -0
  31. package/api/default.serviceInterface.ts +355 -0
  32. package/api/employees.service.ts +472 -0
  33. package/api/employees.serviceInterface.ts +91 -0
  34. package/api/financingSources.service.ts +472 -0
  35. package/api/financingSources.serviceInterface.ts +91 -0
  36. package/api/fiscalYears.service.ts +470 -0
  37. package/api/fiscalYears.serviceInterface.ts +90 -0
  38. package/api/generatorEntities.service.ts +505 -0
  39. package/api/generatorEntities.serviceInterface.ts +98 -0
  40. package/api/laborInputs.service.ts +486 -0
  41. package/api/laborInputs.serviceInterface.ts +93 -0
  42. package/api/memberships.service.ts +314 -0
  43. package/api/memberships.serviceInterface.ts +63 -0
  44. package/api/notifications.service.ts +355 -0
  45. package/api/notifications.serviceInterface.ts +61 -0
  46. package/api/optionPools.service.ts +472 -0
  47. package/api/optionPools.serviceInterface.ts +91 -0
  48. package/api/persons.service.ts +472 -0
  49. package/api/persons.serviceInterface.ts +91 -0
  50. package/api/priceLists.service.ts +470 -0
  51. package/api/priceLists.serviceInterface.ts +90 -0
  52. package/api/prices.service.ts +490 -0
  53. package/api/prices.serviceInterface.ts +95 -0
  54. package/api/products.service.ts +474 -0
  55. package/api/products.serviceInterface.ts +92 -0
  56. package/api/projects.service.ts +450 -0
  57. package/api/projects.serviceInterface.ts +82 -0
  58. package/api/rawMaterials.service.ts +488 -0
  59. package/api/rawMaterials.serviceInterface.ts +94 -0
  60. package/api/reports.service.ts +177 -0
  61. package/api/reports.serviceInterface.ts +39 -0
  62. package/api/rounds.service.ts +472 -0
  63. package/api/rounds.serviceInterface.ts +91 -0
  64. package/api/salesInputs.service.ts +505 -0
  65. package/api/salesInputs.serviceInterface.ts +98 -0
  66. package/api/salesItems.service.ts +492 -0
  67. package/api/salesItems.serviceInterface.ts +96 -0
  68. package/api/salesModels.service.ts +420 -0
  69. package/api/salesModels.serviceInterface.ts +82 -0
  70. package/api/salesScenarios.service.ts +542 -0
  71. package/api/salesScenarios.serviceInterface.ts +103 -0
  72. package/api/salesStages.service.ts +505 -0
  73. package/api/salesStages.serviceInterface.ts +98 -0
  74. package/api/salesVolumes.service.ts +506 -0
  75. package/api/salesVolumes.serviceInterface.ts +98 -0
  76. package/api/segments.service.ts +490 -0
  77. package/api/segments.serviceInterface.ts +95 -0
  78. package/api/services.service.ts +474 -0
  79. package/api/services.serviceInterface.ts +92 -0
  80. package/api/shareLots.service.ts +490 -0
  81. package/api/shareLots.serviceInterface.ts +95 -0
  82. package/api/shareholderGroups.service.ts +472 -0
  83. package/api/shareholderGroups.serviceInterface.ts +91 -0
  84. package/api/shareholders.service.ts +470 -0
  85. package/api/shareholders.serviceInterface.ts +90 -0
  86. package/api/slotOptions.service.ts +512 -0
  87. package/api/slotOptions.serviceInterface.ts +101 -0
  88. package/api/targets.service.ts +470 -0
  89. package/api/targets.serviceInterface.ts +90 -0
  90. package/api.module.ts +30 -0
  91. package/configuration.ts +166 -0
  92. package/encoder.ts +20 -0
  93. package/git_push.sh +57 -0
  94. package/index.ts +6 -0
  95. package/model/assetAccountsGet200ResponseInner.ts +18 -0
  96. package/model/models.ts +223 -0
  97. package/model/notificationsGet200ResponseInner.ts +32 -0
  98. package/model/notificationsUnreadCountGet200Response.ts +15 -0
  99. package/model/projectsGet200ResponseInner.ts +55 -0
  100. package/model/projectsIdGet200Response.ts +19 -0
  101. package/model/projectsIdPatch200Response.ts +24 -0
  102. package/model/projectsIdPatchRequest.ts +16 -0
  103. package/model/projectsPost201Response.ts +23 -0
  104. package/model/projectsPostRequest.ts +16 -0
  105. package/model/projectsProjectIdAssetsGet200ResponseInner.ts +44 -0
  106. package/model/projectsProjectIdAssetsIdGet200Response.ts +16 -0
  107. package/model/projectsProjectIdAssetsIdPatchRequest.ts +16 -0
  108. package/model/projectsProjectIdAssetsPost201Response.ts +17 -0
  109. package/model/projectsProjectIdAssetsPost422Response.ts +16 -0
  110. package/model/projectsProjectIdAssetsPostRequest.ts +39 -0
  111. package/model/projectsProjectIdBfrSettingGet200Response.ts +23 -0
  112. package/model/projectsProjectIdBfrSettingPatch200Response.ts +16 -0
  113. package/model/projectsProjectIdBfrSettingPatchRequest.ts +15 -0
  114. package/model/projectsProjectIdBfrSettingPost201Response.ts +17 -0
  115. package/model/projectsProjectIdBfrSettingPostRequest.ts +18 -0
  116. package/model/projectsProjectIdBudgetsBudgetIdBudgetFinancingsGet200ResponseInner.ts +21 -0
  117. package/model/projectsProjectIdBudgetsBudgetIdBudgetFinancingsIdPatch200Response.ts +16 -0
  118. package/model/projectsProjectIdBudgetsBudgetIdBudgetFinancingsIdPatchRequest.ts +15 -0
  119. package/model/projectsProjectIdBudgetsBudgetIdBudgetFinancingsPost201Response.ts +19 -0
  120. package/model/projectsProjectIdBudgetsBudgetIdBudgetFinancingsPost422Response.ts +16 -0
  121. package/model/projectsProjectIdBudgetsBudgetIdBudgetFinancingsPostRequest.ts +16 -0
  122. package/model/projectsProjectIdBudgetsGet200ResponseInner.ts +24 -0
  123. package/model/projectsProjectIdBudgetsIdGet200Response.ts +20 -0
  124. package/model/projectsProjectIdBudgetsIdPatch200Response.ts +20 -0
  125. package/model/projectsProjectIdBudgetsIdPatchRequest.ts +16 -0
  126. package/model/projectsProjectIdBudgetsPost201Response.ts +24 -0
  127. package/model/projectsProjectIdBudgetsPostRequest.ts +17 -0
  128. package/model/projectsProjectIdBusinessPlanSectionsGet200ResponseInner.ts +23 -0
  129. package/model/projectsProjectIdBusinessPlanSectionsIdGet200Response.ts +20 -0
  130. package/model/projectsProjectIdBusinessPlanSectionsIdPatch200Response.ts +17 -0
  131. package/model/projectsProjectIdBusinessPlanSectionsIdPatchRequest.ts +17 -0
  132. package/model/projectsProjectIdBusinessPlanSectionsPost201Response.ts +21 -0
  133. package/model/projectsProjectIdBusinessPlanSectionsPostRequest.ts +18 -0
  134. package/model/projectsProjectIdChargesGet200ResponseInner.ts +58 -0
  135. package/model/projectsProjectIdChargesIdGet200Response.ts +48 -0
  136. package/model/projectsProjectIdChargesIdPatch200Response.ts +48 -0
  137. package/model/projectsProjectIdChargesIdPatchRequest.ts +44 -0
  138. package/model/projectsProjectIdChargesPost201Response.ts +48 -0
  139. package/model/projectsProjectIdChargesPost422Response.ts +16 -0
  140. package/model/projectsProjectIdChargesPostRequest.ts +44 -0
  141. package/model/projectsProjectIdConvertiblesGet200ResponseInner.ts +41 -0
  142. package/model/projectsProjectIdConvertiblesIdConvertPost200Response.ts +18 -0
  143. package/model/projectsProjectIdConvertiblesIdGet200Response.ts +16 -0
  144. package/model/projectsProjectIdConvertiblesIdPatchRequest.ts +16 -0
  145. package/model/projectsProjectIdConvertiblesPost201Response.ts +17 -0
  146. package/model/projectsProjectIdConvertiblesPostRequest.ts +27 -0
  147. package/model/projectsProjectIdEmployeesGet200ResponseInner.ts +40 -0
  148. package/model/projectsProjectIdEmployeesIdGet200Response.ts +18 -0
  149. package/model/projectsProjectIdEmployeesIdPatch200Response.ts +16 -0
  150. package/model/projectsProjectIdEmployeesIdPatchRequest.ts +18 -0
  151. package/model/projectsProjectIdEmployeesPost201Response.ts +19 -0
  152. package/model/projectsProjectIdEmployeesPostRequest.ts +34 -0
  153. package/model/projectsProjectIdFinancingSourcesGet200ResponseInner.ts +42 -0
  154. package/model/projectsProjectIdFinancingSourcesIdGet200Response.ts +16 -0
  155. package/model/projectsProjectIdFinancingSourcesPost201Response.ts +18 -0
  156. package/model/projectsProjectIdFinancingSourcesPostRequest.ts +38 -0
  157. package/model/projectsProjectIdFiscalYearsGet200ResponseInner.ts +23 -0
  158. package/model/projectsProjectIdFiscalYearsPostRequest.ts +18 -0
  159. package/model/projectsProjectIdMembershipsGet200ResponseInner.ts +29 -0
  160. package/model/projectsProjectIdMembershipsPost201Response.ts +19 -0
  161. package/model/projectsProjectIdMembershipsPost422Response.ts +15 -0
  162. package/model/projectsProjectIdMembershipsPostRequest.ts +23 -0
  163. package/model/projectsProjectIdOptionPoolsGet200ResponseInner.ts +32 -0
  164. package/model/projectsProjectIdOptionPoolsIdPatch200Response.ts +16 -0
  165. package/model/projectsProjectIdOptionPoolsIdPatchRequest.ts +16 -0
  166. package/model/projectsProjectIdOptionPoolsPostRequest.ts +26 -0
  167. package/model/projectsProjectIdPersonsGet200ResponseInner.ts +26 -0
  168. package/model/projectsProjectIdPersonsIdGet200Response.ts +16 -0
  169. package/model/projectsProjectIdPersonsIdPatchRequest.ts +16 -0
  170. package/model/projectsProjectIdPersonsPostRequest.ts +21 -0
  171. package/model/projectsProjectIdPriceListsGet200ResponseInner.ts +21 -0
  172. package/model/projectsProjectIdPriceListsPostRequest.ts +16 -0
  173. package/model/projectsProjectIdPriceListsPriceListIdPricesGet200ResponseInner.ts +21 -0
  174. package/model/projectsProjectIdPriceListsPriceListIdPricesIdGet200Response.ts +16 -0
  175. package/model/projectsProjectIdPriceListsPriceListIdPricesIdPatchRequest.ts +15 -0
  176. package/model/projectsProjectIdPriceListsPriceListIdPricesPost201Response.ts +17 -0
  177. package/model/projectsProjectIdPriceListsPriceListIdPricesPostRequest.ts +16 -0
  178. package/model/projectsProjectIdProductsGet200ResponseInner.ts +32 -0
  179. package/model/projectsProjectIdProductsGet200ResponseInnerUnit.ts +17 -0
  180. package/model/projectsProjectIdProductsIdGet200Response.ts +22 -0
  181. package/model/projectsProjectIdProductsIdPatch200Response.ts +22 -0
  182. package/model/projectsProjectIdProductsIdPatchRequest.ts +18 -0
  183. package/model/projectsProjectIdProductsPost201Response.ts +22 -0
  184. package/model/projectsProjectIdProductsPostRequest.ts +18 -0
  185. package/model/projectsProjectIdProductsProductIdLaborInputsGet200ResponseInner.ts +19 -0
  186. package/model/projectsProjectIdProductsProductIdLaborInputsIdPatchRequest.ts +15 -0
  187. package/model/projectsProjectIdProductsProductIdLaborInputsPostRequest.ts +16 -0
  188. package/model/projectsProjectIdProductsProductIdRawMaterialsGet200ResponseInner.ts +23 -0
  189. package/model/projectsProjectIdProductsProductIdRawMaterialsIdPatchRequest.ts +15 -0
  190. package/model/projectsProjectIdProductsProductIdRawMaterialsPost201Response.ts +18 -0
  191. package/model/projectsProjectIdProductsProductIdRawMaterialsPostRequest.ts +20 -0
  192. package/model/projectsProjectIdReportsBfrGet200ResponseInner.ts +18 -0
  193. package/model/projectsProjectIdReportsBreakEvenGet200Response.ts +18 -0
  194. package/model/projectsProjectIdReportsBreakEvenGet200ResponseByFiscalYearInner.ts +20 -0
  195. package/model/projectsProjectIdReportsBudgetGet200Response.ts +18 -0
  196. package/model/projectsProjectIdReportsBudgetGet200ResponseByBudgetInner.ts +19 -0
  197. package/model/projectsProjectIdReportsBudgetGet200ResponseByFinancingSourceInner.ts +20 -0
  198. package/model/projectsProjectIdReportsCapTableGet200Response.ts +19 -0
  199. package/model/projectsProjectIdReportsCapTableGet200ResponseCurrentInner.ts +19 -0
  200. package/model/projectsProjectIdReportsCapTableGet200ResponseRoundsInner.ts +18 -0
  201. package/model/projectsProjectIdReportsCapTableMatrixGet200Response.ts +18 -0
  202. package/model/projectsProjectIdReportsCapTableMatrixGet200ResponseRoundsInner.ts +18 -0
  203. package/model/projectsProjectIdReportsCapTableMatrixGet200ResponseShareholdersInner.ts +18 -0
  204. package/model/projectsProjectIdReportsCapTablePlanGet200ResponseInner.ts +28 -0
  205. package/model/projectsProjectIdReportsCapacityGet200ResponseInner.ts +18 -0
  206. package/model/projectsProjectIdReportsCapacityGet200ResponseInnerRolesInner.ts +20 -0
  207. package/model/projectsProjectIdReportsDashboardGet200Response.ts +24 -0
  208. package/model/projectsProjectIdReportsDashboardGet200ResponseCashflowMonthlyInner.ts +17 -0
  209. package/model/projectsProjectIdReportsDashboardGet200ResponseChargesByQuarterInner.ts +20 -0
  210. package/model/projectsProjectIdReportsDashboardGet200ResponseRevenueByQuarterInner.ts +20 -0
  211. package/model/projectsProjectIdReportsDashboardGet200ResponseTreasuryMonthlyInner.ts +16 -0
  212. package/model/projectsProjectIdReportsDerivedChargesGet200Response.ts +16 -0
  213. package/model/projectsProjectIdReportsDerivedChargesGet200ResponseDerivedChargesInner.ts +19 -0
  214. package/model/projectsProjectIdReportsEquityGet200ResponseInner.ts +22 -0
  215. package/model/projectsProjectIdReportsFinancingDetailGet200Response.ts +25 -0
  216. package/model/projectsProjectIdReportsFinancingDetailGet200ResponseComputedCapitalInner.ts +19 -0
  217. package/model/projectsProjectIdReportsFinancingDetailGet200ResponseComputedCcaInner.ts +18 -0
  218. package/model/projectsProjectIdReportsFinancingDetailGet200ResponseSourcesInner.ts +26 -0
  219. package/model/projectsProjectIdReportsFinancingPlanGet200ResponseInner.ts +20 -0
  220. package/model/projectsProjectIdReportsIncomeStatementGet200ResponseInner.ts +24 -0
  221. package/model/projectsProjectIdReportsPayrollGet200Response.ts +18 -0
  222. package/model/projectsProjectIdReportsPayrollGet200ResponseCdiDurablesByFiscalYearInner.ts +17 -0
  223. package/model/projectsProjectIdReportsPayrollGet200ResponseFteByFiscalYearInner.ts +17 -0
  224. package/model/projectsProjectIdReportsPersonIncomeGet200Response.ts +16 -0
  225. package/model/projectsProjectIdReportsPersonIncomeGet200ResponsePersonsInner.ts +18 -0
  226. package/model/projectsProjectIdReportsPersonIncomeGet200ResponsePersonsInnerMonthlyInner.ts +18 -0
  227. package/model/projectsProjectIdReportsPersonalLeverageGet200Response.ts +16 -0
  228. package/model/projectsProjectIdReportsPersonalLeverageGet200ResponsePersonsInner.ts +19 -0
  229. package/model/projectsProjectIdReportsPersonalLeverageGet200ResponsePersonsInnerMonthlyInner.ts +18 -0
  230. package/model/projectsProjectIdReportsRevenueByChannelGet200ResponseInner.ts +22 -0
  231. package/model/projectsProjectIdReportsRevenueGet200Response.ts +18 -0
  232. package/model/projectsProjectIdReportsRevenueGet200ResponseRevenueWarningsInner.ts +18 -0
  233. package/model/projectsProjectIdReportsRevenueGet200ResponseRowsInner.ts +17 -0
  234. package/model/projectsProjectIdReportsRoundSolvePost200Response.ts +27 -0
  235. package/model/projectsProjectIdReportsRoundSolvePostRequest.ts +29 -0
  236. package/model/projectsProjectIdReportsRoundSolvePostRequestTargetsInner.ts +17 -0
  237. package/model/projectsProjectIdReportsRoundValuationsGet200ResponseInner.ts +26 -0
  238. package/model/projectsProjectIdReportsRoundValuationsGet200ResponseInnerHoldersInner.ts +18 -0
  239. package/model/projectsProjectIdReportsSegmentsGet200ResponseInner.ts +25 -0
  240. package/model/projectsProjectIdReportsSegmentsGet200ResponseInnerByProductInner.ts +18 -0
  241. package/model/projectsProjectIdReportsTaxCreditsGet200ResponseInner.ts +21 -0
  242. package/model/projectsProjectIdReportsTreasuryMonthlyGet200ResponseInner.ts +19 -0
  243. package/model/projectsProjectIdRoundsGet200ResponseInner.ts +30 -0
  244. package/model/projectsProjectIdRoundsIdPatch200Response.ts +16 -0
  245. package/model/projectsProjectIdRoundsIdPatchRequest.ts +22 -0
  246. package/model/projectsProjectIdRoundsPostRequest.ts +25 -0
  247. package/model/projectsProjectIdSalesScenariosGet200ResponseInner.ts +24 -0
  248. package/model/projectsProjectIdSalesScenariosIdSetDefaultPatch200Response.ts +16 -0
  249. package/model/projectsProjectIdSalesScenariosPostRequest.ts +19 -0
  250. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsGet200ResponseInner.ts +22 -0
  251. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsIdPatch200Response.ts +16 -0
  252. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsIdPatchRequest.ts +15 -0
  253. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsPost201Response.ts +17 -0
  254. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsPostRequest.ts +16 -0
  255. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelGeneratorEntitiesGet200ResponseInner.ts +21 -0
  256. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelGeneratorEntitiesIdPatchRequest.ts +15 -0
  257. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelGeneratorEntitiesPostRequest.ts +24 -0
  258. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelGet200Response.ts +19 -0
  259. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelPatchRequest.ts +15 -0
  260. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelPostRequest.ts +23 -0
  261. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelSalesInputsGet200ResponseInner.ts +19 -0
  262. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelSalesInputsIdPatchRequest.ts +15 -0
  263. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelSalesInputsPostRequest.ts +16 -0
  264. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelSalesStagesGet200ResponseInner.ts +22 -0
  265. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelSalesStagesIdPatchRequest.ts +15 -0
  266. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesModelSalesStagesPostRequest.ts +26 -0
  267. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesVolumesGet200ResponseInner.ts +19 -0
  268. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesVolumesIdPatchRequest.ts +15 -0
  269. package/model/projectsProjectIdSalesScenariosSalesScenarioIdSalesItemsSalesItemIdSalesVolumesPostRequest.ts +16 -0
  270. package/model/projectsProjectIdSellablesSellableIdCompositeBasketGet200Response.ts +21 -0
  271. package/model/projectsProjectIdSellablesSellableIdCompositeBasketGet200ResponseBreakdownInner.ts +19 -0
  272. package/model/projectsProjectIdSellablesSellableIdCompositeBasketGet200ResponseBreakdownInnerOptionsInner.ts +19 -0
  273. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner.ts +20 -0
  274. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response.ts +16 -0
  275. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest.ts +15 -0
  276. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response.ts +17 -0
  277. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest.ts +15 -0
  278. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsGet200ResponseInner.ts +21 -0
  279. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response.ts +15 -0
  280. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdPatch200Response.ts +16 -0
  281. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdPatchRequest.ts +15 -0
  282. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsPost201Response.ts +17 -0
  283. package/model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsPostRequest.ts +16 -0
  284. package/model/projectsProjectIdSellablesSellableIdConfigSlotsGet200ResponseInner.ts +22 -0
  285. package/model/projectsProjectIdSellablesSellableIdConfigSlotsIdPatchRequest.ts +15 -0
  286. package/model/projectsProjectIdSellablesSellableIdConfigSlotsPostRequest.ts +17 -0
  287. package/model/projectsProjectIdServicesGet200ResponseInner.ts +25 -0
  288. package/model/projectsProjectIdServicesGet200ResponseInnerUnit.ts +17 -0
  289. package/model/projectsProjectIdShareholderGroupsGet200ResponseInner.ts +23 -0
  290. package/model/projectsProjectIdShareholderGroupsIdPatch200Response.ts +17 -0
  291. package/model/projectsProjectIdShareholderGroupsIdPatchRequest.ts +16 -0
  292. package/model/projectsProjectIdShareholderGroupsPost201Response.ts +18 -0
  293. package/model/projectsProjectIdShareholderGroupsPostRequest.ts +18 -0
  294. package/model/projectsProjectIdShareholdersGet200ResponseInner.ts +28 -0
  295. package/model/projectsProjectIdShareholdersIdPatchRequest.ts +22 -0
  296. package/model/projectsProjectIdShareholdersPost201Response.ts +19 -0
  297. package/model/projectsProjectIdShareholdersPostRequest.ts +29 -0
  298. package/model/projectsProjectIdShareholdersShareholderIdCurrentAccountsGet200ResponseInner.ts +36 -0
  299. package/model/projectsProjectIdShareholdersShareholderIdCurrentAccountsIdPatchRequest.ts +15 -0
  300. package/model/projectsProjectIdShareholdersShareholderIdCurrentAccountsPost201Response.ts +17 -0
  301. package/model/projectsProjectIdShareholdersShareholderIdCurrentAccountsPostRequest.ts +29 -0
  302. package/model/projectsProjectIdShareholdersShareholderIdShareLotsGet200ResponseInner.ts +26 -0
  303. package/model/projectsProjectIdShareholdersShareholderIdShareLotsIdGet200Response.ts +16 -0
  304. package/model/projectsProjectIdShareholdersShareholderIdShareLotsIdPatchRequest.ts +15 -0
  305. package/model/projectsProjectIdShareholdersShareholderIdShareLotsPost201Response.ts +17 -0
  306. package/model/projectsProjectIdShareholdersShareholderIdShareLotsPostRequest.ts +21 -0
  307. package/model/projectsProjectIdTargetsGet200ResponseInner.ts +21 -0
  308. package/model/projectsProjectIdTargetsPostRequest.ts +16 -0
  309. package/model/projectsProjectIdTargetsTargetIdSegmentsGet200ResponseInner.ts +22 -0
  310. package/model/projectsProjectIdTargetsTargetIdSegmentsPostRequest.ts +17 -0
  311. package/model/unitsGet200ResponseInner.ts +19 -0
  312. package/model/unitsIdDelete403Response.ts +18 -0
  313. package/model/unitsIdDelete403ResponseUnit.ts +21 -0
  314. package/model/unitsIdGet200Response.ts +22 -0
  315. package/model/unitsIdPatch403Response.ts +17 -0
  316. package/model/unitsIdPatchRequest.ts +17 -0
  317. package/model/unitsPost201Response.ts +22 -0
  318. package/model/unitsPostRequest.ts +17 -0
  319. package/ng-package.json +6 -0
  320. package/package.json +37 -0
  321. package/param.ts +69 -0
  322. package/tsconfig.json +27 -0
  323. package/variables.ts +9 -0
@@ -0,0 +1,512 @@
1
+ /**
2
+ * API V1
3
+ *
4
+ *
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+ /* tslint:disable:no-unused-variable member-ordering */
11
+
12
+ import { Inject, Injectable, Optional } from '@angular/core';
13
+ import { HttpClient, HttpHeaders, HttpParams,
14
+ HttpResponse, HttpEvent, HttpParameterCodec, HttpContext
15
+ } from '@angular/common/http';
16
+ import { CustomHttpParameterCodec } from '../encoder';
17
+ import { Observable } from 'rxjs';
18
+
19
+ // @ts-ignore
20
+ import { ProjectsProjectIdAssetsPost422Response } from '../model/projectsProjectIdAssetsPost422Response';
21
+ // @ts-ignore
22
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner } from '../model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner';
23
+ // @ts-ignore
24
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response } from '../model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response';
25
+ // @ts-ignore
26
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest } from '../model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest';
27
+ // @ts-ignore
28
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response } from '../model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response';
29
+ // @ts-ignore
30
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest } from '../model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest';
31
+ // @ts-ignore
32
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response } from '../model/projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response';
33
+
34
+ // @ts-ignore
35
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
36
+ import { Configuration } from '../configuration';
37
+ import {
38
+ SlotOptionsServiceInterface,
39
+ ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGetRequestParams,
40
+ ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDeleteRequestParams,
41
+ ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGetRequestParams,
42
+ ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequestParams,
43
+ ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequestParams
44
+ } from './slotOptions.serviceInterface';
45
+
46
+
47
+
48
+ @Injectable({
49
+ providedIn: 'root'
50
+ })
51
+ export class SlotOptionsService implements SlotOptionsServiceInterface {
52
+
53
+ protected basePath = 'https://cresus-api.liant.cloud/v1';
54
+ public defaultHeaders = new HttpHeaders();
55
+ public configuration = new Configuration();
56
+ public encoder: HttpParameterCodec;
57
+
58
+ constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
59
+ if (configuration) {
60
+ this.configuration = configuration;
61
+ }
62
+ if (typeof this.configuration.basePath !== 'string') {
63
+ const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
64
+ if (firstBasePath != undefined) {
65
+ basePath = firstBasePath;
66
+ }
67
+
68
+ if (typeof basePath !== 'string') {
69
+ basePath = this.basePath;
70
+ }
71
+ this.configuration.basePath = basePath;
72
+ }
73
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
74
+ }
75
+
76
+
77
+ // @ts-ignore
78
+ private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
79
+ if (typeof value === "object" && value instanceof Date === false) {
80
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
81
+ } else {
82
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
83
+ }
84
+ return httpParams;
85
+ }
86
+
87
+ private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
88
+ if (value == null) {
89
+ return httpParams;
90
+ }
91
+
92
+ if (typeof value === "object") {
93
+ if (Array.isArray(value)) {
94
+ (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
95
+ } else if (value instanceof Date) {
96
+ if (key != null) {
97
+ httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
98
+ } else {
99
+ throw Error("key may not be null if value is Date");
100
+ }
101
+ } else {
102
+ Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
103
+ httpParams, value[k], key != null ? `${key}.${k}` : k));
104
+ }
105
+ } else if (key != null) {
106
+ httpParams = httpParams.append(key, value);
107
+ } else {
108
+ throw Error("key may not be null if value is not object or array");
109
+ }
110
+ return httpParams;
111
+ }
112
+
113
+ /**
114
+ * List slot options for the config slot
115
+ * @param requestParameters
116
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
117
+ * @param reportProgress flag to report request and response progress.
118
+ */
119
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGetRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner>>;
120
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGetRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner>>>;
121
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGetRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner>>>;
122
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGetRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
123
+ const projectId = requestParameters?.projectId;
124
+ if (projectId === null || projectId === undefined) {
125
+ throw new Error('Required parameter projectId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet.');
126
+ }
127
+ const sellableId = requestParameters?.sellableId;
128
+ if (sellableId === null || sellableId === undefined) {
129
+ throw new Error('Required parameter sellableId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet.');
130
+ }
131
+ const configSlotId = requestParameters?.configSlotId;
132
+ if (configSlotId === null || configSlotId === undefined) {
133
+ throw new Error('Required parameter configSlotId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet.');
134
+ }
135
+
136
+ let localVarHeaders = this.defaultHeaders;
137
+
138
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
139
+ if (localVarHttpHeaderAcceptSelected === undefined) {
140
+ // to determine the Accept header
141
+ const httpHeaderAccepts: string[] = [
142
+ 'application/json'
143
+ ];
144
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
145
+ }
146
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
147
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
148
+ }
149
+
150
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
151
+ if (localVarHttpContext === undefined) {
152
+ localVarHttpContext = new HttpContext();
153
+ }
154
+
155
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
156
+ if (localVarTransferCache === undefined) {
157
+ localVarTransferCache = true;
158
+ }
159
+
160
+
161
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
162
+ if (localVarHttpHeaderAcceptSelected) {
163
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
164
+ responseType_ = 'text';
165
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
166
+ responseType_ = 'json';
167
+ } else {
168
+ responseType_ = 'blob';
169
+ }
170
+ }
171
+
172
+ let localVarPath = `/projects/${this.configuration.encodeParam({name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/sellables/${this.configuration.encodeParam({name: "sellableId", value: sellableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/config_slots/${this.configuration.encodeParam({name: "configSlotId", value: configSlotId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/slot_options`;
173
+ return this.httpClient.request<Array<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner>>('get', `${this.configuration.basePath}${localVarPath}`,
174
+ {
175
+ context: localVarHttpContext,
176
+ responseType: <any>responseType_,
177
+ withCredentials: this.configuration.withCredentials,
178
+ headers: localVarHeaders,
179
+ observe: observe,
180
+ transferCache: localVarTransferCache,
181
+ reportProgress: reportProgress
182
+ }
183
+ );
184
+ }
185
+
186
+ /**
187
+ * destroy a slot option
188
+ * @param requestParameters
189
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
190
+ * @param reportProgress flag to report request and response progress.
191
+ */
192
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDeleteRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any>;
193
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDeleteRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
194
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDeleteRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
195
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDeleteRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
196
+ const projectId = requestParameters?.projectId;
197
+ if (projectId === null || projectId === undefined) {
198
+ throw new Error('Required parameter projectId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete.');
199
+ }
200
+ const sellableId = requestParameters?.sellableId;
201
+ if (sellableId === null || sellableId === undefined) {
202
+ throw new Error('Required parameter sellableId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete.');
203
+ }
204
+ const configSlotId = requestParameters?.configSlotId;
205
+ if (configSlotId === null || configSlotId === undefined) {
206
+ throw new Error('Required parameter configSlotId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete.');
207
+ }
208
+ const id = requestParameters?.id;
209
+ if (id === null || id === undefined) {
210
+ throw new Error('Required parameter id was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete.');
211
+ }
212
+
213
+ let localVarHeaders = this.defaultHeaders;
214
+
215
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
216
+ if (localVarHttpHeaderAcceptSelected === undefined) {
217
+ // to determine the Accept header
218
+ const httpHeaderAccepts: string[] = [
219
+ 'application/json'
220
+ ];
221
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
222
+ }
223
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
224
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
225
+ }
226
+
227
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
228
+ if (localVarHttpContext === undefined) {
229
+ localVarHttpContext = new HttpContext();
230
+ }
231
+
232
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
233
+ if (localVarTransferCache === undefined) {
234
+ localVarTransferCache = true;
235
+ }
236
+
237
+
238
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
239
+ if (localVarHttpHeaderAcceptSelected) {
240
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
241
+ responseType_ = 'text';
242
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
243
+ responseType_ = 'json';
244
+ } else {
245
+ responseType_ = 'blob';
246
+ }
247
+ }
248
+
249
+ let localVarPath = `/projects/${this.configuration.encodeParam({name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/sellables/${this.configuration.encodeParam({name: "sellableId", value: sellableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/config_slots/${this.configuration.encodeParam({name: "configSlotId", value: configSlotId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/slot_options/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`;
250
+ return this.httpClient.request<any>('delete', `${this.configuration.basePath}${localVarPath}`,
251
+ {
252
+ context: localVarHttpContext,
253
+ responseType: <any>responseType_,
254
+ withCredentials: this.configuration.withCredentials,
255
+ headers: localVarHeaders,
256
+ observe: observe,
257
+ transferCache: localVarTransferCache,
258
+ reportProgress: reportProgress
259
+ }
260
+ );
261
+ }
262
+
263
+ /**
264
+ * get a slot option\&#39;s informations
265
+ * @param requestParameters
266
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
267
+ * @param reportProgress flag to report request and response progress.
268
+ */
269
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGetRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response>;
270
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGetRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response>>;
271
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGetRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response>>;
272
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGetRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
273
+ const projectId = requestParameters?.projectId;
274
+ if (projectId === null || projectId === undefined) {
275
+ throw new Error('Required parameter projectId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet.');
276
+ }
277
+ const sellableId = requestParameters?.sellableId;
278
+ if (sellableId === null || sellableId === undefined) {
279
+ throw new Error('Required parameter sellableId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet.');
280
+ }
281
+ const configSlotId = requestParameters?.configSlotId;
282
+ if (configSlotId === null || configSlotId === undefined) {
283
+ throw new Error('Required parameter configSlotId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet.');
284
+ }
285
+ const id = requestParameters?.id;
286
+ if (id === null || id === undefined) {
287
+ throw new Error('Required parameter id was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet.');
288
+ }
289
+
290
+ let localVarHeaders = this.defaultHeaders;
291
+
292
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
293
+ if (localVarHttpHeaderAcceptSelected === undefined) {
294
+ // to determine the Accept header
295
+ const httpHeaderAccepts: string[] = [
296
+ 'application/json'
297
+ ];
298
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
299
+ }
300
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
301
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
302
+ }
303
+
304
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
305
+ if (localVarHttpContext === undefined) {
306
+ localVarHttpContext = new HttpContext();
307
+ }
308
+
309
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
310
+ if (localVarTransferCache === undefined) {
311
+ localVarTransferCache = true;
312
+ }
313
+
314
+
315
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
316
+ if (localVarHttpHeaderAcceptSelected) {
317
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
318
+ responseType_ = 'text';
319
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
320
+ responseType_ = 'json';
321
+ } else {
322
+ responseType_ = 'blob';
323
+ }
324
+ }
325
+
326
+ let localVarPath = `/projects/${this.configuration.encodeParam({name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/sellables/${this.configuration.encodeParam({name: "sellableId", value: sellableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/config_slots/${this.configuration.encodeParam({name: "configSlotId", value: configSlotId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/slot_options/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`;
327
+ return this.httpClient.request<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response>('get', `${this.configuration.basePath}${localVarPath}`,
328
+ {
329
+ context: localVarHttpContext,
330
+ responseType: <any>responseType_,
331
+ withCredentials: this.configuration.withCredentials,
332
+ headers: localVarHeaders,
333
+ observe: observe,
334
+ transferCache: localVarTransferCache,
335
+ reportProgress: reportProgress
336
+ }
337
+ );
338
+ }
339
+
340
+ /**
341
+ * update a slot option
342
+ * @param requestParameters
343
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
344
+ * @param reportProgress flag to report request and response progress.
345
+ */
346
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response>;
347
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response>>;
348
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response>>;
349
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
350
+ const projectId = requestParameters?.projectId;
351
+ if (projectId === null || projectId === undefined) {
352
+ throw new Error('Required parameter projectId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch.');
353
+ }
354
+ const sellableId = requestParameters?.sellableId;
355
+ if (sellableId === null || sellableId === undefined) {
356
+ throw new Error('Required parameter sellableId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch.');
357
+ }
358
+ const configSlotId = requestParameters?.configSlotId;
359
+ if (configSlotId === null || configSlotId === undefined) {
360
+ throw new Error('Required parameter configSlotId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch.');
361
+ }
362
+ const id = requestParameters?.id;
363
+ if (id === null || id === undefined) {
364
+ throw new Error('Required parameter id was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch.');
365
+ }
366
+ const projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest = requestParameters?.projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest;
367
+
368
+ let localVarHeaders = this.defaultHeaders;
369
+
370
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
371
+ if (localVarHttpHeaderAcceptSelected === undefined) {
372
+ // to determine the Accept header
373
+ const httpHeaderAccepts: string[] = [
374
+ 'application/json'
375
+ ];
376
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
377
+ }
378
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
379
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
380
+ }
381
+
382
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
383
+ if (localVarHttpContext === undefined) {
384
+ localVarHttpContext = new HttpContext();
385
+ }
386
+
387
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
388
+ if (localVarTransferCache === undefined) {
389
+ localVarTransferCache = true;
390
+ }
391
+
392
+
393
+ // to determine the Content-Type header
394
+ const consumes: string[] = [
395
+ 'application/json'
396
+ ];
397
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
398
+ if (httpContentTypeSelected !== undefined) {
399
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
400
+ }
401
+
402
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
403
+ if (localVarHttpHeaderAcceptSelected) {
404
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
405
+ responseType_ = 'text';
406
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
407
+ responseType_ = 'json';
408
+ } else {
409
+ responseType_ = 'blob';
410
+ }
411
+ }
412
+
413
+ let localVarPath = `/projects/${this.configuration.encodeParam({name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/sellables/${this.configuration.encodeParam({name: "sellableId", value: sellableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/config_slots/${this.configuration.encodeParam({name: "configSlotId", value: configSlotId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/slot_options/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`;
414
+ return this.httpClient.request<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response>('patch', `${this.configuration.basePath}${localVarPath}`,
415
+ {
416
+ context: localVarHttpContext,
417
+ body: projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest,
418
+ responseType: <any>responseType_,
419
+ withCredentials: this.configuration.withCredentials,
420
+ headers: localVarHeaders,
421
+ observe: observe,
422
+ transferCache: localVarTransferCache,
423
+ reportProgress: reportProgress
424
+ }
425
+ );
426
+ }
427
+
428
+ /**
429
+ * Create a slot option
430
+ * @param requestParameters
431
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
432
+ * @param reportProgress flag to report request and response progress.
433
+ */
434
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response>;
435
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response>>;
436
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response>>;
437
+ public projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
438
+ const projectId = requestParameters?.projectId;
439
+ if (projectId === null || projectId === undefined) {
440
+ throw new Error('Required parameter projectId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost.');
441
+ }
442
+ const sellableId = requestParameters?.sellableId;
443
+ if (sellableId === null || sellableId === undefined) {
444
+ throw new Error('Required parameter sellableId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost.');
445
+ }
446
+ const configSlotId = requestParameters?.configSlotId;
447
+ if (configSlotId === null || configSlotId === undefined) {
448
+ throw new Error('Required parameter configSlotId was null or undefined when calling projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost.');
449
+ }
450
+ const projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest = requestParameters?.projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest;
451
+
452
+ let localVarHeaders = this.defaultHeaders;
453
+
454
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
455
+ if (localVarHttpHeaderAcceptSelected === undefined) {
456
+ // to determine the Accept header
457
+ const httpHeaderAccepts: string[] = [
458
+ 'application/json'
459
+ ];
460
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
461
+ }
462
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
463
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
464
+ }
465
+
466
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
467
+ if (localVarHttpContext === undefined) {
468
+ localVarHttpContext = new HttpContext();
469
+ }
470
+
471
+ let localVarTransferCache: boolean | undefined = options && options.transferCache;
472
+ if (localVarTransferCache === undefined) {
473
+ localVarTransferCache = true;
474
+ }
475
+
476
+
477
+ // to determine the Content-Type header
478
+ const consumes: string[] = [
479
+ 'application/json'
480
+ ];
481
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
482
+ if (httpContentTypeSelected !== undefined) {
483
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
484
+ }
485
+
486
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
487
+ if (localVarHttpHeaderAcceptSelected) {
488
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
489
+ responseType_ = 'text';
490
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
491
+ responseType_ = 'json';
492
+ } else {
493
+ responseType_ = 'blob';
494
+ }
495
+ }
496
+
497
+ let localVarPath = `/projects/${this.configuration.encodeParam({name: "projectId", value: projectId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/sellables/${this.configuration.encodeParam({name: "sellableId", value: sellableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/config_slots/${this.configuration.encodeParam({name: "configSlotId", value: configSlotId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/slot_options`;
498
+ return this.httpClient.request<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response>('post', `${this.configuration.basePath}${localVarPath}`,
499
+ {
500
+ context: localVarHttpContext,
501
+ body: projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest,
502
+ responseType: <any>responseType_,
503
+ withCredentials: this.configuration.withCredentials,
504
+ headers: localVarHeaders,
505
+ observe: observe,
506
+ transferCache: localVarTransferCache,
507
+ reportProgress: reportProgress
508
+ }
509
+ );
510
+ }
511
+
512
+ }
@@ -0,0 +1,101 @@
1
+ /**
2
+ * API V1
3
+ *
4
+ *
5
+ *
6
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
+ * https://openapi-generator.tech
8
+ * Do not edit the class manually.
9
+ */
10
+ import { HttpHeaders } from '@angular/common/http';
11
+
12
+ import { Observable } from 'rxjs';
13
+
14
+ import { ProjectsProjectIdAssetsPost422Response } from '../model/models';
15
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner } from '../model/models';
16
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response } from '../model/models';
17
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest } from '../model/models';
18
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response } from '../model/models';
19
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest } from '../model/models';
20
+ import { ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response } from '../model/models';
21
+
22
+
23
+ import { Configuration } from '../configuration';
24
+
25
+
26
+ export interface ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGetRequestParams {
27
+ projectId: string;
28
+ sellableId: string;
29
+ configSlotId: string;
30
+ }
31
+
32
+ export interface ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDeleteRequestParams {
33
+ projectId: string;
34
+ sellableId: string;
35
+ configSlotId: string;
36
+ id: string;
37
+ }
38
+
39
+ export interface ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGetRequestParams {
40
+ projectId: string;
41
+ sellableId: string;
42
+ configSlotId: string;
43
+ id: string;
44
+ }
45
+
46
+ export interface ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequestParams {
47
+ projectId: string;
48
+ sellableId: string;
49
+ configSlotId: string;
50
+ id: string;
51
+ projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest?: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequest;
52
+ }
53
+
54
+ export interface ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequestParams {
55
+ projectId: string;
56
+ sellableId: string;
57
+ configSlotId: string;
58
+ projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest?: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequest;
59
+ }
60
+
61
+
62
+ export interface SlotOptionsServiceInterface {
63
+ defaultHeaders: HttpHeaders;
64
+ configuration: Configuration;
65
+
66
+ /**
67
+ * List slot options for the config slot
68
+ *
69
+ * @param requestParameters
70
+ */
71
+ projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGetRequestParams, extraHttpRequestParams?: any): Observable<Array<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsGet200ResponseInner>>;
72
+
73
+ /**
74
+ * destroy a slot option
75
+ *
76
+ * @param requestParameters
77
+ */
78
+ projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDelete(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdDeleteRequestParams, extraHttpRequestParams?: any): Observable<{}>;
79
+
80
+ /**
81
+ * get a slot option\&#39;s informations
82
+ *
83
+ * @param requestParameters
84
+ */
85
+ projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGet(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdGetRequestParams, extraHttpRequestParams?: any): Observable<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsSlotOptionIdAverageBasketsIdGet200Response>;
86
+
87
+ /**
88
+ * update a slot option
89
+ *
90
+ * @param requestParameters
91
+ */
92
+ projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatchRequestParams, extraHttpRequestParams?: any): Observable<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsIdPatch200Response>;
93
+
94
+ /**
95
+ * Create a slot option
96
+ *
97
+ * @param requestParameters
98
+ */
99
+ projectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost(requestParameters: ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPostRequestParams, extraHttpRequestParams?: any): Observable<ProjectsProjectIdSellablesSellableIdConfigSlotsConfigSlotIdSlotOptionsPost201Response>;
100
+
101
+ }