ch-api-client-typescript2 5.37.0 → 5.38.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.
Files changed (51) hide show
  1. package/lib/api/currencies-api.d.ts +124 -0
  2. package/lib/api/currencies-api.d.ts.map +1 -0
  3. package/lib/api/currencies-api.js +233 -0
  4. package/lib/api/devices-api.d.ts +0 -56
  5. package/lib/api/devices-api.d.ts.map +1 -1
  6. package/lib/api/devices-api.js +0 -90
  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/country-currency-document-model.d.ts +43 -0
  11. package/lib/models/country-currency-document-model.d.ts.map +1 -0
  12. package/lib/models/country-currency-item-model.d.ts +55 -0
  13. package/lib/models/country-currency-item-model.d.ts.map +1 -0
  14. package/lib/models/country-currency-item-model.js +15 -0
  15. package/lib/models/country-document-model.d.ts +7 -0
  16. package/lib/models/country-document-model.d.ts.map +1 -1
  17. package/lib/models/country-item-model.d.ts +7 -0
  18. package/lib/models/country-item-model.d.ts.map +1 -1
  19. package/lib/models/country-model.d.ts +7 -0
  20. package/lib/models/country-model.d.ts.map +1 -1
  21. package/lib/models/country-sub-document-model.d.ts +7 -0
  22. package/lib/models/country-sub-document-model.d.ts.map +1 -1
  23. package/lib/models/currencies-model.d.ts +33 -0
  24. package/lib/models/currencies-model.d.ts.map +1 -0
  25. package/lib/models/currencies-model.js +15 -0
  26. package/lib/models/currency-item-model.d.ts +43 -0
  27. package/lib/models/currency-item-model.d.ts.map +1 -0
  28. package/lib/models/currency-item-model.js +15 -0
  29. package/lib/models/index.d.ts +4 -1
  30. package/lib/models/index.d.ts.map +1 -1
  31. package/lib/models/index.js +4 -1
  32. package/lib/models/location-model.d.ts +7 -7
  33. package/lib/models/location-model.d.ts.map +1 -1
  34. package/package.json +1 -1
  35. package/src/.openapi-generator/FILES +5 -1
  36. package/src/api/currencies-api.ts +200 -0
  37. package/src/api/devices-api.ts +0 -100
  38. package/src/api.ts +1 -0
  39. package/src/models/country-currency-document-model.ts +48 -0
  40. package/src/models/country-currency-item-model.ts +60 -0
  41. package/src/models/country-document-model.ts +9 -0
  42. package/src/models/country-item-model.ts +9 -0
  43. package/src/models/country-model.ts +9 -0
  44. package/src/models/country-sub-document-model.ts +9 -0
  45. package/src/models/{create-device-login-command.ts → currencies-model.ts} +12 -9
  46. package/src/models/currency-item-model.ts +48 -0
  47. package/src/models/index.ts +4 -1
  48. package/src/models/location-model.ts +7 -7
  49. package/lib/models/create-device-login-command.d.ts +0 -32
  50. package/lib/models/create-device-login-command.d.ts.map +0 -1
  51. /package/lib/models/{create-device-login-command.js → country-currency-document-model.js} +0 -0
@@ -0,0 +1,200 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * CloudHospital Api
5
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: developer@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CurrenciesModel } from '../models';
25
+ /**
26
+ * CurrenciesApi - axios parameter creator
27
+ * @export
28
+ */
29
+ export const CurrenciesApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ *
33
+ * @summary Get currencies
34
+ * @param {string} [id]
35
+ * @param {string} [currencyCode]
36
+ * @param {number} [page]
37
+ * @param {number} [limit]
38
+ * @param {Date} [lastRetrieved]
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ apiV2CurrenciesGet: async (id?: string, currencyCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
+ const localVarPath = `/api/v2/currencies`;
44
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46
+ let baseOptions;
47
+ if (configuration) {
48
+ baseOptions = configuration.baseOptions;
49
+ }
50
+
51
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
52
+ const localVarHeaderParameter = {} as any;
53
+ const localVarQueryParameter = {} as any;
54
+
55
+ if (id !== undefined) {
56
+ localVarQueryParameter['Id'] = id;
57
+ }
58
+
59
+ if (currencyCode !== undefined) {
60
+ localVarQueryParameter['CurrencyCode'] = currencyCode;
61
+ }
62
+
63
+ if (page !== undefined) {
64
+ localVarQueryParameter['page'] = page;
65
+ }
66
+
67
+ if (limit !== undefined) {
68
+ localVarQueryParameter['limit'] = limit;
69
+ }
70
+
71
+ if (lastRetrieved !== undefined) {
72
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
73
+ (lastRetrieved as any).toISOString() :
74
+ lastRetrieved;
75
+ }
76
+
77
+
78
+
79
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
81
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
82
+
83
+ return {
84
+ url: toPathString(localVarUrlObj),
85
+ options: localVarRequestOptions,
86
+ };
87
+ },
88
+ }
89
+ };
90
+
91
+ /**
92
+ * CurrenciesApi - functional programming interface
93
+ * @export
94
+ */
95
+ export const CurrenciesApiFp = function(configuration?: Configuration) {
96
+ const localVarAxiosParamCreator = CurrenciesApiAxiosParamCreator(configuration)
97
+ return {
98
+ /**
99
+ *
100
+ * @summary Get currencies
101
+ * @param {string} [id]
102
+ * @param {string} [currencyCode]
103
+ * @param {number} [page]
104
+ * @param {number} [limit]
105
+ * @param {Date} [lastRetrieved]
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ async apiV2CurrenciesGet(id?: string, currencyCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CurrenciesModel>> {
110
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CurrenciesGet(id, currencyCode, page, limit, lastRetrieved, options);
111
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
112
+ },
113
+ }
114
+ };
115
+
116
+ /**
117
+ * CurrenciesApi - factory interface
118
+ * @export
119
+ */
120
+ export const CurrenciesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
121
+ const localVarFp = CurrenciesApiFp(configuration)
122
+ return {
123
+ /**
124
+ *
125
+ * @summary Get currencies
126
+ * @param {string} [id]
127
+ * @param {string} [currencyCode]
128
+ * @param {number} [page]
129
+ * @param {number} [limit]
130
+ * @param {Date} [lastRetrieved]
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ apiV2CurrenciesGet(id?: string, currencyCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CurrenciesModel> {
135
+ return localVarFp.apiV2CurrenciesGet(id, currencyCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
136
+ },
137
+ };
138
+ };
139
+
140
+ /**
141
+ * Request parameters for apiV2CurrenciesGet operation in CurrenciesApi.
142
+ * @export
143
+ * @interface CurrenciesApiApiV2CurrenciesGetRequest
144
+ */
145
+ export interface CurrenciesApiApiV2CurrenciesGetRequest {
146
+ /**
147
+ *
148
+ * @type {string}
149
+ * @memberof CurrenciesApiApiV2CurrenciesGet
150
+ */
151
+ readonly id?: string
152
+
153
+ /**
154
+ *
155
+ * @type {string}
156
+ * @memberof CurrenciesApiApiV2CurrenciesGet
157
+ */
158
+ readonly currencyCode?: string
159
+
160
+ /**
161
+ *
162
+ * @type {number}
163
+ * @memberof CurrenciesApiApiV2CurrenciesGet
164
+ */
165
+ readonly page?: number
166
+
167
+ /**
168
+ *
169
+ * @type {number}
170
+ * @memberof CurrenciesApiApiV2CurrenciesGet
171
+ */
172
+ readonly limit?: number
173
+
174
+ /**
175
+ *
176
+ * @type {Date}
177
+ * @memberof CurrenciesApiApiV2CurrenciesGet
178
+ */
179
+ readonly lastRetrieved?: Date
180
+ }
181
+
182
+ /**
183
+ * CurrenciesApi - object-oriented interface
184
+ * @export
185
+ * @class CurrenciesApi
186
+ * @extends {BaseAPI}
187
+ */
188
+ export class CurrenciesApi extends BaseAPI {
189
+ /**
190
+ *
191
+ * @summary Get currencies
192
+ * @param {CurrenciesApiApiV2CurrenciesGetRequest} requestParameters Request parameters.
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ * @memberof CurrenciesApi
196
+ */
197
+ public apiV2CurrenciesGet(requestParameters: CurrenciesApiApiV2CurrenciesGetRequest = {}, options?: AxiosRequestConfig) {
198
+ return CurrenciesApiFp(this.configuration).apiV2CurrenciesGet(requestParameters.id, requestParameters.currencyCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
199
+ }
200
+ }
@@ -23,8 +23,6 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { CreateDeviceCommand } from '../models';
25
25
  // @ts-ignore
26
- import { CreateDeviceLoginCommand } from '../models';
27
- // @ts-ignore
28
26
  import { DeviceModel } from '../models';
29
27
  // @ts-ignore
30
28
  import { DevicesModel } from '../models';
@@ -195,48 +193,6 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati
195
193
  options: localVarRequestOptions,
196
194
  };
197
195
  },
198
- /**
199
- *
200
- * @summary Create device login.
201
- * @param {string} id
202
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
203
- * @param {*} [options] Override http request option.
204
- * @throws {RequiredError}
205
- */
206
- apiV2DevicesIdLoginsPost: async (id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
207
- // verify required parameter 'id' is not null or undefined
208
- assertParamExists('apiV2DevicesIdLoginsPost', 'id', id)
209
- const localVarPath = `/api/v2/devices/{id}/logins`
210
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
211
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
213
- let baseOptions;
214
- if (configuration) {
215
- baseOptions = configuration.baseOptions;
216
- }
217
-
218
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
219
- const localVarHeaderParameter = {} as any;
220
- const localVarQueryParameter = {} as any;
221
-
222
- // authentication oauth2 required
223
- // oauth required
224
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
225
-
226
-
227
-
228
- localVarHeaderParameter['Content-Type'] = 'application/json';
229
-
230
- setSearchParams(localVarUrlObj, localVarQueryParameter);
231
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
233
- localVarRequestOptions.data = serializeDataIfNeeded(createDeviceLoginCommand, localVarRequestOptions, configuration)
234
-
235
- return {
236
- url: toPathString(localVarUrlObj),
237
- options: localVarRequestOptions,
238
- };
239
- },
240
196
  /**
241
197
  *
242
198
  * @summary Update device.
@@ -368,18 +324,6 @@ export const DevicesApiFp = function(configuration?: Configuration) {
368
324
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdGet(id, options);
369
325
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
370
326
  },
371
- /**
372
- *
373
- * @summary Create device login.
374
- * @param {string} id
375
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
376
- * @param {*} [options] Override http request option.
377
- * @throws {RequiredError}
378
- */
379
- async apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
380
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options);
381
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
382
- },
383
327
  /**
384
328
  *
385
329
  * @summary Update device.
@@ -451,17 +395,6 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa
451
395
  apiV2DevicesIdGet(id: string, options?: any): AxiosPromise<DeviceModel> {
452
396
  return localVarFp.apiV2DevicesIdGet(id, options).then((request) => request(axios, basePath));
453
397
  },
454
- /**
455
- *
456
- * @summary Create device login.
457
- * @param {string} id
458
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
459
- * @param {*} [options] Override http request option.
460
- * @throws {RequiredError}
461
- */
462
- apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: any): AxiosPromise<string> {
463
- return localVarFp.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options).then((request) => request(axios, basePath));
464
- },
465
398
  /**
466
399
  *
467
400
  * @summary Update device.
@@ -584,27 +517,6 @@ export interface DevicesApiApiV2DevicesIdGetRequest {
584
517
  readonly id: string
585
518
  }
586
519
 
587
- /**
588
- * Request parameters for apiV2DevicesIdLoginsPost operation in DevicesApi.
589
- * @export
590
- * @interface DevicesApiApiV2DevicesIdLoginsPostRequest
591
- */
592
- export interface DevicesApiApiV2DevicesIdLoginsPostRequest {
593
- /**
594
- *
595
- * @type {string}
596
- * @memberof DevicesApiApiV2DevicesIdLoginsPost
597
- */
598
- readonly id: string
599
-
600
- /**
601
- *
602
- * @type {CreateDeviceLoginCommand}
603
- * @memberof DevicesApiApiV2DevicesIdLoginsPost
604
- */
605
- readonly createDeviceLoginCommand?: CreateDeviceLoginCommand
606
- }
607
-
608
520
  /**
609
521
  * Request parameters for apiV2DevicesIdPut operation in DevicesApi.
610
522
  * @export
@@ -683,18 +595,6 @@ export class DevicesApi extends BaseAPI {
683
595
  return DevicesApiFp(this.configuration).apiV2DevicesIdGet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
684
596
  }
685
597
 
686
- /**
687
- *
688
- * @summary Create device login.
689
- * @param {DevicesApiApiV2DevicesIdLoginsPostRequest} requestParameters Request parameters.
690
- * @param {*} [options] Override http request option.
691
- * @throws {RequiredError}
692
- * @memberof DevicesApi
693
- */
694
- public apiV2DevicesIdLoginsPost(requestParameters: DevicesApiApiV2DevicesIdLoginsPostRequest, options?: AxiosRequestConfig) {
695
- return DevicesApiFp(this.configuration).apiV2DevicesIdLoginsPost(requestParameters.id, requestParameters.createDeviceLoginCommand, options).then((request) => request(this.axios, this.basePath));
696
- }
697
-
698
598
  /**
699
599
  *
700
600
  * @summary Update device.
package/src/api.ts CHANGED
@@ -26,6 +26,7 @@ export * from './api/communications-api';
26
26
  export * from './api/contributors-api';
27
27
  export * from './api/countries-api';
28
28
  export * from './api/curations-api';
29
+ export * from './api/currencies-api';
29
30
  export * from './api/deals-api';
30
31
  export * from './api/devices-api';
31
32
  export * from './api/doctor-affiliations-api';
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * CloudHospital Api
5
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: developer@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CountryCurrencyDocumentModel
21
+ */
22
+ export interface CountryCurrencyDocumentModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CountryCurrencyDocumentModel
27
+ */
28
+ 'CurrencyId'?: string | null;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof CountryCurrencyDocumentModel
33
+ */
34
+ 'Order'?: number;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CountryCurrencyDocumentModel
39
+ */
40
+ 'CurrencyCode'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CountryCurrencyDocumentModel
45
+ */
46
+ 'CurrencySymbol'?: string | null;
47
+ }
48
+
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * CloudHospital Api
5
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: developer@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CountryCurrencyItemModel
21
+ */
22
+ export interface CountryCurrencyItemModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CountryCurrencyItemModel
27
+ */
28
+ 'id'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CountryCurrencyItemModel
33
+ */
34
+ 'countryId'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CountryCurrencyItemModel
39
+ */
40
+ 'currencyId'?: string;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof CountryCurrencyItemModel
45
+ */
46
+ 'order'?: number;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof CountryCurrencyItemModel
51
+ */
52
+ 'currencyCode'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof CountryCurrencyItemModel
57
+ */
58
+ 'currencyCurrencySymbol'?: string | null;
59
+ }
60
+
@@ -18,6 +18,9 @@
18
18
  import { AuditableEntityDocumentModel } from './auditable-entity-document-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { CountryCurrencyDocumentModel } from './country-currency-document-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
21
24
  import { CountryLanguageDocumentModel } from './country-language-document-model';
22
25
  // May contain unused imports in some cases
23
26
  // @ts-ignore
@@ -392,5 +395,11 @@ export interface CountryDocumentModel {
392
395
  * @memberof CountryDocumentModel
393
396
  */
394
397
  'CountryLanguageCodes'?: Array<string> | null;
398
+ /**
399
+ *
400
+ * @type {Array<CountryCurrencyDocumentModel>}
401
+ * @memberof CountryDocumentModel
402
+ */
403
+ 'CountryCurrencies'?: Array<CountryCurrencyDocumentModel> | null;
395
404
  }
396
405
 
@@ -18,6 +18,9 @@
18
18
  import { AuditableEntityModel } from './auditable-entity-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { CountryCurrencyItemModel } from './country-currency-item-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
21
24
  import { CountryLanguageItemModel } from './country-language-item-model';
22
25
  // May contain unused imports in some cases
23
26
  // @ts-ignore
@@ -119,6 +122,12 @@ export interface CountryItemModel {
119
122
  * @memberof CountryItemModel
120
123
  */
121
124
  'countryLanguages'?: Array<CountryLanguageItemModel> | null;
125
+ /**
126
+ *
127
+ * @type {Array<CountryCurrencyItemModel>}
128
+ * @memberof CountryItemModel
129
+ */
130
+ 'countryCurrencies'?: Array<CountryCurrencyItemModel> | null;
122
131
  /**
123
132
  *
124
133
  * @type {AuditableEntityModel}
@@ -18,6 +18,9 @@
18
18
  import { AuditableEntityModel } from './auditable-entity-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { CountryCurrencyItemModel } from './country-currency-item-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
21
24
  import { CountryLanguageItemModel } from './country-language-item-model';
22
25
  // May contain unused imports in some cases
23
26
  // @ts-ignore
@@ -122,6 +125,12 @@ export interface CountryModel {
122
125
  * @memberof CountryModel
123
126
  */
124
127
  'countryLanguages'?: Array<CountryLanguageItemModel> | null;
128
+ /**
129
+ *
130
+ * @type {Array<CountryCurrencyItemModel>}
131
+ * @memberof CountryModel
132
+ */
133
+ 'countryCurrencies'?: Array<CountryCurrencyItemModel> | null;
125
134
  /**
126
135
  *
127
136
  * @type {AuditableEntityModel}
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { CountryCurrencyDocumentModel } from './country-currency-document-model';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import { CountryLanguageDocumentModel } from './country-language-document-model';
@@ -338,5 +341,11 @@ export interface CountrySubDocumentModel {
338
341
  * @memberof CountrySubDocumentModel
339
342
  */
340
343
  'CountryLanguageCodes'?: Array<string> | null;
344
+ /**
345
+ *
346
+ * @type {Array<CountryCurrencyDocumentModel>}
347
+ * @memberof CountrySubDocumentModel
348
+ */
349
+ 'CountryCurrencies'?: Array<CountryCurrencyDocumentModel> | null;
341
350
  }
342
351
 
@@ -15,25 +15,28 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import { LocationModel } from './location-model';
18
+ import { CurrencyItemModel } from './currency-item-model';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import { PagedListMetaData } from './paged-list-meta-data';
19
22
 
20
23
  /**
21
24
  *
22
25
  * @export
23
- * @interface CreateDeviceLoginCommand
26
+ * @interface CurrenciesModel
24
27
  */
25
- export interface CreateDeviceLoginCommand {
28
+ export interface CurrenciesModel {
26
29
  /**
27
30
  *
28
- * @type {string}
29
- * @memberof CreateDeviceLoginCommand
31
+ * @type {Array<CurrencyItemModel>}
32
+ * @memberof CurrenciesModel
30
33
  */
31
- 'version'?: string | null;
34
+ 'items'?: Array<CurrencyItemModel> | null;
32
35
  /**
33
36
  *
34
- * @type {LocationModel}
35
- * @memberof CreateDeviceLoginCommand
37
+ * @type {PagedListMetaData}
38
+ * @memberof CurrenciesModel
36
39
  */
37
- 'location'?: LocationModel;
40
+ 'metaData'?: PagedListMetaData;
38
41
  }
39
42
 
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * CloudHospital Api
5
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: developer@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CurrencyItemModel
21
+ */
22
+ export interface CurrencyItemModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CurrencyItemModel
27
+ */
28
+ 'id'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CurrencyItemModel
33
+ */
34
+ 'currencyCode'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CurrencyItemModel
39
+ */
40
+ 'currencySymbol'?: string | null;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof CurrencyItemModel
45
+ */
46
+ 'order'?: number;
47
+ }
48
+
@@ -70,6 +70,8 @@ export * from './contributor-translation-document-model';
70
70
  export * from './contributors-model';
71
71
  export * from './coordinate-system';
72
72
  export * from './countries-model';
73
+ export * from './country-currency-document-model';
74
+ export * from './country-currency-item-model';
73
75
  export * from './country-document-model';
74
76
  export * from './country-item-model';
75
77
  export * from './country-language-document-model';
@@ -82,7 +84,6 @@ export * from './create-call-history-command';
82
84
  export * from './create-chat-user-command';
83
85
  export * from './create-cors-command';
84
86
  export * from './create-device-command';
85
- export * from './create-device-login-command';
86
87
  export * from './create-form-result-command';
87
88
  export * from './create-media-command';
88
89
  export * from './create-patient-command';
@@ -93,6 +94,8 @@ export * from './curation-item-model';
93
94
  export * from './curation-model';
94
95
  export * from './curation-specialty-type-item-model';
95
96
  export * from './curation-specialty-types-model';
97
+ export * from './currencies-model';
98
+ export * from './currency-item-model';
96
99
  export * from './day-of-week';
97
100
  export * from './deal-document-model';
98
101
  export * from './deal-item-model';
@@ -35,13 +35,6 @@ export interface LocationModel {
35
35
  * @memberof LocationModel
36
36
  */
37
37
  'longitude'?: number;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof LocationModel
42
- * @deprecated
43
- */
44
- 'country'?: string | null;
45
38
  /**
46
39
  *
47
40
  * @type {string}
@@ -96,5 +89,12 @@ export interface LocationModel {
96
89
  * @memberof LocationModel
97
90
  */
98
91
  'address'?: string | null;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof LocationModel
96
+ * @deprecated
97
+ */
98
+ 'country'?: string | null;
99
99
  }
100
100