@visa-check-r/integrations 0.0.12 → 0.0.13
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 +118 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.esm.js +118 -12
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1199,25 +1199,18 @@ var createVisaProfileService = (client) => ({
|
|
|
1199
1199
|
return (_c = res.data) == null ? void 0 : _c.getVisaProfile;
|
|
1200
1200
|
},
|
|
1201
1201
|
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
|
-
);
|
|
1202
|
+
var _a, _b, _c;
|
|
1210
1203
|
const res = await client.request(
|
|
1211
1204
|
visaProfileSchema.listVisaProfiles(
|
|
1212
1205
|
gqlQueryStringBuilder(
|
|
1213
|
-
(
|
|
1214
|
-
(
|
|
1206
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : listVisaProfilesResponse,
|
|
1207
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : listVisaProfilesResponseNestedFields
|
|
1215
1208
|
)
|
|
1216
1209
|
),
|
|
1217
1210
|
input,
|
|
1218
1211
|
option
|
|
1219
1212
|
);
|
|
1220
|
-
return (
|
|
1213
|
+
return (_c = res.data) == null ? void 0 : _c.listVisaProfiles;
|
|
1221
1214
|
}
|
|
1222
1215
|
});
|
|
1223
1216
|
|
|
@@ -1560,6 +1553,119 @@ var createVisaApplicationService = (client) => ({
|
|
|
1560
1553
|
}
|
|
1561
1554
|
});
|
|
1562
1555
|
|
|
1556
|
+
// src/services/profile/schemas/review-comment.schema.ts
|
|
1557
|
+
var visaProfileReviewCommentSchema = {
|
|
1558
|
+
listVisaProfileReviewComments: (query) => `
|
|
1559
|
+
query listVisaProfileReviewComments($limit: Int!, $skip: Int!, $search: String, $visaProfileReviewCommentIds: [String], $visaProfileReviewComment: VisaProfileReviewCommentInput) {
|
|
1560
|
+
listVisaProfileReviewComments(limit: $limit, skip: $skip, search: $search, visaProfileReviewCommentIds: $visaProfileReviewCommentIds, visaProfileReviewComment: $visaProfileReviewComment) {
|
|
1561
|
+
${query}
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
`,
|
|
1565
|
+
getVisaProfileReviewComment: (query) => `
|
|
1566
|
+
query getVisaProfileReviewComment($visaProfileReviewComment: VisaProfileReviewCommentInput!) {
|
|
1567
|
+
getVisaProfileReviewComment(visaProfileReviewComment: $visaProfileReviewComment) {
|
|
1568
|
+
${query}
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
`,
|
|
1572
|
+
deleteVisaProfileReviewComment: (query) => `
|
|
1573
|
+
mutation deleteVisaProfileReviewComment($visaProfileReviewCommentId: String!) {
|
|
1574
|
+
deleteVisaProfileReviewComment(visaProfileReviewCommentId: $visaProfileReviewCommentId) {
|
|
1575
|
+
${query}
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
`,
|
|
1579
|
+
updateVisaProfileReviewComment: (query) => `
|
|
1580
|
+
mutation updateVisaProfileReviewComment($visaProfileReviewCommentId: String!, $visaProfileReviewComment: VisaProfileReviewCommentInput!) {
|
|
1581
|
+
updateVisaProfileReviewComment(visaProfileReviewCommentId: $visaProfileReviewCommentId, visaProfileReviewComment: $visaProfileReviewComment) {
|
|
1582
|
+
${query}
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
`,
|
|
1586
|
+
createVisaProfileReviewComment: (query) => `
|
|
1587
|
+
mutation createVisaProfileReviewComment($visaProfileReviewComment: VisaProfileReviewCommentInput!) {
|
|
1588
|
+
createVisaProfileReviewComment(visaProfileReviewComment: $visaProfileReviewComment) {
|
|
1589
|
+
${query}
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
`
|
|
1593
|
+
};
|
|
1594
|
+
|
|
1595
|
+
// src/services/profile/review-comment.service.ts
|
|
1596
|
+
var createVisaProfileReviewCommentService = (client) => ({
|
|
1597
|
+
async deleteVisaProfileReviewComment(input, fetchFields, option) {
|
|
1598
|
+
var _a, _b;
|
|
1599
|
+
const res = await client.request(
|
|
1600
|
+
visaProfileReviewCommentSchema.deleteVisaProfileReviewComment(
|
|
1601
|
+
gqlQueryStringBuilder(
|
|
1602
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : deleteVisaProfileReviewCommentResponseFields
|
|
1603
|
+
)
|
|
1604
|
+
),
|
|
1605
|
+
input,
|
|
1606
|
+
option
|
|
1607
|
+
);
|
|
1608
|
+
return (_b = res.data) == null ? void 0 : _b.deleteVisaProfileReviewComment;
|
|
1609
|
+
},
|
|
1610
|
+
// update
|
|
1611
|
+
async updateVisaProfileReviewComment(input, fetchFields, option) {
|
|
1612
|
+
var _a, _b, _c;
|
|
1613
|
+
const res = await client.request(
|
|
1614
|
+
visaProfileReviewCommentSchema.updateVisaProfileReviewComment(
|
|
1615
|
+
gqlQueryStringBuilder(
|
|
1616
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : updateVisaProfileReviewCommentResponseFields,
|
|
1617
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : updateVisaProfileReviewCommentResponseNestedFields
|
|
1618
|
+
)
|
|
1619
|
+
),
|
|
1620
|
+
input,
|
|
1621
|
+
option
|
|
1622
|
+
);
|
|
1623
|
+
return (_c = res.data) == null ? void 0 : _c.updateVisaProfileReviewComment;
|
|
1624
|
+
},
|
|
1625
|
+
async createVisaProfileReviewComment(input, fetchFields, option) {
|
|
1626
|
+
var _a, _b, _c;
|
|
1627
|
+
const res = await client.request(
|
|
1628
|
+
visaProfileReviewCommentSchema.createVisaProfileReviewComment(
|
|
1629
|
+
gqlQueryStringBuilder(
|
|
1630
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : createVisaProfileReviewCommentResponseFields,
|
|
1631
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : createVisaProfileReviewCommentResponseNestedFields
|
|
1632
|
+
)
|
|
1633
|
+
),
|
|
1634
|
+
input,
|
|
1635
|
+
option
|
|
1636
|
+
);
|
|
1637
|
+
return (_c = res.data) == null ? void 0 : _c.createVisaProfileReviewComment;
|
|
1638
|
+
},
|
|
1639
|
+
async getVisaProfileReviewComment(input, fetchFields, option) {
|
|
1640
|
+
var _a, _b, _c;
|
|
1641
|
+
const res = await client.request(
|
|
1642
|
+
visaProfileReviewCommentSchema.getVisaProfileReviewComment(
|
|
1643
|
+
gqlQueryStringBuilder(
|
|
1644
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getVisaProfileReviewCommentResponseFields,
|
|
1645
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getVisaProfileReviewCommentResponseNestedFields
|
|
1646
|
+
)
|
|
1647
|
+
),
|
|
1648
|
+
input,
|
|
1649
|
+
option
|
|
1650
|
+
);
|
|
1651
|
+
return (_c = res.data) == null ? void 0 : _c.getVisaProfileReviewComment;
|
|
1652
|
+
},
|
|
1653
|
+
async listVisaProfileReviewComments(input, fetchFields, option) {
|
|
1654
|
+
var _a, _b, _c;
|
|
1655
|
+
const res = await client.request(
|
|
1656
|
+
visaProfileReviewCommentSchema.listVisaProfileReviewComments(
|
|
1657
|
+
gqlQueryStringBuilder(
|
|
1658
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : listVisaProfileReviewCommentsResponseFields,
|
|
1659
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : listVisaProfileReviewCommentsResponseNestedFields
|
|
1660
|
+
)
|
|
1661
|
+
),
|
|
1662
|
+
input,
|
|
1663
|
+
option
|
|
1664
|
+
);
|
|
1665
|
+
return (_c = res.data) == null ? void 0 : _c.listVisaProfileReviewComments;
|
|
1666
|
+
}
|
|
1667
|
+
});
|
|
1668
|
+
|
|
1563
1669
|
exports.AuthenticationError = AuthenticationError;
|
|
1564
1670
|
exports.GraphQLClient = GraphQLClient;
|
|
1565
1671
|
exports.NetworkError = NetworkError;
|
|
@@ -1597,6 +1703,7 @@ exports.createVisaProfileResponse = createVisaProfileResponse;
|
|
|
1597
1703
|
exports.createVisaProfileResponseNestedFields = createVisaProfileResponseNestedFields;
|
|
1598
1704
|
exports.createVisaProfileReviewCommentResponseFields = createVisaProfileReviewCommentResponseFields;
|
|
1599
1705
|
exports.createVisaProfileReviewCommentResponseNestedFields = createVisaProfileReviewCommentResponseNestedFields;
|
|
1706
|
+
exports.createVisaProfileReviewCommentService = createVisaProfileReviewCommentService;
|
|
1600
1707
|
exports.createVisaProfileService = createVisaProfileService;
|
|
1601
1708
|
exports.deleteChecklistItemResponse = deleteChecklistItemResponse;
|
|
1602
1709
|
exports.deleteConsultantAssignmentResponseFields = deleteConsultantAssignmentResponseFields;
|