ch-api-client-typescript2 5.2.3 → 5.2.6

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 (58) hide show
  1. package/lib/api/hospitals-api.d.ts +295 -0
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +374 -0
  4. package/lib/api/secure-containers-api.d.ts +347 -0
  5. package/lib/api/secure-containers-api.d.ts.map +1 -0
  6. package/lib/api/secure-containers-api.js +611 -0
  7. package/lib/api.d.ts +1 -0
  8. package/lib/api.d.ts.map +1 -1
  9. package/lib/api.js +1 -0
  10. package/lib/models/footer-navigation-item-model.d.ts +61 -0
  11. package/lib/models/footer-navigation-item-model.d.ts.map +1 -0
  12. package/lib/models/footer-navigation-item-model.js +15 -0
  13. package/lib/models/index.d.ts +10 -0
  14. package/lib/models/index.d.ts.map +1 -1
  15. package/lib/models/index.js +10 -0
  16. package/lib/models/policies-model.d.ts +33 -0
  17. package/lib/models/policies-model.d.ts.map +1 -0
  18. package/lib/models/policies-model.js +15 -0
  19. package/lib/models/policy-item-model.d.ts +61 -0
  20. package/lib/models/policy-item-model.d.ts.map +1 -0
  21. package/lib/models/policy-item-model.js +15 -0
  22. package/lib/models/policy-model.d.ts +117 -0
  23. package/lib/models/policy-model.d.ts.map +1 -0
  24. package/lib/models/policy-model.js +15 -0
  25. package/lib/models/secure-container-item-model.d.ts +43 -0
  26. package/lib/models/secure-container-item-model.d.ts.map +1 -0
  27. package/lib/models/secure-container-item-model.js +15 -0
  28. package/lib/models/secure-container-model.d.ts +50 -0
  29. package/lib/models/secure-container-model.d.ts.map +1 -0
  30. package/lib/models/secure-container-model.js +15 -0
  31. package/lib/models/secure-containers-model.d.ts +33 -0
  32. package/lib/models/secure-containers-model.d.ts.map +1 -0
  33. package/lib/models/secure-containers-model.js +15 -0
  34. package/lib/models/secure-file-item-input-model.d.ts +43 -0
  35. package/lib/models/secure-file-item-input-model.d.ts.map +1 -0
  36. package/lib/models/secure-file-item-input-model.js +15 -0
  37. package/lib/models/secure-file-model.d.ts +86 -0
  38. package/lib/models/secure-file-model.d.ts.map +1 -0
  39. package/lib/models/secure-file-model.js +15 -0
  40. package/lib/models/update-secure-container-command.d.ts +38 -0
  41. package/lib/models/update-secure-container-command.d.ts.map +1 -0
  42. package/lib/models/update-secure-container-command.js +15 -0
  43. package/package.json +1 -1
  44. package/src/.openapi-generator/FILES +11 -0
  45. package/src/api/hospitals-api.ts +497 -0
  46. package/src/api/secure-containers-api.ts +610 -0
  47. package/src/api.ts +1 -0
  48. package/src/models/footer-navigation-item-model.ts +66 -0
  49. package/src/models/index.ts +10 -0
  50. package/src/models/policies-model.ts +42 -0
  51. package/src/models/policy-item-model.ts +66 -0
  52. package/src/models/policy-model.ts +126 -0
  53. package/src/models/secure-container-item-model.ts +48 -0
  54. package/src/models/secure-container-model.ts +57 -0
  55. package/src/models/secure-containers-model.ts +42 -0
  56. package/src/models/secure-file-item-input-model.ts +48 -0
  57. package/src/models/secure-file-model.ts +93 -0
  58. package/src/models/update-secure-container-command.ts +45 -0
@@ -721,6 +721,43 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
721
721
  });
722
722
  });
723
723
  },
724
+ /**
725
+ *
726
+ * @summary Get footerNavigations
727
+ * @param {string} hospitalId
728
+ * @param {string} languageCode
729
+ * @param {*} [options] Override http request option.
730
+ * @throws {RequiredError}
731
+ */
732
+ apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet: function (hospitalId, languageCode, options) {
733
+ if (options === void 0) { options = {}; }
734
+ return __awaiter(_this, void 0, void 0, function () {
735
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
736
+ return __generator(this, function (_a) {
737
+ // verify required parameter 'hospitalId' is not null or undefined
738
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet', 'hospitalId', hospitalId);
739
+ // verify required parameter 'languageCode' is not null or undefined
740
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet', 'languageCode', languageCode);
741
+ localVarPath = "/api/v2/hospitals/{hospitalId}/footernavigations/{languageCode}"
742
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
743
+ .replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
744
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
745
+ if (configuration) {
746
+ baseOptions = configuration.baseOptions;
747
+ }
748
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
749
+ localVarHeaderParameter = {};
750
+ localVarQueryParameter = {};
751
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
752
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
753
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
754
+ return [2 /*return*/, {
755
+ url: (0, common_1.toPathString)(localVarUrlObj),
756
+ options: localVarRequestOptions,
757
+ }];
758
+ });
759
+ });
760
+ },
724
761
  /**
725
762
  *
726
763
  * @summary Get hospital by id
@@ -1200,6 +1237,151 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
1200
1237
  });
1201
1238
  });
1202
1239
  },
1240
+ /**
1241
+ *
1242
+ * @summary Get all policies
1243
+ * @param {string} hospitalId
1244
+ * @param {string} [name]
1245
+ * @param {string} [slug]
1246
+ * @param {string} [languageCode]
1247
+ * @param {number} [page]
1248
+ * @param {number} [limit]
1249
+ * @param {Date} [lastRetrieved]
1250
+ * @param {*} [options] Override http request option.
1251
+ * @throws {RequiredError}
1252
+ */
1253
+ apiV2HospitalsHospitalIdPoliciesGet: function (hospitalId, name, slug, languageCode, page, limit, lastRetrieved, options) {
1254
+ if (options === void 0) { options = {}; }
1255
+ return __awaiter(_this, void 0, void 0, function () {
1256
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1257
+ return __generator(this, function (_a) {
1258
+ // verify required parameter 'hospitalId' is not null or undefined
1259
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPoliciesGet', 'hospitalId', hospitalId);
1260
+ localVarPath = "/api/v2/hospitals/{hospitalId}/policies"
1261
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
1262
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1263
+ if (configuration) {
1264
+ baseOptions = configuration.baseOptions;
1265
+ }
1266
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1267
+ localVarHeaderParameter = {};
1268
+ localVarQueryParameter = {};
1269
+ if (name !== undefined) {
1270
+ localVarQueryParameter['Name'] = name;
1271
+ }
1272
+ if (slug !== undefined) {
1273
+ localVarQueryParameter['Slug'] = slug;
1274
+ }
1275
+ if (languageCode !== undefined) {
1276
+ localVarQueryParameter['LanguageCode'] = languageCode;
1277
+ }
1278
+ if (page !== undefined) {
1279
+ localVarQueryParameter['page'] = page;
1280
+ }
1281
+ if (limit !== undefined) {
1282
+ localVarQueryParameter['limit'] = limit;
1283
+ }
1284
+ if (lastRetrieved !== undefined) {
1285
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
1286
+ lastRetrieved.toISOString() :
1287
+ lastRetrieved;
1288
+ }
1289
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1290
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1291
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1292
+ return [2 /*return*/, {
1293
+ url: (0, common_1.toPathString)(localVarUrlObj),
1294
+ options: localVarRequestOptions,
1295
+ }];
1296
+ });
1297
+ });
1298
+ },
1299
+ /**
1300
+ *
1301
+ * @summary Get policy
1302
+ * @param {string} hospitalId
1303
+ * @param {string} policyId
1304
+ * @param {string} [languageCode]
1305
+ * @param {*} [options] Override http request option.
1306
+ * @throws {RequiredError}
1307
+ */
1308
+ apiV2HospitalsHospitalIdPoliciesPolicyIdGet: function (hospitalId, policyId, languageCode, options) {
1309
+ if (options === void 0) { options = {}; }
1310
+ return __awaiter(_this, void 0, void 0, function () {
1311
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1312
+ return __generator(this, function (_a) {
1313
+ // verify required parameter 'hospitalId' is not null or undefined
1314
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPoliciesPolicyIdGet', 'hospitalId', hospitalId);
1315
+ // verify required parameter 'policyId' is not null or undefined
1316
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPoliciesPolicyIdGet', 'policyId', policyId);
1317
+ localVarPath = "/api/v2/hospitals/{hospitalId}/policies/{policyId}"
1318
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
1319
+ .replace("{".concat("policyId", "}"), encodeURIComponent(String(policyId)));
1320
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1321
+ if (configuration) {
1322
+ baseOptions = configuration.baseOptions;
1323
+ }
1324
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1325
+ localVarHeaderParameter = {};
1326
+ localVarQueryParameter = {};
1327
+ if (languageCode !== undefined) {
1328
+ localVarQueryParameter['languageCode'] = languageCode;
1329
+ }
1330
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1331
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1332
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1333
+ return [2 /*return*/, {
1334
+ url: (0, common_1.toPathString)(localVarUrlObj),
1335
+ options: localVarRequestOptions,
1336
+ }];
1337
+ });
1338
+ });
1339
+ },
1340
+ /**
1341
+ *
1342
+ * @summary Get policy by slug
1343
+ * @param {string} hospitalId
1344
+ * @param {string} slug
1345
+ * @param {string} [languageCode]
1346
+ * @param {string} [previewSecret]
1347
+ * @param {*} [options] Override http request option.
1348
+ * @throws {RequiredError}
1349
+ */
1350
+ apiV2HospitalsHospitalIdPoliciesSlugGet: function (hospitalId, slug, languageCode, previewSecret, options) {
1351
+ if (options === void 0) { options = {}; }
1352
+ return __awaiter(_this, void 0, void 0, function () {
1353
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1354
+ return __generator(this, function (_a) {
1355
+ // verify required parameter 'hospitalId' is not null or undefined
1356
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPoliciesSlugGet', 'hospitalId', hospitalId);
1357
+ // verify required parameter 'slug' is not null or undefined
1358
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPoliciesSlugGet', 'slug', slug);
1359
+ localVarPath = "/api/v2/hospitals/{hospitalId}/policies/{slug}"
1360
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
1361
+ .replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
1362
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1363
+ if (configuration) {
1364
+ baseOptions = configuration.baseOptions;
1365
+ }
1366
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1367
+ localVarHeaderParameter = {};
1368
+ localVarQueryParameter = {};
1369
+ if (languageCode !== undefined) {
1370
+ localVarQueryParameter['languageCode'] = languageCode;
1371
+ }
1372
+ if (previewSecret !== undefined) {
1373
+ localVarQueryParameter['previewSecret'] = previewSecret;
1374
+ }
1375
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1376
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1377
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1378
+ return [2 /*return*/, {
1379
+ url: (0, common_1.toPathString)(localVarUrlObj),
1380
+ options: localVarRequestOptions,
1381
+ }];
1382
+ });
1383
+ });
1384
+ },
1203
1385
  /**
1204
1386
  *
1205
1387
  * @summary Get all HospitalSpecialties.
@@ -2496,6 +2678,27 @@ var HospitalsApiFp = function (configuration) {
2496
2678
  });
2497
2679
  });
2498
2680
  },
2681
+ /**
2682
+ *
2683
+ * @summary Get footerNavigations
2684
+ * @param {string} hospitalId
2685
+ * @param {string} languageCode
2686
+ * @param {*} [options] Override http request option.
2687
+ * @throws {RequiredError}
2688
+ */
2689
+ apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet: function (hospitalId, languageCode, options) {
2690
+ return __awaiter(this, void 0, void 0, function () {
2691
+ var localVarAxiosArgs;
2692
+ return __generator(this, function (_a) {
2693
+ switch (_a.label) {
2694
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet(hospitalId, languageCode, options)];
2695
+ case 1:
2696
+ localVarAxiosArgs = _a.sent();
2697
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2698
+ }
2699
+ });
2700
+ });
2701
+ },
2499
2702
  /**
2500
2703
  *
2501
2704
  * @summary Get hospital by id
@@ -2729,6 +2932,77 @@ var HospitalsApiFp = function (configuration) {
2729
2932
  });
2730
2933
  });
2731
2934
  },
2935
+ /**
2936
+ *
2937
+ * @summary Get all policies
2938
+ * @param {string} hospitalId
2939
+ * @param {string} [name]
2940
+ * @param {string} [slug]
2941
+ * @param {string} [languageCode]
2942
+ * @param {number} [page]
2943
+ * @param {number} [limit]
2944
+ * @param {Date} [lastRetrieved]
2945
+ * @param {*} [options] Override http request option.
2946
+ * @throws {RequiredError}
2947
+ */
2948
+ apiV2HospitalsHospitalIdPoliciesGet: function (hospitalId, name, slug, languageCode, page, limit, lastRetrieved, options) {
2949
+ return __awaiter(this, void 0, void 0, function () {
2950
+ var localVarAxiosArgs;
2951
+ return __generator(this, function (_a) {
2952
+ switch (_a.label) {
2953
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdPoliciesGet(hospitalId, name, slug, languageCode, page, limit, lastRetrieved, options)];
2954
+ case 1:
2955
+ localVarAxiosArgs = _a.sent();
2956
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2957
+ }
2958
+ });
2959
+ });
2960
+ },
2961
+ /**
2962
+ *
2963
+ * @summary Get policy
2964
+ * @param {string} hospitalId
2965
+ * @param {string} policyId
2966
+ * @param {string} [languageCode]
2967
+ * @param {*} [options] Override http request option.
2968
+ * @throws {RequiredError}
2969
+ */
2970
+ apiV2HospitalsHospitalIdPoliciesPolicyIdGet: function (hospitalId, policyId, languageCode, options) {
2971
+ return __awaiter(this, void 0, void 0, function () {
2972
+ var localVarAxiosArgs;
2973
+ return __generator(this, function (_a) {
2974
+ switch (_a.label) {
2975
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdPoliciesPolicyIdGet(hospitalId, policyId, languageCode, options)];
2976
+ case 1:
2977
+ localVarAxiosArgs = _a.sent();
2978
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2979
+ }
2980
+ });
2981
+ });
2982
+ },
2983
+ /**
2984
+ *
2985
+ * @summary Get policy by slug
2986
+ * @param {string} hospitalId
2987
+ * @param {string} slug
2988
+ * @param {string} [languageCode]
2989
+ * @param {string} [previewSecret]
2990
+ * @param {*} [options] Override http request option.
2991
+ * @throws {RequiredError}
2992
+ */
2993
+ apiV2HospitalsHospitalIdPoliciesSlugGet: function (hospitalId, slug, languageCode, previewSecret, options) {
2994
+ return __awaiter(this, void 0, void 0, function () {
2995
+ var localVarAxiosArgs;
2996
+ return __generator(this, function (_a) {
2997
+ switch (_a.label) {
2998
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdPoliciesSlugGet(hospitalId, slug, languageCode, previewSecret, options)];
2999
+ case 1:
3000
+ localVarAxiosArgs = _a.sent();
3001
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
3002
+ }
3003
+ });
3004
+ });
3005
+ },
2732
3006
  /**
2733
3007
  *
2734
3008
  * @summary Get all HospitalSpecialties.
@@ -3338,6 +3612,17 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
3338
3612
  apiV2HospitalsHospitalIdEvaluationsGet: function (hospitalId, id, name, stars, page, limit, lastRetrieved, options) {
3339
3613
  return localVarFp.apiV2HospitalsHospitalIdEvaluationsGet(hospitalId, id, name, stars, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3340
3614
  },
3615
+ /**
3616
+ *
3617
+ * @summary Get footerNavigations
3618
+ * @param {string} hospitalId
3619
+ * @param {string} languageCode
3620
+ * @param {*} [options] Override http request option.
3621
+ * @throws {RequiredError}
3622
+ */
3623
+ apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet: function (hospitalId, languageCode, options) {
3624
+ return localVarFp.apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
3625
+ },
3341
3626
  /**
3342
3627
  *
3343
3628
  * @summary Get hospital by id
@@ -3471,6 +3756,47 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
3471
3756
  apiV2HospitalsHospitalIdMediasMediaIdGet: function (hospitalId, mediaId, options) {
3472
3757
  return localVarFp.apiV2HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options).then(function (request) { return request(axios, basePath); });
3473
3758
  },
3759
+ /**
3760
+ *
3761
+ * @summary Get all policies
3762
+ * @param {string} hospitalId
3763
+ * @param {string} [name]
3764
+ * @param {string} [slug]
3765
+ * @param {string} [languageCode]
3766
+ * @param {number} [page]
3767
+ * @param {number} [limit]
3768
+ * @param {Date} [lastRetrieved]
3769
+ * @param {*} [options] Override http request option.
3770
+ * @throws {RequiredError}
3771
+ */
3772
+ apiV2HospitalsHospitalIdPoliciesGet: function (hospitalId, name, slug, languageCode, page, limit, lastRetrieved, options) {
3773
+ return localVarFp.apiV2HospitalsHospitalIdPoliciesGet(hospitalId, name, slug, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3774
+ },
3775
+ /**
3776
+ *
3777
+ * @summary Get policy
3778
+ * @param {string} hospitalId
3779
+ * @param {string} policyId
3780
+ * @param {string} [languageCode]
3781
+ * @param {*} [options] Override http request option.
3782
+ * @throws {RequiredError}
3783
+ */
3784
+ apiV2HospitalsHospitalIdPoliciesPolicyIdGet: function (hospitalId, policyId, languageCode, options) {
3785
+ return localVarFp.apiV2HospitalsHospitalIdPoliciesPolicyIdGet(hospitalId, policyId, languageCode, options).then(function (request) { return request(axios, basePath); });
3786
+ },
3787
+ /**
3788
+ *
3789
+ * @summary Get policy by slug
3790
+ * @param {string} hospitalId
3791
+ * @param {string} slug
3792
+ * @param {string} [languageCode]
3793
+ * @param {string} [previewSecret]
3794
+ * @param {*} [options] Override http request option.
3795
+ * @throws {RequiredError}
3796
+ */
3797
+ apiV2HospitalsHospitalIdPoliciesSlugGet: function (hospitalId, slug, languageCode, previewSecret, options) {
3798
+ return localVarFp.apiV2HospitalsHospitalIdPoliciesSlugGet(hospitalId, slug, languageCode, previewSecret, options).then(function (request) { return request(axios, basePath); });
3799
+ },
3474
3800
  /**
3475
3801
  *
3476
3802
  * @summary Get all HospitalSpecialties.
@@ -3887,6 +4213,18 @@ var HospitalsApi = /** @class */ (function (_super) {
3887
4213
  var _this = this;
3888
4214
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdEvaluationsGet(requestParameters.hospitalId, requestParameters.id, requestParameters.name, requestParameters.stars, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3889
4215
  };
4216
+ /**
4217
+ *
4218
+ * @summary Get footerNavigations
4219
+ * @param {HospitalsApiApiV2HospitalsHospitalIdFooternavigationsLanguageCodeGetRequest} requestParameters Request parameters.
4220
+ * @param {*} [options] Override http request option.
4221
+ * @throws {RequiredError}
4222
+ * @memberof HospitalsApi
4223
+ */
4224
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet = function (requestParameters, options) {
4225
+ var _this = this;
4226
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdFooternavigationsLanguageCodeGet(requestParameters.hospitalId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
4227
+ };
3890
4228
  /**
3891
4229
  *
3892
4230
  * @summary Get hospital by id
@@ -4007,6 +4345,42 @@ var HospitalsApi = /** @class */ (function (_super) {
4007
4345
  var _this = this;
4008
4346
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdMediasMediaIdGet(requestParameters.hospitalId, requestParameters.mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4009
4347
  };
4348
+ /**
4349
+ *
4350
+ * @summary Get all policies
4351
+ * @param {HospitalsApiApiV2HospitalsHospitalIdPoliciesGetRequest} requestParameters Request parameters.
4352
+ * @param {*} [options] Override http request option.
4353
+ * @throws {RequiredError}
4354
+ * @memberof HospitalsApi
4355
+ */
4356
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdPoliciesGet = function (requestParameters, options) {
4357
+ var _this = this;
4358
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdPoliciesGet(requestParameters.hospitalId, requestParameters.name, requestParameters.slug, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
4359
+ };
4360
+ /**
4361
+ *
4362
+ * @summary Get policy
4363
+ * @param {HospitalsApiApiV2HospitalsHospitalIdPoliciesPolicyIdGetRequest} requestParameters Request parameters.
4364
+ * @param {*} [options] Override http request option.
4365
+ * @throws {RequiredError}
4366
+ * @memberof HospitalsApi
4367
+ */
4368
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdPoliciesPolicyIdGet = function (requestParameters, options) {
4369
+ var _this = this;
4370
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdPoliciesPolicyIdGet(requestParameters.hospitalId, requestParameters.policyId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
4371
+ };
4372
+ /**
4373
+ *
4374
+ * @summary Get policy by slug
4375
+ * @param {HospitalsApiApiV2HospitalsHospitalIdPoliciesSlugGetRequest} requestParameters Request parameters.
4376
+ * @param {*} [options] Override http request option.
4377
+ * @throws {RequiredError}
4378
+ * @memberof HospitalsApi
4379
+ */
4380
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdPoliciesSlugGet = function (requestParameters, options) {
4381
+ var _this = this;
4382
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdPoliciesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
4383
+ };
4010
4384
  /**
4011
4385
  *
4012
4386
  * @summary Get all HospitalSpecialties.