@banch0u/core-project-test-repository 1.9.1 → 1.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/assets/css/antd.css +3 -3
  2. package/dist/assets/css/variables.css +2 -0
  3. package/dist/assets/icons/index.js +33 -0
  4. package/dist/components/ImagePreviewModal/index.js +129 -0
  5. package/dist/components/ImagePreviewModal/index.module.scss +27 -0
  6. package/dist/components/ViewMoreModal/index.js +30 -0
  7. package/dist/index.js +1 -0
  8. package/dist/layout/QuestionnairesLayout/index.module.scss +3 -0
  9. package/dist/layout/QuestionnairesSidebar/index.js +97 -5
  10. package/dist/layout/QuestionnairesSidebar/index.module.scss +4 -3
  11. package/dist/pages/Questionnnaires/Questionnaires.module.scss +4 -3
  12. package/dist/pages/Questionnnaires/{QuestionnairesStreetsContent → QuestionnairesAcademicdegreesContent}/constant.js +1 -1
  13. package/dist/pages/Questionnnaires/QuestionnairesAcademicdegreesContent/index.js +269 -0
  14. package/dist/pages/Questionnnaires/QuestionnairesAreasContent/constant.js +63 -0
  15. package/dist/pages/Questionnnaires/QuestionnairesAreasContent/index.js +271 -0
  16. package/dist/pages/Questionnnaires/QuestionnairesCategoriesContent/constant.js +69 -0
  17. package/dist/pages/Questionnnaires/QuestionnairesCategoriesContent/index.js +304 -0
  18. package/dist/pages/Questionnnaires/QuestionnairesCompaniesContent/constant.js +62 -0
  19. package/dist/pages/Questionnnaires/QuestionnairesCompaniesContent/index.js +278 -0
  20. package/dist/pages/Questionnnaires/QuestionnairesDisabilitystatusesContent/constant.js +58 -0
  21. package/dist/pages/Questionnnaires/QuestionnairesDisabilitystatusesContent/index.js +269 -0
  22. package/dist/pages/Questionnnaires/QuestionnairesDocumentTypeContent/constant.js +1 -1
  23. package/dist/pages/Questionnnaires/QuestionnairesDrivingcategoriesContent/constant.js +58 -0
  24. package/dist/pages/Questionnnaires/{QuestionnairesStreetsContent → QuestionnairesDrivingcategoriesContent}/index.js +41 -31
  25. package/dist/pages/Questionnnaires/QuestionnairesEducationinstitutionsContent/constant.js +58 -0
  26. package/dist/pages/Questionnnaires/QuestionnairesEducationinstitutionsContent/index.js +269 -0
  27. package/dist/pages/Questionnnaires/QuestionnairesEducationlevelsContent/constant.js +58 -0
  28. package/dist/pages/Questionnnaires/QuestionnairesEducationlevelsContent/index.js +269 -0
  29. package/dist/pages/Questionnnaires/QuestionnairesEducationpaymentsContent/constant.js +58 -0
  30. package/dist/pages/Questionnnaires/QuestionnairesEducationpaymentsContent/index.js +269 -0
  31. package/dist/pages/Questionnnaires/QuestionnairesGeneralstructurestatusesContent/constant.js +58 -0
  32. package/dist/pages/Questionnnaires/QuestionnairesGeneralstructurestatusesContent/index.js +269 -0
  33. package/dist/pages/Questionnnaires/QuestionnairesGeneralstructuretypesContent/constant.js +58 -0
  34. package/dist/pages/Questionnnaires/QuestionnairesGeneralstructuretypesContent/index.js +269 -0
  35. package/dist/pages/Questionnnaires/QuestionnairesHallsContent/constant.js +67 -0
  36. package/dist/pages/Questionnnaires/QuestionnairesHallsContent/index.js +294 -0
  37. package/dist/pages/Questionnnaires/QuestionnairesHonorarytitlesContent/constant.js +58 -0
  38. package/dist/pages/Questionnnaires/QuestionnairesHonorarytitlesContent/index.js +269 -0
  39. package/dist/pages/Questionnnaires/QuestionnairesMilitarycategoriesContent/constant.js +58 -0
  40. package/dist/pages/Questionnnaires/QuestionnairesMilitarycategoriesContent/index.js +269 -0
  41. package/dist/pages/Questionnnaires/QuestionnairesMilitarygroupsContent/constant.js +58 -0
  42. package/dist/pages/Questionnnaires/QuestionnairesMilitarygroupsContent/index.js +269 -0
  43. package/dist/pages/Questionnnaires/QuestionnairesMilitaryranksContent/constant.js +58 -0
  44. package/dist/pages/Questionnnaires/QuestionnairesMilitaryranksContent/index.js +269 -0
  45. package/dist/pages/Questionnnaires/QuestionnairesMilitarystaffsContent/constant.js +58 -0
  46. package/dist/pages/Questionnnaires/QuestionnairesMilitarystaffsContent/index.js +269 -0
  47. package/dist/pages/Questionnnaires/QuestionnairesPositionsContent/constant.js +72 -0
  48. package/dist/pages/Questionnnaires/QuestionnairesPositionsContent/index.js +428 -0
  49. package/dist/pages/Questionnnaires/QuestionnairesRegionsContent/constant.js +68 -0
  50. package/dist/pages/Questionnnaires/QuestionnairesRegionsContent/index.js +320 -0
  51. package/dist/pages/Questionnnaires/QuestionnairesReprimandtypesContent/constant.js +58 -0
  52. package/dist/pages/Questionnnaires/QuestionnairesReprimandtypesContent/index.js +269 -0
  53. package/dist/pages/Questionnnaires/QuestionnairesSpecialdaysContent/constant.js +58 -0
  54. package/dist/pages/Questionnnaires/QuestionnairesSpecialdaysContent/index.js +269 -0
  55. package/dist/pages/Questionnnaires/QuestionnairesSpecializationsContent/constant.js +58 -0
  56. package/dist/pages/Questionnnaires/QuestionnairesSpecializationsContent/index.js +269 -0
  57. package/dist/pages/Questionnnaires/QuestionnairesWarparticipantsContent/constant.js +58 -0
  58. package/dist/pages/Questionnnaires/QuestionnairesWarparticipantsContent/index.js +269 -0
  59. package/dist/pages/Questionnnaires/QuestionnairesWorkschedulesContent/constant.js +58 -0
  60. package/dist/pages/Questionnnaires/QuestionnairesWorkschedulesContent/index.js +269 -0
  61. package/dist/routes/QuestionnaireRoutes.js +169 -8
  62. package/dist/store/slices/global/index.js +147 -3
  63. package/dist/store/slices/questionnaire/index.js +5005 -99
  64. package/dist/store/slices/questionnaire/service.js +2446 -0
  65. package/dist/utils/path.js +49 -1
  66. package/package.json +1 -1
@@ -3027,4 +3027,2450 @@ _defineProperty(Services, "vrcsVisibility", /*#__PURE__*/function () {
3027
3027
  return _ref150.apply(this, arguments);
3028
3028
  };
3029
3029
  }());
3030
+ _defineProperty(Services, "getAcademicdegrees", /*#__PURE__*/function () {
3031
+ var _ref151 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee151(size, page, query, visibility) {
3032
+ return _regeneratorRuntime.wrap(function _callee151$(_context151) {
3033
+ while (1) switch (_context151.prev = _context151.next) {
3034
+ case 0:
3035
+ return _context151.abrupt("return", api.get("/academicdegrees/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3036
+ case 1:
3037
+ case "end":
3038
+ return _context151.stop();
3039
+ }
3040
+ }, _callee151);
3041
+ }));
3042
+ return function (_x238, _x239, _x240, _x241) {
3043
+ return _ref151.apply(this, arguments);
3044
+ };
3045
+ }());
3046
+ _defineProperty(Services, "getAcademicdegreesAll", /*#__PURE__*/function () {
3047
+ var _ref152 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee152(visibility) {
3048
+ return _regeneratorRuntime.wrap(function _callee152$(_context152) {
3049
+ while (1) switch (_context152.prev = _context152.next) {
3050
+ case 0:
3051
+ return _context152.abrupt("return", api.get("/academicdegrees?visibility=".concat(visibility)));
3052
+ case 1:
3053
+ case "end":
3054
+ return _context152.stop();
3055
+ }
3056
+ }, _callee152);
3057
+ }));
3058
+ return function (_x242) {
3059
+ return _ref152.apply(this, arguments);
3060
+ };
3061
+ }());
3062
+ _defineProperty(Services, "addAcademicdegrees", /*#__PURE__*/function () {
3063
+ var _ref153 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee153(value) {
3064
+ return _regeneratorRuntime.wrap(function _callee153$(_context153) {
3065
+ while (1) switch (_context153.prev = _context153.next) {
3066
+ case 0:
3067
+ return _context153.abrupt("return", api.post("/academicdegrees", value));
3068
+ case 1:
3069
+ case "end":
3070
+ return _context153.stop();
3071
+ }
3072
+ }, _callee153);
3073
+ }));
3074
+ return function (_x243) {
3075
+ return _ref153.apply(this, arguments);
3076
+ };
3077
+ }());
3078
+ _defineProperty(Services, "editAcademicdegrees", /*#__PURE__*/function () {
3079
+ var _ref154 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee154(value) {
3080
+ return _regeneratorRuntime.wrap(function _callee154$(_context154) {
3081
+ while (1) switch (_context154.prev = _context154.next) {
3082
+ case 0:
3083
+ return _context154.abrupt("return", api.put("/academicdegrees/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3084
+ case 1:
3085
+ case "end":
3086
+ return _context154.stop();
3087
+ }
3088
+ }, _callee154);
3089
+ }));
3090
+ return function (_x244) {
3091
+ return _ref154.apply(this, arguments);
3092
+ };
3093
+ }());
3094
+ _defineProperty(Services, "deleteAcademicdegrees", /*#__PURE__*/function () {
3095
+ var _ref155 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee155(id) {
3096
+ return _regeneratorRuntime.wrap(function _callee155$(_context155) {
3097
+ while (1) switch (_context155.prev = _context155.next) {
3098
+ case 0:
3099
+ return _context155.abrupt("return", api["delete"]("/academicdegrees/".concat(id)));
3100
+ case 1:
3101
+ case "end":
3102
+ return _context155.stop();
3103
+ }
3104
+ }, _callee155);
3105
+ }));
3106
+ return function (_x245) {
3107
+ return _ref155.apply(this, arguments);
3108
+ };
3109
+ }());
3110
+ _defineProperty(Services, "academicdegreesVisibility", /*#__PURE__*/function () {
3111
+ var _ref156 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee156(data) {
3112
+ return _regeneratorRuntime.wrap(function _callee156$(_context156) {
3113
+ while (1) switch (_context156.prev = _context156.next) {
3114
+ case 0:
3115
+ return _context156.abrupt("return", api.patch("/academicdegrees/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3116
+ case 1:
3117
+ case "end":
3118
+ return _context156.stop();
3119
+ }
3120
+ }, _callee156);
3121
+ }));
3122
+ return function (_x246) {
3123
+ return _ref156.apply(this, arguments);
3124
+ };
3125
+ }());
3126
+ _defineProperty(Services, "getDisabilitystatuses", /*#__PURE__*/function () {
3127
+ var _ref157 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee157(size, page, query, visibility) {
3128
+ return _regeneratorRuntime.wrap(function _callee157$(_context157) {
3129
+ while (1) switch (_context157.prev = _context157.next) {
3130
+ case 0:
3131
+ return _context157.abrupt("return", api.get("/disabilitystatuses/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3132
+ case 1:
3133
+ case "end":
3134
+ return _context157.stop();
3135
+ }
3136
+ }, _callee157);
3137
+ }));
3138
+ return function (_x247, _x248, _x249, _x250) {
3139
+ return _ref157.apply(this, arguments);
3140
+ };
3141
+ }());
3142
+ _defineProperty(Services, "getDisabilitystatusesAll", /*#__PURE__*/function () {
3143
+ var _ref158 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee158(visibility) {
3144
+ return _regeneratorRuntime.wrap(function _callee158$(_context158) {
3145
+ while (1) switch (_context158.prev = _context158.next) {
3146
+ case 0:
3147
+ return _context158.abrupt("return", api.get("/disabilitystatuses?visibility=".concat(visibility)));
3148
+ case 1:
3149
+ case "end":
3150
+ return _context158.stop();
3151
+ }
3152
+ }, _callee158);
3153
+ }));
3154
+ return function (_x251) {
3155
+ return _ref158.apply(this, arguments);
3156
+ };
3157
+ }());
3158
+ _defineProperty(Services, "addDisabilitystatuses", /*#__PURE__*/function () {
3159
+ var _ref159 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee159(value) {
3160
+ return _regeneratorRuntime.wrap(function _callee159$(_context159) {
3161
+ while (1) switch (_context159.prev = _context159.next) {
3162
+ case 0:
3163
+ return _context159.abrupt("return", api.post("/disabilitystatuses", value));
3164
+ case 1:
3165
+ case "end":
3166
+ return _context159.stop();
3167
+ }
3168
+ }, _callee159);
3169
+ }));
3170
+ return function (_x252) {
3171
+ return _ref159.apply(this, arguments);
3172
+ };
3173
+ }());
3174
+ _defineProperty(Services, "editDisabilitystatuses", /*#__PURE__*/function () {
3175
+ var _ref160 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee160(value) {
3176
+ return _regeneratorRuntime.wrap(function _callee160$(_context160) {
3177
+ while (1) switch (_context160.prev = _context160.next) {
3178
+ case 0:
3179
+ return _context160.abrupt("return", api.put("/disabilitystatuses/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3180
+ case 1:
3181
+ case "end":
3182
+ return _context160.stop();
3183
+ }
3184
+ }, _callee160);
3185
+ }));
3186
+ return function (_x253) {
3187
+ return _ref160.apply(this, arguments);
3188
+ };
3189
+ }());
3190
+ _defineProperty(Services, "deleteDisabilitystatuses", /*#__PURE__*/function () {
3191
+ var _ref161 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee161(id) {
3192
+ return _regeneratorRuntime.wrap(function _callee161$(_context161) {
3193
+ while (1) switch (_context161.prev = _context161.next) {
3194
+ case 0:
3195
+ return _context161.abrupt("return", api["delete"]("/disabilitystatuses/".concat(id)));
3196
+ case 1:
3197
+ case "end":
3198
+ return _context161.stop();
3199
+ }
3200
+ }, _callee161);
3201
+ }));
3202
+ return function (_x254) {
3203
+ return _ref161.apply(this, arguments);
3204
+ };
3205
+ }());
3206
+ _defineProperty(Services, "disabilitystatusesVisibility", /*#__PURE__*/function () {
3207
+ var _ref162 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee162(data) {
3208
+ return _regeneratorRuntime.wrap(function _callee162$(_context162) {
3209
+ while (1) switch (_context162.prev = _context162.next) {
3210
+ case 0:
3211
+ return _context162.abrupt("return", api.patch("/disabilitystatuses/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3212
+ case 1:
3213
+ case "end":
3214
+ return _context162.stop();
3215
+ }
3216
+ }, _callee162);
3217
+ }));
3218
+ return function (_x255) {
3219
+ return _ref162.apply(this, arguments);
3220
+ };
3221
+ }());
3222
+ _defineProperty(Services, "getHonorarytitles", /*#__PURE__*/function () {
3223
+ var _ref163 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee163(size, page, query, visibility) {
3224
+ return _regeneratorRuntime.wrap(function _callee163$(_context163) {
3225
+ while (1) switch (_context163.prev = _context163.next) {
3226
+ case 0:
3227
+ return _context163.abrupt("return", api.get("/honorarytitles/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3228
+ case 1:
3229
+ case "end":
3230
+ return _context163.stop();
3231
+ }
3232
+ }, _callee163);
3233
+ }));
3234
+ return function (_x256, _x257, _x258, _x259) {
3235
+ return _ref163.apply(this, arguments);
3236
+ };
3237
+ }());
3238
+ _defineProperty(Services, "getHonorarytitlesAll", /*#__PURE__*/function () {
3239
+ var _ref164 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee164(visibility) {
3240
+ return _regeneratorRuntime.wrap(function _callee164$(_context164) {
3241
+ while (1) switch (_context164.prev = _context164.next) {
3242
+ case 0:
3243
+ return _context164.abrupt("return", api.get("/honorarytitles?visibility=".concat(visibility)));
3244
+ case 1:
3245
+ case "end":
3246
+ return _context164.stop();
3247
+ }
3248
+ }, _callee164);
3249
+ }));
3250
+ return function (_x260) {
3251
+ return _ref164.apply(this, arguments);
3252
+ };
3253
+ }());
3254
+ _defineProperty(Services, "addHonorarytitles", /*#__PURE__*/function () {
3255
+ var _ref165 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee165(value) {
3256
+ return _regeneratorRuntime.wrap(function _callee165$(_context165) {
3257
+ while (1) switch (_context165.prev = _context165.next) {
3258
+ case 0:
3259
+ return _context165.abrupt("return", api.post("/honorarytitles", value));
3260
+ case 1:
3261
+ case "end":
3262
+ return _context165.stop();
3263
+ }
3264
+ }, _callee165);
3265
+ }));
3266
+ return function (_x261) {
3267
+ return _ref165.apply(this, arguments);
3268
+ };
3269
+ }());
3270
+ _defineProperty(Services, "editHonorarytitles", /*#__PURE__*/function () {
3271
+ var _ref166 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee166(value) {
3272
+ return _regeneratorRuntime.wrap(function _callee166$(_context166) {
3273
+ while (1) switch (_context166.prev = _context166.next) {
3274
+ case 0:
3275
+ return _context166.abrupt("return", api.put("/honorarytitles/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3276
+ case 1:
3277
+ case "end":
3278
+ return _context166.stop();
3279
+ }
3280
+ }, _callee166);
3281
+ }));
3282
+ return function (_x262) {
3283
+ return _ref166.apply(this, arguments);
3284
+ };
3285
+ }());
3286
+ _defineProperty(Services, "deleteHonorarytitles", /*#__PURE__*/function () {
3287
+ var _ref167 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee167(id) {
3288
+ return _regeneratorRuntime.wrap(function _callee167$(_context167) {
3289
+ while (1) switch (_context167.prev = _context167.next) {
3290
+ case 0:
3291
+ return _context167.abrupt("return", api["delete"]("/honorarytitles/".concat(id)));
3292
+ case 1:
3293
+ case "end":
3294
+ return _context167.stop();
3295
+ }
3296
+ }, _callee167);
3297
+ }));
3298
+ return function (_x263) {
3299
+ return _ref167.apply(this, arguments);
3300
+ };
3301
+ }());
3302
+ _defineProperty(Services, "honorarytitlesVisibility", /*#__PURE__*/function () {
3303
+ var _ref168 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee168(data) {
3304
+ return _regeneratorRuntime.wrap(function _callee168$(_context168) {
3305
+ while (1) switch (_context168.prev = _context168.next) {
3306
+ case 0:
3307
+ return _context168.abrupt("return", api.patch("/honorarytitles/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3308
+ case 1:
3309
+ case "end":
3310
+ return _context168.stop();
3311
+ }
3312
+ }, _callee168);
3313
+ }));
3314
+ return function (_x264) {
3315
+ return _ref168.apply(this, arguments);
3316
+ };
3317
+ }());
3318
+ _defineProperty(Services, "getMilitarystaffs", /*#__PURE__*/function () {
3319
+ var _ref169 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee169(size, page, query, visibility) {
3320
+ return _regeneratorRuntime.wrap(function _callee169$(_context169) {
3321
+ while (1) switch (_context169.prev = _context169.next) {
3322
+ case 0:
3323
+ return _context169.abrupt("return", api.get("/militaryStaffs/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3324
+ case 1:
3325
+ case "end":
3326
+ return _context169.stop();
3327
+ }
3328
+ }, _callee169);
3329
+ }));
3330
+ return function (_x265, _x266, _x267, _x268) {
3331
+ return _ref169.apply(this, arguments);
3332
+ };
3333
+ }());
3334
+ _defineProperty(Services, "getMilitarystaffsAll", /*#__PURE__*/function () {
3335
+ var _ref170 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee170(visibility) {
3336
+ return _regeneratorRuntime.wrap(function _callee170$(_context170) {
3337
+ while (1) switch (_context170.prev = _context170.next) {
3338
+ case 0:
3339
+ return _context170.abrupt("return", api.get("/militaryStaffs?visibility=".concat(visibility)));
3340
+ case 1:
3341
+ case "end":
3342
+ return _context170.stop();
3343
+ }
3344
+ }, _callee170);
3345
+ }));
3346
+ return function (_x269) {
3347
+ return _ref170.apply(this, arguments);
3348
+ };
3349
+ }());
3350
+ _defineProperty(Services, "addMilitarystaffs", /*#__PURE__*/function () {
3351
+ var _ref171 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee171(value) {
3352
+ return _regeneratorRuntime.wrap(function _callee171$(_context171) {
3353
+ while (1) switch (_context171.prev = _context171.next) {
3354
+ case 0:
3355
+ return _context171.abrupt("return", api.post("/militaryStaffs", value));
3356
+ case 1:
3357
+ case "end":
3358
+ return _context171.stop();
3359
+ }
3360
+ }, _callee171);
3361
+ }));
3362
+ return function (_x270) {
3363
+ return _ref171.apply(this, arguments);
3364
+ };
3365
+ }());
3366
+ _defineProperty(Services, "editMilitarystaffs", /*#__PURE__*/function () {
3367
+ var _ref172 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee172(value) {
3368
+ return _regeneratorRuntime.wrap(function _callee172$(_context172) {
3369
+ while (1) switch (_context172.prev = _context172.next) {
3370
+ case 0:
3371
+ return _context172.abrupt("return", api.put("/militaryStaffs/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3372
+ case 1:
3373
+ case "end":
3374
+ return _context172.stop();
3375
+ }
3376
+ }, _callee172);
3377
+ }));
3378
+ return function (_x271) {
3379
+ return _ref172.apply(this, arguments);
3380
+ };
3381
+ }());
3382
+ _defineProperty(Services, "deleteMilitarystaffs", /*#__PURE__*/function () {
3383
+ var _ref173 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee173(id) {
3384
+ return _regeneratorRuntime.wrap(function _callee173$(_context173) {
3385
+ while (1) switch (_context173.prev = _context173.next) {
3386
+ case 0:
3387
+ return _context173.abrupt("return", api["delete"]("/militaryStaffs/".concat(id)));
3388
+ case 1:
3389
+ case "end":
3390
+ return _context173.stop();
3391
+ }
3392
+ }, _callee173);
3393
+ }));
3394
+ return function (_x272) {
3395
+ return _ref173.apply(this, arguments);
3396
+ };
3397
+ }());
3398
+ _defineProperty(Services, "militaryStaffsVisibility", /*#__PURE__*/function () {
3399
+ var _ref174 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee174(data) {
3400
+ return _regeneratorRuntime.wrap(function _callee174$(_context174) {
3401
+ while (1) switch (_context174.prev = _context174.next) {
3402
+ case 0:
3403
+ return _context174.abrupt("return", api.patch("/militaryStaffs/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3404
+ case 1:
3405
+ case "end":
3406
+ return _context174.stop();
3407
+ }
3408
+ }, _callee174);
3409
+ }));
3410
+ return function (_x273) {
3411
+ return _ref174.apply(this, arguments);
3412
+ };
3413
+ }());
3414
+ _defineProperty(Services, "getMilitarycategories", /*#__PURE__*/function () {
3415
+ var _ref175 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee175(size, page, query, visibility) {
3416
+ return _regeneratorRuntime.wrap(function _callee175$(_context175) {
3417
+ while (1) switch (_context175.prev = _context175.next) {
3418
+ case 0:
3419
+ return _context175.abrupt("return", api.get("/militaryCategories/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3420
+ case 1:
3421
+ case "end":
3422
+ return _context175.stop();
3423
+ }
3424
+ }, _callee175);
3425
+ }));
3426
+ return function (_x274, _x275, _x276, _x277) {
3427
+ return _ref175.apply(this, arguments);
3428
+ };
3429
+ }());
3430
+ _defineProperty(Services, "getMilitarycategoriesAll", /*#__PURE__*/function () {
3431
+ var _ref176 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee176(visibility) {
3432
+ return _regeneratorRuntime.wrap(function _callee176$(_context176) {
3433
+ while (1) switch (_context176.prev = _context176.next) {
3434
+ case 0:
3435
+ return _context176.abrupt("return", api.get("/militaryCategories?visibility=".concat(visibility)));
3436
+ case 1:
3437
+ case "end":
3438
+ return _context176.stop();
3439
+ }
3440
+ }, _callee176);
3441
+ }));
3442
+ return function (_x278) {
3443
+ return _ref176.apply(this, arguments);
3444
+ };
3445
+ }());
3446
+ _defineProperty(Services, "addMilitarycategories", /*#__PURE__*/function () {
3447
+ var _ref177 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee177(value) {
3448
+ return _regeneratorRuntime.wrap(function _callee177$(_context177) {
3449
+ while (1) switch (_context177.prev = _context177.next) {
3450
+ case 0:
3451
+ return _context177.abrupt("return", api.post("/militaryCategories", value));
3452
+ case 1:
3453
+ case "end":
3454
+ return _context177.stop();
3455
+ }
3456
+ }, _callee177);
3457
+ }));
3458
+ return function (_x279) {
3459
+ return _ref177.apply(this, arguments);
3460
+ };
3461
+ }());
3462
+ _defineProperty(Services, "editMilitarycategories", /*#__PURE__*/function () {
3463
+ var _ref178 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee178(value) {
3464
+ return _regeneratorRuntime.wrap(function _callee178$(_context178) {
3465
+ while (1) switch (_context178.prev = _context178.next) {
3466
+ case 0:
3467
+ return _context178.abrupt("return", api.put("/militaryCategories/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3468
+ case 1:
3469
+ case "end":
3470
+ return _context178.stop();
3471
+ }
3472
+ }, _callee178);
3473
+ }));
3474
+ return function (_x280) {
3475
+ return _ref178.apply(this, arguments);
3476
+ };
3477
+ }());
3478
+ _defineProperty(Services, "deleteMilitarycategories", /*#__PURE__*/function () {
3479
+ var _ref179 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee179(id) {
3480
+ return _regeneratorRuntime.wrap(function _callee179$(_context179) {
3481
+ while (1) switch (_context179.prev = _context179.next) {
3482
+ case 0:
3483
+ return _context179.abrupt("return", api["delete"]("/militaryCategories/".concat(id)));
3484
+ case 1:
3485
+ case "end":
3486
+ return _context179.stop();
3487
+ }
3488
+ }, _callee179);
3489
+ }));
3490
+ return function (_x281) {
3491
+ return _ref179.apply(this, arguments);
3492
+ };
3493
+ }());
3494
+ _defineProperty(Services, "militaryCategoriesVisibility", /*#__PURE__*/function () {
3495
+ var _ref180 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee180(data) {
3496
+ return _regeneratorRuntime.wrap(function _callee180$(_context180) {
3497
+ while (1) switch (_context180.prev = _context180.next) {
3498
+ case 0:
3499
+ return _context180.abrupt("return", api.patch("/militaryCategories/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3500
+ case 1:
3501
+ case "end":
3502
+ return _context180.stop();
3503
+ }
3504
+ }, _callee180);
3505
+ }));
3506
+ return function (_x282) {
3507
+ return _ref180.apply(this, arguments);
3508
+ };
3509
+ }());
3510
+ _defineProperty(Services, "getMilitaryranks", /*#__PURE__*/function () {
3511
+ var _ref181 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee181(size, page, query, visibility) {
3512
+ return _regeneratorRuntime.wrap(function _callee181$(_context181) {
3513
+ while (1) switch (_context181.prev = _context181.next) {
3514
+ case 0:
3515
+ return _context181.abrupt("return", api.get("/militaryranks/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3516
+ case 1:
3517
+ case "end":
3518
+ return _context181.stop();
3519
+ }
3520
+ }, _callee181);
3521
+ }));
3522
+ return function (_x283, _x284, _x285, _x286) {
3523
+ return _ref181.apply(this, arguments);
3524
+ };
3525
+ }());
3526
+ _defineProperty(Services, "getMilitaryranksAll", /*#__PURE__*/function () {
3527
+ var _ref182 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee182(visibility) {
3528
+ return _regeneratorRuntime.wrap(function _callee182$(_context182) {
3529
+ while (1) switch (_context182.prev = _context182.next) {
3530
+ case 0:
3531
+ return _context182.abrupt("return", api.get("/militaryranks?visibility=".concat(visibility)));
3532
+ case 1:
3533
+ case "end":
3534
+ return _context182.stop();
3535
+ }
3536
+ }, _callee182);
3537
+ }));
3538
+ return function (_x287) {
3539
+ return _ref182.apply(this, arguments);
3540
+ };
3541
+ }());
3542
+ _defineProperty(Services, "addMilitaryranks", /*#__PURE__*/function () {
3543
+ var _ref183 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee183(value) {
3544
+ return _regeneratorRuntime.wrap(function _callee183$(_context183) {
3545
+ while (1) switch (_context183.prev = _context183.next) {
3546
+ case 0:
3547
+ return _context183.abrupt("return", api.post("/militaryranks", value));
3548
+ case 1:
3549
+ case "end":
3550
+ return _context183.stop();
3551
+ }
3552
+ }, _callee183);
3553
+ }));
3554
+ return function (_x288) {
3555
+ return _ref183.apply(this, arguments);
3556
+ };
3557
+ }());
3558
+ _defineProperty(Services, "editMilitaryranks", /*#__PURE__*/function () {
3559
+ var _ref184 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee184(value) {
3560
+ return _regeneratorRuntime.wrap(function _callee184$(_context184) {
3561
+ while (1) switch (_context184.prev = _context184.next) {
3562
+ case 0:
3563
+ return _context184.abrupt("return", api.put("/militaryranks/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3564
+ case 1:
3565
+ case "end":
3566
+ return _context184.stop();
3567
+ }
3568
+ }, _callee184);
3569
+ }));
3570
+ return function (_x289) {
3571
+ return _ref184.apply(this, arguments);
3572
+ };
3573
+ }());
3574
+ _defineProperty(Services, "deleteMilitaryranks", /*#__PURE__*/function () {
3575
+ var _ref185 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee185(id) {
3576
+ return _regeneratorRuntime.wrap(function _callee185$(_context185) {
3577
+ while (1) switch (_context185.prev = _context185.next) {
3578
+ case 0:
3579
+ return _context185.abrupt("return", api["delete"]("/militaryranks/".concat(id)));
3580
+ case 1:
3581
+ case "end":
3582
+ return _context185.stop();
3583
+ }
3584
+ }, _callee185);
3585
+ }));
3586
+ return function (_x290) {
3587
+ return _ref185.apply(this, arguments);
3588
+ };
3589
+ }());
3590
+ _defineProperty(Services, "militaryranksVisibility", /*#__PURE__*/function () {
3591
+ var _ref186 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee186(data) {
3592
+ return _regeneratorRuntime.wrap(function _callee186$(_context186) {
3593
+ while (1) switch (_context186.prev = _context186.next) {
3594
+ case 0:
3595
+ return _context186.abrupt("return", api.patch("/militaryranks/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3596
+ case 1:
3597
+ case "end":
3598
+ return _context186.stop();
3599
+ }
3600
+ }, _callee186);
3601
+ }));
3602
+ return function (_x291) {
3603
+ return _ref186.apply(this, arguments);
3604
+ };
3605
+ }());
3606
+ _defineProperty(Services, "getMilitarygroups", /*#__PURE__*/function () {
3607
+ var _ref187 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee187(size, page, query, visibility) {
3608
+ return _regeneratorRuntime.wrap(function _callee187$(_context187) {
3609
+ while (1) switch (_context187.prev = _context187.next) {
3610
+ case 0:
3611
+ return _context187.abrupt("return", api.get("/militarygroups/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3612
+ case 1:
3613
+ case "end":
3614
+ return _context187.stop();
3615
+ }
3616
+ }, _callee187);
3617
+ }));
3618
+ return function (_x292, _x293, _x294, _x295) {
3619
+ return _ref187.apply(this, arguments);
3620
+ };
3621
+ }());
3622
+ _defineProperty(Services, "getMilitarygroupsAll", /*#__PURE__*/function () {
3623
+ var _ref188 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee188(visibility) {
3624
+ return _regeneratorRuntime.wrap(function _callee188$(_context188) {
3625
+ while (1) switch (_context188.prev = _context188.next) {
3626
+ case 0:
3627
+ return _context188.abrupt("return", api.get("/militarygroups?visibility=".concat(visibility)));
3628
+ case 1:
3629
+ case "end":
3630
+ return _context188.stop();
3631
+ }
3632
+ }, _callee188);
3633
+ }));
3634
+ return function (_x296) {
3635
+ return _ref188.apply(this, arguments);
3636
+ };
3637
+ }());
3638
+ _defineProperty(Services, "addMilitarygroups", /*#__PURE__*/function () {
3639
+ var _ref189 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee189(value) {
3640
+ return _regeneratorRuntime.wrap(function _callee189$(_context189) {
3641
+ while (1) switch (_context189.prev = _context189.next) {
3642
+ case 0:
3643
+ return _context189.abrupt("return", api.post("/militarygroups", value));
3644
+ case 1:
3645
+ case "end":
3646
+ return _context189.stop();
3647
+ }
3648
+ }, _callee189);
3649
+ }));
3650
+ return function (_x297) {
3651
+ return _ref189.apply(this, arguments);
3652
+ };
3653
+ }());
3654
+ _defineProperty(Services, "editMilitarygroups", /*#__PURE__*/function () {
3655
+ var _ref190 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee190(value) {
3656
+ return _regeneratorRuntime.wrap(function _callee190$(_context190) {
3657
+ while (1) switch (_context190.prev = _context190.next) {
3658
+ case 0:
3659
+ return _context190.abrupt("return", api.put("/militarygroups/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3660
+ case 1:
3661
+ case "end":
3662
+ return _context190.stop();
3663
+ }
3664
+ }, _callee190);
3665
+ }));
3666
+ return function (_x298) {
3667
+ return _ref190.apply(this, arguments);
3668
+ };
3669
+ }());
3670
+ _defineProperty(Services, "deleteMilitarygroups", /*#__PURE__*/function () {
3671
+ var _ref191 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee191(id) {
3672
+ return _regeneratorRuntime.wrap(function _callee191$(_context191) {
3673
+ while (1) switch (_context191.prev = _context191.next) {
3674
+ case 0:
3675
+ return _context191.abrupt("return", api["delete"]("/militarygroups/".concat(id)));
3676
+ case 1:
3677
+ case "end":
3678
+ return _context191.stop();
3679
+ }
3680
+ }, _callee191);
3681
+ }));
3682
+ return function (_x299) {
3683
+ return _ref191.apply(this, arguments);
3684
+ };
3685
+ }());
3686
+ _defineProperty(Services, "militarygroupsVisibility", /*#__PURE__*/function () {
3687
+ var _ref192 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee192(data) {
3688
+ return _regeneratorRuntime.wrap(function _callee192$(_context192) {
3689
+ while (1) switch (_context192.prev = _context192.next) {
3690
+ case 0:
3691
+ return _context192.abrupt("return", api.patch("/militarygroups/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3692
+ case 1:
3693
+ case "end":
3694
+ return _context192.stop();
3695
+ }
3696
+ }, _callee192);
3697
+ }));
3698
+ return function (_x300) {
3699
+ return _ref192.apply(this, arguments);
3700
+ };
3701
+ }());
3702
+ _defineProperty(Services, "getGeneralstructurestatuses", /*#__PURE__*/function () {
3703
+ var _ref193 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee193(size, page, query, visibility) {
3704
+ return _regeneratorRuntime.wrap(function _callee193$(_context193) {
3705
+ while (1) switch (_context193.prev = _context193.next) {
3706
+ case 0:
3707
+ return _context193.abrupt("return", api.get("/generalstructurestatuses/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3708
+ case 1:
3709
+ case "end":
3710
+ return _context193.stop();
3711
+ }
3712
+ }, _callee193);
3713
+ }));
3714
+ return function (_x301, _x302, _x303, _x304) {
3715
+ return _ref193.apply(this, arguments);
3716
+ };
3717
+ }());
3718
+ _defineProperty(Services, "getGeneralstructurestatusesAll", /*#__PURE__*/function () {
3719
+ var _ref194 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee194(visibility) {
3720
+ return _regeneratorRuntime.wrap(function _callee194$(_context194) {
3721
+ while (1) switch (_context194.prev = _context194.next) {
3722
+ case 0:
3723
+ return _context194.abrupt("return", api.get("/generalstructurestatuses?visibility=".concat(visibility)));
3724
+ case 1:
3725
+ case "end":
3726
+ return _context194.stop();
3727
+ }
3728
+ }, _callee194);
3729
+ }));
3730
+ return function (_x305) {
3731
+ return _ref194.apply(this, arguments);
3732
+ };
3733
+ }());
3734
+ _defineProperty(Services, "addGeneralstructurestatuses", /*#__PURE__*/function () {
3735
+ var _ref195 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee195(value) {
3736
+ return _regeneratorRuntime.wrap(function _callee195$(_context195) {
3737
+ while (1) switch (_context195.prev = _context195.next) {
3738
+ case 0:
3739
+ return _context195.abrupt("return", api.post("/generalstructurestatuses", value));
3740
+ case 1:
3741
+ case "end":
3742
+ return _context195.stop();
3743
+ }
3744
+ }, _callee195);
3745
+ }));
3746
+ return function (_x306) {
3747
+ return _ref195.apply(this, arguments);
3748
+ };
3749
+ }());
3750
+ _defineProperty(Services, "editGeneralstructurestatuses", /*#__PURE__*/function () {
3751
+ var _ref196 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee196(value) {
3752
+ return _regeneratorRuntime.wrap(function _callee196$(_context196) {
3753
+ while (1) switch (_context196.prev = _context196.next) {
3754
+ case 0:
3755
+ return _context196.abrupt("return", api.put("/generalstructurestatuses/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3756
+ case 1:
3757
+ case "end":
3758
+ return _context196.stop();
3759
+ }
3760
+ }, _callee196);
3761
+ }));
3762
+ return function (_x307) {
3763
+ return _ref196.apply(this, arguments);
3764
+ };
3765
+ }());
3766
+ _defineProperty(Services, "deleteGeneralstructurestatuses", /*#__PURE__*/function () {
3767
+ var _ref197 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee197(id) {
3768
+ return _regeneratorRuntime.wrap(function _callee197$(_context197) {
3769
+ while (1) switch (_context197.prev = _context197.next) {
3770
+ case 0:
3771
+ return _context197.abrupt("return", api["delete"]("/generalstructurestatuses/".concat(id)));
3772
+ case 1:
3773
+ case "end":
3774
+ return _context197.stop();
3775
+ }
3776
+ }, _callee197);
3777
+ }));
3778
+ return function (_x308) {
3779
+ return _ref197.apply(this, arguments);
3780
+ };
3781
+ }());
3782
+ _defineProperty(Services, "generalstructurestatusesVisibility", /*#__PURE__*/function () {
3783
+ var _ref198 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee198(data) {
3784
+ return _regeneratorRuntime.wrap(function _callee198$(_context198) {
3785
+ while (1) switch (_context198.prev = _context198.next) {
3786
+ case 0:
3787
+ return _context198.abrupt("return", api.patch("/generalstructurestatuses/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3788
+ case 1:
3789
+ case "end":
3790
+ return _context198.stop();
3791
+ }
3792
+ }, _callee198);
3793
+ }));
3794
+ return function (_x309) {
3795
+ return _ref198.apply(this, arguments);
3796
+ };
3797
+ }());
3798
+ _defineProperty(Services, "getWorkschedules", /*#__PURE__*/function () {
3799
+ var _ref199 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee199(size, page, query, visibility) {
3800
+ return _regeneratorRuntime.wrap(function _callee199$(_context199) {
3801
+ while (1) switch (_context199.prev = _context199.next) {
3802
+ case 0:
3803
+ return _context199.abrupt("return", api.get("/workschedules/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3804
+ case 1:
3805
+ case "end":
3806
+ return _context199.stop();
3807
+ }
3808
+ }, _callee199);
3809
+ }));
3810
+ return function (_x310, _x311, _x312, _x313) {
3811
+ return _ref199.apply(this, arguments);
3812
+ };
3813
+ }());
3814
+ _defineProperty(Services, "getWorkschedulesAll", /*#__PURE__*/function () {
3815
+ var _ref200 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee200(visibility) {
3816
+ return _regeneratorRuntime.wrap(function _callee200$(_context200) {
3817
+ while (1) switch (_context200.prev = _context200.next) {
3818
+ case 0:
3819
+ return _context200.abrupt("return", api.get("/workschedules?visibility=".concat(visibility)));
3820
+ case 1:
3821
+ case "end":
3822
+ return _context200.stop();
3823
+ }
3824
+ }, _callee200);
3825
+ }));
3826
+ return function (_x314) {
3827
+ return _ref200.apply(this, arguments);
3828
+ };
3829
+ }());
3830
+ _defineProperty(Services, "addWorkschedules", /*#__PURE__*/function () {
3831
+ var _ref201 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee201(value) {
3832
+ return _regeneratorRuntime.wrap(function _callee201$(_context201) {
3833
+ while (1) switch (_context201.prev = _context201.next) {
3834
+ case 0:
3835
+ return _context201.abrupt("return", api.post("/workschedules", value));
3836
+ case 1:
3837
+ case "end":
3838
+ return _context201.stop();
3839
+ }
3840
+ }, _callee201);
3841
+ }));
3842
+ return function (_x315) {
3843
+ return _ref201.apply(this, arguments);
3844
+ };
3845
+ }());
3846
+ _defineProperty(Services, "editWorkschedules", /*#__PURE__*/function () {
3847
+ var _ref202 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee202(value) {
3848
+ return _regeneratorRuntime.wrap(function _callee202$(_context202) {
3849
+ while (1) switch (_context202.prev = _context202.next) {
3850
+ case 0:
3851
+ return _context202.abrupt("return", api.put("/workschedules/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3852
+ case 1:
3853
+ case "end":
3854
+ return _context202.stop();
3855
+ }
3856
+ }, _callee202);
3857
+ }));
3858
+ return function (_x316) {
3859
+ return _ref202.apply(this, arguments);
3860
+ };
3861
+ }());
3862
+ _defineProperty(Services, "deleteWorkschedules", /*#__PURE__*/function () {
3863
+ var _ref203 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee203(id) {
3864
+ return _regeneratorRuntime.wrap(function _callee203$(_context203) {
3865
+ while (1) switch (_context203.prev = _context203.next) {
3866
+ case 0:
3867
+ return _context203.abrupt("return", api["delete"]("/workschedules/".concat(id)));
3868
+ case 1:
3869
+ case "end":
3870
+ return _context203.stop();
3871
+ }
3872
+ }, _callee203);
3873
+ }));
3874
+ return function (_x317) {
3875
+ return _ref203.apply(this, arguments);
3876
+ };
3877
+ }());
3878
+ _defineProperty(Services, "workschedulesVisibility", /*#__PURE__*/function () {
3879
+ var _ref204 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee204(data) {
3880
+ return _regeneratorRuntime.wrap(function _callee204$(_context204) {
3881
+ while (1) switch (_context204.prev = _context204.next) {
3882
+ case 0:
3883
+ return _context204.abrupt("return", api.patch("/workschedules/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3884
+ case 1:
3885
+ case "end":
3886
+ return _context204.stop();
3887
+ }
3888
+ }, _callee204);
3889
+ }));
3890
+ return function (_x318) {
3891
+ return _ref204.apply(this, arguments);
3892
+ };
3893
+ }());
3894
+ _defineProperty(Services, "getSpecializations", /*#__PURE__*/function () {
3895
+ var _ref205 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee205(size, page, query, visibility) {
3896
+ return _regeneratorRuntime.wrap(function _callee205$(_context205) {
3897
+ while (1) switch (_context205.prev = _context205.next) {
3898
+ case 0:
3899
+ return _context205.abrupt("return", api.get("/specializations/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3900
+ case 1:
3901
+ case "end":
3902
+ return _context205.stop();
3903
+ }
3904
+ }, _callee205);
3905
+ }));
3906
+ return function (_x319, _x320, _x321, _x322) {
3907
+ return _ref205.apply(this, arguments);
3908
+ };
3909
+ }());
3910
+ _defineProperty(Services, "getSpecializationsAll", /*#__PURE__*/function () {
3911
+ var _ref206 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee206(visibility) {
3912
+ return _regeneratorRuntime.wrap(function _callee206$(_context206) {
3913
+ while (1) switch (_context206.prev = _context206.next) {
3914
+ case 0:
3915
+ return _context206.abrupt("return", api.get("/specializations?visibility=".concat(visibility)));
3916
+ case 1:
3917
+ case "end":
3918
+ return _context206.stop();
3919
+ }
3920
+ }, _callee206);
3921
+ }));
3922
+ return function (_x323) {
3923
+ return _ref206.apply(this, arguments);
3924
+ };
3925
+ }());
3926
+ _defineProperty(Services, "addSpecializations", /*#__PURE__*/function () {
3927
+ var _ref207 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee207(value) {
3928
+ return _regeneratorRuntime.wrap(function _callee207$(_context207) {
3929
+ while (1) switch (_context207.prev = _context207.next) {
3930
+ case 0:
3931
+ return _context207.abrupt("return", api.post("/specializations", value));
3932
+ case 1:
3933
+ case "end":
3934
+ return _context207.stop();
3935
+ }
3936
+ }, _callee207);
3937
+ }));
3938
+ return function (_x324) {
3939
+ return _ref207.apply(this, arguments);
3940
+ };
3941
+ }());
3942
+ _defineProperty(Services, "editSpecializations", /*#__PURE__*/function () {
3943
+ var _ref208 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee208(value) {
3944
+ return _regeneratorRuntime.wrap(function _callee208$(_context208) {
3945
+ while (1) switch (_context208.prev = _context208.next) {
3946
+ case 0:
3947
+ return _context208.abrupt("return", api.put("/specializations/".concat(value === null || value === void 0 ? void 0 : value.id), value));
3948
+ case 1:
3949
+ case "end":
3950
+ return _context208.stop();
3951
+ }
3952
+ }, _callee208);
3953
+ }));
3954
+ return function (_x325) {
3955
+ return _ref208.apply(this, arguments);
3956
+ };
3957
+ }());
3958
+ _defineProperty(Services, "deleteSpecializations", /*#__PURE__*/function () {
3959
+ var _ref209 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee209(id) {
3960
+ return _regeneratorRuntime.wrap(function _callee209$(_context209) {
3961
+ while (1) switch (_context209.prev = _context209.next) {
3962
+ case 0:
3963
+ return _context209.abrupt("return", api["delete"]("/specializations/".concat(id)));
3964
+ case 1:
3965
+ case "end":
3966
+ return _context209.stop();
3967
+ }
3968
+ }, _callee209);
3969
+ }));
3970
+ return function (_x326) {
3971
+ return _ref209.apply(this, arguments);
3972
+ };
3973
+ }());
3974
+ _defineProperty(Services, "specializationsVisibility", /*#__PURE__*/function () {
3975
+ var _ref210 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee210(data) {
3976
+ return _regeneratorRuntime.wrap(function _callee210$(_context210) {
3977
+ while (1) switch (_context210.prev = _context210.next) {
3978
+ case 0:
3979
+ return _context210.abrupt("return", api.patch("/specializations/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
3980
+ case 1:
3981
+ case "end":
3982
+ return _context210.stop();
3983
+ }
3984
+ }, _callee210);
3985
+ }));
3986
+ return function (_x327) {
3987
+ return _ref210.apply(this, arguments);
3988
+ };
3989
+ }());
3990
+ _defineProperty(Services, "getWarparticipants", /*#__PURE__*/function () {
3991
+ var _ref211 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee211(size, page, query, visibility) {
3992
+ return _regeneratorRuntime.wrap(function _callee211$(_context211) {
3993
+ while (1) switch (_context211.prev = _context211.next) {
3994
+ case 0:
3995
+ return _context211.abrupt("return", api.get("/warparticipants/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
3996
+ case 1:
3997
+ case "end":
3998
+ return _context211.stop();
3999
+ }
4000
+ }, _callee211);
4001
+ }));
4002
+ return function (_x328, _x329, _x330, _x331) {
4003
+ return _ref211.apply(this, arguments);
4004
+ };
4005
+ }());
4006
+ _defineProperty(Services, "getWarparticipantsAll", /*#__PURE__*/function () {
4007
+ var _ref212 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee212(visibility) {
4008
+ return _regeneratorRuntime.wrap(function _callee212$(_context212) {
4009
+ while (1) switch (_context212.prev = _context212.next) {
4010
+ case 0:
4011
+ return _context212.abrupt("return", api.get("/warparticipants?visibility=".concat(visibility)));
4012
+ case 1:
4013
+ case "end":
4014
+ return _context212.stop();
4015
+ }
4016
+ }, _callee212);
4017
+ }));
4018
+ return function (_x332) {
4019
+ return _ref212.apply(this, arguments);
4020
+ };
4021
+ }());
4022
+ _defineProperty(Services, "addWarparticipants", /*#__PURE__*/function () {
4023
+ var _ref213 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee213(value) {
4024
+ return _regeneratorRuntime.wrap(function _callee213$(_context213) {
4025
+ while (1) switch (_context213.prev = _context213.next) {
4026
+ case 0:
4027
+ return _context213.abrupt("return", api.post("/warparticipants", value));
4028
+ case 1:
4029
+ case "end":
4030
+ return _context213.stop();
4031
+ }
4032
+ }, _callee213);
4033
+ }));
4034
+ return function (_x333) {
4035
+ return _ref213.apply(this, arguments);
4036
+ };
4037
+ }());
4038
+ _defineProperty(Services, "editWarparticipants", /*#__PURE__*/function () {
4039
+ var _ref214 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee214(value) {
4040
+ return _regeneratorRuntime.wrap(function _callee214$(_context214) {
4041
+ while (1) switch (_context214.prev = _context214.next) {
4042
+ case 0:
4043
+ return _context214.abrupt("return", api.put("/warparticipants/".concat(value === null || value === void 0 ? void 0 : value.id), value));
4044
+ case 1:
4045
+ case "end":
4046
+ return _context214.stop();
4047
+ }
4048
+ }, _callee214);
4049
+ }));
4050
+ return function (_x334) {
4051
+ return _ref214.apply(this, arguments);
4052
+ };
4053
+ }());
4054
+ _defineProperty(Services, "deleteWarparticipants", /*#__PURE__*/function () {
4055
+ var _ref215 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee215(id) {
4056
+ return _regeneratorRuntime.wrap(function _callee215$(_context215) {
4057
+ while (1) switch (_context215.prev = _context215.next) {
4058
+ case 0:
4059
+ return _context215.abrupt("return", api["delete"]("/warparticipants/".concat(id)));
4060
+ case 1:
4061
+ case "end":
4062
+ return _context215.stop();
4063
+ }
4064
+ }, _callee215);
4065
+ }));
4066
+ return function (_x335) {
4067
+ return _ref215.apply(this, arguments);
4068
+ };
4069
+ }());
4070
+ _defineProperty(Services, "warparticipantsVisibility", /*#__PURE__*/function () {
4071
+ var _ref216 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee216(data) {
4072
+ return _regeneratorRuntime.wrap(function _callee216$(_context216) {
4073
+ while (1) switch (_context216.prev = _context216.next) {
4074
+ case 0:
4075
+ return _context216.abrupt("return", api.patch("/warparticipants/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
4076
+ case 1:
4077
+ case "end":
4078
+ return _context216.stop();
4079
+ }
4080
+ }, _callee216);
4081
+ }));
4082
+ return function (_x336) {
4083
+ return _ref216.apply(this, arguments);
4084
+ };
4085
+ }());
4086
+ _defineProperty(Services, "getGeneralstructuretypes", /*#__PURE__*/function () {
4087
+ var _ref217 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee217(size, page, query, visibility) {
4088
+ return _regeneratorRuntime.wrap(function _callee217$(_context217) {
4089
+ while (1) switch (_context217.prev = _context217.next) {
4090
+ case 0:
4091
+ return _context217.abrupt("return", api.get("/generalstructuretypes/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
4092
+ case 1:
4093
+ case "end":
4094
+ return _context217.stop();
4095
+ }
4096
+ }, _callee217);
4097
+ }));
4098
+ return function (_x337, _x338, _x339, _x340) {
4099
+ return _ref217.apply(this, arguments);
4100
+ };
4101
+ }());
4102
+ _defineProperty(Services, "getGeneralstructuretypesAll", /*#__PURE__*/function () {
4103
+ var _ref218 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee218(visibility) {
4104
+ return _regeneratorRuntime.wrap(function _callee218$(_context218) {
4105
+ while (1) switch (_context218.prev = _context218.next) {
4106
+ case 0:
4107
+ return _context218.abrupt("return", api.get("/generalstructuretypes?visibility=".concat(visibility)));
4108
+ case 1:
4109
+ case "end":
4110
+ return _context218.stop();
4111
+ }
4112
+ }, _callee218);
4113
+ }));
4114
+ return function (_x341) {
4115
+ return _ref218.apply(this, arguments);
4116
+ };
4117
+ }());
4118
+ _defineProperty(Services, "addGeneralstructuretypes", /*#__PURE__*/function () {
4119
+ var _ref219 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee219(value) {
4120
+ return _regeneratorRuntime.wrap(function _callee219$(_context219) {
4121
+ while (1) switch (_context219.prev = _context219.next) {
4122
+ case 0:
4123
+ return _context219.abrupt("return", api.post("/generalstructuretypes", value));
4124
+ case 1:
4125
+ case "end":
4126
+ return _context219.stop();
4127
+ }
4128
+ }, _callee219);
4129
+ }));
4130
+ return function (_x342) {
4131
+ return _ref219.apply(this, arguments);
4132
+ };
4133
+ }());
4134
+ _defineProperty(Services, "editGeneralstructuretypes", /*#__PURE__*/function () {
4135
+ var _ref220 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee220(value) {
4136
+ return _regeneratorRuntime.wrap(function _callee220$(_context220) {
4137
+ while (1) switch (_context220.prev = _context220.next) {
4138
+ case 0:
4139
+ return _context220.abrupt("return", api.put("/generalstructuretypes/".concat(value === null || value === void 0 ? void 0 : value.id), value));
4140
+ case 1:
4141
+ case "end":
4142
+ return _context220.stop();
4143
+ }
4144
+ }, _callee220);
4145
+ }));
4146
+ return function (_x343) {
4147
+ return _ref220.apply(this, arguments);
4148
+ };
4149
+ }());
4150
+ _defineProperty(Services, "deleteGeneralstructuretypes", /*#__PURE__*/function () {
4151
+ var _ref221 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee221(id) {
4152
+ return _regeneratorRuntime.wrap(function _callee221$(_context221) {
4153
+ while (1) switch (_context221.prev = _context221.next) {
4154
+ case 0:
4155
+ return _context221.abrupt("return", api["delete"]("/generalstructuretypes/".concat(id)));
4156
+ case 1:
4157
+ case "end":
4158
+ return _context221.stop();
4159
+ }
4160
+ }, _callee221);
4161
+ }));
4162
+ return function (_x344) {
4163
+ return _ref221.apply(this, arguments);
4164
+ };
4165
+ }());
4166
+ _defineProperty(Services, "generalstructuretypesVisibility", /*#__PURE__*/function () {
4167
+ var _ref222 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee222(data) {
4168
+ return _regeneratorRuntime.wrap(function _callee222$(_context222) {
4169
+ while (1) switch (_context222.prev = _context222.next) {
4170
+ case 0:
4171
+ return _context222.abrupt("return", api.patch("/generalstructuretypes/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
4172
+ case 1:
4173
+ case "end":
4174
+ return _context222.stop();
4175
+ }
4176
+ }, _callee222);
4177
+ }));
4178
+ return function (_x345) {
4179
+ return _ref222.apply(this, arguments);
4180
+ };
4181
+ }());
4182
+ _defineProperty(Services, "getEducationinstitutions", /*#__PURE__*/function () {
4183
+ var _ref223 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee223(size, page, query, visibility) {
4184
+ return _regeneratorRuntime.wrap(function _callee223$(_context223) {
4185
+ while (1) switch (_context223.prev = _context223.next) {
4186
+ case 0:
4187
+ return _context223.abrupt("return", api.get("/educationinstitutions/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
4188
+ case 1:
4189
+ case "end":
4190
+ return _context223.stop();
4191
+ }
4192
+ }, _callee223);
4193
+ }));
4194
+ return function (_x346, _x347, _x348, _x349) {
4195
+ return _ref223.apply(this, arguments);
4196
+ };
4197
+ }());
4198
+ _defineProperty(Services, "getEducationinstitutionsAll", /*#__PURE__*/function () {
4199
+ var _ref224 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee224(visibility) {
4200
+ return _regeneratorRuntime.wrap(function _callee224$(_context224) {
4201
+ while (1) switch (_context224.prev = _context224.next) {
4202
+ case 0:
4203
+ return _context224.abrupt("return", api.get("/educationinstitutions?visibility=".concat(visibility)));
4204
+ case 1:
4205
+ case "end":
4206
+ return _context224.stop();
4207
+ }
4208
+ }, _callee224);
4209
+ }));
4210
+ return function (_x350) {
4211
+ return _ref224.apply(this, arguments);
4212
+ };
4213
+ }());
4214
+ _defineProperty(Services, "addEducationinstitutions", /*#__PURE__*/function () {
4215
+ var _ref225 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee225(value) {
4216
+ return _regeneratorRuntime.wrap(function _callee225$(_context225) {
4217
+ while (1) switch (_context225.prev = _context225.next) {
4218
+ case 0:
4219
+ return _context225.abrupt("return", api.post("/educationinstitutions", value));
4220
+ case 1:
4221
+ case "end":
4222
+ return _context225.stop();
4223
+ }
4224
+ }, _callee225);
4225
+ }));
4226
+ return function (_x351) {
4227
+ return _ref225.apply(this, arguments);
4228
+ };
4229
+ }());
4230
+ _defineProperty(Services, "editEducationinstitutions", /*#__PURE__*/function () {
4231
+ var _ref226 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee226(value) {
4232
+ return _regeneratorRuntime.wrap(function _callee226$(_context226) {
4233
+ while (1) switch (_context226.prev = _context226.next) {
4234
+ case 0:
4235
+ return _context226.abrupt("return", api.put("/educationinstitutions/".concat(value === null || value === void 0 ? void 0 : value.id), value));
4236
+ case 1:
4237
+ case "end":
4238
+ return _context226.stop();
4239
+ }
4240
+ }, _callee226);
4241
+ }));
4242
+ return function (_x352) {
4243
+ return _ref226.apply(this, arguments);
4244
+ };
4245
+ }());
4246
+ _defineProperty(Services, "deleteEducationinstitutions", /*#__PURE__*/function () {
4247
+ var _ref227 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee227(id) {
4248
+ return _regeneratorRuntime.wrap(function _callee227$(_context227) {
4249
+ while (1) switch (_context227.prev = _context227.next) {
4250
+ case 0:
4251
+ return _context227.abrupt("return", api["delete"]("/educationinstitutions/".concat(id)));
4252
+ case 1:
4253
+ case "end":
4254
+ return _context227.stop();
4255
+ }
4256
+ }, _callee227);
4257
+ }));
4258
+ return function (_x353) {
4259
+ return _ref227.apply(this, arguments);
4260
+ };
4261
+ }());
4262
+ _defineProperty(Services, "educationinstitutionsVisibility", /*#__PURE__*/function () {
4263
+ var _ref228 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee228(data) {
4264
+ return _regeneratorRuntime.wrap(function _callee228$(_context228) {
4265
+ while (1) switch (_context228.prev = _context228.next) {
4266
+ case 0:
4267
+ return _context228.abrupt("return", api.patch("/educationinstitutions/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
4268
+ case 1:
4269
+ case "end":
4270
+ return _context228.stop();
4271
+ }
4272
+ }, _callee228);
4273
+ }));
4274
+ return function (_x354) {
4275
+ return _ref228.apply(this, arguments);
4276
+ };
4277
+ }());
4278
+ _defineProperty(Services, "getEducationpayments", /*#__PURE__*/function () {
4279
+ var _ref229 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee229(size, page, query, visibility) {
4280
+ return _regeneratorRuntime.wrap(function _callee229$(_context229) {
4281
+ while (1) switch (_context229.prev = _context229.next) {
4282
+ case 0:
4283
+ return _context229.abrupt("return", api.get("/educationPayments/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
4284
+ case 1:
4285
+ case "end":
4286
+ return _context229.stop();
4287
+ }
4288
+ }, _callee229);
4289
+ }));
4290
+ return function (_x355, _x356, _x357, _x358) {
4291
+ return _ref229.apply(this, arguments);
4292
+ };
4293
+ }());
4294
+ _defineProperty(Services, "getEducationpaymentsAll", /*#__PURE__*/function () {
4295
+ var _ref230 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee230(visibility) {
4296
+ return _regeneratorRuntime.wrap(function _callee230$(_context230) {
4297
+ while (1) switch (_context230.prev = _context230.next) {
4298
+ case 0:
4299
+ return _context230.abrupt("return", api.get("/educationPayments?visibility=".concat(visibility)));
4300
+ case 1:
4301
+ case "end":
4302
+ return _context230.stop();
4303
+ }
4304
+ }, _callee230);
4305
+ }));
4306
+ return function (_x359) {
4307
+ return _ref230.apply(this, arguments);
4308
+ };
4309
+ }());
4310
+ _defineProperty(Services, "addEducationpayments", /*#__PURE__*/function () {
4311
+ var _ref231 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee231(value) {
4312
+ return _regeneratorRuntime.wrap(function _callee231$(_context231) {
4313
+ while (1) switch (_context231.prev = _context231.next) {
4314
+ case 0:
4315
+ return _context231.abrupt("return", api.post("/educationPayments", value));
4316
+ case 1:
4317
+ case "end":
4318
+ return _context231.stop();
4319
+ }
4320
+ }, _callee231);
4321
+ }));
4322
+ return function (_x360) {
4323
+ return _ref231.apply(this, arguments);
4324
+ };
4325
+ }());
4326
+ _defineProperty(Services, "editEducationpayments", /*#__PURE__*/function () {
4327
+ var _ref232 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee232(value) {
4328
+ return _regeneratorRuntime.wrap(function _callee232$(_context232) {
4329
+ while (1) switch (_context232.prev = _context232.next) {
4330
+ case 0:
4331
+ return _context232.abrupt("return", api.put("/educationPayments/".concat(value === null || value === void 0 ? void 0 : value.id), value));
4332
+ case 1:
4333
+ case "end":
4334
+ return _context232.stop();
4335
+ }
4336
+ }, _callee232);
4337
+ }));
4338
+ return function (_x361) {
4339
+ return _ref232.apply(this, arguments);
4340
+ };
4341
+ }());
4342
+ _defineProperty(Services, "deleteEducationpayments", /*#__PURE__*/function () {
4343
+ var _ref233 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee233(id) {
4344
+ return _regeneratorRuntime.wrap(function _callee233$(_context233) {
4345
+ while (1) switch (_context233.prev = _context233.next) {
4346
+ case 0:
4347
+ return _context233.abrupt("return", api["delete"]("/educationPayments/".concat(id)));
4348
+ case 1:
4349
+ case "end":
4350
+ return _context233.stop();
4351
+ }
4352
+ }, _callee233);
4353
+ }));
4354
+ return function (_x362) {
4355
+ return _ref233.apply(this, arguments);
4356
+ };
4357
+ }());
4358
+ _defineProperty(Services, "educationPaymentsVisibility", /*#__PURE__*/function () {
4359
+ var _ref234 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee234(data) {
4360
+ return _regeneratorRuntime.wrap(function _callee234$(_context234) {
4361
+ while (1) switch (_context234.prev = _context234.next) {
4362
+ case 0:
4363
+ return _context234.abrupt("return", api.patch("/educationPayments/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
4364
+ case 1:
4365
+ case "end":
4366
+ return _context234.stop();
4367
+ }
4368
+ }, _callee234);
4369
+ }));
4370
+ return function (_x363) {
4371
+ return _ref234.apply(this, arguments);
4372
+ };
4373
+ }());
4374
+ _defineProperty(Services, "getEducationlevels", /*#__PURE__*/function () {
4375
+ var _ref235 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee235(size, page, query, visibility) {
4376
+ return _regeneratorRuntime.wrap(function _callee235$(_context235) {
4377
+ while (1) switch (_context235.prev = _context235.next) {
4378
+ case 0:
4379
+ return _context235.abrupt("return", api.get("/educationlevels/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
4380
+ case 1:
4381
+ case "end":
4382
+ return _context235.stop();
4383
+ }
4384
+ }, _callee235);
4385
+ }));
4386
+ return function (_x364, _x365, _x366, _x367) {
4387
+ return _ref235.apply(this, arguments);
4388
+ };
4389
+ }());
4390
+ _defineProperty(Services, "getEducationlevelsAll", /*#__PURE__*/function () {
4391
+ var _ref236 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee236(visibility) {
4392
+ return _regeneratorRuntime.wrap(function _callee236$(_context236) {
4393
+ while (1) switch (_context236.prev = _context236.next) {
4394
+ case 0:
4395
+ return _context236.abrupt("return", api.get("/educationlevels?visibility=".concat(visibility)));
4396
+ case 1:
4397
+ case "end":
4398
+ return _context236.stop();
4399
+ }
4400
+ }, _callee236);
4401
+ }));
4402
+ return function (_x368) {
4403
+ return _ref236.apply(this, arguments);
4404
+ };
4405
+ }());
4406
+ _defineProperty(Services, "addEducationlevels", /*#__PURE__*/function () {
4407
+ var _ref237 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee237(value) {
4408
+ return _regeneratorRuntime.wrap(function _callee237$(_context237) {
4409
+ while (1) switch (_context237.prev = _context237.next) {
4410
+ case 0:
4411
+ return _context237.abrupt("return", api.post("/educationlevels", value));
4412
+ case 1:
4413
+ case "end":
4414
+ return _context237.stop();
4415
+ }
4416
+ }, _callee237);
4417
+ }));
4418
+ return function (_x369) {
4419
+ return _ref237.apply(this, arguments);
4420
+ };
4421
+ }());
4422
+ _defineProperty(Services, "editEducationlevels", /*#__PURE__*/function () {
4423
+ var _ref238 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee238(value) {
4424
+ return _regeneratorRuntime.wrap(function _callee238$(_context238) {
4425
+ while (1) switch (_context238.prev = _context238.next) {
4426
+ case 0:
4427
+ return _context238.abrupt("return", api.put("/educationlevels/".concat(value === null || value === void 0 ? void 0 : value.id), value));
4428
+ case 1:
4429
+ case "end":
4430
+ return _context238.stop();
4431
+ }
4432
+ }, _callee238);
4433
+ }));
4434
+ return function (_x370) {
4435
+ return _ref238.apply(this, arguments);
4436
+ };
4437
+ }());
4438
+ _defineProperty(Services, "deleteEducationlevels", /*#__PURE__*/function () {
4439
+ var _ref239 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee239(id) {
4440
+ return _regeneratorRuntime.wrap(function _callee239$(_context239) {
4441
+ while (1) switch (_context239.prev = _context239.next) {
4442
+ case 0:
4443
+ return _context239.abrupt("return", api["delete"]("/educationlevels/".concat(id)));
4444
+ case 1:
4445
+ case "end":
4446
+ return _context239.stop();
4447
+ }
4448
+ }, _callee239);
4449
+ }));
4450
+ return function (_x371) {
4451
+ return _ref239.apply(this, arguments);
4452
+ };
4453
+ }());
4454
+ _defineProperty(Services, "educationlevelsVisibility", /*#__PURE__*/function () {
4455
+ var _ref240 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee240(data) {
4456
+ return _regeneratorRuntime.wrap(function _callee240$(_context240) {
4457
+ while (1) switch (_context240.prev = _context240.next) {
4458
+ case 0:
4459
+ return _context240.abrupt("return", api.patch("/educationlevels/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
4460
+ case 1:
4461
+ case "end":
4462
+ return _context240.stop();
4463
+ }
4464
+ }, _callee240);
4465
+ }));
4466
+ return function (_x372) {
4467
+ return _ref240.apply(this, arguments);
4468
+ };
4469
+ }());
4470
+ _defineProperty(Services, "getReprimandtypes", /*#__PURE__*/function () {
4471
+ var _ref241 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee241(size, page, query, visibility) {
4472
+ return _regeneratorRuntime.wrap(function _callee241$(_context241) {
4473
+ while (1) switch (_context241.prev = _context241.next) {
4474
+ case 0:
4475
+ return _context241.abrupt("return", api.get("/reprimandTypes/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
4476
+ case 1:
4477
+ case "end":
4478
+ return _context241.stop();
4479
+ }
4480
+ }, _callee241);
4481
+ }));
4482
+ return function (_x373, _x374, _x375, _x376) {
4483
+ return _ref241.apply(this, arguments);
4484
+ };
4485
+ }());
4486
+ _defineProperty(Services, "getReprimandtypesAll", /*#__PURE__*/function () {
4487
+ var _ref242 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee242(visibility) {
4488
+ return _regeneratorRuntime.wrap(function _callee242$(_context242) {
4489
+ while (1) switch (_context242.prev = _context242.next) {
4490
+ case 0:
4491
+ return _context242.abrupt("return", api.get("/reprimandTypes?visibility=".concat(visibility)));
4492
+ case 1:
4493
+ case "end":
4494
+ return _context242.stop();
4495
+ }
4496
+ }, _callee242);
4497
+ }));
4498
+ return function (_x377) {
4499
+ return _ref242.apply(this, arguments);
4500
+ };
4501
+ }());
4502
+ _defineProperty(Services, "addReprimandtypes", /*#__PURE__*/function () {
4503
+ var _ref243 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee243(value) {
4504
+ return _regeneratorRuntime.wrap(function _callee243$(_context243) {
4505
+ while (1) switch (_context243.prev = _context243.next) {
4506
+ case 0:
4507
+ return _context243.abrupt("return", api.post("/reprimandTypes", value));
4508
+ case 1:
4509
+ case "end":
4510
+ return _context243.stop();
4511
+ }
4512
+ }, _callee243);
4513
+ }));
4514
+ return function (_x378) {
4515
+ return _ref243.apply(this, arguments);
4516
+ };
4517
+ }());
4518
+ _defineProperty(Services, "editReprimandtypes", /*#__PURE__*/function () {
4519
+ var _ref244 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee244(value) {
4520
+ return _regeneratorRuntime.wrap(function _callee244$(_context244) {
4521
+ while (1) switch (_context244.prev = _context244.next) {
4522
+ case 0:
4523
+ return _context244.abrupt("return", api.put("/reprimandTypes/".concat(value === null || value === void 0 ? void 0 : value.id), value));
4524
+ case 1:
4525
+ case "end":
4526
+ return _context244.stop();
4527
+ }
4528
+ }, _callee244);
4529
+ }));
4530
+ return function (_x379) {
4531
+ return _ref244.apply(this, arguments);
4532
+ };
4533
+ }());
4534
+ _defineProperty(Services, "deleteReprimandtypes", /*#__PURE__*/function () {
4535
+ var _ref245 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee245(id) {
4536
+ return _regeneratorRuntime.wrap(function _callee245$(_context245) {
4537
+ while (1) switch (_context245.prev = _context245.next) {
4538
+ case 0:
4539
+ return _context245.abrupt("return", api["delete"]("/reprimandTypes/".concat(id)));
4540
+ case 1:
4541
+ case "end":
4542
+ return _context245.stop();
4543
+ }
4544
+ }, _callee245);
4545
+ }));
4546
+ return function (_x380) {
4547
+ return _ref245.apply(this, arguments);
4548
+ };
4549
+ }());
4550
+ _defineProperty(Services, "reprimandTypesVisibility", /*#__PURE__*/function () {
4551
+ var _ref246 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee246(data) {
4552
+ return _regeneratorRuntime.wrap(function _callee246$(_context246) {
4553
+ while (1) switch (_context246.prev = _context246.next) {
4554
+ case 0:
4555
+ return _context246.abrupt("return", api.patch("/reprimandTypes/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
4556
+ case 1:
4557
+ case "end":
4558
+ return _context246.stop();
4559
+ }
4560
+ }, _callee246);
4561
+ }));
4562
+ return function (_x381) {
4563
+ return _ref246.apply(this, arguments);
4564
+ };
4565
+ }());
4566
+ _defineProperty(Services, "getSpecialdays", /*#__PURE__*/function () {
4567
+ var _ref247 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee247(size, page, query, visibility) {
4568
+ return _regeneratorRuntime.wrap(function _callee247$(_context247) {
4569
+ while (1) switch (_context247.prev = _context247.next) {
4570
+ case 0:
4571
+ return _context247.abrupt("return", api.get("/specialdays/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name)));
4572
+ case 1:
4573
+ case "end":
4574
+ return _context247.stop();
4575
+ }
4576
+ }, _callee247);
4577
+ }));
4578
+ return function (_x382, _x383, _x384, _x385) {
4579
+ return _ref247.apply(this, arguments);
4580
+ };
4581
+ }());
4582
+ _defineProperty(Services, "getSpecialdaysAll", /*#__PURE__*/function () {
4583
+ var _ref248 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee248(visibility) {
4584
+ return _regeneratorRuntime.wrap(function _callee248$(_context248) {
4585
+ while (1) switch (_context248.prev = _context248.next) {
4586
+ case 0:
4587
+ return _context248.abrupt("return", api.get("/specialdays?visibility=".concat(visibility)));
4588
+ case 1:
4589
+ case "end":
4590
+ return _context248.stop();
4591
+ }
4592
+ }, _callee248);
4593
+ }));
4594
+ return function (_x386) {
4595
+ return _ref248.apply(this, arguments);
4596
+ };
4597
+ }());
4598
+ _defineProperty(Services, "addSpecialdays", /*#__PURE__*/function () {
4599
+ var _ref249 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee249(value) {
4600
+ return _regeneratorRuntime.wrap(function _callee249$(_context249) {
4601
+ while (1) switch (_context249.prev = _context249.next) {
4602
+ case 0:
4603
+ return _context249.abrupt("return", api.post("/specialdays", value));
4604
+ case 1:
4605
+ case "end":
4606
+ return _context249.stop();
4607
+ }
4608
+ }, _callee249);
4609
+ }));
4610
+ return function (_x387) {
4611
+ return _ref249.apply(this, arguments);
4612
+ };
4613
+ }());
4614
+ _defineProperty(Services, "editSpecialdays", /*#__PURE__*/function () {
4615
+ var _ref250 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee250(value) {
4616
+ return _regeneratorRuntime.wrap(function _callee250$(_context250) {
4617
+ while (1) switch (_context250.prev = _context250.next) {
4618
+ case 0:
4619
+ return _context250.abrupt("return", api.put("/specialdays/".concat(value === null || value === void 0 ? void 0 : value.id), value));
4620
+ case 1:
4621
+ case "end":
4622
+ return _context250.stop();
4623
+ }
4624
+ }, _callee250);
4625
+ }));
4626
+ return function (_x388) {
4627
+ return _ref250.apply(this, arguments);
4628
+ };
4629
+ }());
4630
+ _defineProperty(Services, "deleteSpecialdays", /*#__PURE__*/function () {
4631
+ var _ref251 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee251(id) {
4632
+ return _regeneratorRuntime.wrap(function _callee251$(_context251) {
4633
+ while (1) switch (_context251.prev = _context251.next) {
4634
+ case 0:
4635
+ return _context251.abrupt("return", api["delete"]("/specialdays/".concat(id)));
4636
+ case 1:
4637
+ case "end":
4638
+ return _context251.stop();
4639
+ }
4640
+ }, _callee251);
4641
+ }));
4642
+ return function (_x389) {
4643
+ return _ref251.apply(this, arguments);
4644
+ };
4645
+ }());
4646
+ _defineProperty(Services, "specialdaysVisibility", /*#__PURE__*/function () {
4647
+ var _ref252 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee252(data) {
4648
+ return _regeneratorRuntime.wrap(function _callee252$(_context252) {
4649
+ while (1) switch (_context252.prev = _context252.next) {
4650
+ case 0:
4651
+ return _context252.abrupt("return", api.patch("/specialdays/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked)));
4652
+ case 1:
4653
+ case "end":
4654
+ return _context252.stop();
4655
+ }
4656
+ }, _callee252);
4657
+ }));
4658
+ return function (_x390) {
4659
+ return _ref252.apply(this, arguments);
4660
+ };
4661
+ }());
4662
+ _defineProperty(Services, "getCategories", /*#__PURE__*/function () {
4663
+ var _ref253 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee253(size, page, query, visibility) {
4664
+ return _regeneratorRuntime.wrap(function _callee253$(_context253) {
4665
+ while (1) switch (_context253.prev = _context253.next) {
4666
+ case 0:
4667
+ _context253.next = 2;
4668
+ return api.get("/categories/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
4669
+ case 2:
4670
+ return _context253.abrupt("return", _context253.sent);
4671
+ case 3:
4672
+ case "end":
4673
+ return _context253.stop();
4674
+ }
4675
+ }, _callee253);
4676
+ }));
4677
+ return function (_x391, _x392, _x393, _x394) {
4678
+ return _ref253.apply(this, arguments);
4679
+ };
4680
+ }());
4681
+ _defineProperty(Services, "getCategoriesAll", /*#__PURE__*/function () {
4682
+ var _ref254 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee254(visibility) {
4683
+ return _regeneratorRuntime.wrap(function _callee254$(_context254) {
4684
+ while (1) switch (_context254.prev = _context254.next) {
4685
+ case 0:
4686
+ _context254.next = 2;
4687
+ return api.get("/categories?visibility=".concat(visibility));
4688
+ case 2:
4689
+ return _context254.abrupt("return", _context254.sent);
4690
+ case 3:
4691
+ case "end":
4692
+ return _context254.stop();
4693
+ }
4694
+ }, _callee254);
4695
+ }));
4696
+ return function (_x395) {
4697
+ return _ref254.apply(this, arguments);
4698
+ };
4699
+ }());
4700
+ _defineProperty(Services, "addCategories", /*#__PURE__*/function () {
4701
+ var _ref255 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee255(value) {
4702
+ return _regeneratorRuntime.wrap(function _callee255$(_context255) {
4703
+ while (1) switch (_context255.prev = _context255.next) {
4704
+ case 0:
4705
+ _context255.next = 2;
4706
+ return api.post("/categories", value);
4707
+ case 2:
4708
+ return _context255.abrupt("return", _context255.sent);
4709
+ case 3:
4710
+ case "end":
4711
+ return _context255.stop();
4712
+ }
4713
+ }, _callee255);
4714
+ }));
4715
+ return function (_x396) {
4716
+ return _ref255.apply(this, arguments);
4717
+ };
4718
+ }());
4719
+ _defineProperty(Services, "editCategories", /*#__PURE__*/function () {
4720
+ var _ref256 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee256(value) {
4721
+ return _regeneratorRuntime.wrap(function _callee256$(_context256) {
4722
+ while (1) switch (_context256.prev = _context256.next) {
4723
+ case 0:
4724
+ _context256.next = 2;
4725
+ return api.put("/categories/".concat(value === null || value === void 0 ? void 0 : value.id), value);
4726
+ case 2:
4727
+ return _context256.abrupt("return", _context256.sent);
4728
+ case 3:
4729
+ case "end":
4730
+ return _context256.stop();
4731
+ }
4732
+ }, _callee256);
4733
+ }));
4734
+ return function (_x397) {
4735
+ return _ref256.apply(this, arguments);
4736
+ };
4737
+ }());
4738
+ _defineProperty(Services, "deleteCategories", /*#__PURE__*/function () {
4739
+ var _ref257 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee257(id) {
4740
+ return _regeneratorRuntime.wrap(function _callee257$(_context257) {
4741
+ while (1) switch (_context257.prev = _context257.next) {
4742
+ case 0:
4743
+ _context257.next = 2;
4744
+ return api["delete"]("/categories/".concat(id));
4745
+ case 2:
4746
+ return _context257.abrupt("return", _context257.sent);
4747
+ case 3:
4748
+ case "end":
4749
+ return _context257.stop();
4750
+ }
4751
+ }, _callee257);
4752
+ }));
4753
+ return function (_x398) {
4754
+ return _ref257.apply(this, arguments);
4755
+ };
4756
+ }());
4757
+ _defineProperty(Services, "categoriesVisibility", /*#__PURE__*/function () {
4758
+ var _ref258 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee258(data) {
4759
+ return _regeneratorRuntime.wrap(function _callee258$(_context258) {
4760
+ while (1) switch (_context258.prev = _context258.next) {
4761
+ case 0:
4762
+ _context258.next = 2;
4763
+ return api.patch("/categories/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
4764
+ case 2:
4765
+ return _context258.abrupt("return", _context258.sent);
4766
+ case 3:
4767
+ case "end":
4768
+ return _context258.stop();
4769
+ }
4770
+ }, _callee258);
4771
+ }));
4772
+ return function (_x399) {
4773
+ return _ref258.apply(this, arguments);
4774
+ };
4775
+ }());
4776
+ _defineProperty(Services, "getRegions", /*#__PURE__*/function () {
4777
+ var _ref259 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee259(size, page, query, visibility) {
4778
+ return _regeneratorRuntime.wrap(function _callee259$(_context259) {
4779
+ while (1) switch (_context259.prev = _context259.next) {
4780
+ case 0:
4781
+ _context259.next = 2;
4782
+ return api.get("/regions/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
4783
+ case 2:
4784
+ return _context259.abrupt("return", _context259.sent);
4785
+ case 3:
4786
+ case "end":
4787
+ return _context259.stop();
4788
+ }
4789
+ }, _callee259);
4790
+ }));
4791
+ return function (_x400, _x401, _x402, _x403) {
4792
+ return _ref259.apply(this, arguments);
4793
+ };
4794
+ }());
4795
+ _defineProperty(Services, "getRegionsAll", /*#__PURE__*/function () {
4796
+ var _ref260 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee260(visibility) {
4797
+ return _regeneratorRuntime.wrap(function _callee260$(_context260) {
4798
+ while (1) switch (_context260.prev = _context260.next) {
4799
+ case 0:
4800
+ _context260.next = 2;
4801
+ return api.get("/regions?visibility=".concat(visibility));
4802
+ case 2:
4803
+ return _context260.abrupt("return", _context260.sent);
4804
+ case 3:
4805
+ case "end":
4806
+ return _context260.stop();
4807
+ }
4808
+ }, _callee260);
4809
+ }));
4810
+ return function (_x404) {
4811
+ return _ref260.apply(this, arguments);
4812
+ };
4813
+ }());
4814
+ _defineProperty(Services, "treeSelect", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee261() {
4815
+ var response;
4816
+ return _regeneratorRuntime.wrap(function _callee261$(_context261) {
4817
+ while (1) switch (_context261.prev = _context261.next) {
4818
+ case 0:
4819
+ _context261.next = 2;
4820
+ return api.get("/regions/".concat(21, "/page/", 1));
4821
+ case 2:
4822
+ response = _context261.sent;
4823
+ return _context261.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
4824
+ case 4:
4825
+ case "end":
4826
+ return _context261.stop();
4827
+ }
4828
+ }, _callee261);
4829
+ })));
4830
+ _defineProperty(Services, "addRegions", /*#__PURE__*/function () {
4831
+ var _ref262 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee262(value) {
4832
+ return _regeneratorRuntime.wrap(function _callee262$(_context262) {
4833
+ while (1) switch (_context262.prev = _context262.next) {
4834
+ case 0:
4835
+ _context262.next = 2;
4836
+ return api.post("/regions", value);
4837
+ case 2:
4838
+ return _context262.abrupt("return", _context262.sent);
4839
+ case 3:
4840
+ case "end":
4841
+ return _context262.stop();
4842
+ }
4843
+ }, _callee262);
4844
+ }));
4845
+ return function (_x405) {
4846
+ return _ref262.apply(this, arguments);
4847
+ };
4848
+ }());
4849
+ _defineProperty(Services, "editRegions", /*#__PURE__*/function () {
4850
+ var _ref263 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee263(value) {
4851
+ return _regeneratorRuntime.wrap(function _callee263$(_context263) {
4852
+ while (1) switch (_context263.prev = _context263.next) {
4853
+ case 0:
4854
+ _context263.next = 2;
4855
+ return api.put("/regions/".concat(value === null || value === void 0 ? void 0 : value.id), value);
4856
+ case 2:
4857
+ return _context263.abrupt("return", _context263.sent);
4858
+ case 3:
4859
+ case "end":
4860
+ return _context263.stop();
4861
+ }
4862
+ }, _callee263);
4863
+ }));
4864
+ return function (_x406) {
4865
+ return _ref263.apply(this, arguments);
4866
+ };
4867
+ }());
4868
+ _defineProperty(Services, "deleteRegions", /*#__PURE__*/function () {
4869
+ var _ref264 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee264(id) {
4870
+ return _regeneratorRuntime.wrap(function _callee264$(_context264) {
4871
+ while (1) switch (_context264.prev = _context264.next) {
4872
+ case 0:
4873
+ _context264.next = 2;
4874
+ return api["delete"]("/regions/".concat(id));
4875
+ case 2:
4876
+ return _context264.abrupt("return", _context264.sent);
4877
+ case 3:
4878
+ case "end":
4879
+ return _context264.stop();
4880
+ }
4881
+ }, _callee264);
4882
+ }));
4883
+ return function (_x407) {
4884
+ return _ref264.apply(this, arguments);
4885
+ };
4886
+ }());
4887
+ _defineProperty(Services, "regionsVisibility", /*#__PURE__*/function () {
4888
+ var _ref265 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee265(data) {
4889
+ return _regeneratorRuntime.wrap(function _callee265$(_context265) {
4890
+ while (1) switch (_context265.prev = _context265.next) {
4891
+ case 0:
4892
+ _context265.next = 2;
4893
+ return api.patch("/regions/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
4894
+ case 2:
4895
+ return _context265.abrupt("return", _context265.sent);
4896
+ case 3:
4897
+ case "end":
4898
+ return _context265.stop();
4899
+ }
4900
+ }, _callee265);
4901
+ }));
4902
+ return function (_x408) {
4903
+ return _ref265.apply(this, arguments);
4904
+ };
4905
+ }());
4906
+ _defineProperty(Services, "getAreas", /*#__PURE__*/function () {
4907
+ var _ref266 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee266(size, page, query, visibility) {
4908
+ return _regeneratorRuntime.wrap(function _callee266$(_context266) {
4909
+ while (1) switch (_context266.prev = _context266.next) {
4910
+ case 0:
4911
+ _context266.next = 2;
4912
+ return api.get("/areas/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
4913
+ case 2:
4914
+ return _context266.abrupt("return", _context266.sent);
4915
+ case 3:
4916
+ case "end":
4917
+ return _context266.stop();
4918
+ }
4919
+ }, _callee266);
4920
+ }));
4921
+ return function (_x409, _x410, _x411, _x412) {
4922
+ return _ref266.apply(this, arguments);
4923
+ };
4924
+ }());
4925
+ _defineProperty(Services, "getAreasAll", /*#__PURE__*/function () {
4926
+ var _ref267 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee267(visibility) {
4927
+ return _regeneratorRuntime.wrap(function _callee267$(_context267) {
4928
+ while (1) switch (_context267.prev = _context267.next) {
4929
+ case 0:
4930
+ _context267.next = 2;
4931
+ return api.get("/areas?visibility=".concat(visibility));
4932
+ case 2:
4933
+ return _context267.abrupt("return", _context267.sent);
4934
+ case 3:
4935
+ case "end":
4936
+ return _context267.stop();
4937
+ }
4938
+ }, _callee267);
4939
+ }));
4940
+ return function (_x413) {
4941
+ return _ref267.apply(this, arguments);
4942
+ };
4943
+ }());
4944
+ _defineProperty(Services, "addAreas", /*#__PURE__*/function () {
4945
+ var _ref268 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee268(value) {
4946
+ return _regeneratorRuntime.wrap(function _callee268$(_context268) {
4947
+ while (1) switch (_context268.prev = _context268.next) {
4948
+ case 0:
4949
+ _context268.next = 2;
4950
+ return api.post("/areas", value);
4951
+ case 2:
4952
+ return _context268.abrupt("return", _context268.sent);
4953
+ case 3:
4954
+ case "end":
4955
+ return _context268.stop();
4956
+ }
4957
+ }, _callee268);
4958
+ }));
4959
+ return function (_x414) {
4960
+ return _ref268.apply(this, arguments);
4961
+ };
4962
+ }());
4963
+ _defineProperty(Services, "editAreas", /*#__PURE__*/function () {
4964
+ var _ref269 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee269(value) {
4965
+ return _regeneratorRuntime.wrap(function _callee269$(_context269) {
4966
+ while (1) switch (_context269.prev = _context269.next) {
4967
+ case 0:
4968
+ _context269.next = 2;
4969
+ return api.put("/areas/".concat(value === null || value === void 0 ? void 0 : value.id), value);
4970
+ case 2:
4971
+ return _context269.abrupt("return", _context269.sent);
4972
+ case 3:
4973
+ case "end":
4974
+ return _context269.stop();
4975
+ }
4976
+ }, _callee269);
4977
+ }));
4978
+ return function (_x415) {
4979
+ return _ref269.apply(this, arguments);
4980
+ };
4981
+ }());
4982
+ _defineProperty(Services, "deleteAreas", /*#__PURE__*/function () {
4983
+ var _ref270 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee270(id) {
4984
+ return _regeneratorRuntime.wrap(function _callee270$(_context270) {
4985
+ while (1) switch (_context270.prev = _context270.next) {
4986
+ case 0:
4987
+ _context270.next = 2;
4988
+ return api["delete"]("/areas/".concat(id));
4989
+ case 2:
4990
+ return _context270.abrupt("return", _context270.sent);
4991
+ case 3:
4992
+ case "end":
4993
+ return _context270.stop();
4994
+ }
4995
+ }, _callee270);
4996
+ }));
4997
+ return function (_x416) {
4998
+ return _ref270.apply(this, arguments);
4999
+ };
5000
+ }());
5001
+ _defineProperty(Services, "areasVisibility", /*#__PURE__*/function () {
5002
+ var _ref271 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee271(data) {
5003
+ return _regeneratorRuntime.wrap(function _callee271$(_context271) {
5004
+ while (1) switch (_context271.prev = _context271.next) {
5005
+ case 0:
5006
+ _context271.next = 2;
5007
+ return api.patch("/areas/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5008
+ case 2:
5009
+ return _context271.abrupt("return", _context271.sent);
5010
+ case 3:
5011
+ case "end":
5012
+ return _context271.stop();
5013
+ }
5014
+ }, _callee271);
5015
+ }));
5016
+ return function (_x417) {
5017
+ return _ref271.apply(this, arguments);
5018
+ };
5019
+ }());
5020
+ _defineProperty(Services, "getCompanies", /*#__PURE__*/function () {
5021
+ var _ref272 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee272(size, page, query, visibility) {
5022
+ return _regeneratorRuntime.wrap(function _callee272$(_context272) {
5023
+ while (1) switch (_context272.prev = _context272.next) {
5024
+ case 0:
5025
+ _context272.next = 2;
5026
+ return api.get("/companies/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5027
+ case 2:
5028
+ return _context272.abrupt("return", _context272.sent);
5029
+ case 3:
5030
+ case "end":
5031
+ return _context272.stop();
5032
+ }
5033
+ }, _callee272);
5034
+ }));
5035
+ return function (_x418, _x419, _x420, _x421) {
5036
+ return _ref272.apply(this, arguments);
5037
+ };
5038
+ }());
5039
+ _defineProperty(Services, "getCompaniesAll", /*#__PURE__*/function () {
5040
+ var _ref273 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee273(visibility) {
5041
+ return _regeneratorRuntime.wrap(function _callee273$(_context273) {
5042
+ while (1) switch (_context273.prev = _context273.next) {
5043
+ case 0:
5044
+ _context273.next = 2;
5045
+ return api.get("/companies?visibility=".concat(visibility));
5046
+ case 2:
5047
+ return _context273.abrupt("return", _context273.sent);
5048
+ case 3:
5049
+ case "end":
5050
+ return _context273.stop();
5051
+ }
5052
+ }, _callee273);
5053
+ }));
5054
+ return function (_x422) {
5055
+ return _ref273.apply(this, arguments);
5056
+ };
5057
+ }());
5058
+ _defineProperty(Services, "addCompanies", /*#__PURE__*/function () {
5059
+ var _ref274 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee274(value) {
5060
+ return _regeneratorRuntime.wrap(function _callee274$(_context274) {
5061
+ while (1) switch (_context274.prev = _context274.next) {
5062
+ case 0:
5063
+ _context274.next = 2;
5064
+ return api.post("/companies", value);
5065
+ case 2:
5066
+ return _context274.abrupt("return", _context274.sent);
5067
+ case 3:
5068
+ case "end":
5069
+ return _context274.stop();
5070
+ }
5071
+ }, _callee274);
5072
+ }));
5073
+ return function (_x423) {
5074
+ return _ref274.apply(this, arguments);
5075
+ };
5076
+ }());
5077
+ _defineProperty(Services, "editCompanies", /*#__PURE__*/function () {
5078
+ var _ref275 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee275(value) {
5079
+ return _regeneratorRuntime.wrap(function _callee275$(_context275) {
5080
+ while (1) switch (_context275.prev = _context275.next) {
5081
+ case 0:
5082
+ _context275.next = 2;
5083
+ return api.put("/companies/".concat(value === null || value === void 0 ? void 0 : value.id), value);
5084
+ case 2:
5085
+ return _context275.abrupt("return", _context275.sent);
5086
+ case 3:
5087
+ case "end":
5088
+ return _context275.stop();
5089
+ }
5090
+ }, _callee275);
5091
+ }));
5092
+ return function (_x424) {
5093
+ return _ref275.apply(this, arguments);
5094
+ };
5095
+ }());
5096
+ _defineProperty(Services, "deleteCompanies", /*#__PURE__*/function () {
5097
+ var _ref276 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee276(id) {
5098
+ return _regeneratorRuntime.wrap(function _callee276$(_context276) {
5099
+ while (1) switch (_context276.prev = _context276.next) {
5100
+ case 0:
5101
+ _context276.next = 2;
5102
+ return api["delete"]("/companies/".concat(id));
5103
+ case 2:
5104
+ return _context276.abrupt("return", _context276.sent);
5105
+ case 3:
5106
+ case "end":
5107
+ return _context276.stop();
5108
+ }
5109
+ }, _callee276);
5110
+ }));
5111
+ return function (_x425) {
5112
+ return _ref276.apply(this, arguments);
5113
+ };
5114
+ }());
5115
+ _defineProperty(Services, "companiesVisibility", /*#__PURE__*/function () {
5116
+ var _ref277 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee277(data) {
5117
+ return _regeneratorRuntime.wrap(function _callee277$(_context277) {
5118
+ while (1) switch (_context277.prev = _context277.next) {
5119
+ case 0:
5120
+ _context277.next = 2;
5121
+ return api.patch("/companies/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5122
+ case 2:
5123
+ return _context277.abrupt("return", _context277.sent);
5124
+ case 3:
5125
+ case "end":
5126
+ return _context277.stop();
5127
+ }
5128
+ }, _callee277);
5129
+ }));
5130
+ return function (_x426) {
5131
+ return _ref277.apply(this, arguments);
5132
+ };
5133
+ }());
5134
+ _defineProperty(Services, "getPositions", /*#__PURE__*/function () {
5135
+ var _ref278 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee278(size, page, query, visibility) {
5136
+ return _regeneratorRuntime.wrap(function _callee278$(_context278) {
5137
+ while (1) switch (_context278.prev = _context278.next) {
5138
+ case 0:
5139
+ _context278.next = 2;
5140
+ return api.get("/positions/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5141
+ case 2:
5142
+ return _context278.abrupt("return", _context278.sent);
5143
+ case 3:
5144
+ case "end":
5145
+ return _context278.stop();
5146
+ }
5147
+ }, _callee278);
5148
+ }));
5149
+ return function (_x427, _x428, _x429, _x430) {
5150
+ return _ref278.apply(this, arguments);
5151
+ };
5152
+ }());
5153
+ _defineProperty(Services, "getPositionsAll", /*#__PURE__*/function () {
5154
+ var _ref279 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee279(visibility) {
5155
+ return _regeneratorRuntime.wrap(function _callee279$(_context279) {
5156
+ while (1) switch (_context279.prev = _context279.next) {
5157
+ case 0:
5158
+ _context279.next = 2;
5159
+ return api.get("/positions?visibility=".concat(visibility));
5160
+ case 2:
5161
+ return _context279.abrupt("return", _context279.sent);
5162
+ case 3:
5163
+ case "end":
5164
+ return _context279.stop();
5165
+ }
5166
+ }, _callee279);
5167
+ }));
5168
+ return function (_x431) {
5169
+ return _ref279.apply(this, arguments);
5170
+ };
5171
+ }());
5172
+ _defineProperty(Services, "addPositions", /*#__PURE__*/function () {
5173
+ var _ref280 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee280(value) {
5174
+ return _regeneratorRuntime.wrap(function _callee280$(_context280) {
5175
+ while (1) switch (_context280.prev = _context280.next) {
5176
+ case 0:
5177
+ _context280.next = 2;
5178
+ return api.post("/positions", value);
5179
+ case 2:
5180
+ return _context280.abrupt("return", _context280.sent);
5181
+ case 3:
5182
+ case "end":
5183
+ return _context280.stop();
5184
+ }
5185
+ }, _callee280);
5186
+ }));
5187
+ return function (_x432) {
5188
+ return _ref280.apply(this, arguments);
5189
+ };
5190
+ }());
5191
+ _defineProperty(Services, "editPositions", /*#__PURE__*/function () {
5192
+ var _ref281 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee281(value) {
5193
+ return _regeneratorRuntime.wrap(function _callee281$(_context281) {
5194
+ while (1) switch (_context281.prev = _context281.next) {
5195
+ case 0:
5196
+ _context281.next = 2;
5197
+ return api.put("/positions/".concat(value === null || value === void 0 ? void 0 : value.id), value);
5198
+ case 2:
5199
+ return _context281.abrupt("return", _context281.sent);
5200
+ case 3:
5201
+ case "end":
5202
+ return _context281.stop();
5203
+ }
5204
+ }, _callee281);
5205
+ }));
5206
+ return function (_x433) {
5207
+ return _ref281.apply(this, arguments);
5208
+ };
5209
+ }());
5210
+ _defineProperty(Services, "deletePositions", /*#__PURE__*/function () {
5211
+ var _ref282 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee282(id) {
5212
+ return _regeneratorRuntime.wrap(function _callee282$(_context282) {
5213
+ while (1) switch (_context282.prev = _context282.next) {
5214
+ case 0:
5215
+ _context282.next = 2;
5216
+ return api["delete"]("/positions/".concat(id));
5217
+ case 2:
5218
+ return _context282.abrupt("return", _context282.sent);
5219
+ case 3:
5220
+ case "end":
5221
+ return _context282.stop();
5222
+ }
5223
+ }, _callee282);
5224
+ }));
5225
+ return function (_x434) {
5226
+ return _ref282.apply(this, arguments);
5227
+ };
5228
+ }());
5229
+ _defineProperty(Services, "positionsVisibility", /*#__PURE__*/function () {
5230
+ var _ref283 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee283(data) {
5231
+ return _regeneratorRuntime.wrap(function _callee283$(_context283) {
5232
+ while (1) switch (_context283.prev = _context283.next) {
5233
+ case 0:
5234
+ _context283.next = 2;
5235
+ return api.patch("/positions/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5236
+ case 2:
5237
+ return _context283.abrupt("return", _context283.sent);
5238
+ case 3:
5239
+ case "end":
5240
+ return _context283.stop();
5241
+ }
5242
+ }, _callee283);
5243
+ }));
5244
+ return function (_x435) {
5245
+ return _ref283.apply(this, arguments);
5246
+ };
5247
+ }());
5248
+ _defineProperty(Services, "getHalls", /*#__PURE__*/function () {
5249
+ var _ref284 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee284(size, page, query, visibility) {
5250
+ return _regeneratorRuntime.wrap(function _callee284$(_context284) {
5251
+ while (1) switch (_context284.prev = _context284.next) {
5252
+ case 0:
5253
+ _context284.next = 2;
5254
+ return api.get("/halls/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5255
+ case 2:
5256
+ return _context284.abrupt("return", _context284.sent);
5257
+ case 3:
5258
+ case "end":
5259
+ return _context284.stop();
5260
+ }
5261
+ }, _callee284);
5262
+ }));
5263
+ return function (_x436, _x437, _x438, _x439) {
5264
+ return _ref284.apply(this, arguments);
5265
+ };
5266
+ }());
5267
+ _defineProperty(Services, "getHallsAll", /*#__PURE__*/function () {
5268
+ var _ref285 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee285(visibility) {
5269
+ return _regeneratorRuntime.wrap(function _callee285$(_context285) {
5270
+ while (1) switch (_context285.prev = _context285.next) {
5271
+ case 0:
5272
+ _context285.next = 2;
5273
+ return api.get("/halls?visibility=".concat(visibility));
5274
+ case 2:
5275
+ return _context285.abrupt("return", _context285.sent);
5276
+ case 3:
5277
+ case "end":
5278
+ return _context285.stop();
5279
+ }
5280
+ }, _callee285);
5281
+ }));
5282
+ return function (_x440) {
5283
+ return _ref285.apply(this, arguments);
5284
+ };
5285
+ }());
5286
+ _defineProperty(Services, "addHalls", /*#__PURE__*/function () {
5287
+ var _ref286 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee286(value) {
5288
+ return _regeneratorRuntime.wrap(function _callee286$(_context286) {
5289
+ while (1) switch (_context286.prev = _context286.next) {
5290
+ case 0:
5291
+ _context286.next = 2;
5292
+ return api.post("/halls", value);
5293
+ case 2:
5294
+ return _context286.abrupt("return", _context286.sent);
5295
+ case 3:
5296
+ case "end":
5297
+ return _context286.stop();
5298
+ }
5299
+ }, _callee286);
5300
+ }));
5301
+ return function (_x441) {
5302
+ return _ref286.apply(this, arguments);
5303
+ };
5304
+ }());
5305
+ _defineProperty(Services, "editHalls", /*#__PURE__*/function () {
5306
+ var _ref287 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee287(value) {
5307
+ return _regeneratorRuntime.wrap(function _callee287$(_context287) {
5308
+ while (1) switch (_context287.prev = _context287.next) {
5309
+ case 0:
5310
+ _context287.next = 2;
5311
+ return api.put("/halls/".concat(value === null || value === void 0 ? void 0 : value.id), value);
5312
+ case 2:
5313
+ return _context287.abrupt("return", _context287.sent);
5314
+ case 3:
5315
+ case "end":
5316
+ return _context287.stop();
5317
+ }
5318
+ }, _callee287);
5319
+ }));
5320
+ return function (_x442) {
5321
+ return _ref287.apply(this, arguments);
5322
+ };
5323
+ }());
5324
+ _defineProperty(Services, "deleteHalls", /*#__PURE__*/function () {
5325
+ var _ref288 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee288(id) {
5326
+ return _regeneratorRuntime.wrap(function _callee288$(_context288) {
5327
+ while (1) switch (_context288.prev = _context288.next) {
5328
+ case 0:
5329
+ _context288.next = 2;
5330
+ return api["delete"]("/halls/".concat(id));
5331
+ case 2:
5332
+ return _context288.abrupt("return", _context288.sent);
5333
+ case 3:
5334
+ case "end":
5335
+ return _context288.stop();
5336
+ }
5337
+ }, _callee288);
5338
+ }));
5339
+ return function (_x443) {
5340
+ return _ref288.apply(this, arguments);
5341
+ };
5342
+ }());
5343
+ _defineProperty(Services, "hallsVisibility", /*#__PURE__*/function () {
5344
+ var _ref289 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee289(data) {
5345
+ return _regeneratorRuntime.wrap(function _callee289$(_context289) {
5346
+ while (1) switch (_context289.prev = _context289.next) {
5347
+ case 0:
5348
+ _context289.next = 2;
5349
+ return api.patch("/halls/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5350
+ case 2:
5351
+ return _context289.abrupt("return", _context289.sent);
5352
+ case 3:
5353
+ case "end":
5354
+ return _context289.stop();
5355
+ }
5356
+ }, _callee289);
5357
+ }));
5358
+ return function (_x444) {
5359
+ return _ref289.apply(this, arguments);
5360
+ };
5361
+ }());
5362
+ _defineProperty(Services, "getDrivingcategories", /*#__PURE__*/function () {
5363
+ var _ref290 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee290(size, page, query, visibility) {
5364
+ return _regeneratorRuntime.wrap(function _callee290$(_context290) {
5365
+ while (1) switch (_context290.prev = _context290.next) {
5366
+ case 0:
5367
+ _context290.next = 2;
5368
+ return api.get("/drivingcategories/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5369
+ case 2:
5370
+ return _context290.abrupt("return", _context290.sent);
5371
+ case 3:
5372
+ case "end":
5373
+ return _context290.stop();
5374
+ }
5375
+ }, _callee290);
5376
+ }));
5377
+ return function (_x445, _x446, _x447, _x448) {
5378
+ return _ref290.apply(this, arguments);
5379
+ };
5380
+ }());
5381
+ _defineProperty(Services, "getDrivingcategoriesAll", /*#__PURE__*/function () {
5382
+ var _ref291 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee291(visibility) {
5383
+ return _regeneratorRuntime.wrap(function _callee291$(_context291) {
5384
+ while (1) switch (_context291.prev = _context291.next) {
5385
+ case 0:
5386
+ _context291.next = 2;
5387
+ return api.get("/drivingcategories?visibility=".concat(visibility));
5388
+ case 2:
5389
+ return _context291.abrupt("return", _context291.sent);
5390
+ case 3:
5391
+ case "end":
5392
+ return _context291.stop();
5393
+ }
5394
+ }, _callee291);
5395
+ }));
5396
+ return function (_x449) {
5397
+ return _ref291.apply(this, arguments);
5398
+ };
5399
+ }());
5400
+ _defineProperty(Services, "addDrivingcategories", /*#__PURE__*/function () {
5401
+ var _ref292 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee292(value) {
5402
+ return _regeneratorRuntime.wrap(function _callee292$(_context292) {
5403
+ while (1) switch (_context292.prev = _context292.next) {
5404
+ case 0:
5405
+ _context292.next = 2;
5406
+ return api.post("/drivingcategories", value);
5407
+ case 2:
5408
+ return _context292.abrupt("return", _context292.sent);
5409
+ case 3:
5410
+ case "end":
5411
+ return _context292.stop();
5412
+ }
5413
+ }, _callee292);
5414
+ }));
5415
+ return function (_x450) {
5416
+ return _ref292.apply(this, arguments);
5417
+ };
5418
+ }());
5419
+ _defineProperty(Services, "editDrivingcategories", /*#__PURE__*/function () {
5420
+ var _ref293 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee293(value) {
5421
+ return _regeneratorRuntime.wrap(function _callee293$(_context293) {
5422
+ while (1) switch (_context293.prev = _context293.next) {
5423
+ case 0:
5424
+ _context293.next = 2;
5425
+ return api.put("/drivingcategories/".concat(value === null || value === void 0 ? void 0 : value.id), value);
5426
+ case 2:
5427
+ return _context293.abrupt("return", _context293.sent);
5428
+ case 3:
5429
+ case "end":
5430
+ return _context293.stop();
5431
+ }
5432
+ }, _callee293);
5433
+ }));
5434
+ return function (_x451) {
5435
+ return _ref293.apply(this, arguments);
5436
+ };
5437
+ }());
5438
+ _defineProperty(Services, "deleteDrivingcategories", /*#__PURE__*/function () {
5439
+ var _ref294 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee294(id) {
5440
+ return _regeneratorRuntime.wrap(function _callee294$(_context294) {
5441
+ while (1) switch (_context294.prev = _context294.next) {
5442
+ case 0:
5443
+ _context294.next = 2;
5444
+ return api["delete"]("/drivingcategories/".concat(id));
5445
+ case 2:
5446
+ return _context294.abrupt("return", _context294.sent);
5447
+ case 3:
5448
+ case "end":
5449
+ return _context294.stop();
5450
+ }
5451
+ }, _callee294);
5452
+ }));
5453
+ return function (_x452) {
5454
+ return _ref294.apply(this, arguments);
5455
+ };
5456
+ }());
5457
+ _defineProperty(Services, "drivingcategoriesVisibility", /*#__PURE__*/function () {
5458
+ var _ref295 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee295(data) {
5459
+ return _regeneratorRuntime.wrap(function _callee295$(_context295) {
5460
+ while (1) switch (_context295.prev = _context295.next) {
5461
+ case 0:
5462
+ _context295.next = 2;
5463
+ return api.patch("/drivingcategories/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5464
+ case 2:
5465
+ return _context295.abrupt("return", _context295.sent);
5466
+ case 3:
5467
+ case "end":
5468
+ return _context295.stop();
5469
+ }
5470
+ }, _callee295);
5471
+ }));
5472
+ return function (_x453) {
5473
+ return _ref295.apply(this, arguments);
5474
+ };
5475
+ }());
3030
5476
  export default Services;