ch-api-client-typescript2 5.19.0 → 5.19.1
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.
- package/lib/api/accreditations-api.d.ts +3 -12
- package/lib/api/accreditations-api.d.ts.map +1 -1
- package/lib/api/accreditations-api.js +6 -12
- package/lib/models/accreditation-document-model.d.ts +6 -0
- package/lib/models/accreditation-document-model.d.ts.map +1 -1
- package/lib/models/accreditation-item-model.d.ts +6 -0
- package/lib/models/accreditation-item-model.d.ts.map +1 -1
- package/lib/models/accreditation-model.d.ts +6 -0
- package/lib/models/accreditation-model.d.ts.map +1 -1
- package/lib/models/hospital-accreditation-item-model.d.ts +6 -0
- package/lib/models/hospital-accreditation-item-model.d.ts.map +1 -1
- package/lib/models/hospital-accreditation-model.d.ts +6 -0
- package/lib/models/hospital-accreditation-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/accreditations-api.ts +6 -20
- package/src/models/accreditation-document-model.ts +6 -0
- package/src/models/accreditation-item-model.ts +6 -0
- package/src/models/accreditation-model.ts +6 -0
- package/src/models/hospital-accreditation-item-model.ts +6 -0
- package/src/models/hospital-accreditation-model.ts +6 -0
|
@@ -31,7 +31,6 @@ export declare const AccreditationsApiAxiosParamCreator: (configuration?: Config
|
|
|
31
31
|
*
|
|
32
32
|
* @summary Get all Accreditations.
|
|
33
33
|
* @param {string} [name]
|
|
34
|
-
* @param {string} [logo]
|
|
35
34
|
* @param {string} [country]
|
|
36
35
|
* @param {number} [page]
|
|
37
36
|
* @param {number} [limit]
|
|
@@ -39,7 +38,7 @@ export declare const AccreditationsApiAxiosParamCreator: (configuration?: Config
|
|
|
39
38
|
* @param {*} [options] Override http request option.
|
|
40
39
|
* @throws {RequiredError}
|
|
41
40
|
*/
|
|
42
|
-
apiV2AccreditationsGet: (name?: string,
|
|
41
|
+
apiV2AccreditationsGet: (name?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
42
|
};
|
|
44
43
|
/**
|
|
45
44
|
* AccreditationsApi - functional programming interface
|
|
@@ -58,7 +57,6 @@ export declare const AccreditationsApiFp: (configuration?: Configuration) => {
|
|
|
58
57
|
*
|
|
59
58
|
* @summary Get all Accreditations.
|
|
60
59
|
* @param {string} [name]
|
|
61
|
-
* @param {string} [logo]
|
|
62
60
|
* @param {string} [country]
|
|
63
61
|
* @param {number} [page]
|
|
64
62
|
* @param {number} [limit]
|
|
@@ -66,7 +64,7 @@ export declare const AccreditationsApiFp: (configuration?: Configuration) => {
|
|
|
66
64
|
* @param {*} [options] Override http request option.
|
|
67
65
|
* @throws {RequiredError}
|
|
68
66
|
*/
|
|
69
|
-
apiV2AccreditationsGet(name?: string,
|
|
67
|
+
apiV2AccreditationsGet(name?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationsModel>>;
|
|
70
68
|
};
|
|
71
69
|
/**
|
|
72
70
|
* AccreditationsApi - factory interface
|
|
@@ -85,7 +83,6 @@ export declare const AccreditationsApiFactory: (configuration?: Configuration, b
|
|
|
85
83
|
*
|
|
86
84
|
* @summary Get all Accreditations.
|
|
87
85
|
* @param {string} [name]
|
|
88
|
-
* @param {string} [logo]
|
|
89
86
|
* @param {string} [country]
|
|
90
87
|
* @param {number} [page]
|
|
91
88
|
* @param {number} [limit]
|
|
@@ -93,7 +90,7 @@ export declare const AccreditationsApiFactory: (configuration?: Configuration, b
|
|
|
93
90
|
* @param {*} [options] Override http request option.
|
|
94
91
|
* @throws {RequiredError}
|
|
95
92
|
*/
|
|
96
|
-
apiV2AccreditationsGet(name?: string,
|
|
93
|
+
apiV2AccreditationsGet(name?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AccreditationsModel>;
|
|
97
94
|
};
|
|
98
95
|
/**
|
|
99
96
|
* Request parameters for apiV2AccreditationsAccreditationIdGet operation in AccreditationsApi.
|
|
@@ -120,12 +117,6 @@ export interface AccreditationsApiApiV2AccreditationsGetRequest {
|
|
|
120
117
|
* @memberof AccreditationsApiApiV2AccreditationsGet
|
|
121
118
|
*/
|
|
122
119
|
readonly name?: string;
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @type {string}
|
|
126
|
-
* @memberof AccreditationsApiApiV2AccreditationsGet
|
|
127
|
-
*/
|
|
128
|
-
readonly logo?: string;
|
|
129
120
|
/**
|
|
130
121
|
*
|
|
131
122
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accreditations-api.d.ts","sourceRoot":"","sources":["../../src/api/accreditations-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD;;;GAGG;AACH,eAAO,MAAM,kCAAkC,mBAA6B,aAAa;IAEjF;;;;;;OAMG;6DAC4D,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA2B9H
|
|
1
|
+
{"version":3,"file":"accreditations-api.d.ts","sourceRoot":"","sources":["../../src/api/accreditations-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD;;;GAGG;AACH,eAAO,MAAM,kCAAkC,mBAA6B,aAAa;IAEjF;;;;;;OAMG;6DAC4D,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA2B9H;;;;;;;;;;OAUG;oCACmC,MAAM,YAAY,MAAM,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CA+CnL,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,mBAA4B,aAAa;IAGjE;;;;;;OAMG;2DAC0D,MAAM,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,kBAAkB,CAAC;IAI1L;;;;;;;;;;OAUG;kCACiC,MAAM,YAAY,MAAM,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,mBAAmB,CAAC;CAKhP,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAGjH;;;;;;OAMG;2DACoD,MAAM,YAAY,GAAG,GAAG,aAAa,kBAAkB,CAAC;IAG/G;;;;;;;;;;OAUG;kCAC2B,MAAM,YAAY,MAAM,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAY,GAAG,GAAG,aAAa,mBAAmB,CAAC;CAIrK,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,6DAA6D;IAC1E;;;;OAIG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;;;OAIG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IAEzB;;;;OAIG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,IAAI,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,iBAAkB,SAAQ,OAAO;IAC1C;;;;;;;OAOG;IACI,qCAAqC,CAAC,iBAAiB,EAAE,6DAA6D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI3J;;;;;;;OAOG;IACI,sBAAsB,CAAC,iBAAiB,GAAE,8CAAmD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGrI"}
|
|
@@ -129,7 +129,6 @@ var AccreditationsApiAxiosParamCreator = function (configuration) {
|
|
|
129
129
|
*
|
|
130
130
|
* @summary Get all Accreditations.
|
|
131
131
|
* @param {string} [name]
|
|
132
|
-
* @param {string} [logo]
|
|
133
132
|
* @param {string} [country]
|
|
134
133
|
* @param {number} [page]
|
|
135
134
|
* @param {number} [limit]
|
|
@@ -137,7 +136,7 @@ var AccreditationsApiAxiosParamCreator = function (configuration) {
|
|
|
137
136
|
* @param {*} [options] Override http request option.
|
|
138
137
|
* @throws {RequiredError}
|
|
139
138
|
*/
|
|
140
|
-
apiV2AccreditationsGet: function (name,
|
|
139
|
+
apiV2AccreditationsGet: function (name, country, page, limit, lastRetrieved, options) {
|
|
141
140
|
if (options === void 0) { options = {}; }
|
|
142
141
|
return __awaiter(_this, void 0, void 0, function () {
|
|
143
142
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -153,9 +152,6 @@ var AccreditationsApiAxiosParamCreator = function (configuration) {
|
|
|
153
152
|
if (name !== undefined) {
|
|
154
153
|
localVarQueryParameter['Name'] = name;
|
|
155
154
|
}
|
|
156
|
-
if (logo !== undefined) {
|
|
157
|
-
localVarQueryParameter['Logo'] = logo;
|
|
158
|
-
}
|
|
159
155
|
if (country !== undefined) {
|
|
160
156
|
localVarQueryParameter['Country'] = country;
|
|
161
157
|
}
|
|
@@ -214,7 +210,6 @@ var AccreditationsApiFp = function (configuration) {
|
|
|
214
210
|
*
|
|
215
211
|
* @summary Get all Accreditations.
|
|
216
212
|
* @param {string} [name]
|
|
217
|
-
* @param {string} [logo]
|
|
218
213
|
* @param {string} [country]
|
|
219
214
|
* @param {number} [page]
|
|
220
215
|
* @param {number} [limit]
|
|
@@ -222,12 +217,12 @@ var AccreditationsApiFp = function (configuration) {
|
|
|
222
217
|
* @param {*} [options] Override http request option.
|
|
223
218
|
* @throws {RequiredError}
|
|
224
219
|
*/
|
|
225
|
-
apiV2AccreditationsGet: function (name,
|
|
220
|
+
apiV2AccreditationsGet: function (name, country, page, limit, lastRetrieved, options) {
|
|
226
221
|
return __awaiter(this, void 0, void 0, function () {
|
|
227
222
|
var localVarAxiosArgs;
|
|
228
223
|
return __generator(this, function (_a) {
|
|
229
224
|
switch (_a.label) {
|
|
230
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AccreditationsGet(name,
|
|
225
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AccreditationsGet(name, country, page, limit, lastRetrieved, options)];
|
|
231
226
|
case 1:
|
|
232
227
|
localVarAxiosArgs = _a.sent();
|
|
233
228
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -259,7 +254,6 @@ var AccreditationsApiFactory = function (configuration, basePath, axios) {
|
|
|
259
254
|
*
|
|
260
255
|
* @summary Get all Accreditations.
|
|
261
256
|
* @param {string} [name]
|
|
262
|
-
* @param {string} [logo]
|
|
263
257
|
* @param {string} [country]
|
|
264
258
|
* @param {number} [page]
|
|
265
259
|
* @param {number} [limit]
|
|
@@ -267,8 +261,8 @@ var AccreditationsApiFactory = function (configuration, basePath, axios) {
|
|
|
267
261
|
* @param {*} [options] Override http request option.
|
|
268
262
|
* @throws {RequiredError}
|
|
269
263
|
*/
|
|
270
|
-
apiV2AccreditationsGet: function (name,
|
|
271
|
-
return localVarFp.apiV2AccreditationsGet(name,
|
|
264
|
+
apiV2AccreditationsGet: function (name, country, page, limit, lastRetrieved, options) {
|
|
265
|
+
return localVarFp.apiV2AccreditationsGet(name, country, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
272
266
|
},
|
|
273
267
|
};
|
|
274
268
|
};
|
|
@@ -307,7 +301,7 @@ var AccreditationsApi = /** @class */ (function (_super) {
|
|
|
307
301
|
AccreditationsApi.prototype.apiV2AccreditationsGet = function (requestParameters, options) {
|
|
308
302
|
var _this = this;
|
|
309
303
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
310
|
-
return (0, exports.AccreditationsApiFp)(this.configuration).apiV2AccreditationsGet(requestParameters.name, requestParameters.
|
|
304
|
+
return (0, exports.AccreditationsApiFp)(this.configuration).apiV2AccreditationsGet(requestParameters.name, requestParameters.country, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
311
305
|
};
|
|
312
306
|
return AccreditationsApi;
|
|
313
307
|
}(base_1.BaseAPI));
|
|
@@ -33,5 +33,11 @@ export interface AccreditationDocumentModel {
|
|
|
33
33
|
* @memberof AccreditationDocumentModel
|
|
34
34
|
*/
|
|
35
35
|
'Country'?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AccreditationDocumentModel
|
|
40
|
+
*/
|
|
41
|
+
'Description'?: string | null;
|
|
36
42
|
}
|
|
37
43
|
//# sourceMappingURL=accreditation-document-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accreditation-document-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"accreditation-document-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
|
|
@@ -39,5 +39,11 @@ export interface AccreditationItemModel {
|
|
|
39
39
|
* @memberof AccreditationItemModel
|
|
40
40
|
*/
|
|
41
41
|
'country'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccreditationItemModel
|
|
46
|
+
*/
|
|
47
|
+
'description'?: string | null;
|
|
42
48
|
}
|
|
43
49
|
//# sourceMappingURL=accreditation-item-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accreditation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"accreditation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
|
|
@@ -39,5 +39,11 @@ export interface AccreditationModel {
|
|
|
39
39
|
* @memberof AccreditationModel
|
|
40
40
|
*/
|
|
41
41
|
'country'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccreditationModel
|
|
46
|
+
*/
|
|
47
|
+
'description'?: string | null;
|
|
42
48
|
}
|
|
43
49
|
//# sourceMappingURL=accreditation-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accreditation-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"accreditation-model.d.ts","sourceRoot":"","sources":["../../src/models/accreditation-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
|
|
@@ -39,5 +39,11 @@ export interface HospitalAccreditationItemModel {
|
|
|
39
39
|
* @memberof HospitalAccreditationItemModel
|
|
40
40
|
*/
|
|
41
41
|
'accreditationLogo'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof HospitalAccreditationItemModel
|
|
46
|
+
*/
|
|
47
|
+
'accreditationDescription'?: string | null;
|
|
42
48
|
}
|
|
43
49
|
//# sourceMappingURL=hospital-accreditation-item-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hospital-accreditation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/hospital-accreditation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"hospital-accreditation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/hospital-accreditation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9C"}
|
|
@@ -39,5 +39,11 @@ export interface HospitalAccreditationModel {
|
|
|
39
39
|
* @memberof HospitalAccreditationModel
|
|
40
40
|
*/
|
|
41
41
|
'accreditationLogo'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof HospitalAccreditationModel
|
|
46
|
+
*/
|
|
47
|
+
'accreditationDescription'?: string | null;
|
|
42
48
|
}
|
|
43
49
|
//# sourceMappingURL=hospital-accreditation-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hospital-accreditation-model.d.ts","sourceRoot":"","sources":["../../src/models/hospital-accreditation-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"hospital-accreditation-model.d.ts","sourceRoot":"","sources":["../../src/models/hospital-accreditation-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9C"}
|
package/package.json
CHANGED
|
@@ -68,7 +68,6 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
68
68
|
*
|
|
69
69
|
* @summary Get all Accreditations.
|
|
70
70
|
* @param {string} [name]
|
|
71
|
-
* @param {string} [logo]
|
|
72
71
|
* @param {string} [country]
|
|
73
72
|
* @param {number} [page]
|
|
74
73
|
* @param {number} [limit]
|
|
@@ -76,7 +75,7 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
76
75
|
* @param {*} [options] Override http request option.
|
|
77
76
|
* @throws {RequiredError}
|
|
78
77
|
*/
|
|
79
|
-
apiV2AccreditationsGet: async (name?: string,
|
|
78
|
+
apiV2AccreditationsGet: async (name?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80
79
|
const localVarPath = `/api/v2/accreditations`;
|
|
81
80
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82
81
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -93,10 +92,6 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
93
92
|
localVarQueryParameter['Name'] = name;
|
|
94
93
|
}
|
|
95
94
|
|
|
96
|
-
if (logo !== undefined) {
|
|
97
|
-
localVarQueryParameter['Logo'] = logo;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
95
|
if (country !== undefined) {
|
|
101
96
|
localVarQueryParameter['Country'] = country;
|
|
102
97
|
}
|
|
@@ -151,7 +146,6 @@ export const AccreditationsApiFp = function(configuration?: Configuration) {
|
|
|
151
146
|
*
|
|
152
147
|
* @summary Get all Accreditations.
|
|
153
148
|
* @param {string} [name]
|
|
154
|
-
* @param {string} [logo]
|
|
155
149
|
* @param {string} [country]
|
|
156
150
|
* @param {number} [page]
|
|
157
151
|
* @param {number} [limit]
|
|
@@ -159,8 +153,8 @@ export const AccreditationsApiFp = function(configuration?: Configuration) {
|
|
|
159
153
|
* @param {*} [options] Override http request option.
|
|
160
154
|
* @throws {RequiredError}
|
|
161
155
|
*/
|
|
162
|
-
async apiV2AccreditationsGet(name?: string,
|
|
163
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AccreditationsGet(name,
|
|
156
|
+
async apiV2AccreditationsGet(name?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationsModel>> {
|
|
157
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AccreditationsGet(name, country, page, limit, lastRetrieved, options);
|
|
164
158
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
165
159
|
},
|
|
166
160
|
}
|
|
@@ -187,7 +181,6 @@ export const AccreditationsApiFactory = function (configuration?: Configuration,
|
|
|
187
181
|
*
|
|
188
182
|
* @summary Get all Accreditations.
|
|
189
183
|
* @param {string} [name]
|
|
190
|
-
* @param {string} [logo]
|
|
191
184
|
* @param {string} [country]
|
|
192
185
|
* @param {number} [page]
|
|
193
186
|
* @param {number} [limit]
|
|
@@ -195,8 +188,8 @@ export const AccreditationsApiFactory = function (configuration?: Configuration,
|
|
|
195
188
|
* @param {*} [options] Override http request option.
|
|
196
189
|
* @throws {RequiredError}
|
|
197
190
|
*/
|
|
198
|
-
apiV2AccreditationsGet(name?: string,
|
|
199
|
-
return localVarFp.apiV2AccreditationsGet(name,
|
|
191
|
+
apiV2AccreditationsGet(name?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AccreditationsModel> {
|
|
192
|
+
return localVarFp.apiV2AccreditationsGet(name, country, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
200
193
|
},
|
|
201
194
|
};
|
|
202
195
|
};
|
|
@@ -228,13 +221,6 @@ export interface AccreditationsApiApiV2AccreditationsGetRequest {
|
|
|
228
221
|
*/
|
|
229
222
|
readonly name?: string
|
|
230
223
|
|
|
231
|
-
/**
|
|
232
|
-
*
|
|
233
|
-
* @type {string}
|
|
234
|
-
* @memberof AccreditationsApiApiV2AccreditationsGet
|
|
235
|
-
*/
|
|
236
|
-
readonly logo?: string
|
|
237
|
-
|
|
238
224
|
/**
|
|
239
225
|
*
|
|
240
226
|
* @type {string}
|
|
@@ -292,6 +278,6 @@ export class AccreditationsApi extends BaseAPI {
|
|
|
292
278
|
* @memberof AccreditationsApi
|
|
293
279
|
*/
|
|
294
280
|
public apiV2AccreditationsGet(requestParameters: AccreditationsApiApiV2AccreditationsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
295
|
-
return AccreditationsApiFp(this.configuration).apiV2AccreditationsGet(requestParameters.name, requestParameters.
|
|
281
|
+
return AccreditationsApiFp(this.configuration).apiV2AccreditationsGet(requestParameters.name, requestParameters.country, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
296
282
|
}
|
|
297
283
|
}
|
|
@@ -44,5 +44,11 @@ export interface HospitalAccreditationItemModel {
|
|
|
44
44
|
* @memberof HospitalAccreditationItemModel
|
|
45
45
|
*/
|
|
46
46
|
'accreditationLogo'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof HospitalAccreditationItemModel
|
|
51
|
+
*/
|
|
52
|
+
'accreditationDescription'?: string | null;
|
|
47
53
|
}
|
|
48
54
|
|
|
@@ -44,5 +44,11 @@ export interface HospitalAccreditationModel {
|
|
|
44
44
|
* @memberof HospitalAccreditationModel
|
|
45
45
|
*/
|
|
46
46
|
'accreditationLogo'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof HospitalAccreditationModel
|
|
51
|
+
*/
|
|
52
|
+
'accreditationDescription'?: string | null;
|
|
47
53
|
}
|
|
48
54
|
|