ch-api-client-typescript2 4.9.1 → 4.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.
- package/lib/api/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
- package/lib/api/about-us-api.d.ts.map +1 -0
- package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
- package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
- package/lib/api/accreditations-api.d.ts.map +1 -0
- package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
- package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
- package/lib/api/app-version-api.d.ts.map +1 -0
- package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
- package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
- package/lib/api/articles-api.d.ts.map +1 -0
- package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
- package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
- package/lib/api/bookings-api.d.ts.map +1 -0
- package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
- package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
- package/lib/api/chat-users-api.d.ts.map +1 -0
- package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
- package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
- package/lib/api/communications-api.d.ts.map +1 -0
- package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
- package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
- package/lib/api/consultations-api.d.ts.map +1 -0
- package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
- package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
- package/lib/api/contributors-api.d.ts.map +1 -0
- package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
- package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
- package/lib/api/countries-api.d.ts.map +1 -0
- package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
- package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
- package/lib/api/deals-api.d.ts.map +1 -0
- package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
- package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
- package/lib/api/devices-api.d.ts.map +1 -0
- package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
- package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
- package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
- package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
- package/lib/api/doctors-api.d.ts.map +1 -0
- package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
- package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
- package/lib/api/external-api.d.ts.map +1 -0
- package/lib/api/{v2-external-api.js → external-api.js} +28 -28
- package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
- package/lib/api/faq-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
- package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
- package/lib/api/faqs-api.d.ts.map +1 -0
- package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
- package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
- package/lib/api/group-channels-api.d.ts.map +1 -0
- package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
- package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
- package/lib/api/header-navigations-api.d.ts.map +1 -0
- package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
- package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
- package/lib/api/hospitals-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
- package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
- package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
- package/lib/api/images-api.d.ts.map +1 -0
- package/lib/api/{v2-images-api.js → images-api.js} +28 -28
- package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
- package/lib/api/languages-api.d.ts.map +1 -0
- package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
- package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
- package/lib/api/memberships-api.d.ts.map +1 -0
- package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
- package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
- package/lib/api/notifications-api.d.ts.map +1 -0
- package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
- package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
- package/lib/api/origins-api.d.ts.map +1 -0
- package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
- package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
- package/lib/api/patients-api.d.ts.map +1 -0
- package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
- package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
- package/lib/api/plans-api.d.ts.map +1 -0
- package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
- package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
- package/lib/api/profiles-api.d.ts.map +1 -0
- package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
- package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
- package/lib/api/service-reviews-api.d.ts.map +1 -0
- package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
- package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
- package/lib/api/services-api.d.ts.map +1 -0
- package/lib/api/{v2-services-api.js → services-api.js} +48 -48
- package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
- package/lib/api/services-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
- package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
- package/lib/api/specialties-api.d.ts.map +1 -0
- package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
- package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
- package/lib/api/specialty-types-api.d.ts.map +1 -0
- package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
- package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
- package/lib/api/survey-forms-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
- package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
- package/lib/api/survey-results-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
- package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
- package/lib/api/tags-api.d.ts.map +1 -0
- package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
- package/lib/api.d.ts +37 -37
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +37 -37
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -37
- package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
- package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
- package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
- package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
- package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
- package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
- package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
- package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
- package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
- package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
- package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
- package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
- package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
- package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
- package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
- package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
- package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
- package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
- package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
- package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
- package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
- package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
- package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
- package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
- package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
- package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
- package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
- package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
- package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
- package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
- package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
- package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
- package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
- package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
- package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
- package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
- package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
- package/src/api.ts +37 -37
- package/lib/api/v2-about-us-api.d.ts.map +0 -1
- package/lib/api/v2-accreditations-api.d.ts.map +0 -1
- package/lib/api/v2-app-version-api.d.ts.map +0 -1
- package/lib/api/v2-articles-api.d.ts.map +0 -1
- package/lib/api/v2-bookings-api.d.ts.map +0 -1
- package/lib/api/v2-chat-users-api.d.ts.map +0 -1
- package/lib/api/v2-communications-api.d.ts.map +0 -1
- package/lib/api/v2-consultations-api.d.ts.map +0 -1
- package/lib/api/v2-contributors-api.d.ts.map +0 -1
- package/lib/api/v2-countries-api.d.ts.map +0 -1
- package/lib/api/v2-deals-api.d.ts.map +0 -1
- package/lib/api/v2-devices-api.d.ts.map +0 -1
- package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
- package/lib/api/v2-doctors-api.d.ts.map +0 -1
- package/lib/api/v2-external-api.d.ts.map +0 -1
- package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
- package/lib/api/v2-faqs-api.d.ts.map +0 -1
- package/lib/api/v2-group-channels-api.d.ts.map +0 -1
- package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/v2-images-api.d.ts.map +0 -1
- package/lib/api/v2-languages-api.d.ts.map +0 -1
- package/lib/api/v2-memberships-api.d.ts.map +0 -1
- package/lib/api/v2-notifications-api.d.ts.map +0 -1
- package/lib/api/v2-origins-api.d.ts.map +0 -1
- package/lib/api/v2-patients-api.d.ts.map +0 -1
- package/lib/api/v2-plans-api.d.ts.map +0 -1
- package/lib/api/v2-profiles-api.d.ts.map +0 -1
- package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
- package/lib/api/v2-services-api.d.ts.map +0 -1
- package/lib/api/v2-services-categories-api.d.ts.map +0 -1
- package/lib/api/v2-specialties-api.d.ts.map +0 -1
- package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
- package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
- package/lib/api/v2-survey-results-api.d.ts.map +0 -1
- package/lib/api/v2-tags-api.d.ts.map +0 -1
|
@@ -31,10 +31,10 @@ import { SnsHandleModel } from '../models';
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { SnsType } from '../models';
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* ContributorsApi - axios parameter creator
|
|
35
35
|
* @export
|
|
36
36
|
*/
|
|
37
|
-
export const
|
|
37
|
+
export const ContributorsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
38
|
return {
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
@@ -45,10 +45,10 @@ export const V2ContributorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
apiV2ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
49
|
// verify required parameter 'contributorId' is not null or undefined
|
|
50
|
-
assertParamExists('
|
|
51
|
-
const localVarPath = `/
|
|
50
|
+
assertParamExists('apiV2ContributorsContributorIdGet', 'contributorId', contributorId)
|
|
51
|
+
const localVarPath = `/api/v2/contributors/{contributorId}`
|
|
52
52
|
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)));
|
|
53
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
54
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -94,10 +94,10 @@ export const V2ContributorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
94
94
|
* @param {*} [options] Override http request option.
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
apiV2ContributorsContributorIdHandlesGet: async (contributorId: string, contributorId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
98
|
// verify required parameter 'contributorId' is not null or undefined
|
|
99
|
-
assertParamExists('
|
|
100
|
-
const localVarPath = `/
|
|
99
|
+
assertParamExists('apiV2ContributorsContributorIdHandlesGet', 'contributorId', contributorId)
|
|
100
|
+
const localVarPath = `/api/v2/contributors/{contributorId}/handles`
|
|
101
101
|
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)));
|
|
102
102
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -159,12 +159,12 @@ export const V2ContributorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
*/
|
|
162
|
-
|
|
162
|
+
apiV2ContributorsContributorIdHandlesHandleIdGet: async (contributorId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
163
163
|
// verify required parameter 'contributorId' is not null or undefined
|
|
164
|
-
assertParamExists('
|
|
164
|
+
assertParamExists('apiV2ContributorsContributorIdHandlesHandleIdGet', 'contributorId', contributorId)
|
|
165
165
|
// verify required parameter 'handleId' is not null or undefined
|
|
166
|
-
assertParamExists('
|
|
167
|
-
const localVarPath = `/
|
|
166
|
+
assertParamExists('apiV2ContributorsContributorIdHandlesHandleIdGet', 'handleId', handleId)
|
|
167
|
+
const localVarPath = `/api/v2/contributors/{contributorId}/handles/{handleId}`
|
|
168
168
|
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)))
|
|
169
169
|
.replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
|
|
170
170
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -207,8 +207,8 @@ export const V2ContributorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
207
207
|
* @param {*} [options] Override http request option.
|
|
208
208
|
* @throws {RequiredError}
|
|
209
209
|
*/
|
|
210
|
-
|
|
211
|
-
const localVarPath = `/
|
|
210
|
+
apiV2ContributorsGet: async (id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
211
|
+
const localVarPath = `/api/v2/contributors`;
|
|
212
212
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
213
213
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
214
214
|
let baseOptions;
|
|
@@ -290,10 +290,10 @@ export const V2ContributorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
290
290
|
* @param {*} [options] Override http request option.
|
|
291
291
|
* @throws {RequiredError}
|
|
292
292
|
*/
|
|
293
|
-
|
|
293
|
+
apiV2ContributorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
294
294
|
// verify required parameter 'slug' is not null or undefined
|
|
295
|
-
assertParamExists('
|
|
296
|
-
const localVarPath = `/
|
|
295
|
+
assertParamExists('apiV2ContributorsSlugGet', 'slug', slug)
|
|
296
|
+
const localVarPath = `/api/v2/contributors/{slug}`
|
|
297
297
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
298
298
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
299
299
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -329,11 +329,11 @@ export const V2ContributorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
329
329
|
};
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
|
-
*
|
|
332
|
+
* ContributorsApi - functional programming interface
|
|
333
333
|
* @export
|
|
334
334
|
*/
|
|
335
|
-
export const
|
|
336
|
-
const localVarAxiosParamCreator =
|
|
335
|
+
export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
336
|
+
const localVarAxiosParamCreator = ContributorsApiAxiosParamCreator(configuration)
|
|
337
337
|
return {
|
|
338
338
|
/**
|
|
339
339
|
*
|
|
@@ -344,8 +344,8 @@ export const V2ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
345
345
|
* @throws {RequiredError}
|
|
346
346
|
*/
|
|
347
|
-
async
|
|
348
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
347
|
+
async apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options);
|
|
349
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
350
350
|
},
|
|
351
351
|
/**
|
|
@@ -362,8 +362,8 @@ export const V2ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
*/
|
|
365
|
-
async
|
|
366
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
365
|
+
async apiV2ContributorsContributorIdHandlesGet(contributorId: string, contributorId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorSnsHandlesModel>> {
|
|
366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsContributorIdHandlesGet(contributorId, contributorId2, id, snsType, handle, page, limit, lastRetrieved, options);
|
|
367
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
368
|
},
|
|
369
369
|
/**
|
|
@@ -374,8 +374,8 @@ export const V2ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
374
374
|
* @param {*} [options] Override http request option.
|
|
375
375
|
* @throws {RequiredError}
|
|
376
376
|
*/
|
|
377
|
-
async
|
|
378
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
377
|
+
async apiV2ContributorsContributorIdHandlesHandleIdGet(contributorId: string, handleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
|
|
378
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsContributorIdHandlesHandleIdGet(contributorId, handleId, options);
|
|
379
379
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
380
380
|
},
|
|
381
381
|
/**
|
|
@@ -396,8 +396,8 @@ export const V2ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
396
396
|
* @param {*} [options] Override http request option.
|
|
397
397
|
* @throws {RequiredError}
|
|
398
398
|
*/
|
|
399
|
-
async
|
|
400
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
399
|
+
async apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
|
|
400
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
401
401
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
402
402
|
},
|
|
403
403
|
/**
|
|
@@ -409,19 +409,19 @@ export const V2ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
409
409
|
* @param {*} [options] Override http request option.
|
|
410
410
|
* @throws {RequiredError}
|
|
411
411
|
*/
|
|
412
|
-
async
|
|
413
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
412
|
+
async apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
414
414
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
415
415
|
},
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
|
|
419
419
|
/**
|
|
420
|
-
*
|
|
420
|
+
* ContributorsApi - factory interface
|
|
421
421
|
* @export
|
|
422
422
|
*/
|
|
423
|
-
export const
|
|
424
|
-
const localVarFp =
|
|
423
|
+
export const ContributorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
424
|
+
const localVarFp = ContributorsApiFp(configuration)
|
|
425
425
|
return {
|
|
426
426
|
/**
|
|
427
427
|
*
|
|
@@ -432,8 +432,8 @@ export const V2ContributorsApiFactory = function (configuration?: Configuration,
|
|
|
432
432
|
* @param {*} [options] Override http request option.
|
|
433
433
|
* @throws {RequiredError}
|
|
434
434
|
*/
|
|
435
|
-
|
|
436
|
-
return localVarFp.
|
|
435
|
+
apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
436
|
+
return localVarFp.apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
437
437
|
},
|
|
438
438
|
/**
|
|
439
439
|
*
|
|
@@ -449,8 +449,8 @@ export const V2ContributorsApiFactory = function (configuration?: Configuration,
|
|
|
449
449
|
* @param {*} [options] Override http request option.
|
|
450
450
|
* @throws {RequiredError}
|
|
451
451
|
*/
|
|
452
|
-
|
|
453
|
-
return localVarFp.
|
|
452
|
+
apiV2ContributorsContributorIdHandlesGet(contributorId: string, contributorId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorSnsHandlesModel> {
|
|
453
|
+
return localVarFp.apiV2ContributorsContributorIdHandlesGet(contributorId, contributorId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
454
454
|
},
|
|
455
455
|
/**
|
|
456
456
|
*
|
|
@@ -460,8 +460,8 @@ export const V2ContributorsApiFactory = function (configuration?: Configuration,
|
|
|
460
460
|
* @param {*} [options] Override http request option.
|
|
461
461
|
* @throws {RequiredError}
|
|
462
462
|
*/
|
|
463
|
-
|
|
464
|
-
return localVarFp.
|
|
463
|
+
apiV2ContributorsContributorIdHandlesHandleIdGet(contributorId: string, handleId: string, options?: any): AxiosPromise<SnsHandleModel> {
|
|
464
|
+
return localVarFp.apiV2ContributorsContributorIdHandlesHandleIdGet(contributorId, handleId, options).then((request) => request(axios, basePath));
|
|
465
465
|
},
|
|
466
466
|
/**
|
|
467
467
|
*
|
|
@@ -481,8 +481,8 @@ export const V2ContributorsApiFactory = function (configuration?: Configuration,
|
|
|
481
481
|
* @param {*} [options] Override http request option.
|
|
482
482
|
* @throws {RequiredError}
|
|
483
483
|
*/
|
|
484
|
-
|
|
485
|
-
return localVarFp.
|
|
484
|
+
apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
|
|
485
|
+
return localVarFp.apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
486
486
|
},
|
|
487
487
|
/**
|
|
488
488
|
*
|
|
@@ -493,19 +493,19 @@ export const V2ContributorsApiFactory = function (configuration?: Configuration,
|
|
|
493
493
|
* @param {*} [options] Override http request option.
|
|
494
494
|
* @throws {RequiredError}
|
|
495
495
|
*/
|
|
496
|
-
|
|
497
|
-
return localVarFp.
|
|
496
|
+
apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
497
|
+
return localVarFp.apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
498
498
|
},
|
|
499
499
|
};
|
|
500
500
|
};
|
|
501
501
|
|
|
502
502
|
/**
|
|
503
|
-
*
|
|
503
|
+
* ContributorsApi - object-oriented interface
|
|
504
504
|
* @export
|
|
505
|
-
* @class
|
|
505
|
+
* @class ContributorsApi
|
|
506
506
|
* @extends {BaseAPI}
|
|
507
507
|
*/
|
|
508
|
-
export class
|
|
508
|
+
export class ContributorsApi extends BaseAPI {
|
|
509
509
|
/**
|
|
510
510
|
*
|
|
511
511
|
* @summary Get Contributor.
|
|
@@ -514,10 +514,10 @@ export class V2ContributorsApi extends BaseAPI {
|
|
|
514
514
|
* @param {boolean} [returnDefaultValue]
|
|
515
515
|
* @param {*} [options] Override http request option.
|
|
516
516
|
* @throws {RequiredError}
|
|
517
|
-
* @memberof
|
|
517
|
+
* @memberof ContributorsApi
|
|
518
518
|
*/
|
|
519
|
-
public
|
|
520
|
-
return
|
|
519
|
+
public apiV2ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
520
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
/**
|
|
@@ -533,10 +533,10 @@ export class V2ContributorsApi extends BaseAPI {
|
|
|
533
533
|
* @param {Date} [lastRetrieved]
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
535
535
|
* @throws {RequiredError}
|
|
536
|
-
* @memberof
|
|
536
|
+
* @memberof ContributorsApi
|
|
537
537
|
*/
|
|
538
|
-
public
|
|
539
|
-
return
|
|
538
|
+
public apiV2ContributorsContributorIdHandlesGet(contributorId: string, contributorId2?: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
539
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdHandlesGet(contributorId, contributorId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
/**
|
|
@@ -546,10 +546,10 @@ export class V2ContributorsApi extends BaseAPI {
|
|
|
546
546
|
* @param {string} handleId
|
|
547
547
|
* @param {*} [options] Override http request option.
|
|
548
548
|
* @throws {RequiredError}
|
|
549
|
-
* @memberof
|
|
549
|
+
* @memberof ContributorsApi
|
|
550
550
|
*/
|
|
551
|
-
public
|
|
552
|
-
return
|
|
551
|
+
public apiV2ContributorsContributorIdHandlesHandleIdGet(contributorId: string, handleId: string, options?: AxiosRequestConfig) {
|
|
552
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdHandlesHandleIdGet(contributorId, handleId, options).then((request) => request(this.axios, this.basePath));
|
|
553
553
|
}
|
|
554
554
|
|
|
555
555
|
/**
|
|
@@ -569,10 +569,10 @@ export class V2ContributorsApi extends BaseAPI {
|
|
|
569
569
|
* @param {Date} [lastRetrieved]
|
|
570
570
|
* @param {*} [options] Override http request option.
|
|
571
571
|
* @throws {RequiredError}
|
|
572
|
-
* @memberof
|
|
572
|
+
* @memberof ContributorsApi
|
|
573
573
|
*/
|
|
574
|
-
public
|
|
575
|
-
return
|
|
574
|
+
public apiV2ContributorsGet(id?: string, name?: string, email?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
575
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
/**
|
|
@@ -583,9 +583,9 @@ export class V2ContributorsApi extends BaseAPI {
|
|
|
583
583
|
* @param {boolean} [returnDefaultValue]
|
|
584
584
|
* @param {*} [options] Override http request option.
|
|
585
585
|
* @throws {RequiredError}
|
|
586
|
-
* @memberof
|
|
586
|
+
* @memberof ContributorsApi
|
|
587
587
|
*/
|
|
588
|
-
public
|
|
589
|
-
return
|
|
588
|
+
public apiV2ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
589
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
590
590
|
}
|
|
591
591
|
}
|
|
@@ -31,10 +31,10 @@ import { MediaType } from '../models';
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { MediasModel } from '../models';
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* CountriesApi - axios parameter creator
|
|
35
35
|
* @export
|
|
36
36
|
*/
|
|
37
|
-
export const
|
|
37
|
+
export const CountriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
38
|
return {
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
@@ -45,10 +45,10 @@ export const V2CountriesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
apiV2CountriesCountryIdGet: async (countryId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
49
|
// verify required parameter 'countryId' is not null or undefined
|
|
50
|
-
assertParamExists('
|
|
51
|
-
const localVarPath = `/
|
|
50
|
+
assertParamExists('apiV2CountriesCountryIdGet', 'countryId', countryId)
|
|
51
|
+
const localVarPath = `/api/v2/countries/{countryId}`
|
|
52
52
|
.replace(`{${"countryId"}}`, encodeURIComponent(String(countryId)));
|
|
53
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
54
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -92,10 +92,10 @@ export const V2CountriesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
apiV2CountriesCountryIdMediasGet: async (countryId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
96
|
// verify required parameter 'countryId' is not null or undefined
|
|
97
|
-
assertParamExists('
|
|
98
|
-
const localVarPath = `/
|
|
97
|
+
assertParamExists('apiV2CountriesCountryIdMediasGet', 'countryId', countryId)
|
|
98
|
+
const localVarPath = `/api/v2/countries/{countryId}/medias`
|
|
99
99
|
.replace(`{${"countryId"}}`, encodeURIComponent(String(countryId)));
|
|
100
100
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
101
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -149,12 +149,12 @@ export const V2CountriesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
apiV2CountriesCountryIdMediasMediaIdGet: async (countryId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
153
153
|
// verify required parameter 'countryId' is not null or undefined
|
|
154
|
-
assertParamExists('
|
|
154
|
+
assertParamExists('apiV2CountriesCountryIdMediasMediaIdGet', 'countryId', countryId)
|
|
155
155
|
// verify required parameter 'mediaId' is not null or undefined
|
|
156
|
-
assertParamExists('
|
|
157
|
-
const localVarPath = `/
|
|
156
|
+
assertParamExists('apiV2CountriesCountryIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
157
|
+
const localVarPath = `/api/v2/countries/{countryId}/medias/{mediaId}`
|
|
158
158
|
.replace(`{${"countryId"}}`, encodeURIComponent(String(countryId)))
|
|
159
159
|
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
160
160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -195,8 +195,8 @@ export const V2CountriesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
|
|
199
|
-
const localVarPath = `/
|
|
198
|
+
apiV2CountriesGet: async (id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
199
|
+
const localVarPath = `/api/v2/countries`;
|
|
200
200
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
201
201
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
202
202
|
let baseOptions;
|
|
@@ -272,10 +272,10 @@ export const V2CountriesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
272
272
|
* @param {*} [options] Override http request option.
|
|
273
273
|
* @throws {RequiredError}
|
|
274
274
|
*/
|
|
275
|
-
|
|
275
|
+
apiV2CountriesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
276
276
|
// verify required parameter 'slug' is not null or undefined
|
|
277
|
-
assertParamExists('
|
|
278
|
-
const localVarPath = `/
|
|
277
|
+
assertParamExists('apiV2CountriesSlugGet', 'slug', slug)
|
|
278
|
+
const localVarPath = `/api/v2/countries/{slug}`
|
|
279
279
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
280
280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
281
281
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -311,11 +311,11 @@ export const V2CountriesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
311
311
|
};
|
|
312
312
|
|
|
313
313
|
/**
|
|
314
|
-
*
|
|
314
|
+
* CountriesApi - functional programming interface
|
|
315
315
|
* @export
|
|
316
316
|
*/
|
|
317
|
-
export const
|
|
318
|
-
const localVarAxiosParamCreator =
|
|
317
|
+
export const CountriesApiFp = function(configuration?: Configuration) {
|
|
318
|
+
const localVarAxiosParamCreator = CountriesApiAxiosParamCreator(configuration)
|
|
319
319
|
return {
|
|
320
320
|
/**
|
|
321
321
|
*
|
|
@@ -326,8 +326,8 @@ export const V2CountriesApiFp = function(configuration?: Configuration) {
|
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
327
327
|
* @throws {RequiredError}
|
|
328
328
|
*/
|
|
329
|
-
async
|
|
330
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
329
|
+
async apiV2CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
330
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options);
|
|
331
331
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
332
332
|
},
|
|
333
333
|
/**
|
|
@@ -342,8 +342,8 @@ export const V2CountriesApiFp = function(configuration?: Configuration) {
|
|
|
342
342
|
* @param {*} [options] Override http request option.
|
|
343
343
|
* @throws {RequiredError}
|
|
344
344
|
*/
|
|
345
|
-
async
|
|
346
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
345
|
+
async apiV2CountriesCountryIdMediasGet(countryId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CountriesCountryIdMediasGet(countryId, id, mediaType, page, limit, lastRetrieved, options);
|
|
347
347
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
@@ -354,8 +354,8 @@ export const V2CountriesApiFp = function(configuration?: Configuration) {
|
|
|
354
354
|
* @param {*} [options] Override http request option.
|
|
355
355
|
* @throws {RequiredError}
|
|
356
356
|
*/
|
|
357
|
-
async
|
|
358
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
357
|
+
async apiV2CountriesCountryIdMediasMediaIdGet(countryId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
358
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CountriesCountryIdMediasMediaIdGet(countryId, mediaId, options);
|
|
359
359
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
360
360
|
},
|
|
361
361
|
/**
|
|
@@ -374,8 +374,8 @@ export const V2CountriesApiFp = function(configuration?: Configuration) {
|
|
|
374
374
|
* @param {*} [options] Override http request option.
|
|
375
375
|
* @throws {RequiredError}
|
|
376
376
|
*/
|
|
377
|
-
async
|
|
378
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
377
|
+
async apiV2CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountriesModel>> {
|
|
378
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
379
379
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
380
380
|
},
|
|
381
381
|
/**
|
|
@@ -387,19 +387,19 @@ export const V2CountriesApiFp = function(configuration?: Configuration) {
|
|
|
387
387
|
* @param {*} [options] Override http request option.
|
|
388
388
|
* @throws {RequiredError}
|
|
389
389
|
*/
|
|
390
|
-
async
|
|
391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
390
|
+
async apiV2CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CountryModel>> {
|
|
391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CountriesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
392
392
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
393
393
|
},
|
|
394
394
|
}
|
|
395
395
|
};
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
*
|
|
398
|
+
* CountriesApi - factory interface
|
|
399
399
|
* @export
|
|
400
400
|
*/
|
|
401
|
-
export const
|
|
402
|
-
const localVarFp =
|
|
401
|
+
export const CountriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
402
|
+
const localVarFp = CountriesApiFp(configuration)
|
|
403
403
|
return {
|
|
404
404
|
/**
|
|
405
405
|
*
|
|
@@ -410,8 +410,8 @@ export const V2CountriesApiFactory = function (configuration?: Configuration, ba
|
|
|
410
410
|
* @param {*} [options] Override http request option.
|
|
411
411
|
* @throws {RequiredError}
|
|
412
412
|
*/
|
|
413
|
-
|
|
414
|
-
return localVarFp.
|
|
413
|
+
apiV2CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
|
|
414
|
+
return localVarFp.apiV2CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
415
415
|
},
|
|
416
416
|
/**
|
|
417
417
|
*
|
|
@@ -425,8 +425,8 @@ export const V2CountriesApiFactory = function (configuration?: Configuration, ba
|
|
|
425
425
|
* @param {*} [options] Override http request option.
|
|
426
426
|
* @throws {RequiredError}
|
|
427
427
|
*/
|
|
428
|
-
|
|
429
|
-
return localVarFp.
|
|
428
|
+
apiV2CountriesCountryIdMediasGet(countryId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
429
|
+
return localVarFp.apiV2CountriesCountryIdMediasGet(countryId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
430
430
|
},
|
|
431
431
|
/**
|
|
432
432
|
*
|
|
@@ -436,8 +436,8 @@ export const V2CountriesApiFactory = function (configuration?: Configuration, ba
|
|
|
436
436
|
* @param {*} [options] Override http request option.
|
|
437
437
|
* @throws {RequiredError}
|
|
438
438
|
*/
|
|
439
|
-
|
|
440
|
-
return localVarFp.
|
|
439
|
+
apiV2CountriesCountryIdMediasMediaIdGet(countryId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
440
|
+
return localVarFp.apiV2CountriesCountryIdMediasMediaIdGet(countryId, mediaId, options).then((request) => request(axios, basePath));
|
|
441
441
|
},
|
|
442
442
|
/**
|
|
443
443
|
*
|
|
@@ -455,8 +455,8 @@ export const V2CountriesApiFactory = function (configuration?: Configuration, ba
|
|
|
455
455
|
* @param {*} [options] Override http request option.
|
|
456
456
|
* @throws {RequiredError}
|
|
457
457
|
*/
|
|
458
|
-
|
|
459
|
-
return localVarFp.
|
|
458
|
+
apiV2CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CountriesModel> {
|
|
459
|
+
return localVarFp.apiV2CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
460
460
|
},
|
|
461
461
|
/**
|
|
462
462
|
*
|
|
@@ -467,19 +467,19 @@ export const V2CountriesApiFactory = function (configuration?: Configuration, ba
|
|
|
467
467
|
* @param {*} [options] Override http request option.
|
|
468
468
|
* @throws {RequiredError}
|
|
469
469
|
*/
|
|
470
|
-
|
|
471
|
-
return localVarFp.
|
|
470
|
+
apiV2CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<CountryModel> {
|
|
471
|
+
return localVarFp.apiV2CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
472
472
|
},
|
|
473
473
|
};
|
|
474
474
|
};
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
|
-
*
|
|
477
|
+
* CountriesApi - object-oriented interface
|
|
478
478
|
* @export
|
|
479
|
-
* @class
|
|
479
|
+
* @class CountriesApi
|
|
480
480
|
* @extends {BaseAPI}
|
|
481
481
|
*/
|
|
482
|
-
export class
|
|
482
|
+
export class CountriesApi extends BaseAPI {
|
|
483
483
|
/**
|
|
484
484
|
*
|
|
485
485
|
* @summary
|
|
@@ -488,10 +488,10 @@ export class V2CountriesApi extends BaseAPI {
|
|
|
488
488
|
* @param {boolean} [returnDefaultValue]
|
|
489
489
|
* @param {*} [options] Override http request option.
|
|
490
490
|
* @throws {RequiredError}
|
|
491
|
-
* @memberof
|
|
491
|
+
* @memberof CountriesApi
|
|
492
492
|
*/
|
|
493
|
-
public
|
|
494
|
-
return
|
|
493
|
+
public apiV2CountriesCountryIdGet(countryId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
494
|
+
return CountriesApiFp(this.configuration).apiV2CountriesCountryIdGet(countryId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
/**
|
|
@@ -505,10 +505,10 @@ export class V2CountriesApi extends BaseAPI {
|
|
|
505
505
|
* @param {Date} [lastRetrieved]
|
|
506
506
|
* @param {*} [options] Override http request option.
|
|
507
507
|
* @throws {RequiredError}
|
|
508
|
-
* @memberof
|
|
508
|
+
* @memberof CountriesApi
|
|
509
509
|
*/
|
|
510
|
-
public
|
|
511
|
-
return
|
|
510
|
+
public apiV2CountriesCountryIdMediasGet(countryId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
511
|
+
return CountriesApiFp(this.configuration).apiV2CountriesCountryIdMediasGet(countryId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
/**
|
|
@@ -518,10 +518,10 @@ export class V2CountriesApi extends BaseAPI {
|
|
|
518
518
|
* @param {string} mediaId
|
|
519
519
|
* @param {*} [options] Override http request option.
|
|
520
520
|
* @throws {RequiredError}
|
|
521
|
-
* @memberof
|
|
521
|
+
* @memberof CountriesApi
|
|
522
522
|
*/
|
|
523
|
-
public
|
|
524
|
-
return
|
|
523
|
+
public apiV2CountriesCountryIdMediasMediaIdGet(countryId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
524
|
+
return CountriesApiFp(this.configuration).apiV2CountriesCountryIdMediasMediaIdGet(countryId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
/**
|
|
@@ -539,10 +539,10 @@ export class V2CountriesApi extends BaseAPI {
|
|
|
539
539
|
* @param {Date} [lastRetrieved]
|
|
540
540
|
* @param {*} [options] Override http request option.
|
|
541
541
|
* @throws {RequiredError}
|
|
542
|
-
* @memberof
|
|
542
|
+
* @memberof CountriesApi
|
|
543
543
|
*/
|
|
544
|
-
public
|
|
545
|
-
return
|
|
544
|
+
public apiV2CountriesGet(id?: string, name?: string, description?: string, createdDate?: Date, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
545
|
+
return CountriesApiFp(this.configuration).apiV2CountriesGet(id, name, description, createdDate, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
/**
|
|
@@ -553,9 +553,9 @@ export class V2CountriesApi extends BaseAPI {
|
|
|
553
553
|
* @param {boolean} [returnDefaultValue]
|
|
554
554
|
* @param {*} [options] Override http request option.
|
|
555
555
|
* @throws {RequiredError}
|
|
556
|
-
* @memberof
|
|
556
|
+
* @memberof CountriesApi
|
|
557
557
|
*/
|
|
558
|
-
public
|
|
559
|
-
return
|
|
558
|
+
public apiV2CountriesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
559
|
+
return CountriesApiFp(this.configuration).apiV2CountriesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
560
560
|
}
|
|
561
561
|
}
|