@abyss-project/main 1.0.85 → 1.0.86
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/domain-verification.admin.api.d.ts +4 -0
- package/dist/api/domain-verification.admin.api.js +10 -0
- package/dist/api/domain-verification.api.d.ts +7 -0
- package/dist/api/domain-verification.api.js +28 -0
- package/dist/api/workflow.api.d.ts +26 -0
- package/dist/api/workflow.api.js +60 -0
- package/dist/types/dto/domain-verification.dto.d.ts +19 -0
- package/dist/types/dto/domain-verification.dto.js +2 -0
- package/dist/types/enum/abyss-service.enum.d.ts +7 -0
- package/dist/types/enum/abyss-service.enum.js +9 -1
- package/dist/types/enum/project-access-permission.enum.d.ts +8 -1
- package/dist/types/enum/project-access-permission.enum.js +7 -0
- package/dist/types/enum/user-notification-content-type.enum.d.ts +21 -0
- package/dist/types/enum/user-notification-content-type.enum.js +4 -1
- package/dist/types/interface/api/bodies/domain-verification.body.d.ts +7 -0
- package/dist/types/interface/api/bodies/domain-verification.body.js +2 -0
- package/dist/types/interface/api/params/domain-verification.params.d.ts +18 -0
- package/dist/types/interface/api/params/domain-verification.params.js +2 -0
- package/dist/types/interface/api/requests/domain-verification.admin.request.d.ts +5 -0
- package/dist/types/interface/api/requests/domain-verification.admin.request.js +2 -0
- package/dist/types/interface/api/requests/domain-verification.request.d.ts +29 -0
- package/dist/types/interface/api/requests/domain-verification.request.js +2 -0
- package/dist/types/interface/api/requests/workflow.request.d.ts +119 -0
- package/dist/types/interface/api/requests/workflow.request.js +2 -0
- package/dist/types/interface/api/responses/domain-verification.admin.response.d.ts +6 -0
- package/dist/types/interface/api/responses/domain-verification.admin.response.js +2 -0
- package/dist/types/interface/api/responses/domain-verification.response.d.ts +29 -0
- package/dist/types/interface/api/responses/domain-verification.response.js +2 -0
- package/dist/types/interface/api/responses/project-domain-verification.response.d.ts +55 -0
- package/dist/types/interface/api/responses/project-domain-verification.response.js +2 -0
- package/dist/types/interface/api/responses/workflow.response.d.ts +124 -0
- package/dist/types/interface/api/responses/workflow.response.js +2 -0
- package/dist/types/interface/models/domain-verification.model.d.ts +42 -0
- package/dist/types/interface/models/domain-verification.model.js +14 -0
- package/dist/types/interface/models/project-domain-verification.model.d.ts +27 -0
- package/dist/types/interface/models/project-domain-verification.model.js +15 -0
- package/dist/types/interface/models/workflow-execution-step.model.d.ts +59 -0
- package/dist/types/interface/models/workflow-execution-step.model.js +12 -0
- package/dist/types/interface/models/workflow-execution.model.d.ts +78 -0
- package/dist/types/interface/models/workflow-execution.model.js +13 -0
- package/dist/types/interface/models/workflow-step.model.d.ts +106 -0
- package/dist/types/interface/models/workflow-step.model.js +44 -0
- package/dist/types/interface/models/workflow-template.model.d.ts +41 -0
- package/dist/types/interface/models/workflow-template.model.js +2 -0
- package/dist/types/interface/models/workflow.model.d.ts +72 -0
- package/dist/types/interface/models/workflow.model.js +23 -0
- package/dist/utils/time-period.utils.js +11 -3
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IRunDomainVerificationCronAdminBody, IRunDomainVerificationCronAdminResponse } from '../types';
|
|
2
|
+
export declare const domainVerificationAdminApi: {
|
|
3
|
+
runCron: (body?: IRunDomainVerificationCronAdminBody) => Promise<IRunDomainVerificationCronAdminResponse>;
|
|
4
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.domainVerificationAdminApi = void 0;
|
|
4
|
+
const index_1 = require("../index");
|
|
5
|
+
exports.domainVerificationAdminApi = {
|
|
6
|
+
runCron: async (body) => {
|
|
7
|
+
const response = await index_1.AbyssCore.axios.post('/domain-verification/admin/run-cron', body);
|
|
8
|
+
return response.data;
|
|
9
|
+
},
|
|
10
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ICreateDomainVerificationParams, ICreateDomainVerificationBody, ICreateDomainVerificationResponse, IListDomainVerificationParams, IListDomainVerificationResponse, IGetDomainVerificationParams, IGetDomainVerificationResponse, IVerifyDomainVerificationParams, IVerifyDomainVerificationBody, IVerifyDomainVerificationResponse, IRegenerateDomainVerificationParams, IRegenerateDomainVerificationResponse, IDeleteDomainVerificationParams, IDeleteDomainVerificationResponse } from '../types';
|
|
2
|
+
export declare const createDomainVerification: (params: ICreateDomainVerificationParams, body: ICreateDomainVerificationBody) => Promise<ICreateDomainVerificationResponse>;
|
|
3
|
+
export declare const listDomainVerification: (params: IListDomainVerificationParams) => Promise<IListDomainVerificationResponse>;
|
|
4
|
+
export declare const getDomainVerification: (params: IGetDomainVerificationParams) => Promise<IGetDomainVerificationResponse>;
|
|
5
|
+
export declare const verifyDomainVerification: (params: IVerifyDomainVerificationParams, body: IVerifyDomainVerificationBody) => Promise<IVerifyDomainVerificationResponse>;
|
|
6
|
+
export declare const regenerateDomainVerification: (params: IRegenerateDomainVerificationParams) => Promise<IRegenerateDomainVerificationResponse>;
|
|
7
|
+
export declare const deleteDomainVerification: (params: IDeleteDomainVerificationParams) => Promise<IDeleteDomainVerificationResponse>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteDomainVerification = exports.regenerateDomainVerification = exports.verifyDomainVerification = exports.getDomainVerification = exports.listDomainVerification = exports.createDomainVerification = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const createDomainVerification = async (params, body) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.post(`project/${params.projectId}/domain-verification`, body)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.createDomainVerification = createDomainVerification;
|
|
9
|
+
const listDomainVerification = async (params) => {
|
|
10
|
+
return (await __1.AbyssCore.axios.get(`project/${params.projectId}/domain-verification`)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.listDomainVerification = listDomainVerification;
|
|
13
|
+
const getDomainVerification = async (params) => {
|
|
14
|
+
return (await __1.AbyssCore.axios.get(`project/${params.projectId}/domain-verification/${params.domainVerificationId}`)).data;
|
|
15
|
+
};
|
|
16
|
+
exports.getDomainVerification = getDomainVerification;
|
|
17
|
+
const verifyDomainVerification = async (params, body) => {
|
|
18
|
+
return (await __1.AbyssCore.axios.post(`project/${params.projectId}/domain-verification/${params.domainVerificationId}/verify`, body)).data;
|
|
19
|
+
};
|
|
20
|
+
exports.verifyDomainVerification = verifyDomainVerification;
|
|
21
|
+
const regenerateDomainVerification = async (params) => {
|
|
22
|
+
return (await __1.AbyssCore.axios.post(`project/${params.projectId}/domain-verification/${params.domainVerificationId}/regenerate`)).data;
|
|
23
|
+
};
|
|
24
|
+
exports.regenerateDomainVerification = regenerateDomainVerification;
|
|
25
|
+
const deleteDomainVerification = async (params) => {
|
|
26
|
+
return (await __1.AbyssCore.axios.delete(`project/${params.projectId}/domain-verification/${params.domainVerificationId}`)).data;
|
|
27
|
+
};
|
|
28
|
+
exports.deleteDomainVerification = deleteDomainVerification;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ICreateWorkflowRequest, ICreateWorkflowResponse, IPaginateWorkflowsRequest, IPaginateWorkflowsResponse, IGetWorkflowParams, IGetWorkflowResponse, IUpdateWorkflowRequest, IUpdateWorkflowResponse, IUpdateWorkflowStatusRequest, IDeleteWorkflowResponse, ICreateWorkflowStepRequest, ICreateWorkflowStepResponse, IUpdateWorkflowStepRequest, IUpdateWorkflowStepResponse, IListWorkflowStepsResponse, IDeleteWorkflowStepResponse, IPaginateWorkflowExecutionsRequest, IPaginateWorkflowExecutionsResponse, IGetWorkflowExecutionParams, IGetWorkflowExecutionResponse, IGetWorkflowExecutionStatsResponse, ICancelWorkflowExecutionResponse } from '../types';
|
|
2
|
+
export declare const createWorkflow: (params: {
|
|
3
|
+
projectId: string;
|
|
4
|
+
}, body: ICreateWorkflowRequest) => Promise<ICreateWorkflowResponse>;
|
|
5
|
+
export declare const paginateWorkflows: (params: {
|
|
6
|
+
projectId: string;
|
|
7
|
+
}, query?: IPaginateWorkflowsRequest) => Promise<IPaginateWorkflowsResponse>;
|
|
8
|
+
export declare const getWorkflow: (params: IGetWorkflowParams) => Promise<IGetWorkflowResponse>;
|
|
9
|
+
export declare const updateWorkflow: (params: IGetWorkflowParams, body: IUpdateWorkflowRequest) => Promise<IUpdateWorkflowResponse>;
|
|
10
|
+
export declare const updateWorkflowStatus: (params: IGetWorkflowParams, body: IUpdateWorkflowStatusRequest) => Promise<IUpdateWorkflowResponse>;
|
|
11
|
+
export declare const deleteWorkflow: (params: IGetWorkflowParams) => Promise<IDeleteWorkflowResponse>;
|
|
12
|
+
export declare const createWorkflowStep: (params: IGetWorkflowParams, body: ICreateWorkflowStepRequest) => Promise<ICreateWorkflowStepResponse>;
|
|
13
|
+
export declare const listWorkflowSteps: (params: IGetWorkflowParams) => Promise<IListWorkflowStepsResponse>;
|
|
14
|
+
export declare const updateWorkflowStep: (params: IGetWorkflowParams & {
|
|
15
|
+
stepId: string;
|
|
16
|
+
}, body: IUpdateWorkflowStepRequest) => Promise<IUpdateWorkflowStepResponse>;
|
|
17
|
+
export declare const deleteWorkflowStep: (params: IGetWorkflowParams & {
|
|
18
|
+
stepId: string;
|
|
19
|
+
}) => Promise<IDeleteWorkflowStepResponse>;
|
|
20
|
+
export declare const paginateWorkflowExecutions: (params: IGetWorkflowParams, query?: IPaginateWorkflowExecutionsRequest) => Promise<IPaginateWorkflowExecutionsResponse>;
|
|
21
|
+
export declare const getWorkflowExecution: (params: IGetWorkflowExecutionParams) => Promise<IGetWorkflowExecutionResponse>;
|
|
22
|
+
export declare const getWorkflowExecutionStats: (params: IGetWorkflowParams, query?: {
|
|
23
|
+
startDate?: string;
|
|
24
|
+
endDate?: string;
|
|
25
|
+
}) => Promise<IGetWorkflowExecutionStatsResponse>;
|
|
26
|
+
export declare const cancelWorkflowExecution: (params: IGetWorkflowExecutionParams) => Promise<ICancelWorkflowExecutionResponse>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cancelWorkflowExecution = exports.getWorkflowExecutionStats = exports.getWorkflowExecution = exports.paginateWorkflowExecutions = exports.deleteWorkflowStep = exports.updateWorkflowStep = exports.listWorkflowSteps = exports.createWorkflowStep = exports.deleteWorkflow = exports.updateWorkflowStatus = exports.updateWorkflow = exports.getWorkflow = exports.paginateWorkflows = exports.createWorkflow = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const createWorkflow = async (params, body) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.post(`project-workflow/${params.projectId}`, body)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.createWorkflow = createWorkflow;
|
|
9
|
+
const paginateWorkflows = async (params, query) => {
|
|
10
|
+
return (await __1.AbyssCore.axios.get(`project-workflow/${params.projectId}`, { params: query })).data;
|
|
11
|
+
};
|
|
12
|
+
exports.paginateWorkflows = paginateWorkflows;
|
|
13
|
+
const getWorkflow = async (params) => {
|
|
14
|
+
return (await __1.AbyssCore.axios.get(`project-workflow/${params.projectId}/${params.workflowId}`)).data;
|
|
15
|
+
};
|
|
16
|
+
exports.getWorkflow = getWorkflow;
|
|
17
|
+
const updateWorkflow = async (params, body) => {
|
|
18
|
+
return (await __1.AbyssCore.axios.put(`project-workflow/${params.projectId}/${params.workflowId}`, body)).data;
|
|
19
|
+
};
|
|
20
|
+
exports.updateWorkflow = updateWorkflow;
|
|
21
|
+
const updateWorkflowStatus = async (params, body) => {
|
|
22
|
+
return (await __1.AbyssCore.axios.put(`project-workflow/${params.projectId}/${params.workflowId}/status`, body)).data;
|
|
23
|
+
};
|
|
24
|
+
exports.updateWorkflowStatus = updateWorkflowStatus;
|
|
25
|
+
const deleteWorkflow = async (params) => {
|
|
26
|
+
return (await __1.AbyssCore.axios.delete(`project-workflow/${params.projectId}/${params.workflowId}`)).data;
|
|
27
|
+
};
|
|
28
|
+
exports.deleteWorkflow = deleteWorkflow;
|
|
29
|
+
const createWorkflowStep = async (params, body) => {
|
|
30
|
+
return (await __1.AbyssCore.axios.post(`project-workflow/${params.projectId}/${params.workflowId}/step`, body)).data;
|
|
31
|
+
};
|
|
32
|
+
exports.createWorkflowStep = createWorkflowStep;
|
|
33
|
+
const listWorkflowSteps = async (params) => {
|
|
34
|
+
return (await __1.AbyssCore.axios.get(`project-workflow/${params.projectId}/${params.workflowId}/step`)).data;
|
|
35
|
+
};
|
|
36
|
+
exports.listWorkflowSteps = listWorkflowSteps;
|
|
37
|
+
const updateWorkflowStep = async (params, body) => {
|
|
38
|
+
return (await __1.AbyssCore.axios.put(`project-workflow/${params.projectId}/${params.workflowId}/step/${params.stepId}`, body)).data;
|
|
39
|
+
};
|
|
40
|
+
exports.updateWorkflowStep = updateWorkflowStep;
|
|
41
|
+
const deleteWorkflowStep = async (params) => {
|
|
42
|
+
return (await __1.AbyssCore.axios.delete(`project-workflow/${params.projectId}/${params.workflowId}/step/${params.stepId}`)).data;
|
|
43
|
+
};
|
|
44
|
+
exports.deleteWorkflowStep = deleteWorkflowStep;
|
|
45
|
+
const paginateWorkflowExecutions = async (params, query) => {
|
|
46
|
+
return (await __1.AbyssCore.axios.get(`project-workflow/${params.projectId}/${params.workflowId}/execution`, { params: query })).data;
|
|
47
|
+
};
|
|
48
|
+
exports.paginateWorkflowExecutions = paginateWorkflowExecutions;
|
|
49
|
+
const getWorkflowExecution = async (params) => {
|
|
50
|
+
return (await __1.AbyssCore.axios.get(`project-workflow/${params.projectId}/${params.workflowId}/execution/${params.executionId}`)).data;
|
|
51
|
+
};
|
|
52
|
+
exports.getWorkflowExecution = getWorkflowExecution;
|
|
53
|
+
const getWorkflowExecutionStats = async (params, query) => {
|
|
54
|
+
return (await __1.AbyssCore.axios.get(`project-workflow/${params.projectId}/${params.workflowId}/execution/stats`, { params: query })).data;
|
|
55
|
+
};
|
|
56
|
+
exports.getWorkflowExecutionStats = getWorkflowExecutionStats;
|
|
57
|
+
const cancelWorkflowExecution = async (params) => {
|
|
58
|
+
return (await __1.AbyssCore.axios.post(`project-workflow/${params.projectId}/${params.workflowId}/execution/${params.executionId}/cancel`)).data;
|
|
59
|
+
};
|
|
60
|
+
exports.cancelWorkflowExecution = cancelWorkflowExecution;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VerificationMethod, VerificationStatus } from '../interface/models/domain-verification.model';
|
|
2
|
+
export interface DomainVerificationResult {
|
|
3
|
+
success: boolean;
|
|
4
|
+
status: VerificationStatus;
|
|
5
|
+
method?: VerificationMethod;
|
|
6
|
+
message?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
verifiedAt?: Date;
|
|
9
|
+
details?: Record<string, any>;
|
|
10
|
+
}
|
|
11
|
+
export interface DnsVerificationResult extends DomainVerificationResult {
|
|
12
|
+
txtRecords?: string[];
|
|
13
|
+
foundToken?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface HttpVerificationResult extends DomainVerificationResult {
|
|
16
|
+
fileContent?: string;
|
|
17
|
+
statusCode?: number;
|
|
18
|
+
redirectCount?: number;
|
|
19
|
+
}
|
|
@@ -11,3 +11,10 @@ export declare enum AbyssService {
|
|
|
11
11
|
ABYSS_TRAINING = "ABYSS_TRAINING",
|
|
12
12
|
ABYSS_GAME_ODYSSEY = "ABYSS_GAME_ODYSSEY"
|
|
13
13
|
}
|
|
14
|
+
export declare enum AbyssTool {
|
|
15
|
+
ABYSS_SHORT_LINKS = "ABYSS_SHORT_LINKS",
|
|
16
|
+
ABYSS_CODEX = "ABYSS_CODEX",
|
|
17
|
+
ABYSS_RETRO = "ABYSS_RETRO",
|
|
18
|
+
ABYSS_BOARD = "ABYSS_BOARD",
|
|
19
|
+
ABYSS_DRAW = "ABYSS_DRAW"
|
|
20
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AbyssService = void 0;
|
|
3
|
+
exports.AbyssTool = exports.AbyssService = void 0;
|
|
4
4
|
var AbyssService;
|
|
5
5
|
(function (AbyssService) {
|
|
6
6
|
AbyssService["ABYSS"] = "ABYSS";
|
|
@@ -15,3 +15,11 @@ var AbyssService;
|
|
|
15
15
|
AbyssService["ABYSS_TRAINING"] = "ABYSS_TRAINING";
|
|
16
16
|
AbyssService["ABYSS_GAME_ODYSSEY"] = "ABYSS_GAME_ODYSSEY";
|
|
17
17
|
})(AbyssService || (exports.AbyssService = AbyssService = {}));
|
|
18
|
+
var AbyssTool;
|
|
19
|
+
(function (AbyssTool) {
|
|
20
|
+
AbyssTool["ABYSS_SHORT_LINKS"] = "ABYSS_SHORT_LINKS";
|
|
21
|
+
AbyssTool["ABYSS_CODEX"] = "ABYSS_CODEX";
|
|
22
|
+
AbyssTool["ABYSS_RETRO"] = "ABYSS_RETRO";
|
|
23
|
+
AbyssTool["ABYSS_BOARD"] = "ABYSS_BOARD";
|
|
24
|
+
AbyssTool["ABYSS_DRAW"] = "ABYSS_DRAW";
|
|
25
|
+
})(AbyssTool || (exports.AbyssTool = AbyssTool = {}));
|
|
@@ -9,5 +9,12 @@ export declare enum ProjectAccessPermission {
|
|
|
9
9
|
PROJECT_ACCESS_RESET_API_KEY = "PROJECT_ACCESS_RESET_API_KEY",
|
|
10
10
|
APPLICATION_CREATE = "APPLICATION_CREATE",
|
|
11
11
|
APPLICATION_DELETE = "APPLICATION_DELETE",
|
|
12
|
-
APPLICATION_UPDATE = "APPLICATION_UPDATE"
|
|
12
|
+
APPLICATION_UPDATE = "APPLICATION_UPDATE",
|
|
13
|
+
DOMAIN_VERIFICATION_MANAGE = "DOMAIN_VERIFICATION_MANAGE",
|
|
14
|
+
WORKFLOW_READ = "WORKFLOW_READ",
|
|
15
|
+
WORKFLOW_CREATE = "WORKFLOW_CREATE",
|
|
16
|
+
WORKFLOW_UPDATE = "WORKFLOW_UPDATE",
|
|
17
|
+
WORKFLOW_DELETE = "WORKFLOW_DELETE",
|
|
18
|
+
WORKFLOW_EXECUTE = "WORKFLOW_EXECUTE",
|
|
19
|
+
WORKFLOW_NOTIFICATION = "WORKFLOW_NOTIFICATION"
|
|
13
20
|
}
|
|
@@ -14,4 +14,11 @@ var ProjectAccessPermission;
|
|
|
14
14
|
ProjectAccessPermission["APPLICATION_CREATE"] = "APPLICATION_CREATE";
|
|
15
15
|
ProjectAccessPermission["APPLICATION_DELETE"] = "APPLICATION_DELETE";
|
|
16
16
|
ProjectAccessPermission["APPLICATION_UPDATE"] = "APPLICATION_UPDATE";
|
|
17
|
+
ProjectAccessPermission["DOMAIN_VERIFICATION_MANAGE"] = "DOMAIN_VERIFICATION_MANAGE";
|
|
18
|
+
ProjectAccessPermission["WORKFLOW_READ"] = "WORKFLOW_READ";
|
|
19
|
+
ProjectAccessPermission["WORKFLOW_CREATE"] = "WORKFLOW_CREATE";
|
|
20
|
+
ProjectAccessPermission["WORKFLOW_UPDATE"] = "WORKFLOW_UPDATE";
|
|
21
|
+
ProjectAccessPermission["WORKFLOW_DELETE"] = "WORKFLOW_DELETE";
|
|
22
|
+
ProjectAccessPermission["WORKFLOW_EXECUTE"] = "WORKFLOW_EXECUTE";
|
|
23
|
+
ProjectAccessPermission["WORKFLOW_NOTIFICATION"] = "WORKFLOW_NOTIFICATION";
|
|
17
24
|
})(ProjectAccessPermission || (exports.ProjectAccessPermission = ProjectAccessPermission = {}));
|
|
@@ -52,6 +52,9 @@ export declare enum UserNotificationContentType {
|
|
|
52
52
|
FORM_SUBMISSION_LIMIT_REACHED = "form-submission-limit-reached",
|
|
53
53
|
FORM_WEBHOOK_UNDELIVERABLE = "form-webhook-undeliverable",
|
|
54
54
|
FORM_WEBHOOK_UNDELIVERABLE_DISABLE = "form-webhook-undeliverable-disable",
|
|
55
|
+
DOMAIN_VERIFICATION_SUCCESS = "domain-verification-success",
|
|
56
|
+
DOMAIN_VERIFICATION_FAILED = "domain-verification-failed",
|
|
57
|
+
DOMAIN_VERIFICATION_EXPIRED = "domain-verification-expired",
|
|
55
58
|
TRAINING_INACTIVITY_7_DAYS = "training-inactivity-7-days",
|
|
56
59
|
TRAINING_INACTIVITY_5_DAYS = "training-inactivity-5-days",
|
|
57
60
|
TRAINING_INACTIVITY_2_DAYS = "training-inactivity-2-days",
|
|
@@ -399,6 +402,24 @@ export declare class UserNotificationContentTypeData implements Record<UserNotif
|
|
|
399
402
|
formTitle: string;
|
|
400
403
|
limitReachedCount: string;
|
|
401
404
|
};
|
|
405
|
+
[UserNotificationContentType.DOMAIN_VERIFICATION_SUCCESS]: {
|
|
406
|
+
projectId: string;
|
|
407
|
+
projectName: string;
|
|
408
|
+
domain: string;
|
|
409
|
+
verificationMethod: string;
|
|
410
|
+
};
|
|
411
|
+
[UserNotificationContentType.DOMAIN_VERIFICATION_FAILED]: {
|
|
412
|
+
projectId: string;
|
|
413
|
+
projectName: string;
|
|
414
|
+
domain: string;
|
|
415
|
+
error: string;
|
|
416
|
+
};
|
|
417
|
+
[UserNotificationContentType.DOMAIN_VERIFICATION_EXPIRED]: {
|
|
418
|
+
projectId: string;
|
|
419
|
+
projectName: string;
|
|
420
|
+
domain: string;
|
|
421
|
+
failureCount: string;
|
|
422
|
+
};
|
|
402
423
|
[UserNotificationContentType.TRAINING_INACTIVITY_7_DAYS]: {
|
|
403
424
|
daysSinceLastWorkout: string;
|
|
404
425
|
totalCompletedSessions: string;
|
|
@@ -56,6 +56,9 @@ var UserNotificationContentType;
|
|
|
56
56
|
UserNotificationContentType["FORM_SUBMISSION_LIMIT_REACHED"] = "form-submission-limit-reached";
|
|
57
57
|
UserNotificationContentType["FORM_WEBHOOK_UNDELIVERABLE"] = "form-webhook-undeliverable";
|
|
58
58
|
UserNotificationContentType["FORM_WEBHOOK_UNDELIVERABLE_DISABLE"] = "form-webhook-undeliverable-disable";
|
|
59
|
+
UserNotificationContentType["DOMAIN_VERIFICATION_SUCCESS"] = "domain-verification-success";
|
|
60
|
+
UserNotificationContentType["DOMAIN_VERIFICATION_FAILED"] = "domain-verification-failed";
|
|
61
|
+
UserNotificationContentType["DOMAIN_VERIFICATION_EXPIRED"] = "domain-verification-expired";
|
|
59
62
|
UserNotificationContentType["TRAINING_INACTIVITY_7_DAYS"] = "training-inactivity-7-days";
|
|
60
63
|
UserNotificationContentType["TRAINING_INACTIVITY_5_DAYS"] = "training-inactivity-5-days";
|
|
61
64
|
UserNotificationContentType["TRAINING_INACTIVITY_2_DAYS"] = "training-inactivity-2-days";
|
|
@@ -67,4 +70,4 @@ var UserNotificationContentType;
|
|
|
67
70
|
class UserNotificationContentTypeData {
|
|
68
71
|
}
|
|
69
72
|
exports.UserNotificationContentTypeData = UserNotificationContentTypeData;
|
|
70
|
-
UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.BOARD_CARD_LATE, UserNotificationContentType.BOARD_CARD_ALMOST_LATE, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.MONITOR_SENTINEL_CHECK_SUCCESS, UserNotificationContentType.MONITOR_SENTINEL_CHECK_FAILED, UserNotificationContentType.MONITOR_SENTINEL_DISABLE_ON_FAILURE, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.TRAINING_INACTIVITY_7_DAYS, UserNotificationContentType.TRAINING_INACTIVITY_5_DAYS, UserNotificationContentType.TRAINING_INACTIVITY_2_DAYS, UserNotificationContentType.TRAINING_NEVER_TRAINED, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_MORNING, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_AFTERNOON, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_EVENING;
|
|
73
|
+
UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.BOARD_CARD_LATE, UserNotificationContentType.BOARD_CARD_ALMOST_LATE, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.MONITOR_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.MONITOR_SENTINEL_CHECK_SUCCESS, UserNotificationContentType.MONITOR_SENTINEL_CHECK_FAILED, UserNotificationContentType.MONITOR_SENTINEL_DISABLE_ON_FAILURE, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.DOMAIN_VERIFICATION_SUCCESS, UserNotificationContentType.DOMAIN_VERIFICATION_FAILED, UserNotificationContentType.DOMAIN_VERIFICATION_EXPIRED, UserNotificationContentType.TRAINING_INACTIVITY_7_DAYS, UserNotificationContentType.TRAINING_INACTIVITY_5_DAYS, UserNotificationContentType.TRAINING_INACTIVITY_2_DAYS, UserNotificationContentType.TRAINING_NEVER_TRAINED, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_MORNING, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_AFTERNOON, UserNotificationContentType.TRAINING_TODAY_WORKOUT_REMINDER_EVENING;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface IInitiateVerificationDomainVerificationParams {
|
|
2
|
+
projectId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface IGetDomainVerificationParams {
|
|
5
|
+
projectId: string;
|
|
6
|
+
domainVerificationId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IVerifyDomainVerificationParams {
|
|
9
|
+
projectId: string;
|
|
10
|
+
domainVerificationId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IDeleteDomainVerificationParams {
|
|
13
|
+
projectId: string;
|
|
14
|
+
domainVerificationId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IPaginateDomainVerificationParams {
|
|
17
|
+
projectId: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { VerificationMethod } from '../../models/domain-verification.model';
|
|
2
|
+
export interface ICreateDomainVerificationParams {
|
|
3
|
+
projectId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ICreateDomainVerificationBody {
|
|
6
|
+
domain: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IListDomainVerificationParams {
|
|
9
|
+
projectId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IGetDomainVerificationParams {
|
|
12
|
+
projectId: string;
|
|
13
|
+
domainVerificationId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IVerifyDomainVerificationParams {
|
|
16
|
+
projectId: string;
|
|
17
|
+
domainVerificationId: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IVerifyDomainVerificationBody {
|
|
20
|
+
method: VerificationMethod;
|
|
21
|
+
}
|
|
22
|
+
export interface IRegenerateDomainVerificationParams {
|
|
23
|
+
projectId: string;
|
|
24
|
+
domainVerificationId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IDeleteDomainVerificationParams {
|
|
27
|
+
projectId: string;
|
|
28
|
+
domainVerificationId: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { WorkflowMode, WorkflowStatus, WorkflowTemplate, IWorkflowTriggerConfig, IWorkflowSettings, IWorkflowTriggerData } from '../../models/workflow.model';
|
|
2
|
+
import { IWorkflowStepConfig } from '../../models/workflow-step.model';
|
|
3
|
+
import { WorkflowExecutionStatus } from '../../models/workflow-execution.model';
|
|
4
|
+
export interface ICreateWorkflowRequest {
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
mode?: WorkflowMode;
|
|
8
|
+
template?: WorkflowTemplate | null;
|
|
9
|
+
trigger: IWorkflowTriggerConfig;
|
|
10
|
+
settings?: IWorkflowSettings;
|
|
11
|
+
}
|
|
12
|
+
export interface IGetWorkflowParams {
|
|
13
|
+
projectId: string;
|
|
14
|
+
workflowId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IPaginateWorkflowsRequest {
|
|
17
|
+
page?: number;
|
|
18
|
+
limit?: number;
|
|
19
|
+
status?: WorkflowStatus;
|
|
20
|
+
mode?: WorkflowMode;
|
|
21
|
+
search?: string;
|
|
22
|
+
orderBy?: 'name' | 'createdAt' | 'updatedAt' | 'status';
|
|
23
|
+
orderDirection?: 'ASC' | 'DESC';
|
|
24
|
+
}
|
|
25
|
+
export interface IUpdateWorkflowRequest {
|
|
26
|
+
name?: string;
|
|
27
|
+
description?: string | null;
|
|
28
|
+
mode?: WorkflowMode;
|
|
29
|
+
trigger?: IWorkflowTriggerConfig;
|
|
30
|
+
settings?: IWorkflowSettings;
|
|
31
|
+
}
|
|
32
|
+
export interface IUpdateWorkflowStatusRequest {
|
|
33
|
+
status: WorkflowStatus;
|
|
34
|
+
}
|
|
35
|
+
export interface ICreateWorkflowStepRequest {
|
|
36
|
+
name: string;
|
|
37
|
+
description?: string | null;
|
|
38
|
+
order?: number;
|
|
39
|
+
config: IWorkflowStepConfig;
|
|
40
|
+
nextStepId?: string | null;
|
|
41
|
+
isEnabled?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface IGetWorkflowStepParams {
|
|
44
|
+
projectId: string;
|
|
45
|
+
workflowId: string;
|
|
46
|
+
stepId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface IUpdateWorkflowStepRequest {
|
|
49
|
+
name?: string;
|
|
50
|
+
description?: string | null;
|
|
51
|
+
order?: number;
|
|
52
|
+
config?: IWorkflowStepConfig;
|
|
53
|
+
nextStepId?: string | null;
|
|
54
|
+
isEnabled?: boolean;
|
|
55
|
+
}
|
|
56
|
+
export interface IReorderWorkflowStepsRequest {
|
|
57
|
+
stepOrders: Array<{
|
|
58
|
+
stepId: string;
|
|
59
|
+
order: number;
|
|
60
|
+
}>;
|
|
61
|
+
}
|
|
62
|
+
export interface IGetWorkflowExecutionParams {
|
|
63
|
+
projectId: string;
|
|
64
|
+
workflowId: string;
|
|
65
|
+
executionId: string;
|
|
66
|
+
}
|
|
67
|
+
export interface IPaginateWorkflowExecutionsRequest {
|
|
68
|
+
page?: number;
|
|
69
|
+
limit?: number;
|
|
70
|
+
status?: WorkflowExecutionStatus;
|
|
71
|
+
startDate?: string;
|
|
72
|
+
endDate?: string;
|
|
73
|
+
orderBy?: 'startedAt' | 'completedAt' | 'status';
|
|
74
|
+
orderDirection?: 'ASC' | 'DESC';
|
|
75
|
+
}
|
|
76
|
+
export interface IGetWorkflowStatsRequest {
|
|
77
|
+
period?: 'hour' | 'day' | 'week' | 'month';
|
|
78
|
+
}
|
|
79
|
+
export interface ICreateWorkflowFromTemplateRequest {
|
|
80
|
+
template: WorkflowTemplate;
|
|
81
|
+
name: string;
|
|
82
|
+
description?: string;
|
|
83
|
+
variables?: Record<string, unknown>;
|
|
84
|
+
}
|
|
85
|
+
export interface ITestWorkflowRequest {
|
|
86
|
+
triggerData: Record<string, unknown>;
|
|
87
|
+
dryRun?: boolean;
|
|
88
|
+
}
|
|
89
|
+
export interface IPaginateWorkflowsAdminQuery {
|
|
90
|
+
projectId: string;
|
|
91
|
+
page?: number;
|
|
92
|
+
limit?: number;
|
|
93
|
+
status?: WorkflowStatus;
|
|
94
|
+
mode?: WorkflowMode;
|
|
95
|
+
search?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface IGetWorkflowAdminParams {
|
|
98
|
+
workflowId: string;
|
|
99
|
+
}
|
|
100
|
+
export interface IUpdateWorkflowStatusAdminBody {
|
|
101
|
+
status: WorkflowStatus;
|
|
102
|
+
}
|
|
103
|
+
export interface IPaginateWorkflowExecutionsAdminQuery {
|
|
104
|
+
projectId: string;
|
|
105
|
+
page?: number;
|
|
106
|
+
limit?: number;
|
|
107
|
+
status?: WorkflowExecutionStatus;
|
|
108
|
+
startDate?: string;
|
|
109
|
+
endDate?: string;
|
|
110
|
+
}
|
|
111
|
+
export interface ICancelWorkflowExecutionAdminParams {
|
|
112
|
+
executionId: string;
|
|
113
|
+
}
|
|
114
|
+
export interface ITriggerWorkflowAdminParams {
|
|
115
|
+
workflowId: string;
|
|
116
|
+
}
|
|
117
|
+
export interface ITriggerWorkflowAdminBody {
|
|
118
|
+
triggerData: IWorkflowTriggerData;
|
|
119
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IDomainVerification, IDomainVerificationInstructions, IDomainVerificationResult } from '../../models/domain-verification.model';
|
|
2
|
+
import { IResponse } from '../type-message/response';
|
|
3
|
+
export interface ICreateDomainVerificationData {
|
|
4
|
+
domainVerification: IDomainVerification;
|
|
5
|
+
instructions: IDomainVerificationInstructions;
|
|
6
|
+
}
|
|
7
|
+
export type ICreateDomainVerificationResponse = IResponse<ICreateDomainVerificationData>;
|
|
8
|
+
export interface IListDomainVerificationData {
|
|
9
|
+
domainVerifications: IDomainVerification[];
|
|
10
|
+
}
|
|
11
|
+
export type IListDomainVerificationResponse = IResponse<IListDomainVerificationData>;
|
|
12
|
+
export interface IGetDomainVerificationData {
|
|
13
|
+
domainVerification: IDomainVerification;
|
|
14
|
+
instructions: IDomainVerificationInstructions;
|
|
15
|
+
}
|
|
16
|
+
export type IGetDomainVerificationResponse = IResponse<IGetDomainVerificationData>;
|
|
17
|
+
export interface IVerifyDomainVerificationData {
|
|
18
|
+
domainVerification: IDomainVerification;
|
|
19
|
+
result: IDomainVerificationResult;
|
|
20
|
+
}
|
|
21
|
+
export type IVerifyDomainVerificationResponse = IResponse<IVerifyDomainVerificationData>;
|
|
22
|
+
export interface IRegenerateDomainVerificationData {
|
|
23
|
+
domainVerification: IDomainVerification;
|
|
24
|
+
instructions: IDomainVerificationInstructions;
|
|
25
|
+
}
|
|
26
|
+
export type IRegenerateDomainVerificationResponse = IResponse<IRegenerateDomainVerificationData>;
|
|
27
|
+
export interface IDeleteDomainVerificationData {
|
|
28
|
+
}
|
|
29
|
+
export type IDeleteDomainVerificationResponse = IResponse<IDeleteDomainVerificationData>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { IProjectDomainVerification } from '../../models/project-domain-verification.model';
|
|
2
|
+
export interface IInitiateVerificationProjectDomainVerificationData {
|
|
3
|
+
domainVerification: IProjectDomainVerification;
|
|
4
|
+
instructions: {
|
|
5
|
+
dns?: {
|
|
6
|
+
recordType: string;
|
|
7
|
+
host: string;
|
|
8
|
+
value: string;
|
|
9
|
+
};
|
|
10
|
+
http?: {
|
|
11
|
+
filePath: string;
|
|
12
|
+
fileContent: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface IInitiateVerificationProjectDomainVerificationResponse {
|
|
17
|
+
data?: IInitiateVerificationProjectDomainVerificationData;
|
|
18
|
+
error?: any;
|
|
19
|
+
}
|
|
20
|
+
export interface IVerifyProjectDomainVerificationData {
|
|
21
|
+
domainVerification: IProjectDomainVerification;
|
|
22
|
+
verified: boolean;
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
export interface IVerifyProjectDomainVerificationResponse {
|
|
26
|
+
data?: IVerifyProjectDomainVerificationData;
|
|
27
|
+
error?: any;
|
|
28
|
+
}
|
|
29
|
+
export interface IGetProjectDomainVerificationData {
|
|
30
|
+
domainVerification: IProjectDomainVerification;
|
|
31
|
+
}
|
|
32
|
+
export interface IGetProjectDomainVerificationResponse {
|
|
33
|
+
data?: IGetProjectDomainVerificationData;
|
|
34
|
+
error?: any;
|
|
35
|
+
}
|
|
36
|
+
export interface IDeleteProjectDomainVerificationData {
|
|
37
|
+
success: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface IDeleteProjectDomainVerificationResponse {
|
|
40
|
+
data?: IDeleteProjectDomainVerificationData;
|
|
41
|
+
error?: any;
|
|
42
|
+
}
|
|
43
|
+
export interface IPaginateProjectDomainVerificationData {
|
|
44
|
+
domainVerifications: IProjectDomainVerification[];
|
|
45
|
+
pagination: {
|
|
46
|
+
total: number;
|
|
47
|
+
page: number;
|
|
48
|
+
limit: number;
|
|
49
|
+
totalPages: number;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export interface IPaginateProjectDomainVerificationResponse {
|
|
53
|
+
data?: IPaginateProjectDomainVerificationData;
|
|
54
|
+
error?: any;
|
|
55
|
+
}
|