@visa-check-r/integrations 0.0.4 → 0.0.6
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 +27 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.esm.js +26 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -291,7 +291,6 @@ var createUserService = (client) => ({
|
|
|
291
291
|
{},
|
|
292
292
|
option
|
|
293
293
|
);
|
|
294
|
-
console.log({ res });
|
|
295
294
|
return (_c = res.data) == null ? void 0 : _c.me;
|
|
296
295
|
},
|
|
297
296
|
async createUser(input, fetchFields, option) {
|
|
@@ -780,6 +779,13 @@ var visaProfileChecklistItemSchema = {
|
|
|
780
779
|
${query}
|
|
781
780
|
}
|
|
782
781
|
}
|
|
782
|
+
`,
|
|
783
|
+
getVisaProfileChecklistItemsByChecklist: (query) => `
|
|
784
|
+
query getVisaProfileChecklistItemsByChecklist($search: String, $checklistItem: ChecklistItemInput, $limit: Int!, $skip: Int!) {
|
|
785
|
+
getVisaProfileChecklistItemsByChecklist(search: $search, checklistItem: $checklistItem, limit: $limit, skip: $skip) {
|
|
786
|
+
${query}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
783
789
|
`
|
|
784
790
|
};
|
|
785
791
|
|
|
@@ -800,6 +806,8 @@ var listVisaProfileChecklistItemResponseNestedFields = {
|
|
|
800
806
|
..._getVisaProfileChecklistItemResponseNestedFields,
|
|
801
807
|
visaProfileChecklistItems: visaProfileChecklistItemQuery
|
|
802
808
|
};
|
|
809
|
+
var getVisaProfileChecklistItemsByChecklistResponse = listVisaProfileChecklistItemResponse;
|
|
810
|
+
var getVisaProfileChecklistItemsByChecklistResponseNestedFields = listVisaProfileChecklistItemResponseNestedFields;
|
|
803
811
|
var createVisaProfileChecklistItemsResponse = [
|
|
804
812
|
"visaProfileChecklistItems"
|
|
805
813
|
];
|
|
@@ -898,6 +906,20 @@ var createVisaProfileChecklistItemService = (client) => ({
|
|
|
898
906
|
option
|
|
899
907
|
);
|
|
900
908
|
return (_c = res.data) == null ? void 0 : _c.listVisaProfileChecklistItems;
|
|
909
|
+
},
|
|
910
|
+
async getVisaProfileChecklistItemsByChecklist(input, fetchFields, option) {
|
|
911
|
+
var _a, _b, _c;
|
|
912
|
+
const res = await client.request(
|
|
913
|
+
visaProfileChecklistItemSchema.getVisaProfileChecklistItemsByChecklist(
|
|
914
|
+
gqlQueryStringBuilder(
|
|
915
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getVisaProfileChecklistItemsByChecklistResponse,
|
|
916
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getVisaProfileChecklistItemsByChecklistResponseNestedFields
|
|
917
|
+
)
|
|
918
|
+
),
|
|
919
|
+
input,
|
|
920
|
+
option
|
|
921
|
+
);
|
|
922
|
+
return (_c = res.data) == null ? void 0 : _c.getVisaProfileChecklistItemsByChecklist;
|
|
901
923
|
}
|
|
902
924
|
});
|
|
903
925
|
|
|
@@ -928,7 +950,8 @@ var visaProfileQuery = [
|
|
|
928
950
|
"phone",
|
|
929
951
|
"purpose",
|
|
930
952
|
"readinessScore",
|
|
931
|
-
"readinessScoreReview"
|
|
953
|
+
"readinessScoreReview",
|
|
954
|
+
"consultantAssignment"
|
|
932
955
|
];
|
|
933
956
|
var visaApplicationQuery = [
|
|
934
957
|
"adminComment",
|
|
@@ -1571,6 +1594,8 @@ exports.getVisaApplicationResponseFields = getVisaApplicationResponseFields;
|
|
|
1571
1594
|
exports.getVisaApplicationResponseNestedFields = getVisaApplicationResponseNestedFields;
|
|
1572
1595
|
exports.getVisaProfileChecklistItemResponse = getVisaProfileChecklistItemResponse;
|
|
1573
1596
|
exports.getVisaProfileChecklistItemResponseNestedFields = getVisaProfileChecklistItemResponseNestedFields;
|
|
1597
|
+
exports.getVisaProfileChecklistItemsByChecklistResponse = getVisaProfileChecklistItemsByChecklistResponse;
|
|
1598
|
+
exports.getVisaProfileChecklistItemsByChecklistResponseNestedFields = getVisaProfileChecklistItemsByChecklistResponseNestedFields;
|
|
1574
1599
|
exports.getVisaProfileResponse = getVisaProfileResponse;
|
|
1575
1600
|
exports.getVisaProfileResponseNestedFields = getVisaProfileResponseNestedFields;
|
|
1576
1601
|
exports.getVisaProfileReviewCommentResponseFields = getVisaProfileReviewCommentResponseFields;
|