@visa-check-r/integrations 0.0.2 → 0.0.3
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 +32 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.esm.js +31 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -632,7 +632,8 @@ var checklistItemQuery = [
|
|
|
632
632
|
"inputType",
|
|
633
633
|
"category",
|
|
634
634
|
"isRequired",
|
|
635
|
-
"createdAt"
|
|
635
|
+
"createdAt",
|
|
636
|
+
"status"
|
|
636
637
|
];
|
|
637
638
|
var visaProfileChecklistItemQuery = [
|
|
638
639
|
"id",
|
|
@@ -738,6 +739,13 @@ var createChecklistItemService = (client) => ({
|
|
|
738
739
|
|
|
739
740
|
// src/services/checklist/schemas/visaprofile-checklist-item.schema.ts
|
|
740
741
|
var visaProfileChecklistItemSchema = {
|
|
742
|
+
createVisaProfileChecklistItems: (query) => `
|
|
743
|
+
mutation createVisaProfileChecklistItems($visaProfileChecklistItems: [VisaProfileChecklistItemsInput]!) {
|
|
744
|
+
createVisaProfileChecklistItems(visaProfileChecklistItems: $visaProfileChecklistItems) {
|
|
745
|
+
${query}
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
`,
|
|
741
749
|
createVisaProfileChecklistItem: (query) => `
|
|
742
750
|
mutation createVisaProfileChecklistItem($visaProfileChecklistItem: VisaProfileChecklistItemInput!) {
|
|
743
751
|
createVisaProfileChecklistItem(visaProfileChecklistItem: $visaProfileChecklistItem) {
|
|
@@ -792,6 +800,13 @@ var listVisaProfileChecklistItemResponseNestedFields = {
|
|
|
792
800
|
..._getVisaProfileChecklistItemResponseNestedFields,
|
|
793
801
|
visaProfileChecklistItems: visaProfileChecklistItemQuery
|
|
794
802
|
};
|
|
803
|
+
var createVisaProfileChecklistItemsResponse = [
|
|
804
|
+
"visaProfileChecklistItems"
|
|
805
|
+
];
|
|
806
|
+
var createVisaProfileChecklistItemsResponseNestedFields = {
|
|
807
|
+
..._getVisaProfileChecklistItemResponseNestedFields,
|
|
808
|
+
visaProfileChecklistItems: visaProfileChecklistItemQuery
|
|
809
|
+
};
|
|
795
810
|
var createVisaProfileChecklistItemResponse = getVisaProfileChecklistItemResponse;
|
|
796
811
|
var createVisaProfileChecklistItemResponseNestedFields = getVisaProfileChecklistItemResponseNestedFields;
|
|
797
812
|
var updateVisaProfileChecklistItemResponse = getVisaProfileChecklistItemResponse;
|
|
@@ -828,6 +843,20 @@ var createVisaProfileChecklistItemService = (client) => ({
|
|
|
828
843
|
);
|
|
829
844
|
return (_c = res.data) == null ? void 0 : _c.updateVisaProfileChecklistItem;
|
|
830
845
|
},
|
|
846
|
+
async createVisaProfileChecklistItems(input, fetchFields, option) {
|
|
847
|
+
var _a, _b, _c;
|
|
848
|
+
const res = await client.request(
|
|
849
|
+
visaProfileChecklistItemSchema.createVisaProfileChecklistItems(
|
|
850
|
+
gqlQueryStringBuilder(
|
|
851
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : createVisaProfileChecklistItemsResponse,
|
|
852
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : createVisaProfileChecklistItemsResponseNestedFields
|
|
853
|
+
)
|
|
854
|
+
),
|
|
855
|
+
input,
|
|
856
|
+
option
|
|
857
|
+
);
|
|
858
|
+
return (_c = res.data) == null ? void 0 : _c.createVisaProfileChecklistItems;
|
|
859
|
+
},
|
|
831
860
|
async createVisaProfileChecklistItem(input, fetchFields, option) {
|
|
832
861
|
var _a, _b, _c;
|
|
833
862
|
const res = await client.request(
|
|
@@ -1510,6 +1539,8 @@ exports.createVisaApplicationService = createVisaApplicationService;
|
|
|
1510
1539
|
exports.createVisaProfileChecklistItemResponse = createVisaProfileChecklistItemResponse;
|
|
1511
1540
|
exports.createVisaProfileChecklistItemResponseNestedFields = createVisaProfileChecklistItemResponseNestedFields;
|
|
1512
1541
|
exports.createVisaProfileChecklistItemService = createVisaProfileChecklistItemService;
|
|
1542
|
+
exports.createVisaProfileChecklistItemsResponse = createVisaProfileChecklistItemsResponse;
|
|
1543
|
+
exports.createVisaProfileChecklistItemsResponseNestedFields = createVisaProfileChecklistItemsResponseNestedFields;
|
|
1513
1544
|
exports.createVisaProfileResponse = createVisaProfileResponse;
|
|
1514
1545
|
exports.createVisaProfileResponseNestedFields = createVisaProfileResponseNestedFields;
|
|
1515
1546
|
exports.createVisaProfileReviewCommentResponseFields = createVisaProfileReviewCommentResponseFields;
|