@abyss-project/form 4.1.0 → 4.2.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.
- package/dist/api/form-delivery-subscription.api.d.ts +5 -1
- package/dist/api/form-delivery-subscription.api.js +17 -1
- package/dist/api/form-delivery-subscription.api.js.map +1 -1
- package/dist/api/form-document.api.d.ts +1 -2
- package/dist/api/form-document.api.js +1 -5
- package/dist/api/form-document.api.js.map +1 -1
- package/dist/api/form-submission.api.d.ts +1 -2
- package/dist/api/form-submission.api.js +1 -5
- package/dist/api/form-submission.api.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/types/interface/api/requests/form-delivery-subscription.request.d.ts +7 -1
- package/dist/types/interface/api/requests/form-document.request.d.ts +0 -4
- package/dist/types/interface/api/requests/form-submission.request.d.ts +0 -5
- package/dist/types/interface/api/responses/form-delivery-subscription.response.d.ts +5 -1
- package/dist/types/interface/api/responses/form-document.response.d.ts +0 -5
- package/dist/types/interface/api/responses/form-submission.response.d.ts +0 -5
- package/dist/types/interface/api/responses/user.response.d.ts +3 -3
- package/dist/types/interface/models/form-configuration.model.d.ts +0 -1
- package/dist/types/interface/models/user.model.d.ts +0 -1
- package/package.json +12 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICreateFormDeliverySubscriptionRehydrationBody, ICreateFormDeliverySubscriptionRehydrationParams, ICreateFormDeliverySubscriptionRehydrationResponse, IEstimateFormDeliverySubscriptionRehydrationParams, IEstimateFormDeliverySubscriptionRehydrationQuery, IEstimateFormDeliverySubscriptionRehydrationResponse, IExtendFormDeliverySubscriptionRehydrationBody, IExtendFormDeliverySubscriptionRehydrationParams, IExtendFormDeliverySubscriptionRehydrationResponse, IListFormDeliverySubscriptionArchiveParams, IListFormDeliverySubscriptionArchiveQuery, IListFormDeliverySubscriptionArchiveResponse, IListFormDeliverySubscriptionRehydrationParams, IListFormDeliverySubscriptionRehydrationResponse, IPurgeFormDeliverySubscriptionArchiveBody, IPurgeFormDeliverySubscriptionArchiveParams, IPurgeFormDeliverySubscriptionArchiveResponse, IReleaseFormDeliverySubscriptionRehydrationParams, IReleaseFormDeliverySubscriptionRehydrationResponse, ICreateFormDeliverySubscriptionBody, ICreateFormDeliverySubscriptionParams, ICreateFormDeliverySubscriptionResponse, IDeleteFormDeliverySubscriptionParams, IDeleteFormDeliverySubscriptionResponse, IGetFormDeliveryParams, IGetFormDeliveryResponse, IGetFormDeliverySubscriptionParams, IGetFormDeliverySubscriptionResponse, IPaginateFormDeliveryParams, IPaginateFormDeliveryQuery, IPaginateFormDeliveryResponse, IPaginateFormDeliverySubscriptionDeliveryParams, IPaginateFormDeliverySubscriptionDeliveryQuery, IPaginateFormDeliverySubscriptionDeliveryResponse, IPaginateFormDeliverySubscriptionParams, IPaginateFormDeliverySubscriptionQuery, IPaginateFormDeliverySubscriptionResponse, IReplayFormDeliveryParams, IReplayFormDeliveryResponse, IResetSecretFormDeliverySubscriptionParams, IResetSecretFormDeliverySubscriptionResponse, IUpdateFormDeliverySubscriptionBody, IUpdateFormDeliverySubscriptionParams, IUpdateFormDeliverySubscriptionResponse } from '..';
|
|
1
|
+
import { ICreateFormDeliverySubscriptionRehydrationBody, ICreateFormDeliverySubscriptionRehydrationParams, ICreateFormDeliverySubscriptionRehydrationResponse, IEstimateFormDeliverySubscriptionRehydrationParams, IEstimateFormDeliverySubscriptionRehydrationQuery, IEstimateFormDeliverySubscriptionRehydrationResponse, IExtendFormDeliverySubscriptionRehydrationBody, IExtendFormDeliverySubscriptionRehydrationParams, IExtendFormDeliverySubscriptionRehydrationResponse, IListFormDeliverySubscriptionArchiveParams, IListFormDeliverySubscriptionArchiveQuery, IListFormDeliverySubscriptionArchiveResponse, IListFormDeliverySubscriptionRehydrationParams, IListFormDeliverySubscriptionRehydrationResponse, IPurgeFormDeliverySubscriptionArchiveBody, IPurgeFormDeliverySubscriptionArchiveParams, IPurgeFormDeliverySubscriptionArchiveResponse, IReleaseFormDeliverySubscriptionRehydrationParams, IReleaseFormDeliverySubscriptionRehydrationResponse, ICreateFormDeliverySubscriptionBody, ICreateFormDeliverySubscriptionParams, ICreateFormDeliverySubscriptionResponse, IDeleteFormDeliverySubscriptionParams, IDeleteFormDeliverySubscriptionRetentionParams, IDeleteFormDeliverySubscriptionRetentionResponse, IGetFormDeliverySubscriptionRetentionParams, IGetFormDeliverySubscriptionRetentionResponse, ISetFormDeliveryFavoriteBody, ISetFormDeliveryFavoriteParams, ISetFormDeliveryFavoriteResponse, ISetFormDeliverySubscriptionRetentionBody, ISetFormDeliverySubscriptionRetentionParams, ISetFormDeliverySubscriptionRetentionResponse, IDeleteFormDeliverySubscriptionResponse, IGetFormDeliveryParams, IGetFormDeliveryResponse, IGetFormDeliverySubscriptionParams, IGetFormDeliverySubscriptionResponse, IPaginateFormDeliveryParams, IPaginateFormDeliveryQuery, IPaginateFormDeliveryResponse, IPaginateFormDeliverySubscriptionDeliveryParams, IPaginateFormDeliverySubscriptionDeliveryQuery, IPaginateFormDeliverySubscriptionDeliveryResponse, IPaginateFormDeliverySubscriptionParams, IPaginateFormDeliverySubscriptionQuery, IPaginateFormDeliverySubscriptionResponse, IReplayFormDeliveryParams, IReplayFormDeliveryResponse, IResetSecretFormDeliverySubscriptionParams, IResetSecretFormDeliverySubscriptionResponse, IUpdateFormDeliverySubscriptionBody, IUpdateFormDeliverySubscriptionParams, IUpdateFormDeliverySubscriptionResponse } from '..';
|
|
2
2
|
export declare const paginateFormDeliverySubscription: (params: IPaginateFormDeliverySubscriptionParams, query: IPaginateFormDeliverySubscriptionQuery) => Promise<IPaginateFormDeliverySubscriptionResponse>;
|
|
3
3
|
export declare const getFormDeliverySubscription: (params: IGetFormDeliverySubscriptionParams) => Promise<IGetFormDeliverySubscriptionResponse>;
|
|
4
4
|
export declare const createFormDeliverySubscription: (params: ICreateFormDeliverySubscriptionParams, body: ICreateFormDeliverySubscriptionBody) => Promise<ICreateFormDeliverySubscriptionResponse>;
|
|
@@ -16,3 +16,7 @@ export declare const estimateFormDeliverySubscriptionRehydration: (params: IEsti
|
|
|
16
16
|
export declare const createFormDeliverySubscriptionRehydration: (params: ICreateFormDeliverySubscriptionRehydrationParams, body: ICreateFormDeliverySubscriptionRehydrationBody) => Promise<ICreateFormDeliverySubscriptionRehydrationResponse>;
|
|
17
17
|
export declare const extendFormDeliverySubscriptionRehydration: (params: IExtendFormDeliverySubscriptionRehydrationParams, body: IExtendFormDeliverySubscriptionRehydrationBody) => Promise<IExtendFormDeliverySubscriptionRehydrationResponse>;
|
|
18
18
|
export declare const releaseFormDeliverySubscriptionRehydration: (params: IReleaseFormDeliverySubscriptionRehydrationParams) => Promise<IReleaseFormDeliverySubscriptionRehydrationResponse>;
|
|
19
|
+
export declare const getFormDeliverySubscriptionRetention: (params: IGetFormDeliverySubscriptionRetentionParams) => Promise<IGetFormDeliverySubscriptionRetentionResponse>;
|
|
20
|
+
export declare const setFormDeliverySubscriptionRetention: (params: ISetFormDeliverySubscriptionRetentionParams, body: ISetFormDeliverySubscriptionRetentionBody) => Promise<ISetFormDeliverySubscriptionRetentionResponse>;
|
|
21
|
+
export declare const deleteFormDeliverySubscriptionRetention: (params: IDeleteFormDeliverySubscriptionRetentionParams) => Promise<IDeleteFormDeliverySubscriptionRetentionResponse>;
|
|
22
|
+
export declare const setFormDeliveryFavorite: (params: ISetFormDeliveryFavoriteParams, body: ISetFormDeliveryFavoriteBody) => Promise<ISetFormDeliveryFavoriteResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.releaseFormDeliverySubscriptionRehydration = exports.extendFormDeliverySubscriptionRehydration = exports.createFormDeliverySubscriptionRehydration = exports.estimateFormDeliverySubscriptionRehydration = exports.listFormDeliverySubscriptionRehydration = exports.purgeFormDeliverySubscriptionArchive = exports.listFormDeliverySubscriptionArchive = exports.replayFormDelivery = exports.getFormDelivery = exports.paginateFormDeliverySubscriptionDelivery = exports.paginateFormDelivery = exports.resetSecretFormDeliverySubscription = exports.deleteFormDeliverySubscription = exports.updateFormDeliverySubscription = exports.createFormDeliverySubscription = exports.getFormDeliverySubscription = exports.paginateFormDeliverySubscription = void 0;
|
|
3
|
+
exports.setFormDeliveryFavorite = exports.deleteFormDeliverySubscriptionRetention = exports.setFormDeliverySubscriptionRetention = exports.getFormDeliverySubscriptionRetention = exports.releaseFormDeliverySubscriptionRehydration = exports.extendFormDeliverySubscriptionRehydration = exports.createFormDeliverySubscriptionRehydration = exports.estimateFormDeliverySubscriptionRehydration = exports.listFormDeliverySubscriptionRehydration = exports.purgeFormDeliverySubscriptionArchive = exports.listFormDeliverySubscriptionArchive = exports.replayFormDelivery = exports.getFormDelivery = exports.paginateFormDeliverySubscriptionDelivery = exports.paginateFormDelivery = exports.resetSecretFormDeliverySubscription = exports.deleteFormDeliverySubscription = exports.updateFormDeliverySubscription = exports.createFormDeliverySubscription = exports.getFormDeliverySubscription = exports.paginateFormDeliverySubscription = void 0;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const path = (formId) => `form/${formId}/delivery-subscription`;
|
|
6
6
|
const paginateFormDeliverySubscription = async (params, query) => {
|
|
@@ -74,4 +74,20 @@ const releaseFormDeliverySubscriptionRehydration = async (params) => {
|
|
|
74
74
|
return (await __1.AbyssFormCore.axios.post(`${subscriptionPath(params)}/rehydration/${params.jobId}/release`)).data;
|
|
75
75
|
};
|
|
76
76
|
exports.releaseFormDeliverySubscriptionRehydration = releaseFormDeliverySubscriptionRehydration;
|
|
77
|
+
const getFormDeliverySubscriptionRetention = async (params) => {
|
|
78
|
+
return (await __1.AbyssFormCore.axios.get(`${subscriptionPath(params)}/retention`)).data;
|
|
79
|
+
};
|
|
80
|
+
exports.getFormDeliverySubscriptionRetention = getFormDeliverySubscriptionRetention;
|
|
81
|
+
const setFormDeliverySubscriptionRetention = async (params, body) => {
|
|
82
|
+
return (await __1.AbyssFormCore.axios.put(`${subscriptionPath(params)}/retention`, body)).data;
|
|
83
|
+
};
|
|
84
|
+
exports.setFormDeliverySubscriptionRetention = setFormDeliverySubscriptionRetention;
|
|
85
|
+
const deleteFormDeliverySubscriptionRetention = async (params) => {
|
|
86
|
+
return (await __1.AbyssFormCore.axios.delete(`${subscriptionPath(params)}/retention`)).data;
|
|
87
|
+
};
|
|
88
|
+
exports.deleteFormDeliverySubscriptionRetention = deleteFormDeliverySubscriptionRetention;
|
|
89
|
+
const setFormDeliveryFavorite = async (params, body) => {
|
|
90
|
+
return (await __1.AbyssFormCore.axios.put(`${subscriptionPath(params)}/delivery/${params.deliveryId}/favorite`, body)).data;
|
|
91
|
+
};
|
|
92
|
+
exports.setFormDeliveryFavorite = setFormDeliveryFavorite;
|
|
77
93
|
//# sourceMappingURL=form-delivery-subscription.api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-delivery-subscription.api.js","sourceRoot":"","sources":["../../src/api/form-delivery-subscription.api.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"form-delivery-subscription.api.js","sourceRoot":"","sources":["../../src/api/form-delivery-subscription.api.ts"],"names":[],"mappings":";;;AAAA,0BAwDY;AAEZ,MAAM,IAAI,GAAG,CAAC,MAAc,EAAU,EAAE,CAAC,QAAQ,MAAM,wBAAwB,CAAC;AAEzE,MAAM,gCAAgC,GAAG,KAAK,EACnD,MAA+C,EAC/C,KAA6C,EACO,EAAE;IACtD,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAA4C,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;QAC5F,MAAM,EAAE,KAAK;KACd,CAAC,CACH,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AATW,QAAA,gCAAgC,oCAS3C;AAEK,MAAM,2BAA2B,GAAG,KAAK,EAC9C,MAA0C,EACK,EAAE;IACjD,OAAO,CACL,MAAM,iBAAa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U/C;AAEK,MAAM,uCAAuC,GAAG,KAAK,EAC1D,MAAsD,EACK,EAAE;IAC7D,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,MAAM,CAC9B,GAAG,gBAAgB,CAAC,MAAM,CAAC,YAAY,CACxC,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AARW,QAAA,uCAAuC,2CAQlD;AAEK,MAAM,uBAAuB,GAAG,KAAK,EAC1C,MAAsC,EACtC,IAAkC,EACS,EAAE;IAC7C,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,GAAG,gBAAgB,CAAC,MAAM,CAAC,aAAa,MAAM,CAAC,UAAU,WAAW,EACpE,IAAI,CACL,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAVW,QAAA,uBAAuB,2BAUlC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { IGetFormDocumentParams, IGetFormDocumentResponse, IDeleteFormDocumentResponse, IDeleteFormDocumentParams, IPaginateFormDocumentParams, IPaginateFormDocumentQuery, IPaginateFormDocumentResponse, IGetUploadPreSignedUrlFormDocumentParams, IGetUploadPreSignedUrlFormDocumentBody, IGetUploadPreSignedUrlFormDocumentResponse, IImportFromCloudFormDocumentBody, IImportFromCloudFormDocumentParams, IImportFromCloudFormDocumentResponse, IListFormDocumentParams, IListFormDocumentResponse
|
|
1
|
+
import { IGetFormDocumentParams, IGetFormDocumentResponse, IDeleteFormDocumentResponse, IDeleteFormDocumentParams, IPaginateFormDocumentParams, IPaginateFormDocumentQuery, IPaginateFormDocumentResponse, IGetUploadPreSignedUrlFormDocumentParams, IGetUploadPreSignedUrlFormDocumentBody, IGetUploadPreSignedUrlFormDocumentResponse, IImportFromCloudFormDocumentBody, IImportFromCloudFormDocumentParams, IImportFromCloudFormDocumentResponse, IListFormDocumentParams, IListFormDocumentResponse } from '..';
|
|
2
2
|
export declare const getFormDocument: (params: IGetFormDocumentParams) => Promise<IGetFormDocumentResponse>;
|
|
3
3
|
export declare const getUploadUrlFormDocument: (params: IGetUploadPreSignedUrlFormDocumentParams, body: IGetUploadPreSignedUrlFormDocumentBody) => Promise<IGetUploadPreSignedUrlFormDocumentResponse>;
|
|
4
4
|
export declare const importFromCloudFormDocument: (params: IImportFromCloudFormDocumentParams, body: IImportFromCloudFormDocumentBody) => Promise<IImportFromCloudFormDocumentResponse>;
|
|
5
5
|
export declare const paginateFormDocument: (params: IPaginateFormDocumentParams, query: IPaginateFormDocumentQuery) => Promise<IPaginateFormDocumentResponse>;
|
|
6
6
|
export declare const listFormDocument: (params: IListFormDocumentParams) => Promise<IListFormDocumentResponse>;
|
|
7
7
|
export declare const deleteFormDocument: (params: IDeleteFormDocumentParams) => Promise<IDeleteFormDocumentResponse>;
|
|
8
|
-
export declare const getDownloadUrlFormDocument: (params: IGetDownloadUrlFormDocumentParams) => Promise<IGetDownloadUrlFormDocumentResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.deleteFormDocument = exports.listFormDocument = exports.paginateFormDocument = exports.importFromCloudFormDocument = exports.getUploadUrlFormDocument = exports.getFormDocument = void 0;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const getFormDocument = async (params) => {
|
|
6
6
|
return (await __1.AbyssFormCore.axios.get(`form-document/${params.formId}/document/${params.formDocumentId}`)).data;
|
|
@@ -28,8 +28,4 @@ const deleteFormDocument = async (params) => {
|
|
|
28
28
|
return (await __1.AbyssFormCore.axios.delete(`form-document/${params.formId}/document/${params.formDocumentId}`)).data;
|
|
29
29
|
};
|
|
30
30
|
exports.deleteFormDocument = deleteFormDocument;
|
|
31
|
-
const getDownloadUrlFormDocument = async (params) => {
|
|
32
|
-
return (await __1.AbyssFormCore.axios.get(`form-document/${params.formId}/document/${params.formDocumentId}/download-url`)).data;
|
|
33
|
-
};
|
|
34
|
-
exports.getDownloadUrlFormDocument = getDownloadUrlFormDocument;
|
|
35
31
|
//# sourceMappingURL=form-document.api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-document.api.js","sourceRoot":"","sources":["../../src/api/form-document.api.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"form-document.api.js","sourceRoot":"","sources":["../../src/api/form-document.api.ts"],"names":[],"mappings":";;;AAAA,0BAiBY;AAEL,MAAM,eAAe,GAAG,KAAK,EAClC,MAA8B,EACK,EAAE;IACrC,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,iBAAiB,MAAM,CAAC,MAAM,aAAa,MAAM,CAAC,cAAc,EAAE,CACnE,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AARW,QAAA,eAAe,mBAQ1B;AAEK,MAAM,wBAAwB,GAAG,KAAK,EAC3C,MAAgD,EAChD,IAA4C,EACS,EAAE;IACvD,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,IAAI,CAC5B,iBAAiB,MAAM,CAAC,MAAM,WAAW,EACzC,IAAI,CACL,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAVW,QAAA,wBAAwB,4BAUnC;AAEK,MAAM,2BAA2B,GAAG,KAAK,EAC9C,MAA0C,EAC1C,IAAsC,EACS,EAAE;IACjD,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,IAAI,CAC5B,iBAAiB,MAAM,CAAC,MAAM,6BAA6B,EAC3D,IAAI,CACL,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAVW,QAAA,2BAA2B,+BAUtC;AAEK,MAAM,oBAAoB,GAAG,KAAK,EACvC,MAAmC,EACnC,KAAiC,EACO,EAAE;IAC1C,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,iBAAiB,MAAM,CAAC,MAAM,oBAAoB,EAClD;QACE,MAAM,EAAE,KAAK;KACd,CACF,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAZW,QAAA,oBAAoB,wBAY/B;AAEK,MAAM,gBAAgB,GAAG,KAAK,EACnC,MAA+B,EACK,EAAE;IACtC,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,iBAAiB,MAAM,CAAC,MAAM,gBAAgB,CAC/C,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AARW,QAAA,gBAAgB,oBAQ3B;AAEK,MAAM,kBAAkB,GAAG,KAAK,EACrC,MAAiC,EACK,EAAE;IACxC,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,MAAM,CAC9B,iBAAiB,MAAM,CAAC,MAAM,aAAa,MAAM,CAAC,cAAc,EAAE,CACnE,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AARW,QAAA,kBAAkB,sBAQ7B"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { IArchiveFormSubmissionParams, IArchiveFormSubmissionResponse, IDeleteFormSubmissionParams, IDeleteFormSubmissionResponse, IGetFormSubmissionParams, IGetFormSubmissionResponse, IGetNextToReviewFormSubmissionParams, IGetNextToReviewFormSubmissionQuery, IGetNextToReviewFormSubmissionResponse, IPaginateFormSubmissionParams, IPaginateFormSubmissionQuery, IPaginateFormSubmissionResponse, IUpdateFormSubmissionBody, IUpdateFormSubmissionParams, IUpdateFormSubmissionResponse
|
|
1
|
+
import { IArchiveFormSubmissionParams, IArchiveFormSubmissionResponse, IDeleteFormSubmissionParams, IDeleteFormSubmissionResponse, IGetFormSubmissionParams, IGetFormSubmissionResponse, IGetNextToReviewFormSubmissionParams, IGetNextToReviewFormSubmissionQuery, IGetNextToReviewFormSubmissionResponse, IPaginateFormSubmissionParams, IPaginateFormSubmissionQuery, IPaginateFormSubmissionResponse, IUpdateFormSubmissionBody, IUpdateFormSubmissionParams, IUpdateFormSubmissionResponse } from '..';
|
|
2
2
|
export declare const getFormSubmission: (params: IGetFormSubmissionParams) => Promise<IGetFormSubmissionResponse>;
|
|
3
3
|
export declare const getNextToReviewFormSubmission: (params: IGetNextToReviewFormSubmissionParams, query: IGetNextToReviewFormSubmissionQuery) => Promise<IGetNextToReviewFormSubmissionResponse>;
|
|
4
4
|
export declare const updateFormSubmission: (params: IUpdateFormSubmissionParams, body: IUpdateFormSubmissionBody) => Promise<IUpdateFormSubmissionResponse>;
|
|
5
5
|
export declare const archiveFormSubmission: (params: IArchiveFormSubmissionParams) => Promise<IArchiveFormSubmissionResponse>;
|
|
6
6
|
export declare const deleteFormSubmission: (params: IDeleteFormSubmissionParams) => Promise<IDeleteFormSubmissionResponse>;
|
|
7
7
|
export declare const paginateFormSubmission: (params: IPaginateFormSubmissionParams, query: IPaginateFormSubmissionQuery) => Promise<IPaginateFormSubmissionResponse>;
|
|
8
|
-
export declare const getFileDownloadUrlFormSubmission: (params: IGetFileDownloadUrlFormSubmissionParams) => Promise<IGetFileDownloadUrlFormSubmissionResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.paginateFormSubmission = exports.deleteFormSubmission = exports.archiveFormSubmission = exports.updateFormSubmission = exports.getNextToReviewFormSubmission = exports.getFormSubmission = void 0;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const getFormSubmission = async (params) => {
|
|
6
6
|
return (await __1.AbyssFormCore.axios.get(`form-submission/${params.formId}/submission/${params.formSubmissionId}`)).data;
|
|
@@ -28,8 +28,4 @@ const paginateFormSubmission = async (params, query) => {
|
|
|
28
28
|
return (await __1.AbyssFormCore.axios.get(`form-submission/${params.formId}/submission/paginate`, { params: query })).data;
|
|
29
29
|
};
|
|
30
30
|
exports.paginateFormSubmission = paginateFormSubmission;
|
|
31
|
-
const getFileDownloadUrlFormSubmission = async (params) => {
|
|
32
|
-
return (await __1.AbyssFormCore.axios.get(`form-submission/${params.formId}/submission/${params.formSubmissionId}/file/${params.fileId}/download-url`)).data;
|
|
33
|
-
};
|
|
34
|
-
exports.getFileDownloadUrlFormSubmission = getFileDownloadUrlFormSubmission;
|
|
35
31
|
//# sourceMappingURL=form-submission.api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-submission.api.js","sourceRoot":"","sources":["../../src/api/form-submission.api.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"form-submission.api.js","sourceRoot":"","sources":["../../src/api/form-submission.api.ts"],"names":[],"mappings":";;;AAAA,0BAiBY;AAEL,MAAM,iBAAiB,GAAG,KAAK,EACpC,MAAgC,EACK,EAAE;IACvC,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,mBAAmB,MAAM,CAAC,MAAM,eAAe,MAAM,CAAC,gBAAgB,EAAE,CACzE,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AARW,QAAA,iBAAiB,qBAQ5B;AAEK,MAAM,6BAA6B,GAAG,KAAK,EAChD,MAA4C,EAC5C,KAA0C,EACO,EAAE;IACnD,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,mBAAmB,MAAM,CAAC,MAAM,4BAA4B,EAC5D;QACE,MAAM,EAAE,KAAK;KACd,CACF,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAZW,QAAA,6BAA6B,iCAYxC;AAEK,MAAM,oBAAoB,GAAG,KAAK,EACvC,MAAmC,EACnC,IAA+B,EACS,EAAE;IAC1C,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,mBAAmB,MAAM,CAAC,MAAM,eAAe,MAAM,CAAC,gBAAgB,EAAE,EACxE,IAAI,CACL,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAVW,QAAA,oBAAoB,wBAU/B;AAEK,MAAM,qBAAqB,GAAG,KAAK,EACxC,MAAoC,EACK,EAAE;IAC3C,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,mBAAmB,MAAM,CAAC,MAAM,eAAe,MAAM,CAAC,gBAAgB,UAAU,CACjF,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AARW,QAAA,qBAAqB,yBAQhC;AAEK,MAAM,oBAAoB,GAAG,KAAK,EACvC,MAAmC,EACK,EAAE;IAC1C,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,MAAM,CAC9B,mBAAmB,MAAM,CAAC,MAAM,eAAe,MAAM,CAAC,gBAAgB,EAAE,CACzE,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AARW,QAAA,oBAAoB,wBAQ/B;AAEK,MAAM,sBAAsB,GAAG,KAAK,EACzC,MAAqC,EACrC,KAAmC,EACO,EAAE;IAC5C,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,GAAG,CAC3B,mBAAmB,MAAM,CAAC,MAAM,sBAAsB,EACtD,EAAE,MAAM,EAAE,KAAK,EAAE,CAClB,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAVW,QAAA,sBAAsB,0BAUjC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -55,6 +55,10 @@ type AbyssFormCoreSDK = {
|
|
|
55
55
|
update: typeof formDeliverySubscriptionApi.updateFormDeliverySubscription;
|
|
56
56
|
delete: typeof formDeliverySubscriptionApi.deleteFormDeliverySubscription;
|
|
57
57
|
resetSecret: typeof formDeliverySubscriptionApi.resetSecretFormDeliverySubscription;
|
|
58
|
+
getRetention: typeof formDeliverySubscriptionApi.getFormDeliverySubscriptionRetention;
|
|
59
|
+
setRetention: typeof formDeliverySubscriptionApi.setFormDeliverySubscriptionRetention;
|
|
60
|
+
deleteRetention: typeof formDeliverySubscriptionApi.deleteFormDeliverySubscriptionRetention;
|
|
61
|
+
setDeliveryFavorite: typeof formDeliverySubscriptionApi.setFormDeliveryFavorite;
|
|
58
62
|
archive: {
|
|
59
63
|
list: typeof formDeliverySubscriptionApi.listFormDeliverySubscriptionArchive;
|
|
60
64
|
purge: typeof formDeliverySubscriptionApi.purgeFormDeliverySubscriptionArchive;
|
|
@@ -102,7 +106,6 @@ type AbyssFormCoreSDK = {
|
|
|
102
106
|
};
|
|
103
107
|
formDocument: {
|
|
104
108
|
get: typeof formDocumentApi.getFormDocument;
|
|
105
|
-
getDownloadUrl: typeof formDocumentApi.getDownloadUrlFormDocument;
|
|
106
109
|
getUploadUrl: typeof formDocumentApi.getUploadUrlFormDocument;
|
|
107
110
|
importFromCloud: typeof formDocumentApi.importFromCloudFormDocument;
|
|
108
111
|
paginate: typeof formDocumentApi.paginateFormDocument;
|
|
@@ -133,7 +136,6 @@ type AbyssFormCoreSDK = {
|
|
|
133
136
|
};
|
|
134
137
|
formSubmission: {
|
|
135
138
|
get: typeof formSubmissionApi.getFormSubmission;
|
|
136
|
-
getFileDownloadUrl: typeof formSubmissionApi.getFileDownloadUrlFormSubmission;
|
|
137
139
|
getNextToReview: typeof formSubmissionApi.getNextToReviewFormSubmission;
|
|
138
140
|
update: typeof formSubmissionApi.updateFormSubmission;
|
|
139
141
|
archive: typeof formSubmissionApi.archiveFormSubmission;
|
package/dist/index.js
CHANGED
|
@@ -102,6 +102,10 @@ class AbyssFormCore {
|
|
|
102
102
|
update: formDeliverySubscriptionApi.updateFormDeliverySubscription,
|
|
103
103
|
delete: formDeliverySubscriptionApi.deleteFormDeliverySubscription,
|
|
104
104
|
resetSecret: formDeliverySubscriptionApi.resetSecretFormDeliverySubscription,
|
|
105
|
+
getRetention: formDeliverySubscriptionApi.getFormDeliverySubscriptionRetention,
|
|
106
|
+
setRetention: formDeliverySubscriptionApi.setFormDeliverySubscriptionRetention,
|
|
107
|
+
deleteRetention: formDeliverySubscriptionApi.deleteFormDeliverySubscriptionRetention,
|
|
108
|
+
setDeliveryFavorite: formDeliverySubscriptionApi.setFormDeliveryFavorite,
|
|
105
109
|
archive: {
|
|
106
110
|
list: formDeliverySubscriptionApi.listFormDeliverySubscriptionArchive,
|
|
107
111
|
purge: formDeliverySubscriptionApi.purgeFormDeliverySubscriptionArchive,
|
|
@@ -149,7 +153,6 @@ class AbyssFormCore {
|
|
|
149
153
|
};
|
|
150
154
|
const formDocumentSDK = {
|
|
151
155
|
get: formDocumentApi.getFormDocument,
|
|
152
|
-
getDownloadUrl: formDocumentApi.getDownloadUrlFormDocument,
|
|
153
156
|
getUploadUrl: formDocumentApi.getUploadUrlFormDocument,
|
|
154
157
|
importFromCloud: formDocumentApi.importFromCloudFormDocument,
|
|
155
158
|
paginate: formDocumentApi.paginateFormDocument,
|
|
@@ -180,7 +183,6 @@ class AbyssFormCore {
|
|
|
180
183
|
};
|
|
181
184
|
const formSubmissionSDK = {
|
|
182
185
|
get: formSubmissionApi.getFormSubmission,
|
|
183
|
-
getFileDownloadUrl: formSubmissionApi.getFileDownloadUrlFormSubmission,
|
|
184
186
|
getNextToReview: formSubmissionApi.getNextToReviewFormSubmission,
|
|
185
187
|
update: formSubmissionApi.updateFormSubmission,
|
|
186
188
|
archive: formSubmissionApi.archiveFormSubmission,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,2DAA+F;AAC/F,qEAAuD;AACvD,wDAA0C;AAC1C,mEAAqD;AACrD,qEAAuD;AACvD,yEAA2D;AAC3D,oFAAsE;AACtE,kGAAoF;AACpF,4EAA8D;AAC9D,uFAAyE;AACzE,6EAA+D;AAC/D,wFAA0E;AAC1E,wDAA0C;AAC1C,mEAAqD;AACrD,8DAAgD;AAChD,uEAAyD;AACzD,gFAAkE;AAElE,0CAAwB;AACxB,0CAAwB;AACxB,wCAAsB;AACtB,8CAA4B;AAE5B,MAAM,gBAAgB,GAAG,wCAAwC,CAAC;AAErD,QAAA,cAAc,GAAG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AK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,iBAAiB,EAAE,EAAE;IACrB,aAAa,EAAE,EAAE;IACjB,UAAU,EAAE,EAAE;IACd,OAAO,EAAE,gBAAgB;CAC1B,AAPoB,CAOnB;AACK,mBAAK,GAAG,eAAK,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,EAAI,CAAC,MAAM,CAAC,OAAO;IAC5B,eAAe,EAAE,IAAI;CACtB,CAAC,AAHU,CAGT;AAEY,kBAAI,GAA4B,IAAI,AAAhC,CAAiC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DeliveryFormat, DeliveryStatus, ICreateRehydrationBody, IEstimateRehydrationQuery, IExtendRehydrationBody, IListArchivedDaysQuery, IPurgeArchiveBody } from '@abyss-project/flow';
|
|
1
|
+
import type { DeliveryFormat, DeliveryStatus, ICreateRehydrationBody, IEstimateRehydrationQuery, IExtendRehydrationBody, IListArchivedDaysQuery, IPurgeArchiveBody, ISetFavoriteBody, ISetRetentionRuleBody } from '@abyss-project/flow';
|
|
2
2
|
import { QueryPaginate } from '..';
|
|
3
3
|
export interface IFormDeliverySubscriptionParams {
|
|
4
4
|
formId: string;
|
|
@@ -52,3 +52,9 @@ export interface IFormDeliverySubscriptionRehydrationJobParams extends IFormDeli
|
|
|
52
52
|
export type IExtendFormDeliverySubscriptionRehydrationParams = IFormDeliverySubscriptionRehydrationJobParams;
|
|
53
53
|
export type IExtendFormDeliverySubscriptionRehydrationBody = IExtendRehydrationBody;
|
|
54
54
|
export type IReleaseFormDeliverySubscriptionRehydrationParams = IFormDeliverySubscriptionRehydrationJobParams;
|
|
55
|
+
export type IGetFormDeliverySubscriptionRetentionParams = IFormDeliverySubscriptionIdParams;
|
|
56
|
+
export type ISetFormDeliverySubscriptionRetentionParams = IFormDeliverySubscriptionIdParams;
|
|
57
|
+
export type ISetFormDeliverySubscriptionRetentionBody = ISetRetentionRuleBody;
|
|
58
|
+
export type IDeleteFormDeliverySubscriptionRetentionParams = IFormDeliverySubscriptionIdParams;
|
|
59
|
+
export type ISetFormDeliveryFavoriteParams = IFormDeliveryParams;
|
|
60
|
+
export type ISetFormDeliveryFavoriteBody = ISetFavoriteBody;
|
|
@@ -29,8 +29,3 @@ export interface IGetNextToReviewFormSubmissionParams {
|
|
|
29
29
|
export interface IGetNextToReviewFormSubmissionQuery {
|
|
30
30
|
excludeFormSubmissionId?: string;
|
|
31
31
|
}
|
|
32
|
-
export interface IGetFileDownloadUrlFormSubmissionParams {
|
|
33
|
-
formId: string;
|
|
34
|
-
formSubmissionId: string;
|
|
35
|
-
fileId: string;
|
|
36
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ICreateDeliverySubscriptionAdminResponse, ICreateRehydrationResponse, IEstimateRehydrationResponse, IExtendRehydrationResponse, IListArchivedDaysResponse, IListRehydrationResponse, IPurgeArchiveResponse, IReleaseRehydrationResponse, IDeleteDeliverySubscriptionAdminResponse, IGetDeliveryAdminResponse, IGetDeliverySubscriptionAdminResponse, IPaginateDeliveryAdminResponse, IPaginateDeliverySubscriptionAdminResponse, IPaginateScopeDeliveryAdminResponse, IReplayDeliveryAdminResponse, IResetSecretDeliverySubscriptionAdminResponse, IUpdateDeliverySubscriptionAdminResponse } from '@abyss-project/flow';
|
|
1
|
+
import type { ICreateDeliverySubscriptionAdminResponse, ICreateRehydrationResponse, IEstimateRehydrationResponse, IExtendRehydrationResponse, IListArchivedDaysResponse, IListRehydrationResponse, IPurgeArchiveResponse, IReleaseRehydrationResponse, IDeleteDeliverySubscriptionAdminResponse, IDeleteRetentionRuleResponse, IGetRetentionRuleResponse, ISetDeliveryFavoriteAdminResponse, ISetRetentionRuleResponse, IGetDeliveryAdminResponse, IGetDeliverySubscriptionAdminResponse, IPaginateDeliveryAdminResponse, IPaginateDeliverySubscriptionAdminResponse, IPaginateScopeDeliveryAdminResponse, IReplayDeliveryAdminResponse, IResetSecretDeliverySubscriptionAdminResponse, IUpdateDeliverySubscriptionAdminResponse } from '@abyss-project/flow';
|
|
2
2
|
export type IPaginateFormDeliverySubscriptionResponse = IPaginateDeliverySubscriptionAdminResponse;
|
|
3
3
|
export type IGetFormDeliverySubscriptionResponse = IGetDeliverySubscriptionAdminResponse;
|
|
4
4
|
export type ICreateFormDeliverySubscriptionResponse = ICreateDeliverySubscriptionAdminResponse;
|
|
@@ -16,3 +16,7 @@ export type IEstimateFormDeliverySubscriptionRehydrationResponse = IEstimateRehy
|
|
|
16
16
|
export type ICreateFormDeliverySubscriptionRehydrationResponse = ICreateRehydrationResponse;
|
|
17
17
|
export type IExtendFormDeliverySubscriptionRehydrationResponse = IExtendRehydrationResponse;
|
|
18
18
|
export type IReleaseFormDeliverySubscriptionRehydrationResponse = IReleaseRehydrationResponse;
|
|
19
|
+
export type IGetFormDeliverySubscriptionRetentionResponse = IGetRetentionRuleResponse;
|
|
20
|
+
export type ISetFormDeliverySubscriptionRetentionResponse = ISetRetentionRuleResponse;
|
|
21
|
+
export type IDeleteFormDeliverySubscriptionRetentionResponse = IDeleteRetentionRuleResponse;
|
|
22
|
+
export type ISetFormDeliveryFavoriteResponse = ISetDeliveryFavoriteAdminResponse;
|
|
@@ -15,8 +15,3 @@ export interface IListFormDocumentData {
|
|
|
15
15
|
formDocument: IFormDocument[];
|
|
16
16
|
}
|
|
17
17
|
export type IListFormDocumentResponse = IResponse<IListFormDocumentData>;
|
|
18
|
-
export interface IGetDownloadUrlFormDocumentData {
|
|
19
|
-
preSignedUrl: string;
|
|
20
|
-
expireAt: number;
|
|
21
|
-
}
|
|
22
|
-
export type IGetDownloadUrlFormDocumentResponse = IResponse<IGetDownloadUrlFormDocumentData>;
|
|
@@ -20,8 +20,3 @@ export interface IGetNextToReviewFormSubmissionData {
|
|
|
20
20
|
remainingCount: number;
|
|
21
21
|
}
|
|
22
22
|
export type IGetNextToReviewFormSubmissionResponse = IResponse<IGetNextToReviewFormSubmissionData>;
|
|
23
|
-
export interface IGetFileDownloadUrlFormSubmissionData {
|
|
24
|
-
preSignedUrl: string;
|
|
25
|
-
expireAt: number;
|
|
26
|
-
}
|
|
27
|
-
export type IGetFileDownloadUrlFormSubmissionResponse = IResponse<IGetFileDownloadUrlFormSubmissionData>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IResponse,
|
|
1
|
+
import { IResponse, IUser } from '../..';
|
|
2
2
|
export interface IMeUserData {
|
|
3
|
-
user:
|
|
3
|
+
user: IUser;
|
|
4
4
|
}
|
|
5
5
|
export type IMeUserResponse = IResponse<IMeUserData>;
|
|
6
6
|
export interface IUpdateUserData {
|
|
7
|
-
user:
|
|
7
|
+
user: IUser;
|
|
8
8
|
}
|
|
9
9
|
export type IUpdateUserResponse = IResponse<IUpdateUserData>;
|
|
@@ -7,7 +7,6 @@ export interface IFormConfiguration {
|
|
|
7
7
|
maxSubmissionPerDay: number | null;
|
|
8
8
|
maxSubmissionPerForm: number | null;
|
|
9
9
|
password: string | null;
|
|
10
|
-
passwordProtection?: boolean;
|
|
11
10
|
emailNotificationOnSubmission: boolean;
|
|
12
11
|
delayBetweenSubmissionInMinutes: number | null;
|
|
13
12
|
maskFormContent: boolean;
|
package/package.json
CHANGED
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/form",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Core package to interact with AbyssForm",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"types": "dist/index.d.ts"
|
|
10
|
-
},
|
|
11
|
-
"scripts": {
|
|
12
|
-
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
13
|
-
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
14
|
-
"tsc": "tsc",
|
|
15
|
-
"build": "tsc",
|
|
16
|
-
"prepublish": "tsc",
|
|
17
|
-
"dev": "tsc --watch"
|
|
18
|
-
},
|
|
19
7
|
"keywords": [],
|
|
20
8
|
"author": "scylla",
|
|
21
9
|
"license": "ISC",
|
|
@@ -33,7 +21,7 @@
|
|
|
33
21
|
"uuid": "^9.0.0"
|
|
34
22
|
},
|
|
35
23
|
"peerDependencies": {
|
|
36
|
-
"@abyss-project/flow": "^2.0
|
|
24
|
+
"@abyss-project/flow": "^3.2.0"
|
|
37
25
|
},
|
|
38
26
|
"peerDependenciesMeta": {
|
|
39
27
|
"@abyss-project/flow": {
|
|
@@ -41,7 +29,7 @@
|
|
|
41
29
|
}
|
|
42
30
|
},
|
|
43
31
|
"devDependencies": {
|
|
44
|
-
"@abyss-project/flow": "^2.0
|
|
32
|
+
"@abyss-project/flow": "^3.2.0",
|
|
45
33
|
"@types/express-serve-static-core": "^4.17.31",
|
|
46
34
|
"@types/lodash": "^4.17.16",
|
|
47
35
|
"@types/node": "^20.11.0",
|
|
@@ -60,5 +48,13 @@
|
|
|
60
48
|
"sequelize-cli": "^6.2.0",
|
|
61
49
|
"typescript": "5.9.3",
|
|
62
50
|
"tsc-watch": "^4.6.2"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
54
|
+
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
55
|
+
"tsc": "tsc",
|
|
56
|
+
"build": "tsc",
|
|
57
|
+
"prepublish": "tsc",
|
|
58
|
+
"dev": "tsc --watch"
|
|
63
59
|
}
|
|
64
|
-
}
|
|
60
|
+
}
|