@visa-check-r/integrations 0.0.16 → 0.0.17
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 +24 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.esm.js +24 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1363,6 +1363,7 @@ var visaProfileReviewCommentQuery = [
|
|
|
1363
1363
|
];
|
|
1364
1364
|
|
|
1365
1365
|
// src/services/profile/types/visa-profile.type.ts
|
|
1366
|
+
var getConsultantAssignmentCountResponseFields = ["count"];
|
|
1366
1367
|
var getVisaProfileResponse = ["visaProfile"];
|
|
1367
1368
|
var _getVisaProfileResponseNestedFields = {
|
|
1368
1369
|
visaApplication: visaApplicationQuery,
|
|
@@ -1460,8 +1461,8 @@ var deleteVisaApplicationResponseFields = ["visaApplicationId"];
|
|
|
1460
1461
|
// src/services/profile/schemas/visa-profile.schema.ts
|
|
1461
1462
|
var visaProfileSchema = {
|
|
1462
1463
|
listVisaProfiles: (query) => `
|
|
1463
|
-
query listVisaProfiles($limit: Int!, $skip: Int!, $search: String, $visaProfileIds: [String], $visaProfile: VisaProfileInput) {
|
|
1464
|
-
listVisaProfiles(limit: $limit, skip: $skip, search: $search, visaProfileIds: $visaProfileIds, visaProfile: $visaProfile) {
|
|
1464
|
+
query listVisaProfiles($limit: Int!, $skip: Int!, $search: String, $visaProfileIds: [String], $visaProfile: VisaProfileInput, $visaApplicationStatus: [VisaApplicationStatusEnum]) {
|
|
1465
|
+
listVisaProfiles(limit: $limit, skip: $skip, search: $search, visaProfileIds: $visaProfileIds, visaProfile: $visaProfile, visaApplicationStatus: $visaApplicationStatus) {
|
|
1465
1466
|
${query}
|
|
1466
1467
|
}
|
|
1467
1468
|
}
|
|
@@ -1685,6 +1686,13 @@ var createReadinessScoreReviewService = (client) => ({
|
|
|
1685
1686
|
|
|
1686
1687
|
// src/services/profile/schemas/consultant-assignment.schema.ts
|
|
1687
1688
|
var consultantAssignmentSchema = {
|
|
1689
|
+
getConsultantAssignmentCount: (query) => `
|
|
1690
|
+
query getConsultantAssignmentCount($consultantAssignment: ConsultantAssignmentInput!) {
|
|
1691
|
+
getConsultantAssignmentCount(consultantAssignment: $consultantAssignment) {
|
|
1692
|
+
${query}
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
`,
|
|
1688
1696
|
listConsultantAssignments: (query) => `
|
|
1689
1697
|
query listConsultantAssignments($limit: Int!, $skip: Int!, $search: String, $consultantAssignmentIds: [String], $consultantAssignment: ConsultantAssignmentInput) {
|
|
1690
1698
|
listConsultantAssignments(limit: $limit, skip: $skip, search: $search, consultantAssignmentIds: $consultantAssignmentIds, consultantAssignment: $consultantAssignment) {
|
|
@@ -1724,6 +1732,19 @@ var consultantAssignmentSchema = {
|
|
|
1724
1732
|
|
|
1725
1733
|
// src/services/profile/consultant-assignment.service.ts
|
|
1726
1734
|
var createConsultantAssignmentService = (client) => ({
|
|
1735
|
+
async getConsultantAssignmentCount(input, fetchFields, option) {
|
|
1736
|
+
var _a, _b;
|
|
1737
|
+
const res = await client.request(
|
|
1738
|
+
consultantAssignmentSchema.getConsultantAssignmentCount(
|
|
1739
|
+
gqlQueryStringBuilder(
|
|
1740
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getConsultantAssignmentCountResponseFields
|
|
1741
|
+
)
|
|
1742
|
+
),
|
|
1743
|
+
input,
|
|
1744
|
+
option
|
|
1745
|
+
);
|
|
1746
|
+
return (_b = res.data) == null ? void 0 : _b.getConsultantAssignmentCount;
|
|
1747
|
+
},
|
|
1727
1748
|
async deleteConsultantAssignment(input, fetchFields, option) {
|
|
1728
1749
|
var _a, _b;
|
|
1729
1750
|
const res = await client.request(
|
|
@@ -2077,6 +2098,7 @@ exports.getActivityLogResponseFields = getActivityLogResponseFields;
|
|
|
2077
2098
|
exports.getActivityLogResponseNestedFields = getActivityLogResponseNestedFields;
|
|
2078
2099
|
exports.getChecklistItemResponse = getChecklistItemResponse;
|
|
2079
2100
|
exports.getChecklistItemResponseNestedFields = getChecklistItemResponseNestedFields;
|
|
2101
|
+
exports.getConsultantAssignmentCountResponseFields = getConsultantAssignmentCountResponseFields;
|
|
2080
2102
|
exports.getConsultantAssignmentResponseFields = getConsultantAssignmentResponseFields;
|
|
2081
2103
|
exports.getConsultantAssignmentResponseNestedFields = getConsultantAssignmentResponseNestedFields;
|
|
2082
2104
|
exports.getReadinessScoreReviewResponseFields = getReadinessScoreReviewResponseFields;
|