@visa-check-r/integrations 0.0.114 → 0.0.115

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