@weavix/forms-api-types 0.0.1 → 0.0.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/package.json +1 -1
- package/src/api-paths.d.ts +30 -1
- package/src/operations.d.ts +9 -1
- package/src/schemas.d.ts +367 -75
package/package.json
CHANGED
package/src/api-paths.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type {
|
|
|
9
9
|
ConditionsOperatorIn,
|
|
10
10
|
ConditionsPublicOut,
|
|
11
11
|
CreateSurveyPublicIn,
|
|
12
|
+
EventsB2bV1ViewsAnswersDeleteAnswerPublicViewParams,
|
|
12
13
|
EventsB2bV1ViewsAnswersExportAnswersPublicViewParams,
|
|
13
14
|
EventsB2bV1ViewsAnswersExportAnswersResultsPublicViewParams,
|
|
14
15
|
EventsB2bV1ViewsAnswersGetAnswerPublicViewParams,
|
|
@@ -16,6 +17,7 @@ import type {
|
|
|
16
17
|
EventsB2bV1ViewsAnswersGetAnswersPublicViewResponse,
|
|
17
18
|
EventsB2bV1ViewsAnswersGetIntegrationsPublicViewParams,
|
|
18
19
|
EventsB2bV1ViewsAnswersGetIntegrationsPublicViewResponse,
|
|
20
|
+
EventsB2bV1ViewsAnswersRestoreAnswerPublicViewParams,
|
|
19
21
|
EventsB2bV1ViewsConditionsCreateHookConditionPublicViewParams,
|
|
20
22
|
EventsB2bV1ViewsConditionsCreatePageConditionPublicViewParams,
|
|
21
23
|
EventsB2bV1ViewsConditionsCreateQuestionConditionPublicViewParams,
|
|
@@ -56,6 +58,7 @@ import type {
|
|
|
56
58
|
EventsB2bV1ViewsHooksModifyHookPublicViewParams,
|
|
57
59
|
EventsB2bV1ViewsHooksModifySubscriptionPublicViewParams,
|
|
58
60
|
EventsB2bV1ViewsHooksSaveSubscriptionAttachmentPublicViewParams,
|
|
61
|
+
EventsB2bV1ViewsImagesCloneImagePublicViewParams,
|
|
59
62
|
EventsB2bV1ViewsKeysetsCreateKeysetPublicViewParams,
|
|
60
63
|
EventsB2bV1ViewsKeysetsDeleteKeysetPublicViewParams,
|
|
61
64
|
EventsB2bV1ViewsKeysetsDownloadKeysetPublicViewParams,
|
|
@@ -112,6 +115,7 @@ import type {
|
|
|
112
115
|
HistoryPublicOut,
|
|
113
116
|
HookIn,
|
|
114
117
|
HookPublicOut,
|
|
118
|
+
ImageIn,
|
|
115
119
|
ImageOut,
|
|
116
120
|
KeysetIn,
|
|
117
121
|
KeysetOut,
|
|
@@ -150,7 +154,7 @@ export type PathsV1Get = {
|
|
|
150
154
|
response: unknown;
|
|
151
155
|
};
|
|
152
156
|
["/surveys/"]: {
|
|
153
|
-
queryParams?: Pick<EventsB2bV1ViewsSurveysGetSurveysPublicViewParams, "limit" | "orderby" | "name" | "published" | "ownership" | "group" | "offset" | "favourite">;
|
|
157
|
+
queryParams?: Pick<EventsB2bV1ViewsSurveysGetSurveysPublicViewParams, "limit" | "orderby" | "name" | "published" | "ownership" | "group" | "offset" | "favourite" | "show_all">;
|
|
154
158
|
response: PaginationOutSurveyShortPublicOut;
|
|
155
159
|
};
|
|
156
160
|
["/surveys/{survey_id}/"]: {
|
|
@@ -476,6 +480,11 @@ export type PathsV1Post = {
|
|
|
476
480
|
"image": File;
|
|
477
481
|
response: ImageOut;
|
|
478
482
|
};
|
|
483
|
+
["/surveys/{survey_id}/images/clone/"]: {
|
|
484
|
+
pathParams: Pick<EventsB2bV1ViewsImagesCloneImagePublicViewParams, "survey_id">;
|
|
485
|
+
bodyParams: ImageIn;
|
|
486
|
+
response: ImageOut;
|
|
487
|
+
};
|
|
479
488
|
["/surveys/{survey_id}/questions/"]: {
|
|
480
489
|
pathParams: Pick<EventsB2bV1ViewsQuestionsCreateQuestionPublicViewParams, "survey_id">;
|
|
481
490
|
bodyParams: QuestionIn;
|
|
@@ -531,6 +540,10 @@ export type PathsV1Post = {
|
|
|
531
540
|
"file": File;
|
|
532
541
|
response: FileOut;
|
|
533
542
|
};
|
|
543
|
+
["/surveys/{survey_id}/answers/{answer_id}/restore/"]: {
|
|
544
|
+
pathParams: Pick<EventsB2bV1ViewsAnswersRestoreAnswerPublicViewParams, "survey_id" | "answer_id">;
|
|
545
|
+
response: unknown;
|
|
546
|
+
};
|
|
534
547
|
["/notifications/{notification_id}/restart/"]: {
|
|
535
548
|
pathParams: Pick<EventsB2bV1ViewsNotificationsRestartNotificationPublicViewParams, "notification_id">;
|
|
536
549
|
response: NotificationRestartOut;
|
|
@@ -583,6 +596,10 @@ export interface ApiV1PostMethods {
|
|
|
583
596
|
* Загрузить изображение
|
|
584
597
|
*/
|
|
585
598
|
["/surveys/{survey_id}/images/"]: (payload: Pick<PathsV1Post["/surveys/{survey_id}/images/"], "pathParams" | "image">) => Promise<PathsV1Post["/surveys/{survey_id}/images/"]["response"]>;
|
|
599
|
+
/**
|
|
600
|
+
* Клонировать существующую картинку
|
|
601
|
+
*/
|
|
602
|
+
["/surveys/{survey_id}/images/clone/"]: (payload: Pick<PathsV1Post["/surveys/{survey_id}/images/clone/"], "pathParams" | "bodyParams">) => Promise<PathsV1Post["/surveys/{survey_id}/images/clone/"]["response"]>;
|
|
586
603
|
/**
|
|
587
604
|
* Создать вопрос
|
|
588
605
|
*/
|
|
@@ -627,6 +644,10 @@ export interface ApiV1PostMethods {
|
|
|
627
644
|
* Загрузить файл-вложение для интеграции
|
|
628
645
|
*/
|
|
629
646
|
["/surveys/{survey_id}/hooks/{hook_id}/subscriptions/{subscription_id}/attachment/"]: (payload: Pick<PathsV1Post["/surveys/{survey_id}/hooks/{hook_id}/subscriptions/{subscription_id}/attachment/"], "pathParams" | "file">) => Promise<PathsV1Post["/surveys/{survey_id}/hooks/{hook_id}/subscriptions/{subscription_id}/attachment/"]["response"]>;
|
|
647
|
+
/**
|
|
648
|
+
* Восстановить ответ
|
|
649
|
+
*/
|
|
650
|
+
["/surveys/{survey_id}/answers/{answer_id}/restore/"]: (payload: Pick<PathsV1Post["/surveys/{survey_id}/answers/{answer_id}/restore/"], "pathParams">) => Promise<PathsV1Post["/surveys/{survey_id}/answers/{answer_id}/restore/"]["response"]>;
|
|
630
651
|
/**
|
|
631
652
|
* Перезапустить событие
|
|
632
653
|
*/
|
|
@@ -812,6 +833,10 @@ export type PathsV1Delete = {
|
|
|
812
833
|
pathParams: Pick<EventsB2bV1ViewsHooksDeleteSubscriptionPublicViewParams, "survey_id" | "hook_id" | "subscription_id">;
|
|
813
834
|
response: unknown;
|
|
814
835
|
};
|
|
836
|
+
["/surveys/{survey_id}/answers/{answer_id}/"]: {
|
|
837
|
+
pathParams: Pick<EventsB2bV1ViewsAnswersDeleteAnswerPublicViewParams, "survey_id" | "answer_id">;
|
|
838
|
+
response: unknown;
|
|
839
|
+
};
|
|
815
840
|
};
|
|
816
841
|
|
|
817
842
|
/** Typed Forms API v1.delete methods. */
|
|
@@ -856,5 +881,9 @@ export interface ApiV1DeleteMethods {
|
|
|
856
881
|
* Удалить интеграцию
|
|
857
882
|
*/
|
|
858
883
|
["/surveys/{survey_id}/hooks/{hook_id}/subscriptions/{subscription_id}/"]: (payload: Pick<PathsV1Delete["/surveys/{survey_id}/hooks/{hook_id}/subscriptions/{subscription_id}/"], "pathParams">) => Promise<PathsV1Delete["/surveys/{survey_id}/hooks/{hook_id}/subscriptions/{subscription_id}/"]["response"]>;
|
|
884
|
+
/**
|
|
885
|
+
* Удалить ответ
|
|
886
|
+
*/
|
|
887
|
+
["/surveys/{survey_id}/answers/{answer_id}/"]: (payload: Pick<PathsV1Delete["/surveys/{survey_id}/answers/{answer_id}/"], "pathParams">) => Promise<PathsV1Delete["/surveys/{survey_id}/answers/{answer_id}/"]["response"]>;
|
|
859
888
|
}
|
|
860
889
|
|
package/src/operations.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export type AnswerMatrixOut = Schemas["AnswerMatrixOut"];
|
|
|
19
19
|
export type AnswerOut = Schemas["AnswerOut"];
|
|
20
20
|
export type AnswerQuestionOut = Schemas["AnswerQuestionOut"];
|
|
21
21
|
export type AnswerQuizOut = Schemas["AnswerQuizOut"];
|
|
22
|
+
export type AnswerRestoreErrorOut = Schemas["AnswerRestoreErrorOut"];
|
|
22
23
|
export type AnswerStringScoresOut = Schemas["AnswerStringScoresOut"];
|
|
23
24
|
export type AnswerSurveyOut = Schemas["AnswerSurveyOut"];
|
|
24
25
|
export type AnswersNextOut = Schemas["AnswersNextOut"];
|
|
@@ -36,6 +37,7 @@ export type CreateSurveyPublicIn = Schemas["CreateSurveyPublicIn"];
|
|
|
36
37
|
export type DataSourceType = Schemas["DataSourceType"];
|
|
37
38
|
export type ErrorOut = Schemas["ErrorOut"];
|
|
38
39
|
export type ErrorType = Schemas["ErrorType"];
|
|
40
|
+
export type EventsB2bV1ViewsAnswersDeleteAnswerPublicViewParams = Schemas["EventsB2bV1ViewsAnswersDeleteAnswerPublicViewParams"];
|
|
39
41
|
export type EventsB2bV1ViewsAnswersExportAnswersPublicViewParams = Schemas["EventsB2bV1ViewsAnswersExportAnswersPublicViewParams"];
|
|
40
42
|
export type EventsB2bV1ViewsAnswersExportAnswersResultsPublicViewParams = Schemas["EventsB2bV1ViewsAnswersExportAnswersResultsPublicViewParams"];
|
|
41
43
|
export type EventsB2bV1ViewsAnswersGetAnswerPublicViewParams = Schemas["EventsB2bV1ViewsAnswersGetAnswerPublicViewParams"];
|
|
@@ -43,6 +45,7 @@ export type EventsB2bV1ViewsAnswersGetAnswersPublicViewParams = Schemas["EventsB
|
|
|
43
45
|
export type EventsB2bV1ViewsAnswersGetAnswersPublicViewResponse = Schemas["EventsB2bV1ViewsAnswersGetAnswersPublicViewResponse"];
|
|
44
46
|
export type EventsB2bV1ViewsAnswersGetIntegrationsPublicViewParams = Schemas["EventsB2bV1ViewsAnswersGetIntegrationsPublicViewParams"];
|
|
45
47
|
export type EventsB2bV1ViewsAnswersGetIntegrationsPublicViewResponse = Schemas["EventsB2bV1ViewsAnswersGetIntegrationsPublicViewResponse"];
|
|
48
|
+
export type EventsB2bV1ViewsAnswersRestoreAnswerPublicViewParams = Schemas["EventsB2bV1ViewsAnswersRestoreAnswerPublicViewParams"];
|
|
46
49
|
export type EventsB2bV1ViewsConditionsCreateHookConditionPublicViewParams = Schemas["EventsB2bV1ViewsConditionsCreateHookConditionPublicViewParams"];
|
|
47
50
|
export type EventsB2bV1ViewsConditionsCreatePageConditionPublicViewParams = Schemas["EventsB2bV1ViewsConditionsCreatePageConditionPublicViewParams"];
|
|
48
51
|
export type EventsB2bV1ViewsConditionsCreateQuestionConditionPublicViewParams = Schemas["EventsB2bV1ViewsConditionsCreateQuestionConditionPublicViewParams"];
|
|
@@ -83,6 +86,7 @@ export type EventsB2bV1ViewsHooksGetVariablesPublicViewResponse = Schemas["Event
|
|
|
83
86
|
export type EventsB2bV1ViewsHooksModifyHookPublicViewParams = Schemas["EventsB2bV1ViewsHooksModifyHookPublicViewParams"];
|
|
84
87
|
export type EventsB2bV1ViewsHooksModifySubscriptionPublicViewParams = Schemas["EventsB2bV1ViewsHooksModifySubscriptionPublicViewParams"];
|
|
85
88
|
export type EventsB2bV1ViewsHooksSaveSubscriptionAttachmentPublicViewParams = Schemas["EventsB2bV1ViewsHooksSaveSubscriptionAttachmentPublicViewParams"];
|
|
89
|
+
export type EventsB2bV1ViewsImagesCloneImagePublicViewParams = Schemas["EventsB2bV1ViewsImagesCloneImagePublicViewParams"];
|
|
86
90
|
export type EventsB2bV1ViewsKeysetsCreateKeysetPublicViewParams = Schemas["EventsB2bV1ViewsKeysetsCreateKeysetPublicViewParams"];
|
|
87
91
|
export type EventsB2bV1ViewsKeysetsDeleteKeysetPublicViewParams = Schemas["EventsB2bV1ViewsKeysetsDeleteKeysetPublicViewParams"];
|
|
88
92
|
export type EventsB2bV1ViewsKeysetsDownloadKeysetPublicViewParams = Schemas["EventsB2bV1ViewsKeysetsDownloadKeysetPublicViewParams"];
|
|
@@ -176,6 +180,8 @@ export type FrontendStylesOut = Schemas["FrontendStylesOut"];
|
|
|
176
180
|
export type FrontendSubmitIntegrationOut = Schemas["FrontendSubmitIntegrationOut"];
|
|
177
181
|
export type FrontendSubmitOut = Schemas["FrontendSubmitOut"];
|
|
178
182
|
export type FrontendSubmitPaymentOut = Schemas["FrontendSubmitPaymentOut"];
|
|
183
|
+
export type FrontendSubmitQuizResultScoreOut = Schemas["FrontendSubmitQuizResultScoreOut"];
|
|
184
|
+
export type FrontendSubmitQuizResultScoreWithTotalOut = Schemas["FrontendSubmitQuizResultScoreWithTotalOut"];
|
|
179
185
|
export type FrontendSubmitRedirectOut = Schemas["FrontendSubmitRedirectOut"];
|
|
180
186
|
export type FrontendSuggestQuestionOut = Schemas["FrontendSuggestQuestionOut"];
|
|
181
187
|
export type FrontendTextsOut = Schemas["FrontendTextsOut"];
|
|
@@ -258,6 +264,7 @@ export type QuestionSuggestPublicOut = Schemas["QuestionSuggestPublicOut"];
|
|
|
258
264
|
export type QuestionType = Schemas["QuestionType"];
|
|
259
265
|
export type QuestionsPublicOut = Schemas["QuestionsPublicOut"];
|
|
260
266
|
export type QuizCalcMethodType = Schemas["QuizCalcMethodType"];
|
|
267
|
+
export type QuizShowFormatType = Schemas["QuizShowFormatType"];
|
|
261
268
|
export type RawAnswerDataOut = Schemas["RawAnswerDataOut"];
|
|
262
269
|
export type RawAnswersOut = Schemas["RawAnswersOut"];
|
|
263
270
|
export type RendererTypes = Schemas["RendererTypes"];
|
|
@@ -267,7 +274,6 @@ export type ResultOperationOut = Schemas["ResultOperationOut"];
|
|
|
267
274
|
export type ResultSkipOut = Schemas["ResultSkipOut"];
|
|
268
275
|
export type RevokeAccessIn = Schemas["RevokeAccessIn"];
|
|
269
276
|
export type Source = Schemas["Source"];
|
|
270
|
-
export type StartrekSubscriptionType = Schemas["StartrekSubscriptionType"];
|
|
271
277
|
export type StyleTemplateType = Schemas["StyleTemplateType"];
|
|
272
278
|
export type SubscriptionAttachmentsPublicIn = Schemas["SubscriptionAttachmentsPublicIn"];
|
|
273
279
|
export type SubscriptionAttachmentsPublicOut = Schemas["SubscriptionAttachmentsPublicOut"];
|
|
@@ -292,6 +298,8 @@ export type SubscriptionQuestionAttachmentsIn = Schemas["SubscriptionQuestionAtt
|
|
|
292
298
|
export type SubscriptionQuestionAttachmentsOut = Schemas["SubscriptionQuestionAttachmentsOut"];
|
|
293
299
|
export type SubscriptionStaticAttachmentIn = Schemas["SubscriptionStaticAttachmentIn"];
|
|
294
300
|
export type SubscriptionStaticAttachmentOut = Schemas["SubscriptionStaticAttachmentOut"];
|
|
301
|
+
export type SubscriptionTrackerCommentPublicIn = Schemas["SubscriptionTrackerCommentPublicIn"];
|
|
302
|
+
export type SubscriptionTrackerCommentPublicOut = Schemas["SubscriptionTrackerCommentPublicOut"];
|
|
295
303
|
export type SubscriptionTrackerPublicIn = Schemas["SubscriptionTrackerPublicIn"];
|
|
296
304
|
export type SubscriptionTrackerPublicOut = Schemas["SubscriptionTrackerPublicOut"];
|
|
297
305
|
export type SubscriptionType = Schemas["SubscriptionType"];
|
package/src/schemas.d.ts
CHANGED
|
@@ -171,7 +171,8 @@ export interface paths {
|
|
|
171
171
|
* Запрос проверяет, опубликована ли форма, и другие настройки, влияющие на заполнение формы.
|
|
172
172
|
*
|
|
173
173
|
* Параметры:
|
|
174
|
-
* - **survey**: код формы, ее слаг или комбинация кода формы
|
|
174
|
+
* - **survey**: код формы, ее слаг или комбинация кода формы
|
|
175
|
+
* и проверочного ключа
|
|
175
176
|
* - **key**: ключ для заполнения формы
|
|
176
177
|
*/
|
|
177
178
|
get: operations["events_v3_views_frontend_get_form_view"];
|
|
@@ -286,6 +287,23 @@ export interface paths {
|
|
|
286
287
|
patch?: never;
|
|
287
288
|
trace?: never;
|
|
288
289
|
};
|
|
290
|
+
"/v1/surveys/{survey_id}/images/clone/": {
|
|
291
|
+
parameters: {
|
|
292
|
+
query?: never;
|
|
293
|
+
header?: never;
|
|
294
|
+
path?: never;
|
|
295
|
+
cookie?: never;
|
|
296
|
+
};
|
|
297
|
+
get?: never;
|
|
298
|
+
put?: never;
|
|
299
|
+
/** Клонировать существующую картинку */
|
|
300
|
+
post: operations["events_b2b_v1_views_images_clone_image_public_view"];
|
|
301
|
+
delete?: never;
|
|
302
|
+
options?: never;
|
|
303
|
+
head?: never;
|
|
304
|
+
patch?: never;
|
|
305
|
+
trace?: never;
|
|
306
|
+
};
|
|
289
307
|
"/v1/surveys/{survey_id}/questions/": {
|
|
290
308
|
parameters: {
|
|
291
309
|
query?: never;
|
|
@@ -730,6 +748,40 @@ export interface paths {
|
|
|
730
748
|
patch?: never;
|
|
731
749
|
trace?: never;
|
|
732
750
|
};
|
|
751
|
+
"/v1/surveys/{survey_id}/answers/{answer_id}/": {
|
|
752
|
+
parameters: {
|
|
753
|
+
query?: never;
|
|
754
|
+
header?: never;
|
|
755
|
+
path?: never;
|
|
756
|
+
cookie?: never;
|
|
757
|
+
};
|
|
758
|
+
get?: never;
|
|
759
|
+
put?: never;
|
|
760
|
+
post?: never;
|
|
761
|
+
/** Удалить ответ */
|
|
762
|
+
delete: operations["events_b2b_v1_views_answers_delete_answer_public_view"];
|
|
763
|
+
options?: never;
|
|
764
|
+
head?: never;
|
|
765
|
+
patch?: never;
|
|
766
|
+
trace?: never;
|
|
767
|
+
};
|
|
768
|
+
"/v1/surveys/{survey_id}/answers/{answer_id}/restore/": {
|
|
769
|
+
parameters: {
|
|
770
|
+
query?: never;
|
|
771
|
+
header?: never;
|
|
772
|
+
path?: never;
|
|
773
|
+
cookie?: never;
|
|
774
|
+
};
|
|
775
|
+
get?: never;
|
|
776
|
+
put?: never;
|
|
777
|
+
/** Восстановить ответ */
|
|
778
|
+
post: operations["events_b2b_v1_views_answers_restore_answer_public_view"];
|
|
779
|
+
delete?: never;
|
|
780
|
+
options?: never;
|
|
781
|
+
head?: never;
|
|
782
|
+
patch?: never;
|
|
783
|
+
trace?: never;
|
|
784
|
+
};
|
|
733
785
|
"/v1/operations/{operation_id}/": {
|
|
734
786
|
parameters: {
|
|
735
787
|
query?: never;
|
|
@@ -911,18 +963,24 @@ export interface components {
|
|
|
911
963
|
/** @description Режим подгрузки картинки */
|
|
912
964
|
check_mode?: components["schemas"]["FileCheckModeType"];
|
|
913
965
|
};
|
|
966
|
+
/**
|
|
967
|
+
* QuizShowFormatType
|
|
968
|
+
* @description An enumeration.
|
|
969
|
+
* @enum {string}
|
|
970
|
+
*/
|
|
971
|
+
QuizShowFormatType: "score_with_total" | "score" | "percent" | "text" | "off";
|
|
914
972
|
/** AnswerQuizOut */
|
|
915
973
|
AnswerQuizOut: {
|
|
916
974
|
/**
|
|
917
975
|
* Scores
|
|
918
|
-
* @description Баллы за ответ на форму
|
|
976
|
+
* @description Баллы за ответ на форму (либо процент при show_format=percent)
|
|
919
977
|
*/
|
|
920
|
-
scores
|
|
978
|
+
scores?: number;
|
|
921
979
|
/**
|
|
922
980
|
* Total
|
|
923
981
|
* @description Максимальное количество баллов за ответ на форму
|
|
924
982
|
*/
|
|
925
|
-
total
|
|
983
|
+
total?: number;
|
|
926
984
|
/**
|
|
927
985
|
* Questions
|
|
928
986
|
* @description Количество вопросов с тестами
|
|
@@ -948,6 +1006,8 @@ export interface components {
|
|
|
948
1006
|
* @description Показывать результаты прохождения теста?
|
|
949
1007
|
*/
|
|
950
1008
|
show_results: boolean;
|
|
1009
|
+
/** @description Формат отображения результатов теста */
|
|
1010
|
+
show_format?: components["schemas"]["QuizShowFormatType"];
|
|
951
1011
|
};
|
|
952
1012
|
/**
|
|
953
1013
|
* QuestionType
|
|
@@ -1090,6 +1150,11 @@ export interface components {
|
|
|
1090
1150
|
* @description Правильный ли ответ на вопрос (для вопросов с баллами)
|
|
1091
1151
|
*/
|
|
1092
1152
|
correct?: boolean;
|
|
1153
|
+
/**
|
|
1154
|
+
* Comment
|
|
1155
|
+
* @description Комментарий к ответу на вопрос с тестом
|
|
1156
|
+
*/
|
|
1157
|
+
comment?: string;
|
|
1093
1158
|
/**
|
|
1094
1159
|
* Value
|
|
1095
1160
|
* @description Значение ответа на вопрос
|
|
@@ -1438,6 +1503,8 @@ export interface components {
|
|
|
1438
1503
|
* @description Показывать результаты теста?
|
|
1439
1504
|
*/
|
|
1440
1505
|
show_results: boolean;
|
|
1506
|
+
/** @description Формат отображения результатов теста */
|
|
1507
|
+
show_format: components["schemas"]["QuizShowFormatType"];
|
|
1441
1508
|
/**
|
|
1442
1509
|
* Show Correct
|
|
1443
1510
|
* @description Показывать правильные ответы?
|
|
@@ -1857,6 +1924,8 @@ export interface components {
|
|
|
1857
1924
|
* @default false
|
|
1858
1925
|
*/
|
|
1859
1926
|
show_results?: boolean;
|
|
1927
|
+
/** @description Формат отображения результатов теста */
|
|
1928
|
+
show_format?: components["schemas"]["QuizShowFormatType"];
|
|
1860
1929
|
/**
|
|
1861
1930
|
* Show Correct
|
|
1862
1931
|
* @description Показывать правильные ответы?
|
|
@@ -3524,7 +3593,7 @@ export interface components {
|
|
|
3524
3593
|
* @description An enumeration.
|
|
3525
3594
|
* @enum {string}
|
|
3526
3595
|
*/
|
|
3527
|
-
SubscriptionType: "email" | "tracker" | "wiki" | "jsonrpc" | "post" | "put" | "http" | "function";
|
|
3596
|
+
SubscriptionType: "email" | "tracker" | "tracker_comment" | "wiki" | "jsonrpc" | "post" | "put" | "http" | "function";
|
|
3528
3597
|
/** FrontendSubmitIntegrationOut */
|
|
3529
3598
|
FrontendSubmitIntegrationOut: {
|
|
3530
3599
|
/**
|
|
@@ -3568,6 +3637,39 @@ export interface components {
|
|
|
3568
3637
|
*/
|
|
3569
3638
|
button: string;
|
|
3570
3639
|
};
|
|
3640
|
+
/** FrontendSubmitQuizResultScoreOut */
|
|
3641
|
+
FrontendSubmitQuizResultScoreOut: {
|
|
3642
|
+
/**
|
|
3643
|
+
* Show Format
|
|
3644
|
+
* @description Формат отображения результатов теста
|
|
3645
|
+
* @enum {string}
|
|
3646
|
+
*/
|
|
3647
|
+
show_format: "score" | "percent";
|
|
3648
|
+
/**
|
|
3649
|
+
* Scores
|
|
3650
|
+
* @description Набранное количество баллов за тест либо процент
|
|
3651
|
+
*/
|
|
3652
|
+
scores: number;
|
|
3653
|
+
};
|
|
3654
|
+
/** FrontendSubmitQuizResultScoreWithTotalOut */
|
|
3655
|
+
FrontendSubmitQuizResultScoreWithTotalOut: {
|
|
3656
|
+
/**
|
|
3657
|
+
* Show Format
|
|
3658
|
+
* @description Формат отображения результатов теста
|
|
3659
|
+
* @enum {string}
|
|
3660
|
+
*/
|
|
3661
|
+
show_format: "score_with_total";
|
|
3662
|
+
/**
|
|
3663
|
+
* Scores
|
|
3664
|
+
* @description Набранное количество баллов за тест
|
|
3665
|
+
*/
|
|
3666
|
+
scores: number;
|
|
3667
|
+
/**
|
|
3668
|
+
* Total Scores
|
|
3669
|
+
* @description Максимальное количество баллов за тест
|
|
3670
|
+
*/
|
|
3671
|
+
total_scores: number;
|
|
3672
|
+
};
|
|
3571
3673
|
/** FrontendSubmitPaymentOut */
|
|
3572
3674
|
FrontendSubmitPaymentOut: {
|
|
3573
3675
|
/**
|
|
@@ -3658,11 +3760,6 @@ export interface components {
|
|
|
3658
3760
|
* @description Заполнить форму повторно?
|
|
3659
3761
|
*/
|
|
3660
3762
|
fill_again?: boolean;
|
|
3661
|
-
/**
|
|
3662
|
-
* Results
|
|
3663
|
-
* @description Показывать результат прохожнения теста?
|
|
3664
|
-
*/
|
|
3665
|
-
results?: boolean;
|
|
3666
3763
|
/**
|
|
3667
3764
|
* Correct
|
|
3668
3765
|
* @description Показывать правильные ответы на тест?
|
|
@@ -3679,15 +3776,10 @@ export interface components {
|
|
|
3679
3776
|
*/
|
|
3680
3777
|
image?: components["schemas"]["ImageOut"];
|
|
3681
3778
|
/**
|
|
3682
|
-
*
|
|
3683
|
-
* @description
|
|
3684
|
-
*/
|
|
3685
|
-
scores?: number;
|
|
3686
|
-
/**
|
|
3687
|
-
* Total Scores
|
|
3688
|
-
* @description Максимальное количество баллов за тест
|
|
3779
|
+
* Quiz Result
|
|
3780
|
+
* @description Результат прохождения теста
|
|
3689
3781
|
*/
|
|
3690
|
-
|
|
3782
|
+
quiz_result?: components["schemas"]["FrontendSubmitQuizResultScoreOut"] | components["schemas"]["FrontendSubmitQuizResultScoreWithTotalOut"];
|
|
3691
3783
|
/**
|
|
3692
3784
|
* Payment
|
|
3693
3785
|
* @description Данные для формы оплаты
|
|
@@ -6544,7 +6636,7 @@ export interface components {
|
|
|
6544
6636
|
* @description An enumeration.
|
|
6545
6637
|
* @enum {string}
|
|
6546
6638
|
*/
|
|
6547
|
-
VariableTypes: "answer.date_created" | "answer.date_started" | "answer.duration" | "form.answer_id" | "form.answer_url" | "form.author_email" | "form.date_updated" | "form.id" | "form.name" | "form.question_answer" | "form.question_answer_choice_slug" | "form.questions_answers" | "form.questions_answers_json" | "form.url" | "user.department" | "user.email" | "user.group" | "user.head" | "user.login_b2b" | "user.name" | "user.phone" | "quiz.answer_scores" | "quiz.description" | "quiz.question_count" | "quiz.question_scores" | "quiz.title" | "quiz.total_scores" | "request.host" | "request.query_param" | "request.query_params" | "request.url" | "browser.name" | "browser.osfamily" | "browser.osname" | "browser.osversion" | "browser.version" | "dir_staff.meta_question" | "dir_staff.meta_user";
|
|
6639
|
+
VariableTypes: "tracker.issue_key" | "answer.date_created" | "answer.date_started" | "answer.duration" | "form.answer_id" | "form.answer_url" | "form.author_email" | "form.date_updated" | "form.id" | "form.name" | "form.question_answer" | "form.question_answer_choice_slug" | "form.questions_answers" | "form.questions_answers_json" | "form.url" | "user.department" | "user.email" | "user.group" | "user.head" | "user.login_b2b" | "user.name" | "user.phone" | "quiz.answer_scores" | "quiz.description" | "quiz.question_count" | "quiz.question_scores" | "quiz.title" | "quiz.total_scores" | "request.host" | "request.query_param" | "request.query_params" | "request.url" | "browser.name" | "browser.osfamily" | "browser.osname" | "browser.osversion" | "browser.version" | "dir_staff.meta_question" | "dir_staff.meta_user";
|
|
6548
6640
|
/**
|
|
6549
6641
|
* RendererTypes
|
|
6550
6642
|
* @description An enumeration.
|
|
@@ -6625,6 +6717,11 @@ export interface components {
|
|
|
6625
6717
|
};
|
|
6626
6718
|
/** SubscriptionStaticAttachmentOut */
|
|
6627
6719
|
SubscriptionStaticAttachmentOut: {
|
|
6720
|
+
/**
|
|
6721
|
+
* Id
|
|
6722
|
+
* @description Код файла
|
|
6723
|
+
*/
|
|
6724
|
+
id: number;
|
|
6628
6725
|
/**
|
|
6629
6726
|
* Name
|
|
6630
6727
|
* @description Имя файла
|
|
@@ -6715,12 +6812,6 @@ export interface components {
|
|
|
6715
6812
|
*/
|
|
6716
6813
|
attachments?: components["schemas"]["SubscriptionAttachmentsPublicOut"];
|
|
6717
6814
|
};
|
|
6718
|
-
/**
|
|
6719
|
-
* StartrekSubscriptionType
|
|
6720
|
-
* @description An enumeration.
|
|
6721
|
-
* @enum {string}
|
|
6722
|
-
*/
|
|
6723
|
-
StartrekSubscriptionType: "ticket" | "comment";
|
|
6724
6815
|
/** SubscriptionFieldKeyOut */
|
|
6725
6816
|
SubscriptionFieldKeyOut: {
|
|
6726
6817
|
/**
|
|
@@ -6761,6 +6852,33 @@ export interface components {
|
|
|
6761
6852
|
};
|
|
6762
6853
|
/** SubscriptionTrackerPublicOut */
|
|
6763
6854
|
SubscriptionTrackerPublicOut: {
|
|
6855
|
+
/**
|
|
6856
|
+
* Body
|
|
6857
|
+
* @description Текст
|
|
6858
|
+
*/
|
|
6859
|
+
body?: string;
|
|
6860
|
+
/**
|
|
6861
|
+
* Fields
|
|
6862
|
+
* @description Список полей
|
|
6863
|
+
*/
|
|
6864
|
+
fields?: components["schemas"]["SubscriptionFieldOut"][];
|
|
6865
|
+
/**
|
|
6866
|
+
* Attachments
|
|
6867
|
+
* @description Список файлов
|
|
6868
|
+
*/
|
|
6869
|
+
attachments?: components["schemas"]["SubscriptionAttachmentsPublicOut"];
|
|
6870
|
+
/**
|
|
6871
|
+
* Type
|
|
6872
|
+
* @description Тип интеграции
|
|
6873
|
+
* @default tracker
|
|
6874
|
+
* @enum {string}
|
|
6875
|
+
*/
|
|
6876
|
+
type?: "tracker";
|
|
6877
|
+
/**
|
|
6878
|
+
* Subject
|
|
6879
|
+
* @description Тема тикета
|
|
6880
|
+
*/
|
|
6881
|
+
subject?: string;
|
|
6764
6882
|
/**
|
|
6765
6883
|
* Queue
|
|
6766
6884
|
* @description Очередь
|
|
@@ -6776,11 +6894,6 @@ export interface components {
|
|
|
6776
6894
|
* @description Автор
|
|
6777
6895
|
*/
|
|
6778
6896
|
author?: string;
|
|
6779
|
-
/**
|
|
6780
|
-
* Is Author Robot
|
|
6781
|
-
* @description Создавать от имени робота?
|
|
6782
|
-
*/
|
|
6783
|
-
is_author_robot?: boolean;
|
|
6784
6897
|
/**
|
|
6785
6898
|
* Assignee
|
|
6786
6899
|
* @description Исполнитель
|
|
@@ -6797,32 +6910,45 @@ export interface components {
|
|
|
6797
6910
|
*/
|
|
6798
6911
|
priority?: number;
|
|
6799
6912
|
/**
|
|
6800
|
-
*
|
|
6801
|
-
* @
|
|
6913
|
+
* Id
|
|
6914
|
+
* @description Код интеграции
|
|
6802
6915
|
*/
|
|
6803
|
-
|
|
6916
|
+
id: number;
|
|
6804
6917
|
/**
|
|
6805
|
-
*
|
|
6806
|
-
* @description
|
|
6918
|
+
* Active
|
|
6919
|
+
* @description Интеграция активна?
|
|
6920
|
+
* @default false
|
|
6807
6921
|
*/
|
|
6808
|
-
|
|
6922
|
+
active?: boolean;
|
|
6809
6923
|
/**
|
|
6810
|
-
*
|
|
6811
|
-
* @description
|
|
6812
|
-
* @default
|
|
6813
|
-
* @enum {string}
|
|
6924
|
+
* Follow
|
|
6925
|
+
* @description Следить за результатом работы интеграции?
|
|
6926
|
+
* @default false
|
|
6814
6927
|
*/
|
|
6815
|
-
|
|
6928
|
+
follow?: boolean;
|
|
6816
6929
|
/**
|
|
6817
|
-
*
|
|
6818
|
-
* @description
|
|
6930
|
+
* Variables
|
|
6931
|
+
* @description Список переменных
|
|
6819
6932
|
*/
|
|
6820
|
-
|
|
6933
|
+
variables?: components["schemas"]["VariablePublicOut"][];
|
|
6934
|
+
};
|
|
6935
|
+
/** SubscriptionTrackerCommentPublicOut */
|
|
6936
|
+
SubscriptionTrackerCommentPublicOut: {
|
|
6821
6937
|
/**
|
|
6822
6938
|
* Body
|
|
6823
|
-
* @description Текст
|
|
6939
|
+
* @description Текст
|
|
6824
6940
|
*/
|
|
6825
6941
|
body?: string;
|
|
6942
|
+
/**
|
|
6943
|
+
* Fields
|
|
6944
|
+
* @description Список полей
|
|
6945
|
+
*/
|
|
6946
|
+
fields?: components["schemas"]["SubscriptionFieldOut"][];
|
|
6947
|
+
/**
|
|
6948
|
+
* Attachments
|
|
6949
|
+
* @description Список файлов
|
|
6950
|
+
*/
|
|
6951
|
+
attachments?: components["schemas"]["SubscriptionAttachmentsPublicOut"];
|
|
6826
6952
|
/**
|
|
6827
6953
|
* Id
|
|
6828
6954
|
* @description Код интеграции
|
|
@@ -6846,10 +6972,17 @@ export interface components {
|
|
|
6846
6972
|
*/
|
|
6847
6973
|
variables?: components["schemas"]["VariablePublicOut"][];
|
|
6848
6974
|
/**
|
|
6849
|
-
*
|
|
6850
|
-
* @description
|
|
6975
|
+
* Type
|
|
6976
|
+
* @description Тип интеграции
|
|
6977
|
+
* @default tracker_comment
|
|
6978
|
+
* @enum {string}
|
|
6851
6979
|
*/
|
|
6852
|
-
|
|
6980
|
+
type?: "tracker_comment";
|
|
6981
|
+
/**
|
|
6982
|
+
* Issue
|
|
6983
|
+
* @description Тикет для создания комментария
|
|
6984
|
+
*/
|
|
6985
|
+
issue?: string;
|
|
6853
6986
|
};
|
|
6854
6987
|
/** SubscriptionWikiKey */
|
|
6855
6988
|
SubscriptionWikiKey: {
|
|
@@ -7100,7 +7233,7 @@ export interface components {
|
|
|
7100
7233
|
* SubscriptionPublicOut
|
|
7101
7234
|
* @description Данные интеграции
|
|
7102
7235
|
*/
|
|
7103
|
-
SubscriptionPublicOut: components["schemas"]["SubscriptionEmailPublicOut"] | components["schemas"]["SubscriptionTrackerPublicOut"] | components["schemas"]["SubscriptionWikiPublicOut"] | components["schemas"]["SubscriptionJsonRpcPublicOut"] | components["schemas"]["SubscriptionHttpPublicOut"] | components["schemas"]["SubscriptionCloudFunctionPublicOut"];
|
|
7236
|
+
SubscriptionPublicOut: components["schemas"]["SubscriptionEmailPublicOut"] | components["schemas"]["SubscriptionTrackerPublicOut"] | components["schemas"]["SubscriptionTrackerCommentPublicOut"] | components["schemas"]["SubscriptionWikiPublicOut"] | components["schemas"]["SubscriptionJsonRpcPublicOut"] | components["schemas"]["SubscriptionHttpPublicOut"] | components["schemas"]["SubscriptionCloudFunctionPublicOut"];
|
|
7104
7237
|
/** HookPublicOut */
|
|
7105
7238
|
HookPublicOut: {
|
|
7106
7239
|
/**
|
|
@@ -7352,27 +7485,45 @@ export interface components {
|
|
|
7352
7485
|
/** SubscriptionTrackerPublicIn */
|
|
7353
7486
|
SubscriptionTrackerPublicIn: {
|
|
7354
7487
|
/**
|
|
7355
|
-
*
|
|
7356
|
-
* @
|
|
7488
|
+
* Body
|
|
7489
|
+
* @description Текст
|
|
7357
7490
|
*/
|
|
7358
|
-
|
|
7359
|
-
/** @description Тип действия: создание тикета или комментария */
|
|
7360
|
-
subscription_type?: components["schemas"]["StartrekSubscriptionType"];
|
|
7491
|
+
body?: string;
|
|
7361
7492
|
/**
|
|
7362
|
-
*
|
|
7363
|
-
* @description
|
|
7493
|
+
* Fields
|
|
7494
|
+
* @description Список полей
|
|
7364
7495
|
*/
|
|
7365
|
-
|
|
7496
|
+
fields?: components["schemas"]["SubscriptionFieldIn"][];
|
|
7366
7497
|
/**
|
|
7367
|
-
*
|
|
7368
|
-
* @description
|
|
7498
|
+
* Attachments
|
|
7499
|
+
* @description Список файлов
|
|
7369
7500
|
*/
|
|
7370
|
-
|
|
7501
|
+
attachments?: components["schemas"]["SubscriptionAttachmentsPublicIn"];
|
|
7371
7502
|
/**
|
|
7372
|
-
*
|
|
7373
|
-
* @description
|
|
7503
|
+
* Active
|
|
7504
|
+
* @description Интеграция активна?
|
|
7374
7505
|
*/
|
|
7375
|
-
|
|
7506
|
+
active?: boolean;
|
|
7507
|
+
/**
|
|
7508
|
+
* Follow
|
|
7509
|
+
* @description Следить за результатом работы интеграции?
|
|
7510
|
+
*/
|
|
7511
|
+
follow?: boolean;
|
|
7512
|
+
/**
|
|
7513
|
+
* Variables
|
|
7514
|
+
* @description Список переменных для рендеринга интеграции
|
|
7515
|
+
*/
|
|
7516
|
+
variables?: components["schemas"]["VariablePublicIn"][];
|
|
7517
|
+
/**
|
|
7518
|
+
* @description Тип интеграции (enum property replaced by openapi-typescript)
|
|
7519
|
+
* @enum {string}
|
|
7520
|
+
*/
|
|
7521
|
+
type: "tracker";
|
|
7522
|
+
/**
|
|
7523
|
+
* Subject
|
|
7524
|
+
* @description Тема тикета
|
|
7525
|
+
*/
|
|
7526
|
+
subject?: string;
|
|
7376
7527
|
/**
|
|
7377
7528
|
* Queue
|
|
7378
7529
|
* @description Очередь
|
|
@@ -7394,13 +7545,21 @@ export interface components {
|
|
|
7394
7545
|
*/
|
|
7395
7546
|
assignee?: string;
|
|
7396
7547
|
/**
|
|
7397
|
-
*
|
|
7398
|
-
* @description
|
|
7548
|
+
* Issue Type
|
|
7549
|
+
* @description Тип тикета
|
|
7399
7550
|
*/
|
|
7400
|
-
|
|
7551
|
+
issue_type?: number;
|
|
7552
|
+
/**
|
|
7553
|
+
* Priority
|
|
7554
|
+
* @description Приоритет тикета
|
|
7555
|
+
*/
|
|
7556
|
+
priority?: number;
|
|
7557
|
+
};
|
|
7558
|
+
/** SubscriptionTrackerCommentPublicIn */
|
|
7559
|
+
SubscriptionTrackerCommentPublicIn: {
|
|
7401
7560
|
/**
|
|
7402
7561
|
* Body
|
|
7403
|
-
* @description Текст
|
|
7562
|
+
* @description Текст
|
|
7404
7563
|
*/
|
|
7405
7564
|
body?: string;
|
|
7406
7565
|
/**
|
|
@@ -7408,6 +7567,11 @@ export interface components {
|
|
|
7408
7567
|
* @description Список полей
|
|
7409
7568
|
*/
|
|
7410
7569
|
fields?: components["schemas"]["SubscriptionFieldIn"][];
|
|
7570
|
+
/**
|
|
7571
|
+
* Attachments
|
|
7572
|
+
* @description Список файлов
|
|
7573
|
+
*/
|
|
7574
|
+
attachments?: components["schemas"]["SubscriptionAttachmentsPublicIn"];
|
|
7411
7575
|
/**
|
|
7412
7576
|
* Active
|
|
7413
7577
|
* @description Интеграция активна?
|
|
@@ -7424,10 +7588,15 @@ export interface components {
|
|
|
7424
7588
|
*/
|
|
7425
7589
|
variables?: components["schemas"]["VariablePublicIn"][];
|
|
7426
7590
|
/**
|
|
7427
|
-
*
|
|
7428
|
-
* @
|
|
7591
|
+
* @description Тип интеграции (enum property replaced by openapi-typescript)
|
|
7592
|
+
* @enum {string}
|
|
7429
7593
|
*/
|
|
7430
|
-
|
|
7594
|
+
type: "tracker_comment";
|
|
7595
|
+
/**
|
|
7596
|
+
* Issue
|
|
7597
|
+
* @description Тикет для создания комментария
|
|
7598
|
+
*/
|
|
7599
|
+
issue?: string;
|
|
7431
7600
|
};
|
|
7432
7601
|
/** SubscriptionWikiPublicIn */
|
|
7433
7602
|
SubscriptionWikiPublicIn: {
|
|
@@ -7613,13 +7782,13 @@ export interface components {
|
|
|
7613
7782
|
* SubscriptionPublicIn
|
|
7614
7783
|
* @description Данные интеграции
|
|
7615
7784
|
*/
|
|
7616
|
-
SubscriptionPublicIn: components["schemas"]["SubscriptionEmailPublicIn"] | components["schemas"]["SubscriptionTrackerPublicIn"] | components["schemas"]["SubscriptionWikiPublicIn"] | components["schemas"]["SubscriptionJsonRpcPublicIn"] | components["schemas"]["SubscriptionHttpPublicIn"] | components["schemas"]["SubscriptionCloudFunctionPublicIn"];
|
|
7785
|
+
SubscriptionPublicIn: components["schemas"]["SubscriptionEmailPublicIn"] | components["schemas"]["SubscriptionTrackerPublicIn"] | components["schemas"]["SubscriptionTrackerCommentPublicIn"] | components["schemas"]["SubscriptionWikiPublicIn"] | components["schemas"]["SubscriptionJsonRpcPublicIn"] | components["schemas"]["SubscriptionHttpPublicIn"] | components["schemas"]["SubscriptionCloudFunctionPublicIn"];
|
|
7617
7786
|
/**
|
|
7618
7787
|
* VariableCategoryTypes
|
|
7619
7788
|
* @description An enumeration.
|
|
7620
7789
|
* @enum {string}
|
|
7621
7790
|
*/
|
|
7622
|
-
VariableCategoryTypes: "form" | "user" | "quiz" | "request" | "browser" | "dir_staff";
|
|
7791
|
+
VariableCategoryTypes: "tracker" | "form" | "user" | "quiz" | "request" | "browser" | "dir_staff";
|
|
7623
7792
|
/** VariableCategoryOut */
|
|
7624
7793
|
VariableCategoryOut: {
|
|
7625
7794
|
/** @description Тип категории переменных */
|
|
@@ -7670,6 +7839,21 @@ export interface components {
|
|
|
7670
7839
|
*/
|
|
7671
7840
|
renderers?: components["schemas"]["VariableRendererOut"][];
|
|
7672
7841
|
};
|
|
7842
|
+
/** AnswerRestoreErrorOut */
|
|
7843
|
+
AnswerRestoreErrorOut: {
|
|
7844
|
+
/**
|
|
7845
|
+
* Code
|
|
7846
|
+
* @description Код ошибки
|
|
7847
|
+
* @default not_awailable
|
|
7848
|
+
* @enum {string}
|
|
7849
|
+
*/
|
|
7850
|
+
code?: "not_awailable";
|
|
7851
|
+
/**
|
|
7852
|
+
* Detail
|
|
7853
|
+
* @description Текст ошибки
|
|
7854
|
+
*/
|
|
7855
|
+
detail: string;
|
|
7856
|
+
};
|
|
7673
7857
|
/** ResultOkOut */
|
|
7674
7858
|
ResultOkOut: {
|
|
7675
7859
|
/**
|
|
@@ -8039,6 +8223,11 @@ export interface components {
|
|
|
8039
8223
|
* @description Фильтр по избранному
|
|
8040
8224
|
*/
|
|
8041
8225
|
favourite?: boolean;
|
|
8226
|
+
/**
|
|
8227
|
+
* Show All
|
|
8228
|
+
* @description Показывать все формы в организации для админа
|
|
8229
|
+
*/
|
|
8230
|
+
show_all?: boolean;
|
|
8042
8231
|
};
|
|
8043
8232
|
EventsB2bV1ViewsSurveysGetSurveyPublicViewParams: {
|
|
8044
8233
|
/** Survey Id */
|
|
@@ -8171,6 +8360,10 @@ export interface components {
|
|
|
8171
8360
|
/** Survey Id */
|
|
8172
8361
|
survey_id: string;
|
|
8173
8362
|
};
|
|
8363
|
+
EventsB2bV1ViewsImagesCloneImagePublicViewParams: {
|
|
8364
|
+
/** Survey Id */
|
|
8365
|
+
survey_id: string;
|
|
8366
|
+
};
|
|
8174
8367
|
EventsB2bV1ViewsQuestionsCreateQuestionPublicViewParams: {
|
|
8175
8368
|
/** Survey Id */
|
|
8176
8369
|
survey_id: string;
|
|
@@ -8550,6 +8743,18 @@ export interface components {
|
|
|
8550
8743
|
};
|
|
8551
8744
|
/** Response */
|
|
8552
8745
|
EventsB2bV1ViewsSurveysGetVisibleErrorsPublicViewResponse: number[];
|
|
8746
|
+
EventsB2bV1ViewsAnswersDeleteAnswerPublicViewParams: {
|
|
8747
|
+
/** Survey Id */
|
|
8748
|
+
survey_id: string;
|
|
8749
|
+
/** Answer Id */
|
|
8750
|
+
answer_id: number;
|
|
8751
|
+
};
|
|
8752
|
+
EventsB2bV1ViewsAnswersRestoreAnswerPublicViewParams: {
|
|
8753
|
+
/** Survey Id */
|
|
8754
|
+
survey_id: string;
|
|
8755
|
+
/** Answer Id */
|
|
8756
|
+
answer_id: number;
|
|
8757
|
+
};
|
|
8553
8758
|
EventsV3ViewsOperationsGetOperationViewParams: {
|
|
8554
8759
|
/** Operation Id */
|
|
8555
8760
|
operation_id: string;
|
|
@@ -8639,7 +8844,7 @@ export interface components {
|
|
|
8639
8844
|
*/
|
|
8640
8845
|
ordering?: "asc" | "desc";
|
|
8641
8846
|
/** @description Тип интеграции */
|
|
8642
|
-
type?: "email" | "tracker" | "wiki" | "jsonrpc" | "post" | "put" | "http" | "function";
|
|
8847
|
+
type?: "email" | "tracker" | "tracker_comment" | "wiki" | "jsonrpc" | "post" | "put" | "http" | "function";
|
|
8643
8848
|
};
|
|
8644
8849
|
};
|
|
8645
8850
|
responses: never;
|
|
@@ -8759,6 +8964,8 @@ export interface operations {
|
|
|
8759
8964
|
offset?: number;
|
|
8760
8965
|
/** @description Фильтр по избранному */
|
|
8761
8966
|
favourite?: boolean;
|
|
8967
|
+
/** @description Показывать все формы в организации для админа */
|
|
8968
|
+
show_all?: boolean;
|
|
8762
8969
|
};
|
|
8763
8970
|
header?: never;
|
|
8764
8971
|
path?: never;
|
|
@@ -9290,6 +9497,32 @@ export interface operations {
|
|
|
9290
9497
|
};
|
|
9291
9498
|
};
|
|
9292
9499
|
};
|
|
9500
|
+
events_b2b_v1_views_images_clone_image_public_view: {
|
|
9501
|
+
parameters: {
|
|
9502
|
+
query?: never;
|
|
9503
|
+
header?: never;
|
|
9504
|
+
path: {
|
|
9505
|
+
survey_id: string;
|
|
9506
|
+
};
|
|
9507
|
+
cookie?: never;
|
|
9508
|
+
};
|
|
9509
|
+
requestBody: {
|
|
9510
|
+
content: {
|
|
9511
|
+
"application/json": components["schemas"]["ImageIn"];
|
|
9512
|
+
};
|
|
9513
|
+
};
|
|
9514
|
+
responses: {
|
|
9515
|
+
/** @description OK */
|
|
9516
|
+
200: {
|
|
9517
|
+
headers: {
|
|
9518
|
+
[name: string]: unknown;
|
|
9519
|
+
};
|
|
9520
|
+
content: {
|
|
9521
|
+
"application/json": components["schemas"]["ImageOut"];
|
|
9522
|
+
};
|
|
9523
|
+
};
|
|
9524
|
+
};
|
|
9525
|
+
};
|
|
9293
9526
|
events_b2b_v1_views_questions_get_questions_public_view: {
|
|
9294
9527
|
parameters: {
|
|
9295
9528
|
query?: never;
|
|
@@ -10609,6 +10842,57 @@ export interface operations {
|
|
|
10609
10842
|
};
|
|
10610
10843
|
};
|
|
10611
10844
|
};
|
|
10845
|
+
events_b2b_v1_views_answers_delete_answer_public_view: {
|
|
10846
|
+
parameters: {
|
|
10847
|
+
query?: never;
|
|
10848
|
+
header?: never;
|
|
10849
|
+
path: {
|
|
10850
|
+
survey_id: string;
|
|
10851
|
+
answer_id: number;
|
|
10852
|
+
};
|
|
10853
|
+
cookie?: never;
|
|
10854
|
+
};
|
|
10855
|
+
requestBody?: never;
|
|
10856
|
+
responses: {
|
|
10857
|
+
/** @description No Content */
|
|
10858
|
+
204: {
|
|
10859
|
+
headers: {
|
|
10860
|
+
[name: string]: unknown;
|
|
10861
|
+
};
|
|
10862
|
+
content?: never;
|
|
10863
|
+
};
|
|
10864
|
+
};
|
|
10865
|
+
};
|
|
10866
|
+
events_b2b_v1_views_answers_restore_answer_public_view: {
|
|
10867
|
+
parameters: {
|
|
10868
|
+
query?: never;
|
|
10869
|
+
header?: never;
|
|
10870
|
+
path: {
|
|
10871
|
+
survey_id: string;
|
|
10872
|
+
answer_id: number;
|
|
10873
|
+
};
|
|
10874
|
+
cookie?: never;
|
|
10875
|
+
};
|
|
10876
|
+
requestBody?: never;
|
|
10877
|
+
responses: {
|
|
10878
|
+
/** @description OK */
|
|
10879
|
+
200: {
|
|
10880
|
+
headers: {
|
|
10881
|
+
[name: string]: unknown;
|
|
10882
|
+
};
|
|
10883
|
+
content?: never;
|
|
10884
|
+
};
|
|
10885
|
+
/** @description Unprocessable Content */
|
|
10886
|
+
422: {
|
|
10887
|
+
headers: {
|
|
10888
|
+
[name: string]: unknown;
|
|
10889
|
+
};
|
|
10890
|
+
content: {
|
|
10891
|
+
"application/json": components["schemas"]["AnswerRestoreErrorOut"];
|
|
10892
|
+
};
|
|
10893
|
+
};
|
|
10894
|
+
};
|
|
10895
|
+
};
|
|
10612
10896
|
events_v3_views_operations_get_operation_view: {
|
|
10613
10897
|
parameters: {
|
|
10614
10898
|
query?: never;
|
|
@@ -10749,7 +11033,7 @@ export interface operations {
|
|
|
10749
11033
|
/** @description Сортировка ответов */
|
|
10750
11034
|
ordering?: "asc" | "desc";
|
|
10751
11035
|
/** @description Тип интеграции */
|
|
10752
|
-
type?: "email" | "tracker" | "wiki" | "jsonrpc" | "post" | "put" | "http" | "function";
|
|
11036
|
+
type?: "email" | "tracker" | "tracker_comment" | "wiki" | "jsonrpc" | "post" | "put" | "http" | "function";
|
|
10753
11037
|
};
|
|
10754
11038
|
header?: never;
|
|
10755
11039
|
path?: never;
|
|
@@ -10806,6 +11090,7 @@ export type AnswerMatrixOut = components["schemas"]["AnswerMatrixOut"];
|
|
|
10806
11090
|
export type AnswerOut = components["schemas"]["AnswerOut"];
|
|
10807
11091
|
export type AnswerQuestionOut = components["schemas"]["AnswerQuestionOut"];
|
|
10808
11092
|
export type AnswerQuizOut = components["schemas"]["AnswerQuizOut"];
|
|
11093
|
+
export type AnswerRestoreErrorOut = components["schemas"]["AnswerRestoreErrorOut"];
|
|
10809
11094
|
export type AnswerStringScoresOut = components["schemas"]["AnswerStringScoresOut"];
|
|
10810
11095
|
export type AnswerSurveyOut = components["schemas"]["AnswerSurveyOut"];
|
|
10811
11096
|
export type AnswersNextOut = components["schemas"]["AnswersNextOut"];
|
|
@@ -10823,6 +11108,7 @@ export type CreateSurveyPublicIn = components["schemas"]["CreateSurveyPublicIn"]
|
|
|
10823
11108
|
export type DataSourceType = components["schemas"]["DataSourceType"];
|
|
10824
11109
|
export type ErrorOut = components["schemas"]["ErrorOut"];
|
|
10825
11110
|
export type ErrorType = components["schemas"]["ErrorType"];
|
|
11111
|
+
export type EventsB2bV1ViewsAnswersDeleteAnswerPublicViewParams = components["schemas"]["EventsB2bV1ViewsAnswersDeleteAnswerPublicViewParams"];
|
|
10826
11112
|
export type EventsB2bV1ViewsAnswersExportAnswersPublicViewParams = components["schemas"]["EventsB2bV1ViewsAnswersExportAnswersPublicViewParams"];
|
|
10827
11113
|
export type EventsB2bV1ViewsAnswersExportAnswersResultsPublicViewParams = components["schemas"]["EventsB2bV1ViewsAnswersExportAnswersResultsPublicViewParams"];
|
|
10828
11114
|
export type EventsB2bV1ViewsAnswersGetAnswerPublicViewParams = components["schemas"]["EventsB2bV1ViewsAnswersGetAnswerPublicViewParams"];
|
|
@@ -10830,6 +11116,7 @@ export type EventsB2bV1ViewsAnswersGetAnswersPublicViewParams = components["sche
|
|
|
10830
11116
|
export type EventsB2bV1ViewsAnswersGetAnswersPublicViewResponse = components["schemas"]["EventsB2bV1ViewsAnswersGetAnswersPublicViewResponse"];
|
|
10831
11117
|
export type EventsB2bV1ViewsAnswersGetIntegrationsPublicViewParams = components["schemas"]["EventsB2bV1ViewsAnswersGetIntegrationsPublicViewParams"];
|
|
10832
11118
|
export type EventsB2bV1ViewsAnswersGetIntegrationsPublicViewResponse = components["schemas"]["EventsB2bV1ViewsAnswersGetIntegrationsPublicViewResponse"];
|
|
11119
|
+
export type EventsB2bV1ViewsAnswersRestoreAnswerPublicViewParams = components["schemas"]["EventsB2bV1ViewsAnswersRestoreAnswerPublicViewParams"];
|
|
10833
11120
|
export type EventsB2bV1ViewsConditionsCreateHookConditionPublicViewParams = components["schemas"]["EventsB2bV1ViewsConditionsCreateHookConditionPublicViewParams"];
|
|
10834
11121
|
export type EventsB2bV1ViewsConditionsCreatePageConditionPublicViewParams = components["schemas"]["EventsB2bV1ViewsConditionsCreatePageConditionPublicViewParams"];
|
|
10835
11122
|
export type EventsB2bV1ViewsConditionsCreateQuestionConditionPublicViewParams = components["schemas"]["EventsB2bV1ViewsConditionsCreateQuestionConditionPublicViewParams"];
|
|
@@ -10870,6 +11157,7 @@ export type EventsB2bV1ViewsHooksGetVariablesPublicViewResponse = components["sc
|
|
|
10870
11157
|
export type EventsB2bV1ViewsHooksModifyHookPublicViewParams = components["schemas"]["EventsB2bV1ViewsHooksModifyHookPublicViewParams"];
|
|
10871
11158
|
export type EventsB2bV1ViewsHooksModifySubscriptionPublicViewParams = components["schemas"]["EventsB2bV1ViewsHooksModifySubscriptionPublicViewParams"];
|
|
10872
11159
|
export type EventsB2bV1ViewsHooksSaveSubscriptionAttachmentPublicViewParams = components["schemas"]["EventsB2bV1ViewsHooksSaveSubscriptionAttachmentPublicViewParams"];
|
|
11160
|
+
export type EventsB2bV1ViewsImagesCloneImagePublicViewParams = components["schemas"]["EventsB2bV1ViewsImagesCloneImagePublicViewParams"];
|
|
10873
11161
|
export type EventsB2bV1ViewsKeysetsCreateKeysetPublicViewParams = components["schemas"]["EventsB2bV1ViewsKeysetsCreateKeysetPublicViewParams"];
|
|
10874
11162
|
export type EventsB2bV1ViewsKeysetsDeleteKeysetPublicViewParams = components["schemas"]["EventsB2bV1ViewsKeysetsDeleteKeysetPublicViewParams"];
|
|
10875
11163
|
export type EventsB2bV1ViewsKeysetsDownloadKeysetPublicViewParams = components["schemas"]["EventsB2bV1ViewsKeysetsDownloadKeysetPublicViewParams"];
|
|
@@ -10963,6 +11251,8 @@ export type FrontendStylesOut = components["schemas"]["FrontendStylesOut"];
|
|
|
10963
11251
|
export type FrontendSubmitIntegrationOut = components["schemas"]["FrontendSubmitIntegrationOut"];
|
|
10964
11252
|
export type FrontendSubmitOut = components["schemas"]["FrontendSubmitOut"];
|
|
10965
11253
|
export type FrontendSubmitPaymentOut = components["schemas"]["FrontendSubmitPaymentOut"];
|
|
11254
|
+
export type FrontendSubmitQuizResultScoreOut = components["schemas"]["FrontendSubmitQuizResultScoreOut"];
|
|
11255
|
+
export type FrontendSubmitQuizResultScoreWithTotalOut = components["schemas"]["FrontendSubmitQuizResultScoreWithTotalOut"];
|
|
10966
11256
|
export type FrontendSubmitRedirectOut = components["schemas"]["FrontendSubmitRedirectOut"];
|
|
10967
11257
|
export type FrontendSuggestQuestionOut = components["schemas"]["FrontendSuggestQuestionOut"];
|
|
10968
11258
|
export type FrontendTextsOut = components["schemas"]["FrontendTextsOut"];
|
|
@@ -11045,6 +11335,7 @@ export type QuestionSuggestPublicOut = components["schemas"]["QuestionSuggestPub
|
|
|
11045
11335
|
export type QuestionType = components["schemas"]["QuestionType"];
|
|
11046
11336
|
export type QuestionsPublicOut = components["schemas"]["QuestionsPublicOut"];
|
|
11047
11337
|
export type QuizCalcMethodType = components["schemas"]["QuizCalcMethodType"];
|
|
11338
|
+
export type QuizShowFormatType = components["schemas"]["QuizShowFormatType"];
|
|
11048
11339
|
export type RawAnswerDataOut = components["schemas"]["RawAnswerDataOut"];
|
|
11049
11340
|
export type RawAnswersOut = components["schemas"]["RawAnswersOut"];
|
|
11050
11341
|
export type RendererTypes = components["schemas"]["RendererTypes"];
|
|
@@ -11054,7 +11345,6 @@ export type ResultOperationOut = components["schemas"]["ResultOperationOut"];
|
|
|
11054
11345
|
export type ResultSkipOut = components["schemas"]["ResultSkipOut"];
|
|
11055
11346
|
export type RevokeAccessIn = components["schemas"]["RevokeAccessIn"];
|
|
11056
11347
|
export type Source = components["schemas"]["Source"];
|
|
11057
|
-
export type StartrekSubscriptionType = components["schemas"]["StartrekSubscriptionType"];
|
|
11058
11348
|
export type StyleTemplateType = components["schemas"]["StyleTemplateType"];
|
|
11059
11349
|
export type SubscriptionAttachmentsPublicIn = components["schemas"]["SubscriptionAttachmentsPublicIn"];
|
|
11060
11350
|
export type SubscriptionAttachmentsPublicOut = components["schemas"]["SubscriptionAttachmentsPublicOut"];
|
|
@@ -11079,6 +11369,8 @@ export type SubscriptionQuestionAttachmentsIn = components["schemas"]["Subscript
|
|
|
11079
11369
|
export type SubscriptionQuestionAttachmentsOut = components["schemas"]["SubscriptionQuestionAttachmentsOut"];
|
|
11080
11370
|
export type SubscriptionStaticAttachmentIn = components["schemas"]["SubscriptionStaticAttachmentIn"];
|
|
11081
11371
|
export type SubscriptionStaticAttachmentOut = components["schemas"]["SubscriptionStaticAttachmentOut"];
|
|
11372
|
+
export type SubscriptionTrackerCommentPublicIn = components["schemas"]["SubscriptionTrackerCommentPublicIn"];
|
|
11373
|
+
export type SubscriptionTrackerCommentPublicOut = components["schemas"]["SubscriptionTrackerCommentPublicOut"];
|
|
11082
11374
|
export type SubscriptionTrackerPublicIn = components["schemas"]["SubscriptionTrackerPublicIn"];
|
|
11083
11375
|
export type SubscriptionTrackerPublicOut = components["schemas"]["SubscriptionTrackerPublicOut"];
|
|
11084
11376
|
export type SubscriptionType = components["schemas"]["SubscriptionType"];
|