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,124 @@
1
+ /**
2
+ * CloudHospital Api
3
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 2
6
+ * Contact: developer@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CurrenciesModel } from '../models';
16
+ /**
17
+ * CurrenciesApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const CurrenciesApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @summary Get currencies
24
+ * @param {string} [id]
25
+ * @param {string} [currencyCode]
26
+ * @param {number} [page]
27
+ * @param {number} [limit]
28
+ * @param {Date} [lastRetrieved]
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ apiV2CurrenciesGet: (id?: string, currencyCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ };
34
+ /**
35
+ * CurrenciesApi - functional programming interface
36
+ * @export
37
+ */
38
+ export declare const CurrenciesApiFp: (configuration?: Configuration) => {
39
+ /**
40
+ *
41
+ * @summary Get currencies
42
+ * @param {string} [id]
43
+ * @param {string} [currencyCode]
44
+ * @param {number} [page]
45
+ * @param {number} [limit]
46
+ * @param {Date} [lastRetrieved]
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ apiV2CurrenciesGet(id?: string, currencyCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CurrenciesModel>>;
51
+ };
52
+ /**
53
+ * CurrenciesApi - factory interface
54
+ * @export
55
+ */
56
+ export declare const CurrenciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
57
+ /**
58
+ *
59
+ * @summary Get currencies
60
+ * @param {string} [id]
61
+ * @param {string} [currencyCode]
62
+ * @param {number} [page]
63
+ * @param {number} [limit]
64
+ * @param {Date} [lastRetrieved]
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ apiV2CurrenciesGet(id?: string, currencyCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CurrenciesModel>;
69
+ };
70
+ /**
71
+ * Request parameters for apiV2CurrenciesGet operation in CurrenciesApi.
72
+ * @export
73
+ * @interface CurrenciesApiApiV2CurrenciesGetRequest
74
+ */
75
+ export interface CurrenciesApiApiV2CurrenciesGetRequest {
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof CurrenciesApiApiV2CurrenciesGet
80
+ */
81
+ readonly id?: string;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof CurrenciesApiApiV2CurrenciesGet
86
+ */
87
+ readonly currencyCode?: string;
88
+ /**
89
+ *
90
+ * @type {number}
91
+ * @memberof CurrenciesApiApiV2CurrenciesGet
92
+ */
93
+ readonly page?: number;
94
+ /**
95
+ *
96
+ * @type {number}
97
+ * @memberof CurrenciesApiApiV2CurrenciesGet
98
+ */
99
+ readonly limit?: number;
100
+ /**
101
+ *
102
+ * @type {Date}
103
+ * @memberof CurrenciesApiApiV2CurrenciesGet
104
+ */
105
+ readonly lastRetrieved?: Date;
106
+ }
107
+ /**
108
+ * CurrenciesApi - object-oriented interface
109
+ * @export
110
+ * @class CurrenciesApi
111
+ * @extends {BaseAPI}
112
+ */
113
+ export declare class CurrenciesApi extends BaseAPI {
114
+ /**
115
+ *
116
+ * @summary Get currencies
117
+ * @param {CurrenciesApiApiV2CurrenciesGetRequest} requestParameters Request parameters.
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ * @memberof CurrenciesApi
121
+ */
122
+ apiV2CurrenciesGet(requestParameters?: CurrenciesApiApiV2CurrenciesGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CurrenciesModel, any>>;
123
+ }
124
+ //# sourceMappingURL=currencies-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currencies-api.d.ts","sourceRoot":"","sources":["../../src/api/currencies-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,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C;;;GAGG;AACH,eAAO,MAAM,8BAA8B,mBAA6B,aAAa;IAE7E;;;;;;;;;;OAUG;8BAC6B,MAAM,iBAAiB,MAAM,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CA+ClL,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,mBAA4B,aAAa;IAG7D;;;;;;;;;;OAUG;4BAC2B,MAAM,iBAAiB,MAAM,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,eAAe,CAAC;CAK3O,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAG7G;;;;;;;;;;OAUG;4BACqB,MAAM,iBAAiB,MAAM,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAY,GAAG,GAAG,aAAa,eAAe,CAAC;CAIhK,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAE9B;;;;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,aAAc,SAAQ,OAAO;IACtC;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAAiB,GAAE,sCAA2C,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGzH"}
@@ -0,0 +1,233 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 2
9
+ * Contact: developer@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.CurrenciesApi = exports.CurrenciesApiFactory = exports.CurrenciesApiFp = exports.CurrenciesApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * CurrenciesApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var CurrenciesApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @summary Get currencies
98
+ * @param {string} [id]
99
+ * @param {string} [currencyCode]
100
+ * @param {number} [page]
101
+ * @param {number} [limit]
102
+ * @param {Date} [lastRetrieved]
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ apiV2CurrenciesGet: function (id, currencyCode, page, limit, lastRetrieved, options) {
107
+ if (options === void 0) { options = {}; }
108
+ return __awaiter(_this, void 0, void 0, function () {
109
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
110
+ return __generator(this, function (_a) {
111
+ localVarPath = "/api/v2/currencies";
112
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
113
+ if (configuration) {
114
+ baseOptions = configuration.baseOptions;
115
+ }
116
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
117
+ localVarHeaderParameter = {};
118
+ localVarQueryParameter = {};
119
+ if (id !== undefined) {
120
+ localVarQueryParameter['Id'] = id;
121
+ }
122
+ if (currencyCode !== undefined) {
123
+ localVarQueryParameter['CurrencyCode'] = currencyCode;
124
+ }
125
+ if (page !== undefined) {
126
+ localVarQueryParameter['page'] = page;
127
+ }
128
+ if (limit !== undefined) {
129
+ localVarQueryParameter['limit'] = limit;
130
+ }
131
+ if (lastRetrieved !== undefined) {
132
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
133
+ lastRetrieved.toISOString() :
134
+ lastRetrieved;
135
+ }
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ return [2 /*return*/, {
140
+ url: (0, common_1.toPathString)(localVarUrlObj),
141
+ options: localVarRequestOptions,
142
+ }];
143
+ });
144
+ });
145
+ },
146
+ };
147
+ };
148
+ exports.CurrenciesApiAxiosParamCreator = CurrenciesApiAxiosParamCreator;
149
+ /**
150
+ * CurrenciesApi - functional programming interface
151
+ * @export
152
+ */
153
+ var CurrenciesApiFp = function (configuration) {
154
+ var localVarAxiosParamCreator = (0, exports.CurrenciesApiAxiosParamCreator)(configuration);
155
+ return {
156
+ /**
157
+ *
158
+ * @summary Get currencies
159
+ * @param {string} [id]
160
+ * @param {string} [currencyCode]
161
+ * @param {number} [page]
162
+ * @param {number} [limit]
163
+ * @param {Date} [lastRetrieved]
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ apiV2CurrenciesGet: function (id, currencyCode, page, limit, lastRetrieved, options) {
168
+ return __awaiter(this, void 0, void 0, function () {
169
+ var localVarAxiosArgs;
170
+ return __generator(this, function (_a) {
171
+ switch (_a.label) {
172
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2CurrenciesGet(id, currencyCode, page, limit, lastRetrieved, options)];
173
+ case 1:
174
+ localVarAxiosArgs = _a.sent();
175
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
176
+ }
177
+ });
178
+ });
179
+ },
180
+ };
181
+ };
182
+ exports.CurrenciesApiFp = CurrenciesApiFp;
183
+ /**
184
+ * CurrenciesApi - factory interface
185
+ * @export
186
+ */
187
+ var CurrenciesApiFactory = function (configuration, basePath, axios) {
188
+ var localVarFp = (0, exports.CurrenciesApiFp)(configuration);
189
+ return {
190
+ /**
191
+ *
192
+ * @summary Get currencies
193
+ * @param {string} [id]
194
+ * @param {string} [currencyCode]
195
+ * @param {number} [page]
196
+ * @param {number} [limit]
197
+ * @param {Date} [lastRetrieved]
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ */
201
+ apiV2CurrenciesGet: function (id, currencyCode, page, limit, lastRetrieved, options) {
202
+ return localVarFp.apiV2CurrenciesGet(id, currencyCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
203
+ },
204
+ };
205
+ };
206
+ exports.CurrenciesApiFactory = CurrenciesApiFactory;
207
+ /**
208
+ * CurrenciesApi - object-oriented interface
209
+ * @export
210
+ * @class CurrenciesApi
211
+ * @extends {BaseAPI}
212
+ */
213
+ var CurrenciesApi = /** @class */ (function (_super) {
214
+ __extends(CurrenciesApi, _super);
215
+ function CurrenciesApi() {
216
+ return _super !== null && _super.apply(this, arguments) || this;
217
+ }
218
+ /**
219
+ *
220
+ * @summary Get currencies
221
+ * @param {CurrenciesApiApiV2CurrenciesGetRequest} requestParameters Request parameters.
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ * @memberof CurrenciesApi
225
+ */
226
+ CurrenciesApi.prototype.apiV2CurrenciesGet = function (requestParameters, options) {
227
+ var _this = this;
228
+ if (requestParameters === void 0) { requestParameters = {}; }
229
+ return (0, exports.CurrenciesApiFp)(this.configuration).apiV2CurrenciesGet(requestParameters.id, requestParameters.currencyCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
230
+ };
231
+ return CurrenciesApi;
232
+ }(base_1.BaseAPI));
233
+ exports.CurrenciesApi = CurrenciesApi;
@@ -13,7 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateDeviceCommand } from '../models';
16
- import { CreateDeviceLoginCommand } from '../models';
17
16
  import { DeviceModel } from '../models';
18
17
  import { DevicesModel } from '../models';
19
18
  import { Platform } from '../models';
@@ -55,15 +54,6 @@ export declare const DevicesApiAxiosParamCreator: (configuration?: Configuration
55
54
  * @throws {RequiredError}
56
55
  */
57
56
  apiV2DevicesIdGet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
- /**
59
- *
60
- * @summary Create device login.
61
- * @param {string} id
62
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- apiV2DevicesIdLoginsPost: (id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
57
  /**
68
58
  *
69
59
  * @summary Update device.
@@ -119,15 +109,6 @@ export declare const DevicesApiFp: (configuration?: Configuration) => {
119
109
  * @throws {RequiredError}
120
110
  */
121
111
  apiV2DevicesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceModel>>;
122
- /**
123
- *
124
- * @summary Create device login.
125
- * @param {string} id
126
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
127
- * @param {*} [options] Override http request option.
128
- * @throws {RequiredError}
129
- */
130
- apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
131
112
  /**
132
113
  *
133
114
  * @summary Update device.
@@ -183,15 +164,6 @@ export declare const DevicesApiFactory: (configuration?: Configuration, basePath
183
164
  * @throws {RequiredError}
184
165
  */
185
166
  apiV2DevicesIdGet(id: string, options?: any): AxiosPromise<DeviceModel>;
186
- /**
187
- *
188
- * @summary Create device login.
189
- * @param {string} id
190
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
191
- * @param {*} [options] Override http request option.
192
- * @throws {RequiredError}
193
- */
194
- apiV2DevicesIdLoginsPost(id: string, createDeviceLoginCommand?: CreateDeviceLoginCommand, options?: any): AxiosPromise<string>;
195
167
  /**
196
168
  *
197
169
  * @summary Update device.
@@ -297,25 +269,6 @@ export interface DevicesApiApiV2DevicesIdGetRequest {
297
269
  */
298
270
  readonly id: string;
299
271
  }
300
- /**
301
- * Request parameters for apiV2DevicesIdLoginsPost operation in DevicesApi.
302
- * @export
303
- * @interface DevicesApiApiV2DevicesIdLoginsPostRequest
304
- */
305
- export interface DevicesApiApiV2DevicesIdLoginsPostRequest {
306
- /**
307
- *
308
- * @type {string}
309
- * @memberof DevicesApiApiV2DevicesIdLoginsPost
310
- */
311
- readonly id: string;
312
- /**
313
- *
314
- * @type {CreateDeviceLoginCommand}
315
- * @memberof DevicesApiApiV2DevicesIdLoginsPost
316
- */
317
- readonly createDeviceLoginCommand?: CreateDeviceLoginCommand;
318
- }
319
272
  /**
320
273
  * Request parameters for apiV2DevicesIdPut operation in DevicesApi.
321
274
  * @export
@@ -382,15 +335,6 @@ export declare class DevicesApi extends BaseAPI {
382
335
  * @memberof DevicesApi
383
336
  */
384
337
  apiV2DevicesIdGet(requestParameters: DevicesApiApiV2DevicesIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceModel, any>>;
385
- /**
386
- *
387
- * @summary Create device login.
388
- * @param {DevicesApiApiV2DevicesIdLoginsPostRequest} requestParameters Request parameters.
389
- * @param {*} [options] Override http request option.
390
- * @throws {RequiredError}
391
- * @memberof DevicesApi
392
- */
393
- apiV2DevicesIdLoginsPost(requestParameters: DevicesApiApiV2DevicesIdLoginsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
394
338
  /**
395
339
  *
396
340
  * @summary Update device.
@@ -1 +1 @@
1
- {"version":3,"file":"devices-api.d.ts","sourceRoot":"","sources":["../../src/api/devices-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,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,OA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M,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;CACrD;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;CACrD;AAED;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,OAAO;IACnC;;;;;;;OAOG;IACI,eAAe,CAAC,iBAAiB,GAAE,gCAAqC,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI7G;;;;;;;OAOG;IACI,oBAAoB,CAAC,iBAAiB,EAAE,qCAAqC,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIlH;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI5G;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI5G;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,GAAE,iCAAsC,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGlH"}
@@ -255,52 +255,6 @@ var DevicesApiAxiosParamCreator = function (configuration) {
255
255
  });
256
256
  });
257
257
  },
258
- /**
259
- *
260
- * @summary Create device login.
261
- * @param {string} id
262
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
263
- * @param {*} [options] Override http request option.
264
- * @throws {RequiredError}
265
- */
266
- apiV2DevicesIdLoginsPost: function (id, createDeviceLoginCommand, options) {
267
- if (options === void 0) { options = {}; }
268
- return __awaiter(_this, void 0, void 0, function () {
269
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
270
- return __generator(this, function (_a) {
271
- switch (_a.label) {
272
- case 0:
273
- // verify required parameter 'id' is not null or undefined
274
- (0, common_1.assertParamExists)('apiV2DevicesIdLoginsPost', 'id', id);
275
- localVarPath = "/api/v2/devices/{id}/logins"
276
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
277
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
278
- if (configuration) {
279
- baseOptions = configuration.baseOptions;
280
- }
281
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
282
- localVarHeaderParameter = {};
283
- localVarQueryParameter = {};
284
- // authentication oauth2 required
285
- // oauth required
286
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)];
287
- case 1:
288
- // authentication oauth2 required
289
- // oauth required
290
- _a.sent();
291
- localVarHeaderParameter['Content-Type'] = 'application/json';
292
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
293
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
294
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
295
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDeviceLoginCommand, localVarRequestOptions, configuration);
296
- return [2 /*return*/, {
297
- url: (0, common_1.toPathString)(localVarUrlObj),
298
- options: localVarRequestOptions,
299
- }];
300
- }
301
- });
302
- });
303
- },
304
258
  /**
305
259
  *
306
260
  * @summary Update device.
@@ -467,27 +421,6 @@ var DevicesApiFp = function (configuration) {
467
421
  });
468
422
  });
469
423
  },
470
- /**
471
- *
472
- * @summary Create device login.
473
- * @param {string} id
474
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
475
- * @param {*} [options] Override http request option.
476
- * @throws {RequiredError}
477
- */
478
- apiV2DevicesIdLoginsPost: function (id, createDeviceLoginCommand, options) {
479
- return __awaiter(this, void 0, void 0, function () {
480
- var localVarAxiosArgs;
481
- return __generator(this, function (_a) {
482
- switch (_a.label) {
483
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options)];
484
- case 1:
485
- localVarAxiosArgs = _a.sent();
486
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
487
- }
488
- });
489
- });
490
- },
491
424
  /**
492
425
  *
493
426
  * @summary Update device.
@@ -577,17 +510,6 @@ var DevicesApiFactory = function (configuration, basePath, axios) {
577
510
  apiV2DevicesIdGet: function (id, options) {
578
511
  return localVarFp.apiV2DevicesIdGet(id, options).then(function (request) { return request(axios, basePath); });
579
512
  },
580
- /**
581
- *
582
- * @summary Create device login.
583
- * @param {string} id
584
- * @param {CreateDeviceLoginCommand} [createDeviceLoginCommand]
585
- * @param {*} [options] Override http request option.
586
- * @throws {RequiredError}
587
- */
588
- apiV2DevicesIdLoginsPost: function (id, createDeviceLoginCommand, options) {
589
- return localVarFp.apiV2DevicesIdLoginsPost(id, createDeviceLoginCommand, options).then(function (request) { return request(axios, basePath); });
590
- },
591
513
  /**
592
514
  *
593
515
  * @summary Update device.
@@ -660,18 +582,6 @@ var DevicesApi = /** @class */ (function (_super) {
660
582
  var _this = this;
661
583
  return (0, exports.DevicesApiFp)(this.configuration).apiV2DevicesIdGet(requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
662
584
  };
663
- /**
664
- *
665
- * @summary Create device login.
666
- * @param {DevicesApiApiV2DevicesIdLoginsPostRequest} requestParameters Request parameters.
667
- * @param {*} [options] Override http request option.
668
- * @throws {RequiredError}
669
- * @memberof DevicesApi
670
- */
671
- DevicesApi.prototype.apiV2DevicesIdLoginsPost = function (requestParameters, options) {
672
- var _this = this;
673
- return (0, exports.DevicesApiFp)(this.configuration).apiV2DevicesIdLoginsPost(requestParameters.id, requestParameters.createDeviceLoginCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
674
- };
675
585
  /**
676
586
  *
677
587
  * @summary Update device.
package/lib/api.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from './api/communications-api';
21
21
  export * from './api/contributors-api';
22
22
  export * from './api/countries-api';
23
23
  export * from './api/curations-api';
24
+ export * from './api/currencies-api';
24
25
  export * from './api/deals-api';
25
26
  export * from './api/devices-api';
26
27
  export * from './api/doctor-affiliations-api';
package/lib/api.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA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,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC"}
package/lib/api.js CHANGED
@@ -39,6 +39,7 @@ __exportStar(require("./api/communications-api"), exports);
39
39
  __exportStar(require("./api/contributors-api"), exports);
40
40
  __exportStar(require("./api/countries-api"), exports);
41
41
  __exportStar(require("./api/curations-api"), exports);
42
+ __exportStar(require("./api/currencies-api"), exports);
42
43
  __exportStar(require("./api/deals-api"), exports);
43
44
  __exportStar(require("./api/devices-api"), exports);
44
45
  __exportStar(require("./api/doctor-affiliations-api"), exports);
@@ -0,0 +1,43 @@
1
+ /**
2
+ * CloudHospital Api
3
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 2
6
+ * Contact: developer@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CountryCurrencyDocumentModel
16
+ */
17
+ export interface CountryCurrencyDocumentModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CountryCurrencyDocumentModel
22
+ */
23
+ 'CurrencyId'?: string | null;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof CountryCurrencyDocumentModel
28
+ */
29
+ 'Order'?: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CountryCurrencyDocumentModel
34
+ */
35
+ 'CurrencyCode'?: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CountryCurrencyDocumentModel
40
+ */
41
+ 'CurrencySymbol'?: string | null;
42
+ }
43
+ //# sourceMappingURL=country-currency-document-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-currency-document-model.d.ts","sourceRoot":"","sources":["../../src/models/country-currency-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}