ch-api-client-typescript2 5.36.14 → 5.36.28
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/accounts-api.d.ts +89 -0
- package/lib/api/accounts-api.d.ts.map +1 -0
- package/lib/api/accounts-api.js +216 -0
- package/lib/api/form-templates-api.d.ts +12 -3
- package/lib/api/form-templates-api.d.ts.map +1 -1
- package/lib/api/form-templates-api.js +12 -6
- package/lib/api/survey-forms-api.d.ts +12 -3
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +12 -6
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/form-template-affiliation-model.d.ts +49 -0
- package/lib/models/form-template-affiliation-model.d.ts.map +1 -0
- package/lib/models/form-template-affiliation-model.js +15 -0
- package/lib/models/form-template-model.d.ts +25 -0
- package/lib/models/form-template-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +4 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +4 -0
- package/lib/models/register-patient-command.d.ts +37 -0
- package/lib/models/register-patient-command.d.ts.map +1 -0
- package/lib/models/register-patient-command.js +15 -0
- package/lib/models/registered-account-model.d.ts +61 -0
- package/lib/models/registered-account-model.d.ts.map +1 -0
- package/lib/models/registered-account-model.js +15 -0
- package/lib/models/survey-form-affiliation-model.d.ts +49 -0
- package/lib/models/survey-form-affiliation-model.d.ts.map +1 -0
- package/lib/models/survey-form-affiliation-model.js +15 -0
- package/lib/models/survey-form-model.d.ts +3 -2
- package/lib/models/survey-form-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +5 -0
- package/src/api/accounts-api.ts +149 -0
- package/src/api/form-templates-api.ts +20 -6
- package/src/api/survey-forms-api.ts +20 -6
- package/src/api.ts +1 -0
- package/src/models/form-template-affiliation-model.ts +54 -0
- package/src/models/form-template-model.ts +27 -0
- package/src/models/index.ts +4 -0
- package/src/models/register-patient-command.ts +42 -0
- package/src/models/registered-account-model.ts +66 -0
- package/src/models/survey-form-affiliation-model.ts +54 -0
- package/src/models/survey-form-model.ts +5 -2
|
@@ -0,0 +1,89 @@
|
|
|
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 { RegisterPatientCommand } from '../models';
|
|
16
|
+
import { RegisteredAccountModel } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* AccountsApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @summary Register a patient <br>Create a user account on Identity Server
|
|
25
|
+
* @param {RegisterPatientCommand} [registerPatientCommand]
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
apiV2AccountsPost: (registerPatientCommand?: RegisterPatientCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* AccountsApi - functional programming interface
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary Register a patient <br>Create a user account on Identity Server
|
|
39
|
+
* @param {RegisterPatientCommand} [registerPatientCommand]
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
apiV2AccountsPost(registerPatientCommand?: RegisterPatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredAccountModel>>;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* AccountsApi - factory interface
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Register a patient <br>Create a user account on Identity Server
|
|
53
|
+
* @param {RegisterPatientCommand} [registerPatientCommand]
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
apiV2AccountsPost(registerPatientCommand?: RegisterPatientCommand, options?: any): AxiosPromise<RegisteredAccountModel>;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Request parameters for apiV2AccountsPost operation in AccountsApi.
|
|
61
|
+
* @export
|
|
62
|
+
* @interface AccountsApiApiV2AccountsPostRequest
|
|
63
|
+
*/
|
|
64
|
+
export interface AccountsApiApiV2AccountsPostRequest {
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {RegisterPatientCommand}
|
|
68
|
+
* @memberof AccountsApiApiV2AccountsPost
|
|
69
|
+
*/
|
|
70
|
+
readonly registerPatientCommand?: RegisterPatientCommand;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* AccountsApi - object-oriented interface
|
|
74
|
+
* @export
|
|
75
|
+
* @class AccountsApi
|
|
76
|
+
* @extends {BaseAPI}
|
|
77
|
+
*/
|
|
78
|
+
export declare class AccountsApi extends BaseAPI {
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @summary Register a patient <br>Create a user account on Identity Server
|
|
82
|
+
* @param {AccountsApiApiV2AccountsPostRequest} requestParameters Request parameters.
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
* @memberof AccountsApi
|
|
86
|
+
*/
|
|
87
|
+
apiV2AccountsPost(requestParameters?: AccountsApiApiV2AccountsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisteredAccountModel, any>>;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=accounts-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts-api.d.ts","sourceRoot":"","sources":["../../src/api/accounts-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;AAI7F,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD;;;GAGG;AACH,eAAO,MAAM,4BAA4B,mBAA6B,aAAa;IAE3E;;;;;;OAMG;iDACgD,sBAAsB,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CAgCzI,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,mBAA4B,aAAa;IAG3D;;;;;;OAMG;+CAC8C,sBAAsB,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,sBAAsB,CAAC;CAKzM,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAG3G;;;;;;OAMG;+CACwC,sBAAsB,YAAY,GAAG,GAAG,aAAa,sBAAsB,CAAC;CAI9H,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,QAAQ,CAAC,sBAAsB,CAAC,EAAE,sBAAsB,CAAA;CAC3D;AAED;;;;;GAKG;AACH,qBAAa,WAAY,SAAQ,OAAO;IACpC;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,GAAE,mCAAwC,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGrH"}
|
|
@@ -0,0 +1,216 @@
|
|
|
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.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = 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
|
+
* AccountsApi - axios parameter creator
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
var AccountsApiAxiosParamCreator = function (configuration) {
|
|
93
|
+
var _this = this;
|
|
94
|
+
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Register a patient <br>Create a user account on Identity Server
|
|
98
|
+
* @param {RegisterPatientCommand} [registerPatientCommand]
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
apiV2AccountsPost: function (registerPatientCommand, options) {
|
|
103
|
+
if (options === void 0) { options = {}; }
|
|
104
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
105
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
return __generator(this, function (_a) {
|
|
107
|
+
switch (_a.label) {
|
|
108
|
+
case 0:
|
|
109
|
+
localVarPath = "/api/v2/accounts";
|
|
110
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
111
|
+
if (configuration) {
|
|
112
|
+
baseOptions = configuration.baseOptions;
|
|
113
|
+
}
|
|
114
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
115
|
+
localVarHeaderParameter = {};
|
|
116
|
+
localVarQueryParameter = {};
|
|
117
|
+
// authentication oauth2 required
|
|
118
|
+
// oauth required
|
|
119
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)];
|
|
120
|
+
case 1:
|
|
121
|
+
// authentication oauth2 required
|
|
122
|
+
// oauth required
|
|
123
|
+
_a.sent();
|
|
124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
125
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
126
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
128
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(registerPatientCommand, localVarRequestOptions, configuration);
|
|
129
|
+
return [2 /*return*/, {
|
|
130
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
131
|
+
options: localVarRequestOptions,
|
|
132
|
+
}];
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
|
|
140
|
+
/**
|
|
141
|
+
* AccountsApi - functional programming interface
|
|
142
|
+
* @export
|
|
143
|
+
*/
|
|
144
|
+
var AccountsApiFp = function (configuration) {
|
|
145
|
+
var localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
|
|
146
|
+
return {
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @summary Register a patient <br>Create a user account on Identity Server
|
|
150
|
+
* @param {RegisterPatientCommand} [registerPatientCommand]
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
apiV2AccountsPost: function (registerPatientCommand, options) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
156
|
+
var localVarAxiosArgs;
|
|
157
|
+
return __generator(this, function (_a) {
|
|
158
|
+
switch (_a.label) {
|
|
159
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AccountsPost(registerPatientCommand, options)];
|
|
160
|
+
case 1:
|
|
161
|
+
localVarAxiosArgs = _a.sent();
|
|
162
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
},
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
exports.AccountsApiFp = AccountsApiFp;
|
|
170
|
+
/**
|
|
171
|
+
* AccountsApi - factory interface
|
|
172
|
+
* @export
|
|
173
|
+
*/
|
|
174
|
+
var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
175
|
+
var localVarFp = (0, exports.AccountsApiFp)(configuration);
|
|
176
|
+
return {
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @summary Register a patient <br>Create a user account on Identity Server
|
|
180
|
+
* @param {RegisterPatientCommand} [registerPatientCommand]
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
apiV2AccountsPost: function (registerPatientCommand, options) {
|
|
185
|
+
return localVarFp.apiV2AccountsPost(registerPatientCommand, options).then(function (request) { return request(axios, basePath); });
|
|
186
|
+
},
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
exports.AccountsApiFactory = AccountsApiFactory;
|
|
190
|
+
/**
|
|
191
|
+
* AccountsApi - object-oriented interface
|
|
192
|
+
* @export
|
|
193
|
+
* @class AccountsApi
|
|
194
|
+
* @extends {BaseAPI}
|
|
195
|
+
*/
|
|
196
|
+
var AccountsApi = /** @class */ (function (_super) {
|
|
197
|
+
__extends(AccountsApi, _super);
|
|
198
|
+
function AccountsApi() {
|
|
199
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @summary Register a patient <br>Create a user account on Identity Server
|
|
204
|
+
* @param {AccountsApiApiV2AccountsPostRequest} requestParameters Request parameters.
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
* @memberof AccountsApi
|
|
208
|
+
*/
|
|
209
|
+
AccountsApi.prototype.apiV2AccountsPost = function (requestParameters, options) {
|
|
210
|
+
var _this = this;
|
|
211
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
212
|
+
return (0, exports.AccountsApiFp)(this.configuration).apiV2AccountsPost(requestParameters.registerPatientCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
213
|
+
};
|
|
214
|
+
return AccountsApi;
|
|
215
|
+
}(base_1.BaseAPI));
|
|
216
|
+
exports.AccountsApi = AccountsApi;
|
|
@@ -24,10 +24,11 @@ export declare const FormTemplatesApiAxiosParamCreator: (configuration?: Configu
|
|
|
24
24
|
* @param {string} formTemplateId
|
|
25
25
|
* @param {string} [languageCode]
|
|
26
26
|
* @param {string} [previewSecret]
|
|
27
|
+
* @param {string} [hospitalId]
|
|
27
28
|
* @param {*} [options] Override http request option.
|
|
28
29
|
* @throws {RequiredError}
|
|
29
30
|
*/
|
|
30
|
-
apiV2FormtemplatesFormTemplateIdGet: (formTemplateId: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
apiV2FormtemplatesFormTemplateIdGet: (formTemplateId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* FormTemplatesApi - functional programming interface
|
|
@@ -40,10 +41,11 @@ export declare const FormTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
40
41
|
* @param {string} formTemplateId
|
|
41
42
|
* @param {string} [languageCode]
|
|
42
43
|
* @param {string} [previewSecret]
|
|
44
|
+
* @param {string} [hospitalId]
|
|
43
45
|
* @param {*} [options] Override http request option.
|
|
44
46
|
* @throws {RequiredError}
|
|
45
47
|
*/
|
|
46
|
-
apiV2FormtemplatesFormTemplateIdGet(formTemplateId: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FormTemplateModel>>;
|
|
48
|
+
apiV2FormtemplatesFormTemplateIdGet(formTemplateId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FormTemplateModel>>;
|
|
47
49
|
};
|
|
48
50
|
/**
|
|
49
51
|
* FormTemplatesApi - factory interface
|
|
@@ -56,10 +58,11 @@ export declare const FormTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
56
58
|
* @param {string} formTemplateId
|
|
57
59
|
* @param {string} [languageCode]
|
|
58
60
|
* @param {string} [previewSecret]
|
|
61
|
+
* @param {string} [hospitalId]
|
|
59
62
|
* @param {*} [options] Override http request option.
|
|
60
63
|
* @throws {RequiredError}
|
|
61
64
|
*/
|
|
62
|
-
apiV2FormtemplatesFormTemplateIdGet(formTemplateId: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<FormTemplateModel>;
|
|
65
|
+
apiV2FormtemplatesFormTemplateIdGet(formTemplateId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: any): AxiosPromise<FormTemplateModel>;
|
|
63
66
|
};
|
|
64
67
|
/**
|
|
65
68
|
* Request parameters for apiV2FormtemplatesFormTemplateIdGet operation in FormTemplatesApi.
|
|
@@ -85,6 +88,12 @@ export interface FormTemplatesApiApiV2FormtemplatesFormTemplateIdGetRequest {
|
|
|
85
88
|
* @memberof FormTemplatesApiApiV2FormtemplatesFormTemplateIdGet
|
|
86
89
|
*/
|
|
87
90
|
readonly previewSecret?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof FormTemplatesApiApiV2FormtemplatesFormTemplateIdGet
|
|
95
|
+
*/
|
|
96
|
+
readonly hospitalId?: string;
|
|
88
97
|
}
|
|
89
98
|
/**
|
|
90
99
|
* FormTemplatesApi - object-oriented interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-templates-api.d.ts","sourceRoot":"","sources":["../../src/api/form-templates-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,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C;;;GAGG;AACH,eAAO,MAAM,iCAAiC,mBAA6B,aAAa;IAEhF
|
|
1
|
+
{"version":3,"file":"form-templates-api.d.ts","sourceRoot":"","sources":["../../src/api/form-templates-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,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C;;;GAGG;AACH,eAAO,MAAM,iCAAiC,mBAA6B,aAAa;IAEhF;;;;;;;;;OASG;0DACyD,MAAM,iBAAiB,MAAM,kBAAkB,MAAM,eAAe,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CAwCtM,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,mBAA4B,aAAa;IAGhE;;;;;;;;;OASG;wDACuD,MAAM,iBAAiB,MAAM,kBAAkB,MAAM,eAAe,MAAM,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,iBAAiB,CAAC;CAKjQ,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAGhH;;;;;;;;;OASG;wDACiD,MAAM,iBAAiB,MAAM,kBAAkB,MAAM,eAAe,MAAM,YAAY,GAAG,GAAG,aAAa,iBAAiB,CAAC;CAItL,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,0DAA0D;IACvE;;;;OAIG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;IAE/B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAE9B;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;IAE/B;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAC/B;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,OAAO;IACzC;;;;;;;OAOG;IACI,mCAAmC,CAAC,iBAAiB,EAAE,0DAA0D,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGzJ"}
|
|
@@ -98,10 +98,11 @@ var FormTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
* @param {string} formTemplateId
|
|
99
99
|
* @param {string} [languageCode]
|
|
100
100
|
* @param {string} [previewSecret]
|
|
101
|
+
* @param {string} [hospitalId]
|
|
101
102
|
* @param {*} [options] Override http request option.
|
|
102
103
|
* @throws {RequiredError}
|
|
103
104
|
*/
|
|
104
|
-
apiV2FormtemplatesFormTemplateIdGet: function (formTemplateId, languageCode, previewSecret, options) {
|
|
105
|
+
apiV2FormtemplatesFormTemplateIdGet: function (formTemplateId, languageCode, previewSecret, hospitalId, options) {
|
|
105
106
|
if (options === void 0) { options = {}; }
|
|
106
107
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
108
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -123,6 +124,9 @@ var FormTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
123
124
|
if (previewSecret !== undefined) {
|
|
124
125
|
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
125
126
|
}
|
|
127
|
+
if (hospitalId !== undefined) {
|
|
128
|
+
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
129
|
+
}
|
|
126
130
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
127
131
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
132
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -149,15 +153,16 @@ var FormTemplatesApiFp = function (configuration) {
|
|
|
149
153
|
* @param {string} formTemplateId
|
|
150
154
|
* @param {string} [languageCode]
|
|
151
155
|
* @param {string} [previewSecret]
|
|
156
|
+
* @param {string} [hospitalId]
|
|
152
157
|
* @param {*} [options] Override http request option.
|
|
153
158
|
* @throws {RequiredError}
|
|
154
159
|
*/
|
|
155
|
-
apiV2FormtemplatesFormTemplateIdGet: function (formTemplateId, languageCode, previewSecret, options) {
|
|
160
|
+
apiV2FormtemplatesFormTemplateIdGet: function (formTemplateId, languageCode, previewSecret, hospitalId, options) {
|
|
156
161
|
return __awaiter(this, void 0, void 0, function () {
|
|
157
162
|
var localVarAxiosArgs;
|
|
158
163
|
return __generator(this, function (_a) {
|
|
159
164
|
switch (_a.label) {
|
|
160
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FormtemplatesFormTemplateIdGet(formTemplateId, languageCode, previewSecret, options)];
|
|
165
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2FormtemplatesFormTemplateIdGet(formTemplateId, languageCode, previewSecret, hospitalId, options)];
|
|
161
166
|
case 1:
|
|
162
167
|
localVarAxiosArgs = _a.sent();
|
|
163
168
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -181,11 +186,12 @@ var FormTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
181
186
|
* @param {string} formTemplateId
|
|
182
187
|
* @param {string} [languageCode]
|
|
183
188
|
* @param {string} [previewSecret]
|
|
189
|
+
* @param {string} [hospitalId]
|
|
184
190
|
* @param {*} [options] Override http request option.
|
|
185
191
|
* @throws {RequiredError}
|
|
186
192
|
*/
|
|
187
|
-
apiV2FormtemplatesFormTemplateIdGet: function (formTemplateId, languageCode, previewSecret, options) {
|
|
188
|
-
return localVarFp.apiV2FormtemplatesFormTemplateIdGet(formTemplateId, languageCode, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
193
|
+
apiV2FormtemplatesFormTemplateIdGet: function (formTemplateId, languageCode, previewSecret, hospitalId, options) {
|
|
194
|
+
return localVarFp.apiV2FormtemplatesFormTemplateIdGet(formTemplateId, languageCode, previewSecret, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
189
195
|
},
|
|
190
196
|
};
|
|
191
197
|
};
|
|
@@ -211,7 +217,7 @@ var FormTemplatesApi = /** @class */ (function (_super) {
|
|
|
211
217
|
*/
|
|
212
218
|
FormTemplatesApi.prototype.apiV2FormtemplatesFormTemplateIdGet = function (requestParameters, options) {
|
|
213
219
|
var _this = this;
|
|
214
|
-
return (0, exports.FormTemplatesApiFp)(this.configuration).apiV2FormtemplatesFormTemplateIdGet(requestParameters.formTemplateId, requestParameters.languageCode, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
220
|
+
return (0, exports.FormTemplatesApiFp)(this.configuration).apiV2FormtemplatesFormTemplateIdGet(requestParameters.formTemplateId, requestParameters.languageCode, requestParameters.previewSecret, requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
215
221
|
};
|
|
216
222
|
return FormTemplatesApi;
|
|
217
223
|
}(base_1.BaseAPI));
|
|
@@ -24,10 +24,11 @@ export declare const SurveyFormsApiAxiosParamCreator: (configuration?: Configura
|
|
|
24
24
|
* @param {string} surveyFormId
|
|
25
25
|
* @param {string} [languageCode]
|
|
26
26
|
* @param {string} [previewSecret]
|
|
27
|
+
* @param {string} [hospitalId]
|
|
27
28
|
* @param {*} [options] Override http request option.
|
|
28
29
|
* @throws {RequiredError}
|
|
29
30
|
*/
|
|
30
|
-
apiV2SurveyformsSurveyFormIdGet: (surveyFormId: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
apiV2SurveyformsSurveyFormIdGet: (surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* SurveyFormsApi - functional programming interface
|
|
@@ -40,10 +41,11 @@ export declare const SurveyFormsApiFp: (configuration?: Configuration) => {
|
|
|
40
41
|
* @param {string} surveyFormId
|
|
41
42
|
* @param {string} [languageCode]
|
|
42
43
|
* @param {string} [previewSecret]
|
|
44
|
+
* @param {string} [hospitalId]
|
|
43
45
|
* @param {*} [options] Override http request option.
|
|
44
46
|
* @throws {RequiredError}
|
|
45
47
|
*/
|
|
46
|
-
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormModel>>;
|
|
48
|
+
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormModel>>;
|
|
47
49
|
};
|
|
48
50
|
/**
|
|
49
51
|
* SurveyFormsApi - factory interface
|
|
@@ -56,10 +58,11 @@ export declare const SurveyFormsApiFactory: (configuration?: Configuration, base
|
|
|
56
58
|
* @param {string} surveyFormId
|
|
57
59
|
* @param {string} [languageCode]
|
|
58
60
|
* @param {string} [previewSecret]
|
|
61
|
+
* @param {string} [hospitalId]
|
|
59
62
|
* @param {*} [options] Override http request option.
|
|
60
63
|
* @throws {RequiredError}
|
|
61
64
|
*/
|
|
62
|
-
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<SurveyFormModel>;
|
|
65
|
+
apiV2SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, previewSecret?: string, hospitalId?: string, options?: any): AxiosPromise<SurveyFormModel>;
|
|
63
66
|
};
|
|
64
67
|
/**
|
|
65
68
|
* Request parameters for apiV2SurveyformsSurveyFormIdGet operation in SurveyFormsApi.
|
|
@@ -85,6 +88,12 @@ export interface SurveyFormsApiApiV2SurveyformsSurveyFormIdGetRequest {
|
|
|
85
88
|
* @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet
|
|
86
89
|
*/
|
|
87
90
|
readonly previewSecret?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof SurveyFormsApiApiV2SurveyformsSurveyFormIdGet
|
|
95
|
+
*/
|
|
96
|
+
readonly hospitalId?: string;
|
|
88
97
|
}
|
|
89
98
|
/**
|
|
90
99
|
* SurveyFormsApi - object-oriented interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"survey-forms-api.d.ts","sourceRoot":"","sources":["../../src/api/survey-forms-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,+BAA+B,mBAA6B,aAAa;IAE9E
|
|
1
|
+
{"version":3,"file":"survey-forms-api.d.ts","sourceRoot":"","sources":["../../src/api/survey-forms-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,+BAA+B,mBAA6B,aAAa;IAE9E;;;;;;;;;OASG;oDACmD,MAAM,iBAAiB,MAAM,kBAAkB,MAAM,eAAe,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CAwChM,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,mBAA4B,aAAa;IAG9D;;;;;;;;;OASG;kDACiD,MAAM,iBAAiB,MAAM,kBAAkB,MAAM,eAAe,MAAM,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,eAAe,CAAC;CAKzP,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAG9G;;;;;;;;;OASG;kDAC2C,MAAM,iBAAiB,MAAM,kBAAkB,MAAM,eAAe,MAAM,YAAY,GAAG,GAAG,aAAa,eAAe,CAAC;CAI9K,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,oDAAoD;IACjE;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAE9B;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;IAE/B;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAC/B;AAED;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,OAAO;IACvC;;;;;;;OAOG;IACI,+BAA+B,CAAC,iBAAiB,EAAE,oDAAoD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAG/I"}
|
|
@@ -98,10 +98,11 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
* @param {string} surveyFormId
|
|
99
99
|
* @param {string} [languageCode]
|
|
100
100
|
* @param {string} [previewSecret]
|
|
101
|
+
* @param {string} [hospitalId]
|
|
101
102
|
* @param {*} [options] Override http request option.
|
|
102
103
|
* @throws {RequiredError}
|
|
103
104
|
*/
|
|
104
|
-
apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, previewSecret, options) {
|
|
105
|
+
apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, previewSecret, hospitalId, options) {
|
|
105
106
|
if (options === void 0) { options = {}; }
|
|
106
107
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
108
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -123,6 +124,9 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
123
124
|
if (previewSecret !== undefined) {
|
|
124
125
|
localVarQueryParameter['previewSecret'] = previewSecret;
|
|
125
126
|
}
|
|
127
|
+
if (hospitalId !== undefined) {
|
|
128
|
+
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
129
|
+
}
|
|
126
130
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
127
131
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
132
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -149,15 +153,16 @@ var SurveyFormsApiFp = function (configuration) {
|
|
|
149
153
|
* @param {string} surveyFormId
|
|
150
154
|
* @param {string} [languageCode]
|
|
151
155
|
* @param {string} [previewSecret]
|
|
156
|
+
* @param {string} [hospitalId]
|
|
152
157
|
* @param {*} [options] Override http request option.
|
|
153
158
|
* @throws {RequiredError}
|
|
154
159
|
*/
|
|
155
|
-
apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, previewSecret, options) {
|
|
160
|
+
apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, previewSecret, hospitalId, options) {
|
|
156
161
|
return __awaiter(this, void 0, void 0, function () {
|
|
157
162
|
var localVarAxiosArgs;
|
|
158
163
|
return __generator(this, function (_a) {
|
|
159
164
|
switch (_a.label) {
|
|
160
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, previewSecret, options)];
|
|
165
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, previewSecret, hospitalId, options)];
|
|
161
166
|
case 1:
|
|
162
167
|
localVarAxiosArgs = _a.sent();
|
|
163
168
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -181,11 +186,12 @@ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
|
|
|
181
186
|
* @param {string} surveyFormId
|
|
182
187
|
* @param {string} [languageCode]
|
|
183
188
|
* @param {string} [previewSecret]
|
|
189
|
+
* @param {string} [hospitalId]
|
|
184
190
|
* @param {*} [options] Override http request option.
|
|
185
191
|
* @throws {RequiredError}
|
|
186
192
|
*/
|
|
187
|
-
apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, previewSecret, options) {
|
|
188
|
-
return localVarFp.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
193
|
+
apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, previewSecret, hospitalId, options) {
|
|
194
|
+
return localVarFp.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, previewSecret, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
189
195
|
},
|
|
190
196
|
};
|
|
191
197
|
};
|
|
@@ -211,7 +217,7 @@ var SurveyFormsApi = /** @class */ (function (_super) {
|
|
|
211
217
|
*/
|
|
212
218
|
SurveyFormsApi.prototype.apiV2SurveyformsSurveyFormIdGet = function (requestParameters, options) {
|
|
213
219
|
var _this = this;
|
|
214
|
-
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV2SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
220
|
+
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV2SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.previewSecret, requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
215
221
|
};
|
|
216
222
|
return SurveyFormsApi;
|
|
217
223
|
}(base_1.BaseAPI));
|
package/lib/api.d.ts
CHANGED
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,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,uBAAuB,CAAC;AACtC,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,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"}
|
|
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,uBAAuB,CAAC;AACtC,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,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
|
@@ -28,6 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/about-us-api"), exports);
|
|
31
|
+
__exportStar(require("./api/accounts-api"), exports);
|
|
31
32
|
__exportStar(require("./api/accreditations-api"), exports);
|
|
32
33
|
__exportStar(require("./api/app-version-api"), exports);
|
|
33
34
|
__exportStar(require("./api/appointments-api"), exports);
|
|
@@ -0,0 +1,49 @@
|
|
|
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 FormTemplateAffiliationModel
|
|
16
|
+
*/
|
|
17
|
+
export interface FormTemplateAffiliationModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FormTemplateAffiliationModel
|
|
22
|
+
*/
|
|
23
|
+
'hospitalId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FormTemplateAffiliationModel
|
|
28
|
+
*/
|
|
29
|
+
'hospitalName'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FormTemplateAffiliationModel
|
|
34
|
+
*/
|
|
35
|
+
'hospitalLogo'?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FormTemplateAffiliationModel
|
|
40
|
+
*/
|
|
41
|
+
'hospitalWebsiteUrl'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof FormTemplateAffiliationModel
|
|
46
|
+
*/
|
|
47
|
+
'urlAfterDone'?: string | null;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=form-template-affiliation-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-template-affiliation-model.d.ts","sourceRoot":"","sources":["../../src/models/form-template-affiliation-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
|