@visa-check-r/integrations 0.0.13 → 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 +56 -0
- 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 +56 -1
- 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) => `
|
|
@@ -1674,6 +1729,7 @@ exports._getConsultantAssignmentResponseNestedFields = _getConsultantAssignmentR
|
|
|
1674
1729
|
exports._getVisaProfileChecklistItemResponseNestedFields = _getVisaProfileChecklistItemResponseNestedFields;
|
|
1675
1730
|
exports._getVisaProfileResponseNestedFields = _getVisaProfileResponseNestedFields;
|
|
1676
1731
|
exports.compose = compose;
|
|
1732
|
+
exports.createActivityLogService = createActivityLogService;
|
|
1677
1733
|
exports.createAuthService = createAuthService;
|
|
1678
1734
|
exports.createChecklistItemResponse = createChecklistItemResponse;
|
|
1679
1735
|
exports.createChecklistItemResponseNestedFields = createChecklistItemResponseNestedFields;
|