@abyss-project/form 3.0.0 → 3.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 +8 -1
- package/dist/api/form-delivery-subscription.api.js +30 -1
- package/dist/api/form-delivery-subscription.api.js.map +1 -1
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/link-access.admin.api.d.ts +2 -0
- package/dist/api/link-access.admin.api.js +9 -0
- package/dist/api/link-access.admin.api.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -1
- package/dist/types/enum/index.d.ts +1 -0
- package/dist/types/enum/index.js +1 -0
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/enum/link-origin-resource-type.enum.d.ts +3 -0
- package/dist/types/enum/link-origin-resource-type.enum.js +8 -0
- package/dist/types/enum/link-origin-resource-type.enum.js.map +1 -0
- package/dist/types/interface/api/index.d.ts +2 -0
- package/dist/types/interface/api/index.js +2 -0
- package/dist/types/interface/api/index.js.map +1 -1
- package/dist/types/interface/api/requests/form-delivery-subscription.request.d.ts +16 -1
- package/dist/types/interface/api/requests/link-access.admin.request.d.ts +5 -0
- package/dist/types/interface/api/requests/link-access.admin.request.js +3 -0
- package/dist/types/interface/api/requests/link-access.admin.request.js.map +1 -0
- package/dist/types/interface/api/responses/form-delivery-subscription.response.d.ts +8 -1
- package/dist/types/interface/api/responses/link-access.admin.response.d.ts +6 -0
- package/dist/types/interface/api/responses/link-access.admin.response.js +3 -0
- package/dist/types/interface/api/responses/link-access.admin.response.js.map +1 -0
- package/dist/types/interface/models/form.model.d.ts +1 -0
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { 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, 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>;
|
|
@@ -9,3 +9,10 @@ export declare const paginateFormDelivery: (params: IPaginateFormDeliveryParams,
|
|
|
9
9
|
export declare const paginateFormDeliverySubscriptionDelivery: (params: IPaginateFormDeliverySubscriptionDeliveryParams, query: IPaginateFormDeliverySubscriptionDeliveryQuery) => Promise<IPaginateFormDeliverySubscriptionDeliveryResponse>;
|
|
10
10
|
export declare const getFormDelivery: (params: IGetFormDeliveryParams) => Promise<IGetFormDeliveryResponse>;
|
|
11
11
|
export declare const replayFormDelivery: (params: IReplayFormDeliveryParams) => Promise<IReplayFormDeliveryResponse>;
|
|
12
|
+
export declare const listFormDeliverySubscriptionArchive: (params: IListFormDeliverySubscriptionArchiveParams, query: IListFormDeliverySubscriptionArchiveQuery) => Promise<IListFormDeliverySubscriptionArchiveResponse>;
|
|
13
|
+
export declare const purgeFormDeliverySubscriptionArchive: (params: IPurgeFormDeliverySubscriptionArchiveParams, body: IPurgeFormDeliverySubscriptionArchiveBody) => Promise<IPurgeFormDeliverySubscriptionArchiveResponse>;
|
|
14
|
+
export declare const listFormDeliverySubscriptionRehydration: (params: IListFormDeliverySubscriptionRehydrationParams) => Promise<IListFormDeliverySubscriptionRehydrationResponse>;
|
|
15
|
+
export declare const estimateFormDeliverySubscriptionRehydration: (params: IEstimateFormDeliverySubscriptionRehydrationParams, query: IEstimateFormDeliverySubscriptionRehydrationQuery) => Promise<IEstimateFormDeliverySubscriptionRehydrationResponse>;
|
|
16
|
+
export declare const createFormDeliverySubscriptionRehydration: (params: ICreateFormDeliverySubscriptionRehydrationParams, body: ICreateFormDeliverySubscriptionRehydrationBody) => Promise<ICreateFormDeliverySubscriptionRehydrationResponse>;
|
|
17
|
+
export declare const extendFormDeliverySubscriptionRehydration: (params: IExtendFormDeliverySubscriptionRehydrationParams, body: IExtendFormDeliverySubscriptionRehydrationBody) => Promise<IExtendFormDeliverySubscriptionRehydrationResponse>;
|
|
18
|
+
export declare const releaseFormDeliverySubscriptionRehydration: (params: IReleaseFormDeliverySubscriptionRehydrationParams) => Promise<IReleaseFormDeliverySubscriptionRehydrationResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.replayFormDelivery = exports.getFormDelivery = exports.paginateFormDeliverySubscriptionDelivery = exports.paginateFormDelivery = exports.resetSecretFormDeliverySubscription = exports.deleteFormDeliverySubscription = exports.updateFormDeliverySubscription = exports.createFormDeliverySubscription = exports.getFormDeliverySubscription = exports.paginateFormDeliverySubscription = void 0;
|
|
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;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const path = (formId) => `form/${formId}/delivery-subscription`;
|
|
6
6
|
const paginateFormDeliverySubscription = async (params, query) => {
|
|
@@ -45,4 +45,33 @@ const replayFormDelivery = async (params) => {
|
|
|
45
45
|
return (await __1.AbyssFormCore.axios.post(`${path(params.formId)}/${params.deliverySubscriptionId}/delivery/${params.deliveryId}/replay`)).data;
|
|
46
46
|
};
|
|
47
47
|
exports.replayFormDelivery = replayFormDelivery;
|
|
48
|
+
const subscriptionPath = (params) => `${path(params.formId)}/${params.deliverySubscriptionId}`;
|
|
49
|
+
const listFormDeliverySubscriptionArchive = async (params, query) => {
|
|
50
|
+
return (await __1.AbyssFormCore.axios.get(`${subscriptionPath(params)}/archive`, { params: query })).data;
|
|
51
|
+
};
|
|
52
|
+
exports.listFormDeliverySubscriptionArchive = listFormDeliverySubscriptionArchive;
|
|
53
|
+
const purgeFormDeliverySubscriptionArchive = async (params, body) => {
|
|
54
|
+
return (await __1.AbyssFormCore.axios.post(`${subscriptionPath(params)}/archive/purge`, body)).data;
|
|
55
|
+
};
|
|
56
|
+
exports.purgeFormDeliverySubscriptionArchive = purgeFormDeliverySubscriptionArchive;
|
|
57
|
+
const listFormDeliverySubscriptionRehydration = async (params) => {
|
|
58
|
+
return (await __1.AbyssFormCore.axios.get(`${subscriptionPath(params)}/rehydration`)).data;
|
|
59
|
+
};
|
|
60
|
+
exports.listFormDeliverySubscriptionRehydration = listFormDeliverySubscriptionRehydration;
|
|
61
|
+
const estimateFormDeliverySubscriptionRehydration = async (params, query) => {
|
|
62
|
+
return (await __1.AbyssFormCore.axios.get(`${subscriptionPath(params)}/rehydration/estimate`, { params: query })).data;
|
|
63
|
+
};
|
|
64
|
+
exports.estimateFormDeliverySubscriptionRehydration = estimateFormDeliverySubscriptionRehydration;
|
|
65
|
+
const createFormDeliverySubscriptionRehydration = async (params, body) => {
|
|
66
|
+
return (await __1.AbyssFormCore.axios.post(`${subscriptionPath(params)}/rehydration`, body)).data;
|
|
67
|
+
};
|
|
68
|
+
exports.createFormDeliverySubscriptionRehydration = createFormDeliverySubscriptionRehydration;
|
|
69
|
+
const extendFormDeliverySubscriptionRehydration = async (params, body) => {
|
|
70
|
+
return (await __1.AbyssFormCore.axios.post(`${subscriptionPath(params)}/rehydration/${params.jobId}/extend`, body)).data;
|
|
71
|
+
};
|
|
72
|
+
exports.extendFormDeliverySubscriptionRehydration = extendFormDeliverySubscriptionRehydration;
|
|
73
|
+
const releaseFormDeliverySubscriptionRehydration = async (params) => {
|
|
74
|
+
return (await __1.AbyssFormCore.axios.post(`${subscriptionPath(params)}/rehydration/${params.jobId}/release`)).data;
|
|
75
|
+
};
|
|
76
|
+
exports.releaseFormDeliverySubscriptionRehydration = releaseFormDeliverySubscriptionRehydration;
|
|
48
77
|
//# 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,0BA8CY;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,IAA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,KAAK,CAAC,GAAG,CAC3B,GAAG,gBAAgB,CAAC,MAAM,CAAC,uBAAuB,EAClD,EAAE,MAAM,EAAE,KAAK,EAAE,CAClB,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAVW,QAAA,2CAA2C,+CAUtD;AAEK,MAAM,yCAAyC,GAAG,KAAK,EAC5D,MAAwD,EACxD,IAAoD,EACS,EAAE;IAC/D,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,IAAI,CAC5B,GAAG,gBAAgB,CAAC,MAAM,CAAC,cAAc,EACzC,IAAI,CACL,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAVW,QAAA,yCAAyC,6CAUpD;AAEK,MAAM,yCAAyC,GAAG,KAAK,EAC5D,MAAwD,EACxD,IAAoD,EACS,EAAE;IAC/D,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,IAAI,CAC5B,GAAG,gBAAgB,CAAC,MAAM,CAAC,gBAAgB,MAAM,CAAC,KAAK,SAAS,EAChE,IAAI,CACL,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAVW,QAAA,yCAAyC,6CAUpD;AAEK,MAAM,0CAA0C,GAAG,KAAK,EAC7D,MAAyD,EACK,EAAE;IAChE,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,IAAI,CAC5B,GAAG,gBAAgB,CAAC,MAAM,CAAC,gBAAgB,MAAM,CAAC,KAAK,UAAU,CAClE,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AARW,QAAA,0CAA0C,8CAQrD"}
|
package/dist/api/index.d.ts
CHANGED
package/dist/api/index.js
CHANGED
|
@@ -29,4 +29,5 @@ __exportStar(require("./form-code-block.api"), exports);
|
|
|
29
29
|
__exportStar(require("./form-submission.admin.api"), exports);
|
|
30
30
|
__exportStar(require("./form-submission.api"), exports);
|
|
31
31
|
__exportStar(require("./report.admin.api"), exports);
|
|
32
|
+
__exportStar(require("./link-access.admin.api"), exports);
|
|
32
33
|
//# sourceMappingURL=index.js.map
|
package/dist/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,6CAA2B;AAC3B,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,6CAA2B;AAC3B,4DAA0C;AAC1C,sDAAoC;AACpC,mEAAiD;AACjD,8DAA4C;AAC5C,wDAAsC;AACtC,8DAA4C;AAC5C,wDAAsC;AACtC,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,6CAA2B;AAC3B,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,6CAA2B;AAC3B,4DAA0C;AAC1C,sDAAoC;AACpC,mEAAiD;AACjD,8DAA4C;AAC5C,wDAAsC;AACtC,8DAA4C;AAC5C,wDAAsC;AACtC,qDAAmC;AACnC,0DAAwC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveLinkAccessAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const resolveLinkAccessAdmin = async (body) => {
|
|
6
|
+
return (await __1.AbyssFormCore.axios.post(`link-access/admin/resolve`, body)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.resolveLinkAccessAdmin = resolveLinkAccessAdmin;
|
|
9
|
+
//# sourceMappingURL=link-access.admin.api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-access.admin.api.js","sourceRoot":"","sources":["../../src/api/link-access.admin.api.ts"],"names":[],"mappings":";;;AAAA,0BAAmC;AAG5B,MAAM,sBAAsB,GAAG,KAAK,EACzC,IAAiC,EACS,EAAE;IAC5C,OAAO,CACL,MAAM,iBAAa,CAAC,KAAK,CAAC,IAAI,CAC5B,2BAA2B,EAC3B,IAAI,CACL,CACF,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AATW,QAAA,sBAAsB,0BASjC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import * as userApi from './api/user.api';
|
|
|
14
14
|
import * as userAdminApi from './api/user.admin.api';
|
|
15
15
|
import * as monitorApi from './api/monitor.api';
|
|
16
16
|
import * as reportAdminApi from './api/report.admin.api';
|
|
17
|
+
import * as linkAccessAdminApi from './api/link-access.admin.api';
|
|
17
18
|
export * from './types';
|
|
18
19
|
export * from './utils';
|
|
19
20
|
export * from './api';
|
|
@@ -54,6 +55,17 @@ type AbyssFormCoreSDK = {
|
|
|
54
55
|
update: typeof formDeliverySubscriptionApi.updateFormDeliverySubscription;
|
|
55
56
|
delete: typeof formDeliverySubscriptionApi.deleteFormDeliverySubscription;
|
|
56
57
|
resetSecret: typeof formDeliverySubscriptionApi.resetSecretFormDeliverySubscription;
|
|
58
|
+
archive: {
|
|
59
|
+
list: typeof formDeliverySubscriptionApi.listFormDeliverySubscriptionArchive;
|
|
60
|
+
purge: typeof formDeliverySubscriptionApi.purgeFormDeliverySubscriptionArchive;
|
|
61
|
+
};
|
|
62
|
+
rehydration: {
|
|
63
|
+
list: typeof formDeliverySubscriptionApi.listFormDeliverySubscriptionRehydration;
|
|
64
|
+
estimate: typeof formDeliverySubscriptionApi.estimateFormDeliverySubscriptionRehydration;
|
|
65
|
+
create: typeof formDeliverySubscriptionApi.createFormDeliverySubscriptionRehydration;
|
|
66
|
+
extend: typeof formDeliverySubscriptionApi.extendFormDeliverySubscriptionRehydration;
|
|
67
|
+
release: typeof formDeliverySubscriptionApi.releaseFormDeliverySubscriptionRehydration;
|
|
68
|
+
};
|
|
57
69
|
delivery: {
|
|
58
70
|
paginateByForm: typeof formDeliverySubscriptionApi.paginateFormDelivery;
|
|
59
71
|
paginate: typeof formDeliverySubscriptionApi.paginateFormDeliverySubscriptionDelivery;
|
|
@@ -149,6 +161,11 @@ type AbyssFormCoreSDK = {
|
|
|
149
161
|
getGlobal: typeof reportAdminApi.getGlobalReportAdmin;
|
|
150
162
|
};
|
|
151
163
|
};
|
|
164
|
+
linkAccess: {
|
|
165
|
+
admin: {
|
|
166
|
+
resolve: typeof linkAccessAdminApi.resolveLinkAccessAdmin;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
152
169
|
};
|
|
153
170
|
export declare class AbyssFormCore {
|
|
154
171
|
private static config;
|
package/dist/index.js
CHANGED
|
@@ -58,6 +58,7 @@ const userApi = __importStar(require("./api/user.api"));
|
|
|
58
58
|
const userAdminApi = __importStar(require("./api/user.admin.api"));
|
|
59
59
|
const monitorApi = __importStar(require("./api/monitor.api"));
|
|
60
60
|
const reportAdminApi = __importStar(require("./api/report.admin.api"));
|
|
61
|
+
const linkAccessAdminApi = __importStar(require("./api/link-access.admin.api"));
|
|
61
62
|
__exportStar(require("./types"), exports);
|
|
62
63
|
__exportStar(require("./utils"), exports);
|
|
63
64
|
__exportStar(require("./api"), exports);
|
|
@@ -101,6 +102,17 @@ class AbyssFormCore {
|
|
|
101
102
|
update: formDeliverySubscriptionApi.updateFormDeliverySubscription,
|
|
102
103
|
delete: formDeliverySubscriptionApi.deleteFormDeliverySubscription,
|
|
103
104
|
resetSecret: formDeliverySubscriptionApi.resetSecretFormDeliverySubscription,
|
|
105
|
+
archive: {
|
|
106
|
+
list: formDeliverySubscriptionApi.listFormDeliverySubscriptionArchive,
|
|
107
|
+
purge: formDeliverySubscriptionApi.purgeFormDeliverySubscriptionArchive,
|
|
108
|
+
},
|
|
109
|
+
rehydration: {
|
|
110
|
+
list: formDeliverySubscriptionApi.listFormDeliverySubscriptionRehydration,
|
|
111
|
+
estimate: formDeliverySubscriptionApi.estimateFormDeliverySubscriptionRehydration,
|
|
112
|
+
create: formDeliverySubscriptionApi.createFormDeliverySubscriptionRehydration,
|
|
113
|
+
extend: formDeliverySubscriptionApi.extendFormDeliverySubscriptionRehydration,
|
|
114
|
+
release: formDeliverySubscriptionApi.releaseFormDeliverySubscriptionRehydration,
|
|
115
|
+
},
|
|
104
116
|
delivery: {
|
|
105
117
|
paginateByForm: formDeliverySubscriptionApi.paginateFormDelivery,
|
|
106
118
|
paginate: formDeliverySubscriptionApi.paginateFormDeliverySubscriptionDelivery,
|
|
@@ -208,6 +220,11 @@ class AbyssFormCore {
|
|
|
208
220
|
up: monitorApi.upMonitor,
|
|
209
221
|
},
|
|
210
222
|
report: reportSDK,
|
|
223
|
+
linkAccess: {
|
|
224
|
+
admin: {
|
|
225
|
+
resolve: linkAccessAdminApi.resolveLinkAccessAdmin,
|
|
226
|
+
},
|
|
227
|
+
},
|
|
211
228
|
};
|
|
212
229
|
return baseSDK;
|
|
213
230
|
}
|
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;
|
|
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,4EAA8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AAK,EAAE,CAAC;QACvF,CAAC;QAED,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YAClB,EAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAc,CAAC,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;QACnF,CAAC;QAED,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;YACtB,EAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,0BAAkB,CAAC,GAAG,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;QAC3F,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,SAAS;QACrB,OAAO,EAAa,CAAC,MAAM,CAAC;IAC9B,CAAC;;AAvNH,sCAwNC;;AAvNgB,oBAAM,GAAG;IACtB,KAAK,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"}
|
package/dist/types/enum/index.js
CHANGED
|
@@ -21,4 +21,5 @@ __exportStar(require("./form-content-question-type.enum"), exports);
|
|
|
21
21
|
__exportStar(require("./cannot-start-submission-reason.enum"), exports);
|
|
22
22
|
__exportStar(require("./share-permission.enum"), exports);
|
|
23
23
|
__exportStar(require("./file-scan-status.enum"), exports);
|
|
24
|
+
__exportStar(require("./link-origin-resource-type.enum"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,qDAAmC;AACnC,8DAA4C;AAC5C,oEAAkD;AAClD,wEAAsD;AACtD,0DAAwC;AACxC,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,qDAAmC;AACnC,8DAA4C;AAC5C,oEAAkD;AAClD,wEAAsD;AACtD,0DAAwC;AACxC,0DAAwC;AACxC,mEAAiD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormLinkOriginResourceType = void 0;
|
|
4
|
+
var FormLinkOriginResourceType;
|
|
5
|
+
(function (FormLinkOriginResourceType) {
|
|
6
|
+
FormLinkOriginResourceType["FORM"] = "form";
|
|
7
|
+
})(FormLinkOriginResourceType || (exports.FormLinkOriginResourceType = FormLinkOriginResourceType = {}));
|
|
8
|
+
//# sourceMappingURL=link-origin-resource-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-origin-resource-type.enum.js","sourceRoot":"","sources":["../../../src/types/enum/link-origin-resource-type.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IAEpC,2CAAa,CAAA;AACf,CAAC,EAHW,0BAA0B,0CAA1B,0BAA0B,QAGrC"}
|
|
@@ -17,6 +17,7 @@ export * from './requests/form-code-block.admin.request';
|
|
|
17
17
|
export * from './requests/form-submission.request';
|
|
18
18
|
export * from './requests/form-submission.admin.request';
|
|
19
19
|
export * from './requests/report.admin.request';
|
|
20
|
+
export * from './requests/link-access.admin.request';
|
|
20
21
|
export * from './responses/abyss.admin.response';
|
|
21
22
|
export * from './responses/monitor.response';
|
|
22
23
|
export * from './responses/storage.admin.response';
|
|
@@ -33,3 +34,4 @@ export * from './responses/form-code-block.admin.response';
|
|
|
33
34
|
export * from './responses/form-submission.response';
|
|
34
35
|
export * from './responses/form-submission.admin.response';
|
|
35
36
|
export * from './responses/report.admin.response';
|
|
37
|
+
export * from './responses/link-access.admin.response';
|
|
@@ -33,6 +33,7 @@ __exportStar(require("./requests/form-code-block.admin.request"), exports);
|
|
|
33
33
|
__exportStar(require("./requests/form-submission.request"), exports);
|
|
34
34
|
__exportStar(require("./requests/form-submission.admin.request"), exports);
|
|
35
35
|
__exportStar(require("./requests/report.admin.request"), exports);
|
|
36
|
+
__exportStar(require("./requests/link-access.admin.request"), exports);
|
|
36
37
|
__exportStar(require("./responses/abyss.admin.response"), exports);
|
|
37
38
|
__exportStar(require("./responses/monitor.response"), exports);
|
|
38
39
|
__exportStar(require("./responses/storage.admin.response"), exports);
|
|
@@ -49,4 +50,5 @@ __exportStar(require("./responses/form-code-block.admin.response"), exports);
|
|
|
49
50
|
__exportStar(require("./responses/form-submission.response"), exports);
|
|
50
51
|
__exportStar(require("./responses/form-submission.admin.response"), exports);
|
|
51
52
|
__exportStar(require("./responses/report.admin.response"), exports);
|
|
53
|
+
__exportStar(require("./responses/link-access.admin.response"), exports);
|
|
52
54
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,gFAA8D;AAC9D,qEAAmD;AACnD,2EAAyD;AACzD,qEAAmD;AACnD,2EAAyD;AACzD,kEAAgD;
|
|
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,gFAA8D;AAC9D,qEAAmD;AACnD,2EAAyD;AACzD,qEAAmD;AACnD,2EAAyD;AACzD,kEAAgD;AAChD,uEAAqD;AAErD,mEAAiD;AACjD,+DAA6C;AAC7C,qEAAmD;AACnD,kEAAgD;AAChD,4DAA0C;AAC1C,kEAAgD;AAChD,mEAAiD;AACjD,4DAA0C;AAC1C,2EAAyD;AACzD,qEAAmD;AACnD,kFAAgE;AAChE,uEAAqD;AACrD,6EAA2D;AAC3D,uEAAqD;AACrD,6EAA2D;AAC3D,oEAAkD;AAClD,yEAAuD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DeliveryFormat, DeliveryStatus } from '@abyss-project/flow';
|
|
1
|
+
import type { DeliveryFormat, DeliveryStatus, ICreateRehydrationBody, IEstimateRehydrationQuery, IExtendRehydrationBody, IListArchivedDaysQuery, IPurgeArchiveBody } from '@abyss-project/flow';
|
|
2
2
|
import { QueryPaginate } from '..';
|
|
3
3
|
export interface IFormDeliverySubscriptionParams {
|
|
4
4
|
formId: string;
|
|
@@ -37,3 +37,18 @@ export interface IFormDeliveryParams extends IFormDeliverySubscriptionIdParams {
|
|
|
37
37
|
}
|
|
38
38
|
export type IGetFormDeliveryParams = IFormDeliveryParams;
|
|
39
39
|
export type IReplayFormDeliveryParams = IFormDeliveryParams;
|
|
40
|
+
export type IListFormDeliverySubscriptionArchiveParams = IFormDeliverySubscriptionIdParams;
|
|
41
|
+
export type IListFormDeliverySubscriptionArchiveQuery = IListArchivedDaysQuery;
|
|
42
|
+
export type IPurgeFormDeliverySubscriptionArchiveParams = IFormDeliverySubscriptionIdParams;
|
|
43
|
+
export type IPurgeFormDeliverySubscriptionArchiveBody = IPurgeArchiveBody;
|
|
44
|
+
export type IListFormDeliverySubscriptionRehydrationParams = IFormDeliverySubscriptionIdParams;
|
|
45
|
+
export type IEstimateFormDeliverySubscriptionRehydrationParams = IFormDeliverySubscriptionIdParams;
|
|
46
|
+
export type IEstimateFormDeliverySubscriptionRehydrationQuery = IEstimateRehydrationQuery;
|
|
47
|
+
export type ICreateFormDeliverySubscriptionRehydrationParams = IFormDeliverySubscriptionIdParams;
|
|
48
|
+
export type ICreateFormDeliverySubscriptionRehydrationBody = ICreateRehydrationBody;
|
|
49
|
+
export interface IFormDeliverySubscriptionRehydrationJobParams extends IFormDeliverySubscriptionIdParams {
|
|
50
|
+
jobId: string;
|
|
51
|
+
}
|
|
52
|
+
export type IExtendFormDeliverySubscriptionRehydrationParams = IFormDeliverySubscriptionRehydrationJobParams;
|
|
53
|
+
export type IExtendFormDeliverySubscriptionRehydrationBody = IExtendRehydrationBody;
|
|
54
|
+
export type IReleaseFormDeliverySubscriptionRehydrationParams = IFormDeliverySubscriptionRehydrationJobParams;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-access.admin.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/link-access.admin.request.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ICreateDeliverySubscriptionAdminResponse, 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, 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;
|
|
@@ -9,3 +9,10 @@ export type IPaginateFormDeliveryResponse = IPaginateScopeDeliveryAdminResponse;
|
|
|
9
9
|
export type IPaginateFormDeliverySubscriptionDeliveryResponse = IPaginateDeliveryAdminResponse;
|
|
10
10
|
export type IGetFormDeliveryResponse = IGetDeliveryAdminResponse;
|
|
11
11
|
export type IReplayFormDeliveryResponse = IReplayDeliveryAdminResponse;
|
|
12
|
+
export type IListFormDeliverySubscriptionArchiveResponse = IListArchivedDaysResponse;
|
|
13
|
+
export type IPurgeFormDeliverySubscriptionArchiveResponse = IPurgeArchiveResponse;
|
|
14
|
+
export type IListFormDeliverySubscriptionRehydrationResponse = IListRehydrationResponse;
|
|
15
|
+
export type IEstimateFormDeliverySubscriptionRehydrationResponse = IEstimateRehydrationResponse;
|
|
16
|
+
export type ICreateFormDeliverySubscriptionRehydrationResponse = ICreateRehydrationResponse;
|
|
17
|
+
export type IExtendFormDeliverySubscriptionRehydrationResponse = IExtendRehydrationResponse;
|
|
18
|
+
export type IReleaseFormDeliverySubscriptionRehydrationResponse = IReleaseRehydrationResponse;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SharePermission } from '../../../enum';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
export interface IResolveLinkAccessAdminData {
|
|
4
|
+
permission: SharePermission | null;
|
|
5
|
+
}
|
|
6
|
+
export type IResolveLinkAccessAdminResponse = IResponse<IResolveLinkAccessAdminData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-access.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/link-access.admin.response.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/form",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Core package to interact with AbyssForm",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"uuid": "^9.0.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@abyss-project/flow": "^
|
|
24
|
+
"@abyss-project/flow": "^2.0.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependenciesMeta": {
|
|
27
27
|
"@abyss-project/flow": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@abyss-project/flow": "^
|
|
32
|
+
"@abyss-project/flow": "^2.0.0",
|
|
33
33
|
"@types/express-serve-static-core": "^4.17.31",
|
|
34
34
|
"@types/lodash": "^4.17.16",
|
|
35
35
|
"@types/node": "^20.11.0",
|