ch-admin-api-client-typescript 5.4.4 → 5.4.6
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/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/models/notification-code.d.ts +2 -0
- package/lib/models/notification-code.d.ts.map +1 -1
- package/lib/models/notification-code.js +2 -0
- package/lib/models/survey-form-model.d.ts +6 -0
- package/lib/models/survey-form-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/survey-forms-api.ts +20 -6
- package/src/models/notification-code.ts +2 -0
- package/src/models/survey-form-model.ts +6 -0
|
@@ -50,11 +50,12 @@ export declare const SurveyFormsApiAxiosParamCreator: (configuration?: Configura
|
|
|
50
50
|
*
|
|
51
51
|
* @summary Delete survey form by Id
|
|
52
52
|
* @param {string} surveyFormId
|
|
53
|
+
* @param {string} [languageCode]
|
|
53
54
|
* @param {boolean} [isPermanent]
|
|
54
55
|
* @param {*} [options] Override http request option.
|
|
55
56
|
* @throws {RequiredError}
|
|
56
57
|
*/
|
|
57
|
-
apiV1SurveyformsSurveyFormIdDelete: (surveyFormId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
apiV1SurveyformsSurveyFormIdDelete: (surveyFormId: string, languageCode?: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
59
|
/**
|
|
59
60
|
*
|
|
60
61
|
* @summary Get survey form by Id
|
|
@@ -107,11 +108,12 @@ export declare const SurveyFormsApiFp: (configuration?: Configuration) => {
|
|
|
107
108
|
*
|
|
108
109
|
* @summary Delete survey form by Id
|
|
109
110
|
* @param {string} surveyFormId
|
|
111
|
+
* @param {string} [languageCode]
|
|
110
112
|
* @param {boolean} [isPermanent]
|
|
111
113
|
* @param {*} [options] Override http request option.
|
|
112
114
|
* @throws {RequiredError}
|
|
113
115
|
*/
|
|
114
|
-
apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
116
|
+
apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, languageCode?: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
115
117
|
/**
|
|
116
118
|
*
|
|
117
119
|
* @summary Get survey form by Id
|
|
@@ -164,11 +166,12 @@ export declare const SurveyFormsApiFactory: (configuration?: Configuration, base
|
|
|
164
166
|
*
|
|
165
167
|
* @summary Delete survey form by Id
|
|
166
168
|
* @param {string} surveyFormId
|
|
169
|
+
* @param {string} [languageCode]
|
|
167
170
|
* @param {boolean} [isPermanent]
|
|
168
171
|
* @param {*} [options] Override http request option.
|
|
169
172
|
* @throws {RequiredError}
|
|
170
173
|
*/
|
|
171
|
-
apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
|
|
174
|
+
apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, languageCode?: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
|
|
172
175
|
/**
|
|
173
176
|
*
|
|
174
177
|
* @summary Get survey form by Id
|
|
@@ -274,6 +277,12 @@ export interface SurveyFormsApiApiV1SurveyformsSurveyFormIdDeleteRequest {
|
|
|
274
277
|
* @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdDelete
|
|
275
278
|
*/
|
|
276
279
|
readonly surveyFormId: string;
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* @type {string}
|
|
283
|
+
* @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdDelete
|
|
284
|
+
*/
|
|
285
|
+
readonly languageCode?: string;
|
|
277
286
|
/**
|
|
278
287
|
*
|
|
279
288
|
* @type {boolean}
|
|
@@ -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,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAIpD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AACpD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,mBAA6B,aAAa;IAE9E;;;;;;;;;;;;;;OAcG;+BAC8B,MAAM,eAAe,MAAM,SAAS,MAAM,iBAAiB,MAAM,eAAe,OAAO,WAAW,gBAAgB,SAAS,MAAM,UAAU,MAAM,kBAAkB,IAAI,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IAkEjQ;;;;;;OAMG;qDACoD,uBAAuB,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+BvI
|
|
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,uBAAuB,EAAE,MAAM,WA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CAAC,iBAAiB,GAAE,yCAA8C,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI3H;;;;;;;OAOG;IACI,kCAAkC,CAAC,iBAAiB,EAAE,uDAAuD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIlJ;;;;;;;OAOG;IACI,+BAA+B,CAAC,iBAAiB,EAAE,oDAAoD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI5I;;;;;;;OAOG;IACI,+BAA+B,CAAC,iBAAiB,EAAE,oDAAoD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAG/I"}
|
|
@@ -215,11 +215,12 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
215
215
|
*
|
|
216
216
|
* @summary Delete survey form by Id
|
|
217
217
|
* @param {string} surveyFormId
|
|
218
|
+
* @param {string} [languageCode]
|
|
218
219
|
* @param {boolean} [isPermanent]
|
|
219
220
|
* @param {*} [options] Override http request option.
|
|
220
221
|
* @throws {RequiredError}
|
|
221
222
|
*/
|
|
222
|
-
apiV1SurveyformsSurveyFormIdDelete: function (surveyFormId, isPermanent, options) {
|
|
223
|
+
apiV1SurveyformsSurveyFormIdDelete: function (surveyFormId, languageCode, isPermanent, options) {
|
|
223
224
|
if (options === void 0) { options = {}; }
|
|
224
225
|
return __awaiter(_this, void 0, void 0, function () {
|
|
225
226
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -244,6 +245,9 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
244
245
|
// authentication oauth2 required
|
|
245
246
|
// oauth required
|
|
246
247
|
_a.sent();
|
|
248
|
+
if (languageCode !== undefined) {
|
|
249
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
250
|
+
}
|
|
247
251
|
if (isPermanent !== undefined) {
|
|
248
252
|
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
249
253
|
}
|
|
@@ -413,16 +417,17 @@ var SurveyFormsApiFp = function (configuration) {
|
|
|
413
417
|
*
|
|
414
418
|
* @summary Delete survey form by Id
|
|
415
419
|
* @param {string} surveyFormId
|
|
420
|
+
* @param {string} [languageCode]
|
|
416
421
|
* @param {boolean} [isPermanent]
|
|
417
422
|
* @param {*} [options] Override http request option.
|
|
418
423
|
* @throws {RequiredError}
|
|
419
424
|
*/
|
|
420
|
-
apiV1SurveyformsSurveyFormIdDelete: function (surveyFormId, isPermanent, options) {
|
|
425
|
+
apiV1SurveyformsSurveyFormIdDelete: function (surveyFormId, languageCode, isPermanent, options) {
|
|
421
426
|
return __awaiter(this, void 0, void 0, function () {
|
|
422
427
|
var localVarAxiosArgs;
|
|
423
428
|
return __generator(this, function (_a) {
|
|
424
429
|
switch (_a.label) {
|
|
425
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdDelete(surveyFormId, isPermanent, options)];
|
|
430
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdDelete(surveyFormId, languageCode, isPermanent, options)];
|
|
426
431
|
case 1:
|
|
427
432
|
localVarAxiosArgs = _a.sent();
|
|
428
433
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -514,12 +519,13 @@ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
|
|
|
514
519
|
*
|
|
515
520
|
* @summary Delete survey form by Id
|
|
516
521
|
* @param {string} surveyFormId
|
|
522
|
+
* @param {string} [languageCode]
|
|
517
523
|
* @param {boolean} [isPermanent]
|
|
518
524
|
* @param {*} [options] Override http request option.
|
|
519
525
|
* @throws {RequiredError}
|
|
520
526
|
*/
|
|
521
|
-
apiV1SurveyformsSurveyFormIdDelete: function (surveyFormId, isPermanent, options) {
|
|
522
|
-
return localVarFp.apiV1SurveyformsSurveyFormIdDelete(surveyFormId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
527
|
+
apiV1SurveyformsSurveyFormIdDelete: function (surveyFormId, languageCode, isPermanent, options) {
|
|
528
|
+
return localVarFp.apiV1SurveyformsSurveyFormIdDelete(surveyFormId, languageCode, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
523
529
|
},
|
|
524
530
|
/**
|
|
525
531
|
*
|
|
@@ -593,7 +599,7 @@ var SurveyFormsApi = /** @class */ (function (_super) {
|
|
|
593
599
|
*/
|
|
594
600
|
SurveyFormsApi.prototype.apiV1SurveyformsSurveyFormIdDelete = function (requestParameters, options) {
|
|
595
601
|
var _this = this;
|
|
596
|
-
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsSurveyFormIdDelete(requestParameters.surveyFormId, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
602
|
+
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsSurveyFormIdDelete(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
597
603
|
};
|
|
598
604
|
/**
|
|
599
605
|
*
|
|
@@ -34,6 +34,8 @@ export declare const NotificationCode: {
|
|
|
34
34
|
readonly ConsultationRefundRequested: "ConsultationRefundRequested";
|
|
35
35
|
readonly ConsultationRefunded: "ConsultationRefunded";
|
|
36
36
|
readonly ConsultationReady: "ConsultationReady";
|
|
37
|
+
readonly CallCompleted: "CallCompleted";
|
|
38
|
+
readonly FormSubmitted: "FormSubmitted";
|
|
37
39
|
readonly AppointmentNew: "AppointmentNew";
|
|
38
40
|
readonly AppointmentUpdated: "AppointmentUpdated";
|
|
39
41
|
readonly AppointmentRejected: "AppointmentRejected";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-code.d.ts","sourceRoot":"","sources":["../../src/models/notification-code.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"notification-code.d.ts","sourceRoot":"","sources":["../../src/models/notification-code.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BnB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -39,6 +39,8 @@ exports.NotificationCode = {
|
|
|
39
39
|
ConsultationRefundRequested: 'ConsultationRefundRequested',
|
|
40
40
|
ConsultationRefunded: 'ConsultationRefunded',
|
|
41
41
|
ConsultationReady: 'ConsultationReady',
|
|
42
|
+
CallCompleted: 'CallCompleted',
|
|
43
|
+
FormSubmitted: 'FormSubmitted',
|
|
42
44
|
AppointmentNew: 'AppointmentNew',
|
|
43
45
|
AppointmentUpdated: 'AppointmentUpdated',
|
|
44
46
|
AppointmentRejected: 'AppointmentRejected',
|
|
@@ -96,5 +96,11 @@ export interface SurveyFormModel {
|
|
|
96
96
|
* @memberof SurveyFormModel
|
|
97
97
|
*/
|
|
98
98
|
'elements'?: Array<SurveyFormElementModel> | null;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {Array<string>}
|
|
102
|
+
* @memberof SurveyFormModel
|
|
103
|
+
*/
|
|
104
|
+
'translatedLanguages'?: Array<string> | null;
|
|
99
105
|
}
|
|
100
106
|
//# sourceMappingURL=survey-form-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"survey-form-model.d.ts","sourceRoot":"","sources":["../../src/models/survey-form-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;;GAIG;AACH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OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC;IAClD;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAChD"}
|
package/package.json
CHANGED
|
@@ -161,11 +161,12 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
161
161
|
*
|
|
162
162
|
* @summary Delete survey form by Id
|
|
163
163
|
* @param {string} surveyFormId
|
|
164
|
+
* @param {string} [languageCode]
|
|
164
165
|
* @param {boolean} [isPermanent]
|
|
165
166
|
* @param {*} [options] Override http request option.
|
|
166
167
|
* @throws {RequiredError}
|
|
167
168
|
*/
|
|
168
|
-
apiV1SurveyformsSurveyFormIdDelete: async (surveyFormId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
169
|
+
apiV1SurveyformsSurveyFormIdDelete: async (surveyFormId: string, languageCode?: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
169
170
|
// verify required parameter 'surveyFormId' is not null or undefined
|
|
170
171
|
assertParamExists('apiV1SurveyformsSurveyFormIdDelete', 'surveyFormId', surveyFormId)
|
|
171
172
|
const localVarPath = `/api/v1/surveyforms/{surveyFormId}`
|
|
@@ -185,6 +186,10 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
185
186
|
// oauth required
|
|
186
187
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
187
188
|
|
|
189
|
+
if (languageCode !== undefined) {
|
|
190
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
191
|
+
}
|
|
192
|
+
|
|
188
193
|
if (isPermanent !== undefined) {
|
|
189
194
|
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
190
195
|
}
|
|
@@ -329,12 +334,13 @@ export const SurveyFormsApiFp = function(configuration?: Configuration) {
|
|
|
329
334
|
*
|
|
330
335
|
* @summary Delete survey form by Id
|
|
331
336
|
* @param {string} surveyFormId
|
|
337
|
+
* @param {string} [languageCode]
|
|
332
338
|
* @param {boolean} [isPermanent]
|
|
333
339
|
* @param {*} [options] Override http request option.
|
|
334
340
|
* @throws {RequiredError}
|
|
335
341
|
*/
|
|
336
|
-
async apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdDelete(surveyFormId, isPermanent, options);
|
|
342
|
+
async apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, languageCode?: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
343
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdDelete(surveyFormId, languageCode, isPermanent, options);
|
|
338
344
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
339
345
|
},
|
|
340
346
|
/**
|
|
@@ -403,12 +409,13 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
|
|
|
403
409
|
*
|
|
404
410
|
* @summary Delete survey form by Id
|
|
405
411
|
* @param {string} surveyFormId
|
|
412
|
+
* @param {string} [languageCode]
|
|
406
413
|
* @param {boolean} [isPermanent]
|
|
407
414
|
* @param {*} [options] Override http request option.
|
|
408
415
|
* @throws {RequiredError}
|
|
409
416
|
*/
|
|
410
|
-
apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
411
|
-
return localVarFp.apiV1SurveyformsSurveyFormIdDelete(surveyFormId, isPermanent, options).then((request) => request(axios, basePath));
|
|
417
|
+
apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, languageCode?: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
418
|
+
return localVarFp.apiV1SurveyformsSurveyFormIdDelete(surveyFormId, languageCode, isPermanent, options).then((request) => request(axios, basePath));
|
|
412
419
|
},
|
|
413
420
|
/**
|
|
414
421
|
*
|
|
@@ -532,6 +539,13 @@ export interface SurveyFormsApiApiV1SurveyformsSurveyFormIdDeleteRequest {
|
|
|
532
539
|
*/
|
|
533
540
|
readonly surveyFormId: string
|
|
534
541
|
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @type {string}
|
|
545
|
+
* @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdDelete
|
|
546
|
+
*/
|
|
547
|
+
readonly languageCode?: string
|
|
548
|
+
|
|
535
549
|
/**
|
|
536
550
|
*
|
|
537
551
|
* @type {boolean}
|
|
@@ -622,7 +636,7 @@ export class SurveyFormsApi extends BaseAPI {
|
|
|
622
636
|
* @memberof SurveyFormsApi
|
|
623
637
|
*/
|
|
624
638
|
public apiV1SurveyformsSurveyFormIdDelete(requestParameters: SurveyFormsApiApiV1SurveyformsSurveyFormIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
625
|
-
return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdDelete(requestParameters.surveyFormId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
639
|
+
return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdDelete(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
626
640
|
}
|
|
627
641
|
|
|
628
642
|
/**
|
|
@@ -40,6 +40,8 @@ export const NotificationCode = {
|
|
|
40
40
|
ConsultationRefundRequested: 'ConsultationRefundRequested',
|
|
41
41
|
ConsultationRefunded: 'ConsultationRefunded',
|
|
42
42
|
ConsultationReady: 'ConsultationReady',
|
|
43
|
+
CallCompleted: 'CallCompleted',
|
|
44
|
+
FormSubmitted: 'FormSubmitted',
|
|
43
45
|
AppointmentNew: 'AppointmentNew',
|
|
44
46
|
AppointmentUpdated: 'AppointmentUpdated',
|
|
45
47
|
AppointmentRejected: 'AppointmentRejected',
|
|
@@ -107,5 +107,11 @@ export interface SurveyFormModel {
|
|
|
107
107
|
* @memberof SurveyFormModel
|
|
108
108
|
*/
|
|
109
109
|
'elements'?: Array<SurveyFormElementModel> | null;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {Array<string>}
|
|
113
|
+
* @memberof SurveyFormModel
|
|
114
|
+
*/
|
|
115
|
+
'translatedLanguages'?: Array<string> | null;
|
|
110
116
|
}
|
|
111
117
|
|