ch-admin-api-client-typescript 5.34.0 → 5.35.2
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/form-results-api.d.ts +366 -0
- package/lib/api/form-results-api.d.ts.map +1 -0
- package/lib/api/form-results-api.js +567 -0
- package/lib/api/form-templates-api.d.ts +431 -0
- package/lib/api/form-templates-api.d.ts.map +1 -0
- package/lib/api/form-templates-api.js +715 -0
- package/lib/api/message-webhooks-api.d.ts +55 -9
- package/lib/api/message-webhooks-api.d.ts.map +1 -1
- package/lib/api/message-webhooks-api.js +95 -10
- package/lib/api.d.ts +2 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +2 -0
- package/lib/models/form-field-input-model.d.ts +92 -0
- package/lib/models/form-field-input-model.d.ts.map +1 -0
- package/lib/models/form-field-model.d.ts +98 -0
- package/lib/models/form-field-model.d.ts.map +1 -0
- package/lib/models/form-field-model.js +15 -0
- package/lib/models/form-field-option-input-model.d.ts +49 -0
- package/lib/models/form-field-option-input-model.d.ts.map +1 -0
- package/lib/models/form-field-option-input-model.js +15 -0
- package/lib/models/form-field-option-model.d.ts +55 -0
- package/lib/models/form-field-option-model.d.ts.map +1 -0
- package/lib/models/form-field-option-model.js +15 -0
- package/lib/models/form-result-field-model.d.ts +86 -0
- package/lib/models/form-result-field-model.d.ts.map +1 -0
- package/lib/models/form-result-field-model.js +15 -0
- package/lib/models/form-result-item-model.d.ts +87 -0
- package/lib/models/form-result-item-model.d.ts.map +1 -0
- package/lib/models/form-result-item-model.js +15 -0
- package/lib/models/form-result-model.d.ts +94 -0
- package/lib/models/form-result-model.d.ts.map +1 -0
- package/lib/models/form-result-model.js +15 -0
- package/lib/models/form-result-section-model.d.ts +62 -0
- package/lib/models/form-result-section-model.d.ts.map +1 -0
- package/lib/models/form-result-section-model.js +15 -0
- package/lib/models/form-result-status.d.ts +23 -0
- package/lib/models/form-result-status.d.ts.map +1 -0
- package/lib/models/form-result-status.js +26 -0
- package/lib/models/form-result-value-model.d.ts +43 -0
- package/lib/models/form-result-value-model.d.ts.map +1 -0
- package/lib/models/form-result-value-model.js +15 -0
- package/lib/models/form-results-model.d.ts +33 -0
- package/lib/models/form-results-model.d.ts.map +1 -0
- package/lib/models/form-results-model.js +15 -0
- package/lib/models/form-section-input-model.d.ts +56 -0
- package/lib/models/form-section-input-model.d.ts.map +1 -0
- package/lib/models/form-section-input-model.js +15 -0
- package/lib/models/form-section-model.d.ts +62 -0
- package/lib/models/form-section-model.d.ts.map +1 -0
- package/lib/models/form-section-model.js +15 -0
- package/lib/models/form-template-item-model.d.ts +89 -0
- package/lib/models/form-template-item-model.d.ts.map +1 -0
- package/lib/models/form-template-item-model.js +15 -0
- package/lib/models/form-template-model.d.ts +114 -0
- package/lib/models/form-template-model.d.ts.map +1 -0
- package/lib/models/form-template-model.js +15 -0
- package/lib/models/form-template-platform.d.ts +22 -0
- package/lib/models/form-template-platform.d.ts.map +1 -0
- package/lib/models/{toggle-message-webhook-command.d.ts → form-template-platform.js} +10 -10
- package/lib/models/form-template-status.d.ts +22 -0
- package/lib/models/form-template-status.d.ts.map +1 -0
- package/lib/models/form-template-status.js +25 -0
- package/lib/models/form-template-type.d.ts +23 -0
- package/lib/models/form-template-type.d.ts.map +1 -0
- package/lib/models/form-template-type.js +26 -0
- package/lib/models/form-templates-model.d.ts +33 -0
- package/lib/models/form-templates-model.d.ts.map +1 -0
- package/lib/models/form-templates-model.js +15 -0
- package/lib/models/index.d.ts +22 -1
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +22 -1
- package/lib/models/message-webhook-model.d.ts +18 -0
- package/lib/models/message-webhook-model.d.ts.map +1 -1
- package/lib/models/register-message-webhook-command.d.ts +18 -0
- package/lib/models/register-message-webhook-command.d.ts.map +1 -1
- package/lib/models/save-form-template-command.d.ts +89 -0
- package/lib/models/save-form-template-command.d.ts.map +1 -0
- package/lib/models/save-form-template-command.js +15 -0
- package/lib/models/update-form-result-command.d.ts +32 -0
- package/lib/models/update-form-result-command.d.ts.map +1 -0
- package/lib/models/update-form-result-command.js +15 -0
- package/lib/models/update-message-webhook-command.d.ts +43 -0
- package/lib/models/update-message-webhook-command.d.ts.map +1 -0
- package/lib/models/update-message-webhook-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +24 -1
- package/src/api/form-results-api.ts +628 -0
- package/src/api/form-templates-api.ts +752 -0
- package/src/api/message-webhooks-api.ts +98 -13
- package/src/api.ts +2 -0
- package/src/models/form-field-input-model.ts +99 -0
- package/src/models/form-field-model.ts +105 -0
- package/src/models/form-field-option-input-model.ts +54 -0
- package/src/models/form-field-option-model.ts +60 -0
- package/src/models/form-result-field-model.ts +93 -0
- package/src/models/form-result-item-model.ts +96 -0
- package/src/models/form-result-model.ts +105 -0
- package/src/models/form-result-section-model.ts +69 -0
- package/src/models/form-result-status.ts +32 -0
- package/src/models/form-result-value-model.ts +48 -0
- package/src/models/form-results-model.ts +42 -0
- package/src/models/form-section-input-model.ts +63 -0
- package/src/models/form-section-model.ts +69 -0
- package/src/models/form-template-item-model.ts +102 -0
- package/src/models/form-template-model.ts +129 -0
- package/src/models/form-template-platform.ts +31 -0
- package/src/models/{toggle-message-webhook-command.ts → form-template-status.ts} +10 -9
- package/src/models/form-template-type.ts +32 -0
- package/src/models/form-templates-model.ts +42 -0
- package/src/models/index.ts +22 -1
- package/src/models/message-webhook-model.ts +18 -0
- package/src/models/register-message-webhook-command.ts +18 -0
- package/src/models/save-form-template-command.ts +102 -0
- package/src/models/update-form-result-command.ts +39 -0
- package/src/models/update-message-webhook-command.ts +48 -0
- package/lib/models/toggle-message-webhook-command.d.ts.map +0 -1
- /package/lib/models/{toggle-message-webhook-command.js → form-field-input-model.js} +0 -0
|
@@ -14,7 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { MessageWebhookModel } from '../models';
|
|
16
16
|
import { RegisterMessageWebhookCommand } from '../models';
|
|
17
|
-
import {
|
|
17
|
+
import { UpdateMessageWebhookCommand } from '../models';
|
|
18
18
|
/**
|
|
19
19
|
* MessageWebhooksApi - axios parameter creator
|
|
20
20
|
* @export
|
|
@@ -28,6 +28,14 @@ export declare const MessageWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
30
|
apiV1MessagewebhooksHospitalIdGet: (hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Get list of message webhooks related to the hospital
|
|
34
|
+
* @param {string} hospitalId
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
apiV1MessagewebhooksHospitalIdWhatsappGet: (hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
39
|
/**
|
|
32
40
|
*
|
|
33
41
|
* @summary Create message webhook on CH-Message-Broker
|
|
@@ -48,11 +56,11 @@ export declare const MessageWebhooksApiAxiosParamCreator: (configuration?: Confi
|
|
|
48
56
|
*
|
|
49
57
|
* @summary Update message webhook by webhookId
|
|
50
58
|
* @param {string} webhookId
|
|
51
|
-
* @param {
|
|
59
|
+
* @param {UpdateMessageWebhookCommand} [updateMessageWebhookCommand]
|
|
52
60
|
* @param {*} [options] Override http request option.
|
|
53
61
|
* @throws {RequiredError}
|
|
54
62
|
*/
|
|
55
|
-
apiV1MessagewebhooksWebhookIdPut: (webhookId: string,
|
|
63
|
+
apiV1MessagewebhooksWebhookIdPut: (webhookId: string, updateMessageWebhookCommand?: UpdateMessageWebhookCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
64
|
};
|
|
57
65
|
/**
|
|
58
66
|
* MessageWebhooksApi - functional programming interface
|
|
@@ -67,6 +75,14 @@ export declare const MessageWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
67
75
|
* @throws {RequiredError}
|
|
68
76
|
*/
|
|
69
77
|
apiV1MessagewebhooksHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MessageWebhookModel>>>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @summary Get list of message webhooks related to the hospital
|
|
81
|
+
* @param {string} hospitalId
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
apiV1MessagewebhooksHospitalIdWhatsappGet(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageWebhookModel>>;
|
|
70
86
|
/**
|
|
71
87
|
*
|
|
72
88
|
* @summary Create message webhook on CH-Message-Broker
|
|
@@ -87,11 +103,11 @@ export declare const MessageWebhooksApiFp: (configuration?: Configuration) => {
|
|
|
87
103
|
*
|
|
88
104
|
* @summary Update message webhook by webhookId
|
|
89
105
|
* @param {string} webhookId
|
|
90
|
-
* @param {
|
|
106
|
+
* @param {UpdateMessageWebhookCommand} [updateMessageWebhookCommand]
|
|
91
107
|
* @param {*} [options] Override http request option.
|
|
92
108
|
* @throws {RequiredError}
|
|
93
109
|
*/
|
|
94
|
-
apiV1MessagewebhooksWebhookIdPut(webhookId: string,
|
|
110
|
+
apiV1MessagewebhooksWebhookIdPut(webhookId: string, updateMessageWebhookCommand?: UpdateMessageWebhookCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageWebhookModel>>;
|
|
95
111
|
};
|
|
96
112
|
/**
|
|
97
113
|
* MessageWebhooksApi - factory interface
|
|
@@ -106,6 +122,14 @@ export declare const MessageWebhooksApiFactory: (configuration?: Configuration,
|
|
|
106
122
|
* @throws {RequiredError}
|
|
107
123
|
*/
|
|
108
124
|
apiV1MessagewebhooksHospitalIdGet(hospitalId: string, options?: any): AxiosPromise<Array<MessageWebhookModel>>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @summary Get list of message webhooks related to the hospital
|
|
128
|
+
* @param {string} hospitalId
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
apiV1MessagewebhooksHospitalIdWhatsappGet(hospitalId: string, options?: any): AxiosPromise<MessageWebhookModel>;
|
|
109
133
|
/**
|
|
110
134
|
*
|
|
111
135
|
* @summary Create message webhook on CH-Message-Broker
|
|
@@ -126,11 +150,11 @@ export declare const MessageWebhooksApiFactory: (configuration?: Configuration,
|
|
|
126
150
|
*
|
|
127
151
|
* @summary Update message webhook by webhookId
|
|
128
152
|
* @param {string} webhookId
|
|
129
|
-
* @param {
|
|
153
|
+
* @param {UpdateMessageWebhookCommand} [updateMessageWebhookCommand]
|
|
130
154
|
* @param {*} [options] Override http request option.
|
|
131
155
|
* @throws {RequiredError}
|
|
132
156
|
*/
|
|
133
|
-
apiV1MessagewebhooksWebhookIdPut(webhookId: string,
|
|
157
|
+
apiV1MessagewebhooksWebhookIdPut(webhookId: string, updateMessageWebhookCommand?: UpdateMessageWebhookCommand, options?: any): AxiosPromise<MessageWebhookModel>;
|
|
134
158
|
};
|
|
135
159
|
/**
|
|
136
160
|
* Request parameters for apiV1MessagewebhooksHospitalIdGet operation in MessageWebhooksApi.
|
|
@@ -145,6 +169,19 @@ export interface MessageWebhooksApiApiV1MessagewebhooksHospitalIdGetRequest {
|
|
|
145
169
|
*/
|
|
146
170
|
readonly hospitalId: string;
|
|
147
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* Request parameters for apiV1MessagewebhooksHospitalIdWhatsappGet operation in MessageWebhooksApi.
|
|
174
|
+
* @export
|
|
175
|
+
* @interface MessageWebhooksApiApiV1MessagewebhooksHospitalIdWhatsappGetRequest
|
|
176
|
+
*/
|
|
177
|
+
export interface MessageWebhooksApiApiV1MessagewebhooksHospitalIdWhatsappGetRequest {
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof MessageWebhooksApiApiV1MessagewebhooksHospitalIdWhatsappGet
|
|
182
|
+
*/
|
|
183
|
+
readonly hospitalId: string;
|
|
184
|
+
}
|
|
148
185
|
/**
|
|
149
186
|
* Request parameters for apiV1MessagewebhooksPost operation in MessageWebhooksApi.
|
|
150
187
|
* @export
|
|
@@ -185,10 +222,10 @@ export interface MessageWebhooksApiApiV1MessagewebhooksWebhookIdPutRequest {
|
|
|
185
222
|
readonly webhookId: string;
|
|
186
223
|
/**
|
|
187
224
|
*
|
|
188
|
-
* @type {
|
|
225
|
+
* @type {UpdateMessageWebhookCommand}
|
|
189
226
|
* @memberof MessageWebhooksApiApiV1MessagewebhooksWebhookIdPut
|
|
190
227
|
*/
|
|
191
|
-
readonly
|
|
228
|
+
readonly updateMessageWebhookCommand?: UpdateMessageWebhookCommand;
|
|
192
229
|
}
|
|
193
230
|
/**
|
|
194
231
|
* MessageWebhooksApi - object-oriented interface
|
|
@@ -206,6 +243,15 @@ export declare class MessageWebhooksApi extends BaseAPI {
|
|
|
206
243
|
* @memberof MessageWebhooksApi
|
|
207
244
|
*/
|
|
208
245
|
apiV1MessagewebhooksHospitalIdGet(requestParameters: MessageWebhooksApiApiV1MessagewebhooksHospitalIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MessageWebhookModel[], any>>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary Get list of message webhooks related to the hospital
|
|
249
|
+
* @param {MessageWebhooksApiApiV1MessagewebhooksHospitalIdWhatsappGetRequest} requestParameters Request parameters.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
* @memberof MessageWebhooksApi
|
|
253
|
+
*/
|
|
254
|
+
apiV1MessagewebhooksHospitalIdWhatsappGet(requestParameters: MessageWebhooksApiApiV1MessagewebhooksHospitalIdWhatsappGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MessageWebhookModel, any>>;
|
|
209
255
|
/**
|
|
210
256
|
*
|
|
211
257
|
* @summary Create message webhook on CH-Message-Broker
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-webhooks-api.d.ts","sourceRoot":"","sources":["../../src/api/message-webhooks-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;AAIhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAE1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AACxD;;;GAGG;AACH,eAAO,MAAM,mCAAmC,mBAA6B,aAAa;IAElF;;;;;;OAMG;oDACmD,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+BrH;;;;;;OAMG;+DAC8D,6BAA6B,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+BvJ;;;;;;OAMG;qDACoD,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+BtH;;;;;;;OAOG;kDACiD,MAAM,gCAAgC,2BAA2B,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CAmCrL,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,mBAA4B,aAAa;IAGlE;;;;;;OAMG;kDACiD,MAAM,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,MAAM,mBAAmB,CAAC,CAAC;IAIzL;;;;;;OAMG;6DAC4D,6BAA6B,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,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E,MAAM,CAAA;CAC9B;AAED;;;;GAIG;AACH,MAAM,WAAW,kEAAkE;IAC/E;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAC9B;AAED;;;;GAIG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;;;OAIG;IACH,QAAQ,CAAC,6BAA6B,CAAC,EAAE,6BAA6B,CAAA;CACzE;AAED;;;;GAIG;AACH,MAAM,WAAW,4DAA4D;IACzE;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,yDAAyD;IACtE;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,CAAA;CACrE;AAED;;;;;GAKG;AACH,qBAAa,kBAAmB,SAAQ,OAAO;IAC3C;;;;;;;OAOG;IACI,iCAAiC,CAAC,iBAAiB,EAAE,0DAA0D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIpJ;;;;;;;OAOG;IACI,yCAAyC,CAAC,iBAAiB,EAAE,kEAAkE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIpK;;;;;;;OAOG;IACI,wBAAwB,CAAC,iBAAiB,GAAE,iDAAsD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIvI;;;;;;;OAOG;IACI,mCAAmC,CAAC,iBAAiB,EAAE,4DAA4D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIxJ;;;;;;;OAOG;IACI,gCAAgC,CAAC,iBAAiB,EAAE,yDAAyD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGrJ"}
|
|
@@ -135,6 +135,49 @@ var MessageWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
135
135
|
});
|
|
136
136
|
});
|
|
137
137
|
},
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @summary Get list of message webhooks related to the hospital
|
|
141
|
+
* @param {string} hospitalId
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
apiV1MessagewebhooksHospitalIdWhatsappGet: function (hospitalId, options) {
|
|
146
|
+
if (options === void 0) { options = {}; }
|
|
147
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
148
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
149
|
+
return __generator(this, function (_a) {
|
|
150
|
+
switch (_a.label) {
|
|
151
|
+
case 0:
|
|
152
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
153
|
+
(0, common_1.assertParamExists)('apiV1MessagewebhooksHospitalIdWhatsappGet', 'hospitalId', hospitalId);
|
|
154
|
+
localVarPath = "/api/v1/messagewebhooks/{hospitalId}/whatsapp"
|
|
155
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
156
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
157
|
+
if (configuration) {
|
|
158
|
+
baseOptions = configuration.baseOptions;
|
|
159
|
+
}
|
|
160
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
161
|
+
localVarHeaderParameter = {};
|
|
162
|
+
localVarQueryParameter = {};
|
|
163
|
+
// authentication oauth2 required
|
|
164
|
+
// oauth required
|
|
165
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
166
|
+
case 1:
|
|
167
|
+
// authentication oauth2 required
|
|
168
|
+
// oauth required
|
|
169
|
+
_a.sent();
|
|
170
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
171
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
172
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
173
|
+
return [2 /*return*/, {
|
|
174
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
175
|
+
options: localVarRequestOptions,
|
|
176
|
+
}];
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
});
|
|
180
|
+
},
|
|
138
181
|
/**
|
|
139
182
|
*
|
|
140
183
|
* @summary Create message webhook on CH-Message-Broker
|
|
@@ -224,11 +267,11 @@ var MessageWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
224
267
|
*
|
|
225
268
|
* @summary Update message webhook by webhookId
|
|
226
269
|
* @param {string} webhookId
|
|
227
|
-
* @param {
|
|
270
|
+
* @param {UpdateMessageWebhookCommand} [updateMessageWebhookCommand]
|
|
228
271
|
* @param {*} [options] Override http request option.
|
|
229
272
|
* @throws {RequiredError}
|
|
230
273
|
*/
|
|
231
|
-
apiV1MessagewebhooksWebhookIdPut: function (webhookId,
|
|
274
|
+
apiV1MessagewebhooksWebhookIdPut: function (webhookId, updateMessageWebhookCommand, options) {
|
|
232
275
|
if (options === void 0) { options = {}; }
|
|
233
276
|
return __awaiter(_this, void 0, void 0, function () {
|
|
234
277
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -257,7 +300,7 @@ var MessageWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
257
300
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
258
301
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
302
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
260
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
303
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateMessageWebhookCommand, localVarRequestOptions, configuration);
|
|
261
304
|
return [2 /*return*/, {
|
|
262
305
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
263
306
|
options: localVarRequestOptions,
|
|
@@ -296,6 +339,26 @@ var MessageWebhooksApiFp = function (configuration) {
|
|
|
296
339
|
});
|
|
297
340
|
});
|
|
298
341
|
},
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @summary Get list of message webhooks related to the hospital
|
|
345
|
+
* @param {string} hospitalId
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
apiV1MessagewebhooksHospitalIdWhatsappGet: function (hospitalId, options) {
|
|
350
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
351
|
+
var localVarAxiosArgs;
|
|
352
|
+
return __generator(this, function (_a) {
|
|
353
|
+
switch (_a.label) {
|
|
354
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MessagewebhooksHospitalIdWhatsappGet(hospitalId, options)];
|
|
355
|
+
case 1:
|
|
356
|
+
localVarAxiosArgs = _a.sent();
|
|
357
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
});
|
|
361
|
+
},
|
|
299
362
|
/**
|
|
300
363
|
*
|
|
301
364
|
* @summary Create message webhook on CH-Message-Broker
|
|
@@ -340,16 +403,16 @@ var MessageWebhooksApiFp = function (configuration) {
|
|
|
340
403
|
*
|
|
341
404
|
* @summary Update message webhook by webhookId
|
|
342
405
|
* @param {string} webhookId
|
|
343
|
-
* @param {
|
|
406
|
+
* @param {UpdateMessageWebhookCommand} [updateMessageWebhookCommand]
|
|
344
407
|
* @param {*} [options] Override http request option.
|
|
345
408
|
* @throws {RequiredError}
|
|
346
409
|
*/
|
|
347
|
-
apiV1MessagewebhooksWebhookIdPut: function (webhookId,
|
|
410
|
+
apiV1MessagewebhooksWebhookIdPut: function (webhookId, updateMessageWebhookCommand, options) {
|
|
348
411
|
return __awaiter(this, void 0, void 0, function () {
|
|
349
412
|
var localVarAxiosArgs;
|
|
350
413
|
return __generator(this, function (_a) {
|
|
351
414
|
switch (_a.label) {
|
|
352
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MessagewebhooksWebhookIdPut(webhookId,
|
|
415
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1MessagewebhooksWebhookIdPut(webhookId, updateMessageWebhookCommand, options)];
|
|
353
416
|
case 1:
|
|
354
417
|
localVarAxiosArgs = _a.sent();
|
|
355
418
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -377,6 +440,16 @@ var MessageWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
377
440
|
apiV1MessagewebhooksHospitalIdGet: function (hospitalId, options) {
|
|
378
441
|
return localVarFp.apiV1MessagewebhooksHospitalIdGet(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
379
442
|
},
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @summary Get list of message webhooks related to the hospital
|
|
446
|
+
* @param {string} hospitalId
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
apiV1MessagewebhooksHospitalIdWhatsappGet: function (hospitalId, options) {
|
|
451
|
+
return localVarFp.apiV1MessagewebhooksHospitalIdWhatsappGet(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
452
|
+
},
|
|
380
453
|
/**
|
|
381
454
|
*
|
|
382
455
|
* @summary Create message webhook on CH-Message-Broker
|
|
@@ -401,12 +474,12 @@ var MessageWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
401
474
|
*
|
|
402
475
|
* @summary Update message webhook by webhookId
|
|
403
476
|
* @param {string} webhookId
|
|
404
|
-
* @param {
|
|
477
|
+
* @param {UpdateMessageWebhookCommand} [updateMessageWebhookCommand]
|
|
405
478
|
* @param {*} [options] Override http request option.
|
|
406
479
|
* @throws {RequiredError}
|
|
407
480
|
*/
|
|
408
|
-
apiV1MessagewebhooksWebhookIdPut: function (webhookId,
|
|
409
|
-
return localVarFp.apiV1MessagewebhooksWebhookIdPut(webhookId,
|
|
481
|
+
apiV1MessagewebhooksWebhookIdPut: function (webhookId, updateMessageWebhookCommand, options) {
|
|
482
|
+
return localVarFp.apiV1MessagewebhooksWebhookIdPut(webhookId, updateMessageWebhookCommand, options).then(function (request) { return request(axios, basePath); });
|
|
410
483
|
},
|
|
411
484
|
};
|
|
412
485
|
};
|
|
@@ -434,6 +507,18 @@ var MessageWebhooksApi = /** @class */ (function (_super) {
|
|
|
434
507
|
var _this = this;
|
|
435
508
|
return (0, exports.MessageWebhooksApiFp)(this.configuration).apiV1MessagewebhooksHospitalIdGet(requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
436
509
|
};
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @summary Get list of message webhooks related to the hospital
|
|
513
|
+
* @param {MessageWebhooksApiApiV1MessagewebhooksHospitalIdWhatsappGetRequest} requestParameters Request parameters.
|
|
514
|
+
* @param {*} [options] Override http request option.
|
|
515
|
+
* @throws {RequiredError}
|
|
516
|
+
* @memberof MessageWebhooksApi
|
|
517
|
+
*/
|
|
518
|
+
MessageWebhooksApi.prototype.apiV1MessagewebhooksHospitalIdWhatsappGet = function (requestParameters, options) {
|
|
519
|
+
var _this = this;
|
|
520
|
+
return (0, exports.MessageWebhooksApiFp)(this.configuration).apiV1MessagewebhooksHospitalIdWhatsappGet(requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
521
|
+
};
|
|
437
522
|
/**
|
|
438
523
|
*
|
|
439
524
|
* @summary Create message webhook on CH-Message-Broker
|
|
@@ -469,7 +554,7 @@ var MessageWebhooksApi = /** @class */ (function (_super) {
|
|
|
469
554
|
*/
|
|
470
555
|
MessageWebhooksApi.prototype.apiV1MessagewebhooksWebhookIdPut = function (requestParameters, options) {
|
|
471
556
|
var _this = this;
|
|
472
|
-
return (0, exports.MessageWebhooksApiFp)(this.configuration).apiV1MessagewebhooksWebhookIdPut(requestParameters.webhookId, requestParameters.
|
|
557
|
+
return (0, exports.MessageWebhooksApiFp)(this.configuration).apiV1MessagewebhooksWebhookIdPut(requestParameters.webhookId, requestParameters.updateMessageWebhookCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
473
558
|
};
|
|
474
559
|
return MessageWebhooksApi;
|
|
475
560
|
}(base_1.BaseAPI));
|
package/lib/api.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export * from './api/email-marketings-api';
|
|
|
32
32
|
export * from './api/email-webhooks-api';
|
|
33
33
|
export * from './api/faq-categories-api';
|
|
34
34
|
export * from './api/faqs-api';
|
|
35
|
+
export * from './api/form-results-api';
|
|
36
|
+
export * from './api/form-templates-api';
|
|
35
37
|
export * from './api/grades-api';
|
|
36
38
|
export * from './api/group-channels-api';
|
|
37
39
|
export * from './api/hospital-branches-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,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wCAAwC,CAAC;AACvD,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,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,sBAAsB,CAAC;AACrC,cAAc,i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AC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC"}
|
package/lib/api.js
CHANGED
|
@@ -50,6 +50,8 @@ __exportStar(require("./api/email-marketings-api"), exports);
|
|
|
50
50
|
__exportStar(require("./api/email-webhooks-api"), exports);
|
|
51
51
|
__exportStar(require("./api/faq-categories-api"), exports);
|
|
52
52
|
__exportStar(require("./api/faqs-api"), exports);
|
|
53
|
+
__exportStar(require("./api/form-results-api"), exports);
|
|
54
|
+
__exportStar(require("./api/form-templates-api"), exports);
|
|
53
55
|
__exportStar(require("./api/grades-api"), exports);
|
|
54
56
|
__exportStar(require("./api/group-channels-api"), exports);
|
|
55
57
|
__exportStar(require("./api/hospital-branches-api"), exports);
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Admin Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
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 { FormFieldOptionInputModel } from './form-field-option-input-model';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FormFieldInputModel
|
|
17
|
+
*/
|
|
18
|
+
export interface FormFieldInputModel {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FormFieldInputModel
|
|
23
|
+
*/
|
|
24
|
+
'formFieldType'?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof FormFieldInputModel
|
|
29
|
+
*/
|
|
30
|
+
'isRequired'?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof FormFieldInputModel
|
|
35
|
+
*/
|
|
36
|
+
'isHidden'?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FormFieldInputModel
|
|
41
|
+
*/
|
|
42
|
+
'validation'?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof FormFieldInputModel
|
|
47
|
+
*/
|
|
48
|
+
'customStyle'?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof FormFieldInputModel
|
|
53
|
+
*/
|
|
54
|
+
'order'?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof FormFieldInputModel
|
|
59
|
+
*/
|
|
60
|
+
'name'?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof FormFieldInputModel
|
|
65
|
+
*/
|
|
66
|
+
'label'?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof FormFieldInputModel
|
|
71
|
+
*/
|
|
72
|
+
'placeholder'?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof FormFieldInputModel
|
|
77
|
+
*/
|
|
78
|
+
'isConfirmed'?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<FormFieldOptionInputModel>}
|
|
82
|
+
* @memberof FormFieldInputModel
|
|
83
|
+
*/
|
|
84
|
+
'options'?: Array<FormFieldOptionInputModel> | null;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof FormFieldInputModel
|
|
89
|
+
*/
|
|
90
|
+
'id'?: string | null;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=form-field-input-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-input-model.d.ts","sourceRoot":"","sources":["../../src/models/form-field-input-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;IACpD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Admin Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
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 { FormFieldOptionModel } from './form-field-option-model';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FormFieldModel
|
|
17
|
+
*/
|
|
18
|
+
export interface FormFieldModel {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FormFieldModel
|
|
23
|
+
*/
|
|
24
|
+
'formFieldType'?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof FormFieldModel
|
|
29
|
+
*/
|
|
30
|
+
'isRequired'?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof FormFieldModel
|
|
35
|
+
*/
|
|
36
|
+
'isHidden'?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FormFieldModel
|
|
41
|
+
*/
|
|
42
|
+
'validation'?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof FormFieldModel
|
|
47
|
+
*/
|
|
48
|
+
'customStyle'?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof FormFieldModel
|
|
53
|
+
*/
|
|
54
|
+
'order'?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<FormFieldOptionModel>}
|
|
58
|
+
* @memberof FormFieldModel
|
|
59
|
+
*/
|
|
60
|
+
'options'?: Array<FormFieldOptionModel> | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof FormFieldModel
|
|
65
|
+
*/
|
|
66
|
+
'id'?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof FormFieldModel
|
|
71
|
+
*/
|
|
72
|
+
'languageCode'?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof FormFieldModel
|
|
77
|
+
*/
|
|
78
|
+
'name'?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof FormFieldModel
|
|
83
|
+
*/
|
|
84
|
+
'label'?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof FormFieldModel
|
|
89
|
+
*/
|
|
90
|
+
'placeholder'?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
* @memberof FormFieldModel
|
|
95
|
+
*/
|
|
96
|
+
'isConfirmed'?: boolean;
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=form-field-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-model.d.ts","sourceRoot":"","sources":["../../src/models/form-field-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;IAC/C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CloudHospital Admin Api
|
|
6
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Admin Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
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 FormFieldOptionInputModel
|
|
16
|
+
*/
|
|
17
|
+
export interface FormFieldOptionInputModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FormFieldOptionInputModel
|
|
22
|
+
*/
|
|
23
|
+
'customStyle'?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof FormFieldOptionInputModel
|
|
28
|
+
*/
|
|
29
|
+
'order'?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FormFieldOptionInputModel
|
|
34
|
+
*/
|
|
35
|
+
'name'?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof FormFieldOptionInputModel
|
|
40
|
+
*/
|
|
41
|
+
'isConfirmed'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof FormFieldOptionInputModel
|
|
46
|
+
*/
|
|
47
|
+
'id'?: string | null;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=form-field-option-input-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-option-input-model.d.ts","sourceRoot":"","sources":["../../src/models/form-field-option-input-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CloudHospital Admin Api
|
|
6
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|