@abyss-project/form 1.0.12 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/README.md +33 -2
  2. package/dist/api/abyss.admin.api.js +1 -0
  3. package/dist/api/abyss.admin.api.js.map +1 -0
  4. package/dist/api/form-code-block.admin.api.js +1 -0
  5. package/dist/api/form-code-block.admin.api.js.map +1 -0
  6. package/dist/api/form-code-block.api.js +1 -0
  7. package/dist/api/form-code-block.api.js.map +1 -0
  8. package/dist/api/form-document.admin.api.js +1 -0
  9. package/dist/api/form-document.admin.api.js.map +1 -0
  10. package/dist/api/form-document.api.d.ts +1 -2
  11. package/dist/api/form-document.api.js +2 -5
  12. package/dist/api/form-document.api.js.map +1 -0
  13. package/dist/api/form-submission.admin.api.js +1 -0
  14. package/dist/api/form-submission.admin.api.js.map +1 -0
  15. package/dist/api/form-submission.api.js +1 -0
  16. package/dist/api/form-submission.api.js.map +1 -0
  17. package/dist/api/form-webhook-history.admin.api.js +1 -0
  18. package/dist/api/form-webhook-history.admin.api.js.map +1 -0
  19. package/dist/api/form-webhook-history.api.js +1 -0
  20. package/dist/api/form-webhook-history.api.js.map +1 -0
  21. package/dist/api/form-webhook.admin.api.js +1 -0
  22. package/dist/api/form-webhook.admin.api.js.map +1 -0
  23. package/dist/api/form-webhook.api.js +1 -0
  24. package/dist/api/form-webhook.api.js.map +1 -0
  25. package/dist/api/form.admin.api.d.ts +4 -4
  26. package/dist/api/form.admin.api.js +12 -11
  27. package/dist/api/form.admin.api.js.map +1 -0
  28. package/dist/api/form.api.d.ts +2 -3
  29. package/dist/api/form.api.js +6 -9
  30. package/dist/api/form.api.js.map +1 -0
  31. package/dist/api/form.public.api.js +1 -0
  32. package/dist/api/form.public.api.js.map +1 -0
  33. package/dist/api/index.js +1 -0
  34. package/dist/api/index.js.map +1 -0
  35. package/dist/api/monitor.api.js +1 -0
  36. package/dist/api/monitor.api.js.map +1 -0
  37. package/dist/api/report.admin.api.js +1 -0
  38. package/dist/api/report.admin.api.js.map +1 -0
  39. package/dist/api/user.admin.api.js +1 -0
  40. package/dist/api/user.admin.api.js.map +1 -0
  41. package/dist/api/user.api.js +1 -0
  42. package/dist/api/user.api.js.map +1 -0
  43. package/dist/constants/form.constant.d.ts +1 -0
  44. package/dist/constants/form.constant.js +3 -1
  45. package/dist/constants/form.constant.js.map +1 -0
  46. package/dist/constants/index.js +1 -0
  47. package/dist/constants/index.js.map +1 -0
  48. package/dist/index.d.ts +6 -8
  49. package/dist/index.js +9 -13
  50. package/dist/index.js.map +1 -0
  51. package/dist/types/enum/api-error.enum.d.ts +3 -1
  52. package/dist/types/enum/api-error.enum.js +3 -0
  53. package/dist/types/enum/api-error.enum.js.map +1 -0
  54. package/dist/types/enum/cannot-start-submission-reason.enum.js +1 -0
  55. package/dist/types/enum/cannot-start-submission-reason.enum.js.map +1 -0
  56. package/dist/types/enum/form-content-question-type.enum.js +1 -0
  57. package/dist/types/enum/form-content-question-type.enum.js.map +1 -0
  58. package/dist/types/enum/form-document-source.enum.js +1 -0
  59. package/dist/types/enum/form-document-source.enum.js.map +1 -0
  60. package/dist/types/enum/form-status.enum.js +1 -0
  61. package/dist/types/enum/form-status.enum.js.map +1 -0
  62. package/dist/types/enum/form-webhook-type.enum.js +1 -0
  63. package/dist/types/enum/form-webhook-type.enum.js.map +1 -0
  64. package/dist/types/enum/index.d.ts +1 -0
  65. package/dist/types/enum/index.js +2 -0
  66. package/dist/types/enum/index.js.map +1 -0
  67. package/dist/types/enum/share-permission.enum.d.ts +11 -0
  68. package/dist/types/enum/share-permission.enum.js +17 -0
  69. package/dist/types/enum/share-permission.enum.js.map +1 -0
  70. package/dist/types/index.js +1 -0
  71. package/dist/types/index.js.map +1 -0
  72. package/dist/types/interface/api/index.js +1 -0
  73. package/dist/types/interface/api/index.js.map +1 -0
  74. package/dist/types/interface/api/requests/abyss.admin.request.js +1 -0
  75. package/dist/types/interface/api/requests/abyss.admin.request.js.map +1 -0
  76. package/dist/types/interface/api/requests/form-code-block.admin.request.js +1 -0
  77. package/dist/types/interface/api/requests/form-code-block.admin.request.js.map +1 -0
  78. package/dist/types/interface/api/requests/form-code-block.request.js +1 -0
  79. package/dist/types/interface/api/requests/form-code-block.request.js.map +1 -0
  80. package/dist/types/interface/api/requests/form-document.admin.request.js +1 -0
  81. package/dist/types/interface/api/requests/form-document.admin.request.js.map +1 -0
  82. package/dist/types/interface/api/requests/form-document.request.d.ts +0 -10
  83. package/dist/types/interface/api/requests/form-document.request.js +1 -0
  84. package/dist/types/interface/api/requests/form-document.request.js.map +1 -0
  85. package/dist/types/interface/api/requests/form-submission.admin.request.js +1 -0
  86. package/dist/types/interface/api/requests/form-submission.admin.request.js.map +1 -0
  87. package/dist/types/interface/api/requests/form-submission.request.js +1 -0
  88. package/dist/types/interface/api/requests/form-submission.request.js.map +1 -0
  89. package/dist/types/interface/api/requests/form-webhook-history.admin.request.js +1 -0
  90. package/dist/types/interface/api/requests/form-webhook-history.admin.request.js.map +1 -0
  91. package/dist/types/interface/api/requests/form-webhook-history.request.js +1 -0
  92. package/dist/types/interface/api/requests/form-webhook-history.request.js.map +1 -0
  93. package/dist/types/interface/api/requests/form-webhook.admin.request.js +1 -0
  94. package/dist/types/interface/api/requests/form-webhook.admin.request.js.map +1 -0
  95. package/dist/types/interface/api/requests/form-webhook.request.js +1 -0
  96. package/dist/types/interface/api/requests/form-webhook.request.js.map +1 -0
  97. package/dist/types/interface/api/requests/form.admin.request.d.ts +20 -19
  98. package/dist/types/interface/api/requests/form.admin.request.js +1 -0
  99. package/dist/types/interface/api/requests/form.admin.request.js.map +1 -0
  100. package/dist/types/interface/api/requests/form.public.request.js +1 -0
  101. package/dist/types/interface/api/requests/form.public.request.js.map +1 -0
  102. package/dist/types/interface/api/requests/form.request.d.ts +8 -16
  103. package/dist/types/interface/api/requests/form.request.js +1 -0
  104. package/dist/types/interface/api/requests/form.request.js.map +1 -0
  105. package/dist/types/interface/api/requests/report.admin.request.js +1 -0
  106. package/dist/types/interface/api/requests/report.admin.request.js.map +1 -0
  107. package/dist/types/interface/api/requests/storage.admin.request.js +1 -0
  108. package/dist/types/interface/api/requests/storage.admin.request.js.map +1 -0
  109. package/dist/types/interface/api/requests/user.admin.request.js +1 -0
  110. package/dist/types/interface/api/requests/user.admin.request.js.map +1 -0
  111. package/dist/types/interface/api/requests/user.request.js +1 -0
  112. package/dist/types/interface/api/requests/user.request.js.map +1 -0
  113. package/dist/types/interface/api/responses/abyss.admin.response.js +1 -0
  114. package/dist/types/interface/api/responses/abyss.admin.response.js.map +1 -0
  115. package/dist/types/interface/api/responses/form-code-block.admin.response.js +1 -0
  116. package/dist/types/interface/api/responses/form-code-block.admin.response.js.map +1 -0
  117. package/dist/types/interface/api/responses/form-code-block.response.js +1 -0
  118. package/dist/types/interface/api/responses/form-code-block.response.js.map +1 -0
  119. package/dist/types/interface/api/responses/form-document.admin.response.js +1 -0
  120. package/dist/types/interface/api/responses/form-document.admin.response.js.map +1 -0
  121. package/dist/types/interface/api/responses/form-document.response.d.ts +0 -2
  122. package/dist/types/interface/api/responses/form-document.response.js +1 -0
  123. package/dist/types/interface/api/responses/form-document.response.js.map +1 -0
  124. package/dist/types/interface/api/responses/form-submission.admin.response.js +1 -0
  125. package/dist/types/interface/api/responses/form-submission.admin.response.js.map +1 -0
  126. package/dist/types/interface/api/responses/form-submission.response.js +1 -0
  127. package/dist/types/interface/api/responses/form-submission.response.js.map +1 -0
  128. package/dist/types/interface/api/responses/form-webhook-history.admin.response.js +1 -0
  129. package/dist/types/interface/api/responses/form-webhook-history.admin.response.js.map +1 -0
  130. package/dist/types/interface/api/responses/form-webhook-history.response.js +1 -0
  131. package/dist/types/interface/api/responses/form-webhook-history.response.js.map +1 -0
  132. package/dist/types/interface/api/responses/form-webhook.admin.response.js +1 -0
  133. package/dist/types/interface/api/responses/form-webhook.admin.response.js.map +1 -0
  134. package/dist/types/interface/api/responses/form-webhook.response.js +1 -0
  135. package/dist/types/interface/api/responses/form-webhook.response.js.map +1 -0
  136. package/dist/types/interface/api/responses/form.admin.response.d.ts +8 -8
  137. package/dist/types/interface/api/responses/form.admin.response.js +1 -0
  138. package/dist/types/interface/api/responses/form.admin.response.js.map +1 -0
  139. package/dist/types/interface/api/responses/form.public.response.js +1 -0
  140. package/dist/types/interface/api/responses/form.public.response.js.map +1 -0
  141. package/dist/types/interface/api/responses/form.response.d.ts +13 -9
  142. package/dist/types/interface/api/responses/form.response.js +1 -0
  143. package/dist/types/interface/api/responses/form.response.js.map +1 -0
  144. package/dist/types/interface/api/responses/monitor.response.js +1 -0
  145. package/dist/types/interface/api/responses/monitor.response.js.map +1 -0
  146. package/dist/types/interface/api/responses/report.admin.response.js +1 -0
  147. package/dist/types/interface/api/responses/report.admin.response.js.map +1 -0
  148. package/dist/types/interface/api/responses/storage.admin.response.js +1 -0
  149. package/dist/types/interface/api/responses/storage.admin.response.js.map +1 -0
  150. package/dist/types/interface/api/responses/user.admin.response.js +1 -0
  151. package/dist/types/interface/api/responses/user.admin.response.js.map +1 -0
  152. package/dist/types/interface/api/responses/user.response.js +1 -0
  153. package/dist/types/interface/api/responses/user.response.js.map +1 -0
  154. package/dist/types/interface/api/type-message/api-error.js +1 -0
  155. package/dist/types/interface/api/type-message/api-error.js.map +1 -0
  156. package/dist/types/interface/api/type-message/base-order.js +1 -0
  157. package/dist/types/interface/api/type-message/base-order.js.map +1 -0
  158. package/dist/types/interface/api/type-message/base-paginate.js +1 -0
  159. package/dist/types/interface/api/type-message/base-paginate.js.map +1 -0
  160. package/dist/types/interface/api/type-message/response.js +1 -0
  161. package/dist/types/interface/api/type-message/response.js.map +1 -0
  162. package/dist/types/interface/dto/form.dto.js +1 -0
  163. package/dist/types/interface/dto/form.dto.js.map +1 -0
  164. package/dist/types/interface/dto/index.js +1 -0
  165. package/dist/types/interface/dto/index.js.map +1 -0
  166. package/dist/types/interface/dto/webhook.dto.d.ts +0 -1
  167. package/dist/types/interface/dto/webhook.dto.js +1 -0
  168. package/dist/types/interface/dto/webhook.dto.js.map +1 -0
  169. package/dist/types/interface/index.js +1 -0
  170. package/dist/types/interface/index.js.map +1 -0
  171. package/dist/types/interface/models/form-code-block.model.js +1 -0
  172. package/dist/types/interface/models/form-code-block.model.js.map +1 -0
  173. package/dist/types/interface/models/form-configuration.model.js +1 -0
  174. package/dist/types/interface/models/form-configuration.model.js.map +1 -0
  175. package/dist/types/interface/models/form-document.model.js +1 -0
  176. package/dist/types/interface/models/form-document.model.js.map +1 -0
  177. package/dist/types/interface/models/form-submission.model.js +1 -0
  178. package/dist/types/interface/models/form-submission.model.js.map +1 -0
  179. package/dist/types/interface/models/form-webhook-history.model.js +1 -0
  180. package/dist/types/interface/models/form-webhook-history.model.js.map +1 -0
  181. package/dist/types/interface/models/form-webhook.model.js +1 -0
  182. package/dist/types/interface/models/form-webhook.model.js.map +1 -0
  183. package/dist/types/interface/models/form.model.d.ts +4 -3
  184. package/dist/types/interface/models/form.model.js +1 -0
  185. package/dist/types/interface/models/form.model.js.map +1 -0
  186. package/dist/types/interface/models/user.model.js +1 -0
  187. package/dist/types/interface/models/user.model.js.map +1 -0
  188. package/dist/utils/error.utils.js +1 -0
  189. package/dist/utils/error.utils.js.map +1 -0
  190. package/dist/utils/form.utils.js +3 -3
  191. package/dist/utils/form.utils.js.map +1 -0
  192. package/dist/utils/index.js +1 -0
  193. package/dist/utils/index.js.map +1 -0
  194. package/package.json +16 -12
  195. package/tsconfig.json +29 -99
@@ -23,4 +23,7 @@ var Code;
23
23
  Code["formPasswordInvalid"] = "form_password_invalid";
24
24
  Code["formSubmissionError"] = "form_submission_error";
25
25
  Code["formEmailVerificationTokenInvalid"] = "form_email_verification_token_invalid";
26
+ Code["formClosed"] = "form_closed";
27
+ Code["formAuthRequired"] = "form_auth_required";
26
28
  })(Code || (exports.Code = Code = {}));
29
+ //# sourceMappingURL=api-error.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-error.enum.js","sourceRoot":"","sources":["../../../src/types/enum/api-error.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,6CAAgC,CAAA;AAClC,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,IAAY,IAmBX;AAnBD,WAAY,IAAI;IAEd,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,+CAAuC,CAAA;IACvC,8BAAsB,CAAA;IACtB,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,kDAA0C,CAAA;IAC1C,oCAA4B,CAAA;IAE5B,6DAAqD,CAAA;IACrD,gEAAwD,CAAA;IACxD,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mFAA2E,CAAA;IAC3E,kCAA0B,CAAA;IAC1B,+CAAuC,CAAA;AACzC,CAAC,EAnBW,IAAI,oBAAJ,IAAI,QAmBf"}
@@ -14,3 +14,4 @@ var CannotStartSubmissionReason;
14
14
  CannotStartSubmissionReason["COOLDOWN_SUBMISSION_NOT_PASSED"] = "COOLDOWN_SUBMISSION_NOT_PASSED";
15
15
  CannotStartSubmissionReason["FORM_SUBSCRIPTION_RESTRICTION"] = "FORM_SUBSCRIPTION_RESTRICTION";
16
16
  })(CannotStartSubmissionReason || (exports.CannotStartSubmissionReason = CannotStartSubmissionReason = {}));
17
+ //# sourceMappingURL=cannot-start-submission-reason.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cannot-start-submission-reason.enum.js","sourceRoot":"","sources":["../../../src/types/enum/cannot-start-submission-reason.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAYX;AAZD,WAAY,2BAA2B;IACrC,wEAAyC,CAAA;IACzC,4FAA6D,CAAA;IAC7D,wEAAyC,CAAA;IACzC,wFAAyD,CAAA;IACzD,oGAAqE,CAAA;IACrE,kFAAmD,CAAA;IACnD,4FAA6D,CAAA;IAC7D,0FAA2D,CAAA;IAC3D,gGAAiE,CAAA;IAEjE,8FAA+D,CAAA;AACjE,CAAC,EAZW,2BAA2B,2CAA3B,2BAA2B,QAYtC"}
@@ -11,3 +11,4 @@ var FormContentQuestionType;
11
11
  FormContentQuestionType["PERIOD"] = "PERIOD";
12
12
  FormContentQuestionType["RATE"] = "RATE";
13
13
  })(FormContentQuestionType || (exports.FormContentQuestionType = FormContentQuestionType = {}));
14
+ //# sourceMappingURL=form-content-question-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-content-question-type.enum.js","sourceRoot":"","sources":["../../../src/types/enum/form-content-question-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAQX;AARD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,wCAAa,CAAA;IACb,wCAAa,CAAA;IACb,4CAAiB,CAAA;IACjB,wCAAa,CAAA;AACf,CAAC,EARW,uBAAuB,uCAAvB,uBAAuB,QAQlC"}
@@ -6,3 +6,4 @@ var FormDocumentSource;
6
6
  FormDocumentSource["SUBMISSION"] = "SUBMISSION";
7
7
  FormDocumentSource["FORM_CONTENT"] = "FORM_CONTENT";
8
8
  })(FormDocumentSource || (exports.FormDocumentSource = FormDocumentSource = {}));
9
+ //# sourceMappingURL=form-document-source.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-document-source.enum.js","sourceRoot":"","sources":["../../../src/types/enum/form-document-source.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,+CAAyB,CAAA;IACzB,mDAA6B,CAAA;AAC/B,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B"}
@@ -7,3 +7,4 @@ var FormStatus;
7
7
  FormStatus["PUBLISHED"] = "PUBLISHED";
8
8
  FormStatus["PUBLISHED_PUBLIC"] = "PUBLISHED_PUBLIC";
9
9
  })(FormStatus || (exports.FormStatus = FormStatus = {}));
10
+ //# sourceMappingURL=form-status.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-status.enum.js","sourceRoot":"","sources":["../../../src/types/enum/form-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,qCAAuB,CAAA;IACvB,mDAAqC,CAAA;AACvC,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}
@@ -6,3 +6,4 @@ var FormWebhookType;
6
6
  FormWebhookType["DISCORD"] = "DISCORD";
7
7
  FormWebhookType["WEBHOOK"] = "WEBHOOK";
8
8
  })(FormWebhookType || (exports.FormWebhookType = FormWebhookType = {}));
9
+ //# sourceMappingURL=form-webhook-type.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook-type.enum.js","sourceRoot":"","sources":["../../../src/types/enum/form-webhook-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;AACrB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
@@ -4,3 +4,4 @@ export * from './form-webhook-type.enum';
4
4
  export * from './form-document-source.enum';
5
5
  export * from './form-content-question-type.enum';
6
6
  export * from './cannot-start-submission-reason.enum';
7
+ export * from './share-permission.enum';
@@ -20,3 +20,5 @@ __exportStar(require("./form-webhook-type.enum"), exports);
20
20
  __exportStar(require("./form-document-source.enum"), exports);
21
21
  __exportStar(require("./form-content-question-type.enum"), exports);
22
22
  __exportStar(require("./cannot-start-submission-reason.enum"), exports);
23
+ __exportStar(require("./share-permission.enum"), exports);
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,qDAAmC;AACnC,2DAAyC;AACzC,8DAA4C;AAC5C,oEAAkD;AAClD,wEAAsD;AACtD,0DAAwC"}
@@ -0,0 +1,11 @@
1
+ export declare enum SharePermission {
2
+ VIEW = "VIEW",
3
+ EDIT = "EDIT",
4
+ MANAGE = "MANAGE"
5
+ }
6
+ export declare enum ContentShareScope {
7
+ ORGANIZATION = "ORGANIZATION",
8
+ ORG_USER = "ORG_USER",
9
+ ORG_TEAM = "ORG_TEAM",
10
+ ORG_PROJECT = "ORG_PROJECT"
11
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContentShareScope = exports.SharePermission = void 0;
4
+ var SharePermission;
5
+ (function (SharePermission) {
6
+ SharePermission["VIEW"] = "VIEW";
7
+ SharePermission["EDIT"] = "EDIT";
8
+ SharePermission["MANAGE"] = "MANAGE";
9
+ })(SharePermission || (exports.SharePermission = SharePermission = {}));
10
+ var ContentShareScope;
11
+ (function (ContentShareScope) {
12
+ ContentShareScope["ORGANIZATION"] = "ORGANIZATION";
13
+ ContentShareScope["ORG_USER"] = "ORG_USER";
14
+ ContentShareScope["ORG_TEAM"] = "ORG_TEAM";
15
+ ContentShareScope["ORG_PROJECT"] = "ORG_PROJECT";
16
+ })(ContentShareScope || (exports.ContentShareScope = ContentShareScope = {}));
17
+ //# sourceMappingURL=share-permission.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"share-permission.enum.js","sourceRoot":"","sources":["../../../src/types/enum/share-permission.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,oCAAiB,CAAA;AACnB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAED,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,kDAA6B,CAAA;IAC7B,0CAAqB,CAAA;IACrB,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;AAC7B,CAAC,EALW,iBAAiB,iCAAjB,iBAAiB,QAK5B"}
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./enum"), exports);
18
18
  __exportStar(require("./interface"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,8CAA4B"}
@@ -55,3 +55,4 @@ __exportStar(require("./responses/form-code-block.admin.response"), exports);
55
55
  __exportStar(require("./responses/form-submission.response"), exports);
56
56
  __exportStar(require("./responses/form-submission.admin.response"), exports);
57
57
  __exportStar(require("./responses/report.admin.response"), exports);
58
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAE7C,iEAA+C;AAC/C,mEAAiD;AACjD,gEAA8C;AAC9C,0DAAwC;AACxC,gEAA8C;AAC9C,iEAA+C;AAC/C,0DAAwC;AACxC,yEAAuD;AACvD,mEAAiD;AACjD,kEAAgD;AAChD,wEAAsD;AACtD,0EAAwD;AACxD,gFAA8D;AAC9D,qEAAmD;AACnD,2EAAyD;AACzD,qEAAmD;AACnD,2EAAyD;AACzD,kEAAgD;AAEhD,mEAAiD;AACjD,+DAA6C;AAC7C,qEAAmD;AACnD,kEAAgD;AAChD,4DAA0C;AAC1C,kEAAgD;AAChD,mEAAiD;AACjD,4DAA0C;AAC1C,2EAAyD;AACzD,qEAAmD;AACnD,oEAAkD;AAClD,0EAAwD;AACxD,4EAA0D;AAC1D,kFAAgE;AAChE,uEAAqD;AACrD,6EAA2D;AAC3D,uEAAqD;AACrD,6EAA2D;AAC3D,oEAAkD"}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=abyss.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abyss.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/abyss.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-code-block.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-code-block.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-code-block.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-code-block.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-code-block.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-code-block.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-document.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-document.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-document.admin.request.ts"],"names":[],"mappings":""}
@@ -25,16 +25,6 @@ export interface IImportFromCloudFormDocumentBody {
25
25
  name: string;
26
26
  }[];
27
27
  }
28
- export interface IImportFromCollectionFormDocumentParams {
29
- formId: string;
30
- }
31
- export interface IImportFromCollectionFormDocumentBody {
32
- formDocument: {
33
- source: string;
34
- elementId: string;
35
- name: string;
36
- }[];
37
- }
38
28
  export interface IDeleteFormDocumentParams {
39
29
  formId: string;
40
30
  formDocumentId: string;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-document.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-document.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-document.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-submission.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-submission.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-submission.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-submission.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-submission.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-submission.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-webhook-history.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook-history.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-webhook-history.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-webhook-history.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook-history.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-webhook-history.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-webhook.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-webhook.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-webhook.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form-webhook.request.ts"],"names":[],"mappings":""}
@@ -12,21 +12,13 @@ export interface IUpdateFormAdminBody {
12
12
  status?: FormStatus;
13
13
  startDate?: Date | null;
14
14
  endDate?: Date | null;
15
+ abyssProjectId?: string | null;
15
16
  }
16
17
  export interface ILinkToAbyssProjectFormAdminParams {
17
18
  formId: string;
18
19
  }
19
20
  export interface ILinkToAbyssProjectFormAdminBody {
20
- abyssProjectId: string;
21
- }
22
- export interface ILinkToAbyssProjectApplicationFormAdminParams {
23
- formId: string;
24
- }
25
- export interface ILinkToAbyssProjectApplicationFormAdminBody {
26
- abyssProjectApplicationId: string | null;
27
- }
28
- export interface ICreateFormAdminParams {
29
- userId: string;
21
+ abyssProjectId: string | null;
30
22
  }
31
23
  export interface ICreateFormAdminBody {
32
24
  title: string;
@@ -35,10 +27,12 @@ export interface ICreateFormAdminBody {
35
27
  content: FormContentDTO;
36
28
  abyssSpotlightProjectId: string | null;
37
29
  abyssProjectId: string | null;
38
- abyssProjectApplicationId: string | null;
39
30
  status: FormStatus;
40
31
  startDate: Date | null;
41
32
  endDate: Date | null;
33
+ organizationId?: string;
34
+ userId?: string;
35
+ createdByUserId?: string;
42
36
  }
43
37
  export interface IGetFormAdminParams {
44
38
  formId: string;
@@ -49,19 +43,14 @@ export interface IDeleteFormAdminParams {
49
43
  export type IPaginateFormAdminQuery = {
50
44
  title?: string;
51
45
  tags?: string[];
52
- userId?: string;
53
46
  status?: FormStatus[];
54
- userIdHasPermission?: string;
47
+ organizationId?: string;
48
+ abyssProjectId?: string;
49
+ userId?: string;
55
50
  } & QueryPaginate;
56
51
  export interface IListByAbyssProjectIdFormAdminParams {
57
52
  abyssProjectId: string;
58
53
  }
59
- export interface ITransferFormAdminParams {
60
- formId: string;
61
- }
62
- export interface ITransferFormAdminBody {
63
- userId: string;
64
- }
65
54
  export interface IUpdateConfigurationFormAdminParams {
66
55
  formId: string;
67
56
  }
@@ -83,3 +72,15 @@ export interface ILinkPresentationFormAdminParams {
83
72
  export interface ILinkPresentationFormAdminBody {
84
73
  abyssSpotlightProjectId: string | null;
85
74
  }
75
+ export interface IUpdateActiveFormAdminParams {
76
+ formId: string;
77
+ }
78
+ export interface IUpdateActiveFormAdminBody {
79
+ isActive: boolean;
80
+ }
81
+ export interface IUpdateRequiresAuthFormAdminParams {
82
+ formId: string;
83
+ }
84
+ export interface IUpdateRequiresAuthFormAdminBody {
85
+ requireAuth: boolean;
86
+ }
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form.public.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.public.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form.public.request.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { FormStatus } from '../../../enum';
1
+ import { ContentShareScope, FormStatus } from '../../../enum';
2
2
  import { QueryPaginate } from '..';
3
3
  import { FormContentDTO } from '../../dto';
4
4
  export interface IUpdateFormParams {
@@ -12,30 +12,24 @@ export interface IUpdateFormBody {
12
12
  status?: FormStatus;
13
13
  startDate?: Date | null;
14
14
  endDate?: Date | null;
15
+ abyssProjectId?: string | null;
15
16
  }
16
17
  export interface ILinkToAbyssProjectFormParams {
17
18
  formId: string;
18
19
  }
19
20
  export interface ILinkToAbyssProjectFormBody {
20
- abyssProjectId: string;
21
- }
22
- export interface ILinkToAbyssProjectApplicationFormParams {
23
- formId: string;
24
- }
25
- export interface ILinkToAbyssProjectApplicationFormBody {
26
- abyssProjectApplicationId: string | null;
21
+ abyssProjectId: string | null;
27
22
  }
28
23
  export interface ICreateFormBody {
29
24
  title: string;
30
25
  description: string;
31
26
  tags: string[];
32
27
  content: FormContentDTO;
33
- abyssSpotlightProjectId: string | null;
34
28
  abyssProjectId: string | null;
35
- abyssProjectApplicationId: string | null;
36
29
  status: FormStatus;
37
30
  startDate: Date | null;
38
31
  endDate: Date | null;
32
+ organizationId?: string;
39
33
  }
40
34
  export interface IGetFormParams {
41
35
  formId: string;
@@ -51,13 +45,11 @@ export type IPaginateFormQuery = {
51
45
  tags?: string[];
52
46
  status?: FormStatus[];
53
47
  abyssProjectId?: string;
48
+ organizationId?: string;
49
+ scope?: ContentShareScope;
50
+ teamId?: string;
51
+ adminView?: boolean;
54
52
  } & QueryPaginate;
55
- export interface ITransferFormParams {
56
- formId: string;
57
- }
58
- export interface ITransferFormBody {
59
- userId: string;
60
- }
61
53
  export interface IUpdateConfigurationFormParams {
62
54
  formId: string;
63
55
  }
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/form.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=report.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/report.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=storage.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/storage.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user.admin.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/user.admin.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user.request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/user.request.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=abyss.admin.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abyss.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/abyss.admin.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-code-block.admin.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-code-block.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-code-block.admin.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-code-block.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-code-block.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-code-block.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-document.admin.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-document.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-document.admin.response.ts"],"names":[],"mappings":""}
@@ -10,8 +10,6 @@ export interface IGetUploadPreSignedUrlFormDocumentData {
10
10
  export type IGetUploadPreSignedUrlFormDocumentResponse = IResponse<IGetUploadPreSignedUrlFormDocumentData>;
11
11
  export type IImportFromCloudFormDocumentData = Record<string, never>;
12
12
  export type IImportFromCloudFormDocumentResponse = IResponse<IImportFromCloudFormDocumentData>;
13
- export type IImportFromCollectionFormDocumentData = Record<string, never>;
14
- export type IImportFromCollectionFormDocumentResponse = IResponse<IImportFromCollectionFormDocumentData>;
15
13
  export interface IDeleteFormDocumentData {
16
14
  }
17
15
  export type IDeleteFormDocumentResponse = IResponse<IDeleteFormDocumentData>;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-document.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-document.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-document.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-submission.admin.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-submission.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-submission.admin.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-submission.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-submission.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-submission.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-webhook-history.admin.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook-history.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-webhook-history.admin.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-webhook-history.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook-history.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-webhook-history.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-webhook.admin.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-webhook.admin.response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-webhook.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-webhook.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form-webhook.response.ts"],"names":[],"mappings":""}
@@ -19,18 +19,10 @@ export interface ILinkToAbyssProjectFormAdminData {
19
19
  form: IForm;
20
20
  }
21
21
  export type ILinkToAbyssProjectFormAdminResponse = IResponse<ILinkToAbyssProjectFormAdminData>;
22
- export interface ILinkToAbyssProjectApplicationFormAdminData {
23
- form: IForm;
24
- }
25
- export type ILinkToAbyssProjectApplicationFormAdminResponse = IResponse<ILinkToAbyssProjectApplicationFormAdminData>;
26
22
  export interface IListByAbyssProjectIdFormAdminData {
27
23
  forms: IForm[];
28
24
  }
29
25
  export type IListByAbyssProjectIdFormAdminResponse = IResponse<IListByAbyssProjectIdFormAdminData>;
30
- export interface ITransferFormAdminData {
31
- form: IForm;
32
- }
33
- export type ITransferFormAdminResponse = IResponse<ITransferFormAdminData>;
34
26
  export interface IUpdateConfigurationFormAdminData {
35
27
  formConfiguration: IFormConfiguration;
36
28
  }
@@ -43,3 +35,11 @@ export interface ILinkPresentationFormAdminData {
43
35
  form: IForm;
44
36
  }
45
37
  export type ILinkPresentationFormAdminResponse = IResponse<ILinkPresentationFormAdminData>;
38
+ export interface IUpdateActiveFormAdminData {
39
+ form: IForm;
40
+ }
41
+ export type IUpdateActiveFormAdminResponse = IResponse<IUpdateActiveFormAdminData>;
42
+ export interface IUpdateRequiresAuthFormAdminData {
43
+ form: IForm;
44
+ }
45
+ export type IUpdateRequiresAuthFormAdminResponse = IResponse<IUpdateRequiresAuthFormAdminData>;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form.admin.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/form.admin.response.ts"],"names":[],"mappings":""}