@visa-check-r/integrations 0.0.114 → 0.0.116

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 CHANGED
@@ -1679,6 +1679,7 @@ var visaProfileChecklistItemQuery = [
1679
1679
  "checklistItemId",
1680
1680
  "value",
1681
1681
  "visaProfileChecklistItemStatus",
1682
+ "rejectionReason",
1682
1683
  "createdAt",
1683
1684
  "checklistItem",
1684
1685
  "fileInfo",
@@ -4291,7 +4292,7 @@ var getAIServerAuthResponseNestedFields = {
4291
4292
  // src/services/ai-integration/schema/ai-server.schema.ts
4292
4293
  var aiServerSchema = {
4293
4294
  getAIServerAuth: (query) => `
4294
- query getAIServerAuth($visaProfileId: String!, $requestType: String!) {
4295
+ query getAIServerAuth($visaProfileId: String, $requestType: String!) {
4295
4296
  getAIServerAuth(visaProfileId: $visaProfileId, requestType: $requestType) {
4296
4297
  ${query}
4297
4298
  }
@@ -4350,7 +4351,7 @@ var createAIServerService = (client) => {
4350
4351
  );
4351
4352
  return (_b = (_a = res.data) == null ? void 0 : _a.attachDraft) == null ? void 0 : _b.draft;
4352
4353
  },
4353
- /** Stores a PDF to improve when the draft has no visa profile; returns its URL. */
4354
+ /** Stores a file for the AI to read when there's no visa profile; returns its URL. */
4354
4355
  async uploadDraftFile(file) {
4355
4356
  const formData = new FormData();
4356
4357
  formData.append("file", file);