@visa-check-r/integrations 0.0.12 → 0.0.14
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/index.cjs.js +174 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +39 -1
- package/dist/index.d.ts +39 -1
- package/dist/index.esm.js +173 -12
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -602,6 +602,61 @@ var listActivityLogsResponseNestedFields = {
|
|
|
602
602
|
activityLogs: activityLogQuery
|
|
603
603
|
};
|
|
604
604
|
|
|
605
|
+
// src/services/user/schemas/activity-log.ts
|
|
606
|
+
var activityLogSchema = {
|
|
607
|
+
createActivityLog: (query) => `
|
|
608
|
+
mutation createActivityLog($activityLog: ActivityLogInput!) {
|
|
609
|
+
createActivityLog(activityLog: $activityLog) {
|
|
610
|
+
${query}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
`,
|
|
614
|
+
getActivityLog: (query) => `
|
|
615
|
+
query getActivityLog($activityLog: ActivityLogInput!) {
|
|
616
|
+
getActivityLog(activityLog: $activityLog) {
|
|
617
|
+
${query}
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
`,
|
|
621
|
+
listActivityLogs: (query) => `
|
|
622
|
+
query listActivityLogs($limit: Int!, $skip: Int!, $search: String, $activityLogIds: [String], $activityLog: ActivityLogInput) {
|
|
623
|
+
listActivityLogs(limit: $limit, skip: $skip, search: $search, activityLogIds: $activityLogIds, activityLog: $activityLog) {
|
|
624
|
+
${query}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
`
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
// src/services/user/activity-log.service.ts
|
|
631
|
+
var createActivityLogService = (client) => ({
|
|
632
|
+
getActivityLog(input, fetchFields, option) {
|
|
633
|
+
var _a, _b;
|
|
634
|
+
return client.request(
|
|
635
|
+
activityLogSchema.getActivityLog(
|
|
636
|
+
gqlQueryStringBuilder(
|
|
637
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getActivityLogResponseFields,
|
|
638
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getActivityLogResponseNestedFields
|
|
639
|
+
)
|
|
640
|
+
),
|
|
641
|
+
input,
|
|
642
|
+
option
|
|
643
|
+
);
|
|
644
|
+
},
|
|
645
|
+
listActivityLogs(input, fetchFields, option) {
|
|
646
|
+
var _a, _b;
|
|
647
|
+
return client.request(
|
|
648
|
+
activityLogSchema.listActivityLogs(
|
|
649
|
+
gqlQueryStringBuilder(
|
|
650
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : listActivityLogsResponseFields,
|
|
651
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : listActivityLogsResponseNestedFields
|
|
652
|
+
)
|
|
653
|
+
),
|
|
654
|
+
input,
|
|
655
|
+
option
|
|
656
|
+
);
|
|
657
|
+
}
|
|
658
|
+
});
|
|
659
|
+
|
|
605
660
|
// src/services/checklist/schemas/checklist-item.schema.ts
|
|
606
661
|
var checklistItemSchema = {
|
|
607
662
|
getChecklistItem: (query) => `
|
|
@@ -1199,25 +1254,18 @@ var createVisaProfileService = (client) => ({
|
|
|
1199
1254
|
return (_c = res.data) == null ? void 0 : _c.getVisaProfile;
|
|
1200
1255
|
},
|
|
1201
1256
|
async listVisaProfiles(input, fetchFields, option) {
|
|
1202
|
-
var _a, _b, _c
|
|
1203
|
-
console.log("************************************");
|
|
1204
|
-
console.log(
|
|
1205
|
-
gqlQueryStringBuilder(
|
|
1206
|
-
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : listVisaProfilesResponse,
|
|
1207
|
-
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : listVisaProfilesResponseNestedFields
|
|
1208
|
-
)
|
|
1209
|
-
);
|
|
1257
|
+
var _a, _b, _c;
|
|
1210
1258
|
const res = await client.request(
|
|
1211
1259
|
visaProfileSchema.listVisaProfiles(
|
|
1212
1260
|
gqlQueryStringBuilder(
|
|
1213
|
-
(
|
|
1214
|
-
(
|
|
1261
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : listVisaProfilesResponse,
|
|
1262
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : listVisaProfilesResponseNestedFields
|
|
1215
1263
|
)
|
|
1216
1264
|
),
|
|
1217
1265
|
input,
|
|
1218
1266
|
option
|
|
1219
1267
|
);
|
|
1220
|
-
return (
|
|
1268
|
+
return (_c = res.data) == null ? void 0 : _c.listVisaProfiles;
|
|
1221
1269
|
}
|
|
1222
1270
|
});
|
|
1223
1271
|
|
|
@@ -1560,6 +1608,119 @@ var createVisaApplicationService = (client) => ({
|
|
|
1560
1608
|
}
|
|
1561
1609
|
});
|
|
1562
1610
|
|
|
1611
|
+
// src/services/profile/schemas/review-comment.schema.ts
|
|
1612
|
+
var visaProfileReviewCommentSchema = {
|
|
1613
|
+
listVisaProfileReviewComments: (query) => `
|
|
1614
|
+
query listVisaProfileReviewComments($limit: Int!, $skip: Int!, $search: String, $visaProfileReviewCommentIds: [String], $visaProfileReviewComment: VisaProfileReviewCommentInput) {
|
|
1615
|
+
listVisaProfileReviewComments(limit: $limit, skip: $skip, search: $search, visaProfileReviewCommentIds: $visaProfileReviewCommentIds, visaProfileReviewComment: $visaProfileReviewComment) {
|
|
1616
|
+
${query}
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
`,
|
|
1620
|
+
getVisaProfileReviewComment: (query) => `
|
|
1621
|
+
query getVisaProfileReviewComment($visaProfileReviewComment: VisaProfileReviewCommentInput!) {
|
|
1622
|
+
getVisaProfileReviewComment(visaProfileReviewComment: $visaProfileReviewComment) {
|
|
1623
|
+
${query}
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
`,
|
|
1627
|
+
deleteVisaProfileReviewComment: (query) => `
|
|
1628
|
+
mutation deleteVisaProfileReviewComment($visaProfileReviewCommentId: String!) {
|
|
1629
|
+
deleteVisaProfileReviewComment(visaProfileReviewCommentId: $visaProfileReviewCommentId) {
|
|
1630
|
+
${query}
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
`,
|
|
1634
|
+
updateVisaProfileReviewComment: (query) => `
|
|
1635
|
+
mutation updateVisaProfileReviewComment($visaProfileReviewCommentId: String!, $visaProfileReviewComment: VisaProfileReviewCommentInput!) {
|
|
1636
|
+
updateVisaProfileReviewComment(visaProfileReviewCommentId: $visaProfileReviewCommentId, visaProfileReviewComment: $visaProfileReviewComment) {
|
|
1637
|
+
${query}
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
`,
|
|
1641
|
+
createVisaProfileReviewComment: (query) => `
|
|
1642
|
+
mutation createVisaProfileReviewComment($visaProfileReviewComment: VisaProfileReviewCommentInput!) {
|
|
1643
|
+
createVisaProfileReviewComment(visaProfileReviewComment: $visaProfileReviewComment) {
|
|
1644
|
+
${query}
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
`
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
// src/services/profile/review-comment.service.ts
|
|
1651
|
+
var createVisaProfileReviewCommentService = (client) => ({
|
|
1652
|
+
async deleteVisaProfileReviewComment(input, fetchFields, option) {
|
|
1653
|
+
var _a, _b;
|
|
1654
|
+
const res = await client.request(
|
|
1655
|
+
visaProfileReviewCommentSchema.deleteVisaProfileReviewComment(
|
|
1656
|
+
gqlQueryStringBuilder(
|
|
1657
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : deleteVisaProfileReviewCommentResponseFields
|
|
1658
|
+
)
|
|
1659
|
+
),
|
|
1660
|
+
input,
|
|
1661
|
+
option
|
|
1662
|
+
);
|
|
1663
|
+
return (_b = res.data) == null ? void 0 : _b.deleteVisaProfileReviewComment;
|
|
1664
|
+
},
|
|
1665
|
+
// update
|
|
1666
|
+
async updateVisaProfileReviewComment(input, fetchFields, option) {
|
|
1667
|
+
var _a, _b, _c;
|
|
1668
|
+
const res = await client.request(
|
|
1669
|
+
visaProfileReviewCommentSchema.updateVisaProfileReviewComment(
|
|
1670
|
+
gqlQueryStringBuilder(
|
|
1671
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : updateVisaProfileReviewCommentResponseFields,
|
|
1672
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : updateVisaProfileReviewCommentResponseNestedFields
|
|
1673
|
+
)
|
|
1674
|
+
),
|
|
1675
|
+
input,
|
|
1676
|
+
option
|
|
1677
|
+
);
|
|
1678
|
+
return (_c = res.data) == null ? void 0 : _c.updateVisaProfileReviewComment;
|
|
1679
|
+
},
|
|
1680
|
+
async createVisaProfileReviewComment(input, fetchFields, option) {
|
|
1681
|
+
var _a, _b, _c;
|
|
1682
|
+
const res = await client.request(
|
|
1683
|
+
visaProfileReviewCommentSchema.createVisaProfileReviewComment(
|
|
1684
|
+
gqlQueryStringBuilder(
|
|
1685
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : createVisaProfileReviewCommentResponseFields,
|
|
1686
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : createVisaProfileReviewCommentResponseNestedFields
|
|
1687
|
+
)
|
|
1688
|
+
),
|
|
1689
|
+
input,
|
|
1690
|
+
option
|
|
1691
|
+
);
|
|
1692
|
+
return (_c = res.data) == null ? void 0 : _c.createVisaProfileReviewComment;
|
|
1693
|
+
},
|
|
1694
|
+
async getVisaProfileReviewComment(input, fetchFields, option) {
|
|
1695
|
+
var _a, _b, _c;
|
|
1696
|
+
const res = await client.request(
|
|
1697
|
+
visaProfileReviewCommentSchema.getVisaProfileReviewComment(
|
|
1698
|
+
gqlQueryStringBuilder(
|
|
1699
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getVisaProfileReviewCommentResponseFields,
|
|
1700
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getVisaProfileReviewCommentResponseNestedFields
|
|
1701
|
+
)
|
|
1702
|
+
),
|
|
1703
|
+
input,
|
|
1704
|
+
option
|
|
1705
|
+
);
|
|
1706
|
+
return (_c = res.data) == null ? void 0 : _c.getVisaProfileReviewComment;
|
|
1707
|
+
},
|
|
1708
|
+
async listVisaProfileReviewComments(input, fetchFields, option) {
|
|
1709
|
+
var _a, _b, _c;
|
|
1710
|
+
const res = await client.request(
|
|
1711
|
+
visaProfileReviewCommentSchema.listVisaProfileReviewComments(
|
|
1712
|
+
gqlQueryStringBuilder(
|
|
1713
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : listVisaProfileReviewCommentsResponseFields,
|
|
1714
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : listVisaProfileReviewCommentsResponseNestedFields
|
|
1715
|
+
)
|
|
1716
|
+
),
|
|
1717
|
+
input,
|
|
1718
|
+
option
|
|
1719
|
+
);
|
|
1720
|
+
return (_c = res.data) == null ? void 0 : _c.listVisaProfileReviewComments;
|
|
1721
|
+
}
|
|
1722
|
+
});
|
|
1723
|
+
|
|
1563
1724
|
exports.AuthenticationError = AuthenticationError;
|
|
1564
1725
|
exports.GraphQLClient = GraphQLClient;
|
|
1565
1726
|
exports.NetworkError = NetworkError;
|
|
@@ -1568,6 +1729,7 @@ exports._getConsultantAssignmentResponseNestedFields = _getConsultantAssignmentR
|
|
|
1568
1729
|
exports._getVisaProfileChecklistItemResponseNestedFields = _getVisaProfileChecklistItemResponseNestedFields;
|
|
1569
1730
|
exports._getVisaProfileResponseNestedFields = _getVisaProfileResponseNestedFields;
|
|
1570
1731
|
exports.compose = compose;
|
|
1732
|
+
exports.createActivityLogService = createActivityLogService;
|
|
1571
1733
|
exports.createAuthService = createAuthService;
|
|
1572
1734
|
exports.createChecklistItemResponse = createChecklistItemResponse;
|
|
1573
1735
|
exports.createChecklistItemResponseNestedFields = createChecklistItemResponseNestedFields;
|
|
@@ -1597,6 +1759,7 @@ exports.createVisaProfileResponse = createVisaProfileResponse;
|
|
|
1597
1759
|
exports.createVisaProfileResponseNestedFields = createVisaProfileResponseNestedFields;
|
|
1598
1760
|
exports.createVisaProfileReviewCommentResponseFields = createVisaProfileReviewCommentResponseFields;
|
|
1599
1761
|
exports.createVisaProfileReviewCommentResponseNestedFields = createVisaProfileReviewCommentResponseNestedFields;
|
|
1762
|
+
exports.createVisaProfileReviewCommentService = createVisaProfileReviewCommentService;
|
|
1600
1763
|
exports.createVisaProfileService = createVisaProfileService;
|
|
1601
1764
|
exports.deleteChecklistItemResponse = deleteChecklistItemResponse;
|
|
1602
1765
|
exports.deleteConsultantAssignmentResponseFields = deleteConsultantAssignmentResponseFields;
|