@visa-check-r/integrations 0.0.62 → 0.0.64

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.d.mts CHANGED
@@ -423,6 +423,12 @@ interface PaymentMethod {
423
423
  created_datetime: string;
424
424
  }
425
425
 
426
+ interface AIServerAuth {
427
+ visaProfileId: string;
428
+ accessToken: string;
429
+ url: string;
430
+ }
431
+
426
432
  type AuthTokenProvider = () => Promise<string | null> | string | null;
427
433
  type HeadersFactory = () => Promise<Record<string, string>> | Record<string, string>;
428
434
  declare const toAsyncTokenProvider: (p?: AuthTokenProvider) => (() => Promise<string | null>);
@@ -1488,6 +1494,34 @@ interface DeleteVisaApplicationRequest {
1488
1494
  type DeleteVisaApplicationResponse = DeleteVisaApplicationRequest;
1489
1495
  declare const deleteVisaApplicationResponseFields: (keyof DeleteVisaApplicationResponse)[];
1490
1496
 
1497
+ interface GetSOPReviewRequest {
1498
+ sopReview: Partial<SOPReview>;
1499
+ }
1500
+ interface GetSOPReviewResponse {
1501
+ sopReview: SOPReview;
1502
+ }
1503
+ declare const getSOPReviewResponseFields: (keyof GetSOPReviewResponse)[];
1504
+ interface GetSOPReviewResponseNestedFields {
1505
+ sopReview: SOPReviewFields;
1506
+ answeredQuestions: SOPAnswerFields;
1507
+ unansweredQuestions: SOPAnswerFields;
1508
+ }
1509
+ declare const _getSOPReviewResponseNestedFields: Omit<GetSOPReviewResponseNestedFields, "sopReview">;
1510
+ declare const getSOPReviewResponseNestedFields: GetSOPReviewResponseNestedFields;
1511
+ type CreateSOPReviewRequest = GetSOPReviewRequest;
1512
+ type CreateSOPReviewResponse = GetSOPReviewResponse;
1513
+ declare const createSOPReviewResponseFields: (keyof CreateSOPReviewResponse)[];
1514
+ type CreateSOPReviewResponseNestedFields = GetSOPReviewResponseNestedFields;
1515
+ declare const createSOPReviewResponseNestedFields: CreateSOPReviewResponseNestedFields;
1516
+ type UpdateSOPReviewRequest = {
1517
+ sopReview: Partial<SOPReview>;
1518
+ sopReviewId: string;
1519
+ };
1520
+ type UpdateSOPReviewResponse = GetSOPReviewResponse;
1521
+ declare const updateSOPReviewResponseFields: (keyof UpdateSOPReviewResponse)[];
1522
+ type UpdateSOPReviewResponseNestedFields = GetSOPReviewResponseNestedFields;
1523
+ declare const updateSOPReviewResponseNestedFields: UpdateSOPReviewResponseNestedFields;
1524
+
1491
1525
  declare const createVisaProfileService: (client: GraphQLClient) => {
1492
1526
  getVisaProfileCountByFilter(input: GetVisaProfileCountByFilterRequest, fetchFields?: {
1493
1527
  root?: (keyof GetVisaProfileCountByFilterResponse)[];
@@ -1632,6 +1666,22 @@ declare const createVisaProfileReviewCommentService: (client: GraphQLClient) =>
1632
1666
  };
1633
1667
  type VisaProfileReviewCommentService = ReturnType<typeof createVisaProfileReviewCommentService>;
1634
1668
 
1669
+ declare const createSOPReviewService: (client: GraphQLClient) => {
1670
+ updateSOPReview: (input: UpdateSOPReviewRequest, fetchFields?: {
1671
+ root?: "sopReview"[] | undefined;
1672
+ nestedFields?: GetSOPReviewResponseNestedFields | undefined;
1673
+ } | undefined, option?: RequestOption) => Promise<GetSOPReviewResponse | undefined>;
1674
+ getSOPReview: (input: GetSOPReviewRequest, fetchFields?: {
1675
+ root?: "sopReview"[] | undefined;
1676
+ nestedFields?: GetSOPReviewResponseNestedFields | undefined;
1677
+ } | undefined, option?: RequestOption) => Promise<GetSOPReviewResponse | undefined>;
1678
+ createSOPReview: (input: GetSOPReviewRequest, fetchFields?: {
1679
+ root?: "sopReview"[] | undefined;
1680
+ nestedFields?: GetSOPReviewResponseNestedFields | undefined;
1681
+ } | undefined, option?: RequestOption) => Promise<GetSOPReviewResponse | undefined>;
1682
+ };
1683
+ type SOPReviewService = ReturnType<typeof createSOPReviewService>;
1684
+
1635
1685
  interface CreateCardObjectRequest {
1636
1686
  userId: string;
1637
1687
  card: Card;
@@ -1689,4 +1739,27 @@ declare const createPaystackService: (client: GraphQLClient) => {
1689
1739
  };
1690
1740
  type PaystackService = ReturnType<typeof createPaystackService>;
1691
1741
 
1692
- export { type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantClientStats, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type ContactMessage, type ContactUsRequest, type ContactUsResponse, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentReview, type EducationalBackground, type FileInfo, type FlutterApiResponse, type FlutterCustomerAddress, type FlutterCustomerName, type FlutterCustomerPhone, type FlutterwaveCustomer, type FlutterwaveService, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetConsultantClientStatsRequest, type GetConsultantClientStatsResponse, type GetConsultantClientStatsResponseNestedFields, type GetFlutterAccessTokenRequest, type GetFlutterAccessTokenResponse, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetUserCountResponse, type GetUserCountResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetUserTypeStatusCountRequest, type GetUserTypeStatusCountResponse, type GetUserTypeStatusCountResponseNestedFields, type GetVisaApplicationCountRequest, type GetVisaApplicationCountResponse, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileCountByFilterRequest, type GetVisaProfileCountByFilterResponse, type GetVisaProfileCountRequest, type GetVisaProfileCountResponse, type GetVisaProfileCountResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HtmlString, type Job, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RegisterForm, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResponseContext, type SOPAnswer, type SOPReview, SdkError, type SendOTPRequest, type SendOTPResponse, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type Subscription, type SubscriptionPackage, type SubscriptionService, type TransportOptions, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserCount, type UserCredit, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, compose, contactUsResponseFields, createActivityLogService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCustomerObjectResponse, createFlutterwaveService, createPaystackService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
1742
+ type AIServerAuthFields = (keyof AIServerAuth)[];
1743
+
1744
+ interface GetAIServerAuthRequest {
1745
+ visaProfileId: string;
1746
+ requestType: "readiness_score" | "sop_review";
1747
+ }
1748
+ interface GetAIServerAuthResponse {
1749
+ aiServerAuth: AIServerAuth;
1750
+ }
1751
+ declare const getAIServerAuthResponse: (keyof GetAIServerAuthResponse)[];
1752
+ interface GetAIServerAuthResponseNestedFields {
1753
+ aiServerAuth: AIServerAuthFields;
1754
+ }
1755
+ declare const getAIServerAuthResponseNestedFields: GetAIServerAuthResponseNestedFields;
1756
+
1757
+ declare const createAIServerService: (client: GraphQLClient) => {
1758
+ getAIServerAuth(input: GetAIServerAuthRequest, fetchFields?: {
1759
+ root?: (keyof GetAIServerAuthResponse)[];
1760
+ nestedFields?: GetAIServerAuthResponseNestedFields;
1761
+ }, option?: RequestOption): Promise<GetAIServerAuthResponse | undefined>;
1762
+ };
1763
+ type AIServerService = ReturnType<typeof createAIServerService>;
1764
+
1765
+ export { type AIServerAuth, type AIServerService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantClientStats, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type ContactMessage, type ContactUsRequest, type ContactUsResponse, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateSOPReviewRequest, type CreateSOPReviewResponse, type CreateSOPReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentReview, type EducationalBackground, type FileInfo, type FlutterApiResponse, type FlutterCustomerAddress, type FlutterCustomerName, type FlutterCustomerPhone, type FlutterwaveCustomer, type FlutterwaveService, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetAIServerAuthRequest, type GetAIServerAuthResponse, type GetAIServerAuthResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetConsultantClientStatsRequest, type GetConsultantClientStatsResponse, type GetConsultantClientStatsResponseNestedFields, type GetFlutterAccessTokenRequest, type GetFlutterAccessTokenResponse, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserCountResponse, type GetUserCountResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetUserTypeStatusCountRequest, type GetUserTypeStatusCountResponse, type GetUserTypeStatusCountResponseNestedFields, type GetVisaApplicationCountRequest, type GetVisaApplicationCountResponse, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileCountByFilterRequest, type GetVisaProfileCountByFilterResponse, type GetVisaProfileCountRequest, type GetVisaProfileCountResponse, type GetVisaProfileCountResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HtmlString, type Job, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RegisterForm, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResponseContext, type SOPAnswer, type SOPReview, type SOPReviewService, SdkError, type SendOTPRequest, type SendOTPResponse, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type Subscription, type SubscriptionPackage, type SubscriptionService, type TransportOptions, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateSOPReviewRequest, type UpdateSOPReviewResponse, type UpdateSOPReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserCount, type UserCredit, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, compose, contactUsResponseFields, createAIServerService, createActivityLogService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCustomerObjectResponse, createFlutterwaveService, createPaystackService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
package/dist/index.d.ts CHANGED
@@ -423,6 +423,12 @@ interface PaymentMethod {
423
423
  created_datetime: string;
424
424
  }
425
425
 
426
+ interface AIServerAuth {
427
+ visaProfileId: string;
428
+ accessToken: string;
429
+ url: string;
430
+ }
431
+
426
432
  type AuthTokenProvider = () => Promise<string | null> | string | null;
427
433
  type HeadersFactory = () => Promise<Record<string, string>> | Record<string, string>;
428
434
  declare const toAsyncTokenProvider: (p?: AuthTokenProvider) => (() => Promise<string | null>);
@@ -1488,6 +1494,34 @@ interface DeleteVisaApplicationRequest {
1488
1494
  type DeleteVisaApplicationResponse = DeleteVisaApplicationRequest;
1489
1495
  declare const deleteVisaApplicationResponseFields: (keyof DeleteVisaApplicationResponse)[];
1490
1496
 
1497
+ interface GetSOPReviewRequest {
1498
+ sopReview: Partial<SOPReview>;
1499
+ }
1500
+ interface GetSOPReviewResponse {
1501
+ sopReview: SOPReview;
1502
+ }
1503
+ declare const getSOPReviewResponseFields: (keyof GetSOPReviewResponse)[];
1504
+ interface GetSOPReviewResponseNestedFields {
1505
+ sopReview: SOPReviewFields;
1506
+ answeredQuestions: SOPAnswerFields;
1507
+ unansweredQuestions: SOPAnswerFields;
1508
+ }
1509
+ declare const _getSOPReviewResponseNestedFields: Omit<GetSOPReviewResponseNestedFields, "sopReview">;
1510
+ declare const getSOPReviewResponseNestedFields: GetSOPReviewResponseNestedFields;
1511
+ type CreateSOPReviewRequest = GetSOPReviewRequest;
1512
+ type CreateSOPReviewResponse = GetSOPReviewResponse;
1513
+ declare const createSOPReviewResponseFields: (keyof CreateSOPReviewResponse)[];
1514
+ type CreateSOPReviewResponseNestedFields = GetSOPReviewResponseNestedFields;
1515
+ declare const createSOPReviewResponseNestedFields: CreateSOPReviewResponseNestedFields;
1516
+ type UpdateSOPReviewRequest = {
1517
+ sopReview: Partial<SOPReview>;
1518
+ sopReviewId: string;
1519
+ };
1520
+ type UpdateSOPReviewResponse = GetSOPReviewResponse;
1521
+ declare const updateSOPReviewResponseFields: (keyof UpdateSOPReviewResponse)[];
1522
+ type UpdateSOPReviewResponseNestedFields = GetSOPReviewResponseNestedFields;
1523
+ declare const updateSOPReviewResponseNestedFields: UpdateSOPReviewResponseNestedFields;
1524
+
1491
1525
  declare const createVisaProfileService: (client: GraphQLClient) => {
1492
1526
  getVisaProfileCountByFilter(input: GetVisaProfileCountByFilterRequest, fetchFields?: {
1493
1527
  root?: (keyof GetVisaProfileCountByFilterResponse)[];
@@ -1632,6 +1666,22 @@ declare const createVisaProfileReviewCommentService: (client: GraphQLClient) =>
1632
1666
  };
1633
1667
  type VisaProfileReviewCommentService = ReturnType<typeof createVisaProfileReviewCommentService>;
1634
1668
 
1669
+ declare const createSOPReviewService: (client: GraphQLClient) => {
1670
+ updateSOPReview: (input: UpdateSOPReviewRequest, fetchFields?: {
1671
+ root?: "sopReview"[] | undefined;
1672
+ nestedFields?: GetSOPReviewResponseNestedFields | undefined;
1673
+ } | undefined, option?: RequestOption) => Promise<GetSOPReviewResponse | undefined>;
1674
+ getSOPReview: (input: GetSOPReviewRequest, fetchFields?: {
1675
+ root?: "sopReview"[] | undefined;
1676
+ nestedFields?: GetSOPReviewResponseNestedFields | undefined;
1677
+ } | undefined, option?: RequestOption) => Promise<GetSOPReviewResponse | undefined>;
1678
+ createSOPReview: (input: GetSOPReviewRequest, fetchFields?: {
1679
+ root?: "sopReview"[] | undefined;
1680
+ nestedFields?: GetSOPReviewResponseNestedFields | undefined;
1681
+ } | undefined, option?: RequestOption) => Promise<GetSOPReviewResponse | undefined>;
1682
+ };
1683
+ type SOPReviewService = ReturnType<typeof createSOPReviewService>;
1684
+
1635
1685
  interface CreateCardObjectRequest {
1636
1686
  userId: string;
1637
1687
  card: Card;
@@ -1689,4 +1739,27 @@ declare const createPaystackService: (client: GraphQLClient) => {
1689
1739
  };
1690
1740
  type PaystackService = ReturnType<typeof createPaystackService>;
1691
1741
 
1692
- export { type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantClientStats, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type ContactMessage, type ContactUsRequest, type ContactUsResponse, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentReview, type EducationalBackground, type FileInfo, type FlutterApiResponse, type FlutterCustomerAddress, type FlutterCustomerName, type FlutterCustomerPhone, type FlutterwaveCustomer, type FlutterwaveService, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetConsultantClientStatsRequest, type GetConsultantClientStatsResponse, type GetConsultantClientStatsResponseNestedFields, type GetFlutterAccessTokenRequest, type GetFlutterAccessTokenResponse, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetUserCountResponse, type GetUserCountResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetUserTypeStatusCountRequest, type GetUserTypeStatusCountResponse, type GetUserTypeStatusCountResponseNestedFields, type GetVisaApplicationCountRequest, type GetVisaApplicationCountResponse, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileCountByFilterRequest, type GetVisaProfileCountByFilterResponse, type GetVisaProfileCountRequest, type GetVisaProfileCountResponse, type GetVisaProfileCountResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HtmlString, type Job, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RegisterForm, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResponseContext, type SOPAnswer, type SOPReview, SdkError, type SendOTPRequest, type SendOTPResponse, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type Subscription, type SubscriptionPackage, type SubscriptionService, type TransportOptions, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserCount, type UserCredit, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, compose, contactUsResponseFields, createActivityLogService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCustomerObjectResponse, createFlutterwaveService, createPaystackService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
1742
+ type AIServerAuthFields = (keyof AIServerAuth)[];
1743
+
1744
+ interface GetAIServerAuthRequest {
1745
+ visaProfileId: string;
1746
+ requestType: "readiness_score" | "sop_review";
1747
+ }
1748
+ interface GetAIServerAuthResponse {
1749
+ aiServerAuth: AIServerAuth;
1750
+ }
1751
+ declare const getAIServerAuthResponse: (keyof GetAIServerAuthResponse)[];
1752
+ interface GetAIServerAuthResponseNestedFields {
1753
+ aiServerAuth: AIServerAuthFields;
1754
+ }
1755
+ declare const getAIServerAuthResponseNestedFields: GetAIServerAuthResponseNestedFields;
1756
+
1757
+ declare const createAIServerService: (client: GraphQLClient) => {
1758
+ getAIServerAuth(input: GetAIServerAuthRequest, fetchFields?: {
1759
+ root?: (keyof GetAIServerAuthResponse)[];
1760
+ nestedFields?: GetAIServerAuthResponseNestedFields;
1761
+ }, option?: RequestOption): Promise<GetAIServerAuthResponse | undefined>;
1762
+ };
1763
+ type AIServerService = ReturnType<typeof createAIServerService>;
1764
+
1765
+ export { type AIServerAuth, type AIServerService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantClientStats, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type ContactMessage, type ContactUsRequest, type ContactUsResponse, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateSOPReviewRequest, type CreateSOPReviewResponse, type CreateSOPReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentReview, type EducationalBackground, type FileInfo, type FlutterApiResponse, type FlutterCustomerAddress, type FlutterCustomerName, type FlutterCustomerPhone, type FlutterwaveCustomer, type FlutterwaveService, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetAIServerAuthRequest, type GetAIServerAuthResponse, type GetAIServerAuthResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetConsultantClientStatsRequest, type GetConsultantClientStatsResponse, type GetConsultantClientStatsResponseNestedFields, type GetFlutterAccessTokenRequest, type GetFlutterAccessTokenResponse, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserCountResponse, type GetUserCountResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetUserTypeStatusCountRequest, type GetUserTypeStatusCountResponse, type GetUserTypeStatusCountResponseNestedFields, type GetVisaApplicationCountRequest, type GetVisaApplicationCountResponse, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileCountByFilterRequest, type GetVisaProfileCountByFilterResponse, type GetVisaProfileCountRequest, type GetVisaProfileCountResponse, type GetVisaProfileCountResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HtmlString, type Job, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RegisterForm, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResponseContext, type SOPAnswer, type SOPReview, type SOPReviewService, SdkError, type SendOTPRequest, type SendOTPResponse, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type Subscription, type SubscriptionPackage, type SubscriptionService, type TransportOptions, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateSOPReviewRequest, type UpdateSOPReviewResponse, type UpdateSOPReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserCount, type UserCredit, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, compose, contactUsResponseFields, createAIServerService, createActivityLogService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCustomerObjectResponse, createFlutterwaveService, createPaystackService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
package/dist/index.esm.js CHANGED
@@ -1862,6 +1862,21 @@ var updateVisaApplicationResponseFields = getVisaApplicationResponseFields;
1862
1862
  var updateVisaApplicationResponseNestedFields = getVisaApplicationResponseNestedFields;
1863
1863
  var deleteVisaApplicationResponseFields = ["visaApplicationId"];
1864
1864
 
1865
+ // src/services/profile/types/sop-review.type.ts
1866
+ var getSOPReviewResponseFields = ["sopReview"];
1867
+ var _getSOPReviewResponseNestedFields = {
1868
+ answeredQuestions: sopAnswerQuery,
1869
+ unansweredQuestions: sopAnswerQuery
1870
+ };
1871
+ var getSOPReviewResponseNestedFields = {
1872
+ ..._getSOPReviewResponseNestedFields,
1873
+ sopReview: sopReviewQuery
1874
+ };
1875
+ var createSOPReviewResponseFields = getSOPReviewResponseFields;
1876
+ var createSOPReviewResponseNestedFields = getSOPReviewResponseNestedFields;
1877
+ var updateSOPReviewResponseFields = getSOPReviewResponseFields;
1878
+ var updateSOPReviewResponseNestedFields = getSOPReviewResponseNestedFields;
1879
+
1865
1880
  // src/services/profile/schemas/visa-profile.schema.ts
1866
1881
  var visaProfileSchema = {
1867
1882
  getVisaProfileCountByFilter: (query) => `
@@ -2604,6 +2619,81 @@ var createVisaProfileReviewCommentService = (client) => ({
2604
2619
  }
2605
2620
  });
2606
2621
 
2622
+ // src/factory/service.factory.ts
2623
+ function createOperationExecutor(client, key, config) {
2624
+ return async (input, fetchFields, option) => {
2625
+ var _a, _b, _c;
2626
+ const query = config.schema(
2627
+ gqlQueryStringBuilder(
2628
+ (_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : config.defaultRootFields,
2629
+ (_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : config.defaultNestedFields
2630
+ )
2631
+ );
2632
+ const res = await client.request(
2633
+ query,
2634
+ input,
2635
+ option
2636
+ );
2637
+ return (_c = res.data) == null ? void 0 : _c[key];
2638
+ };
2639
+ }
2640
+
2641
+ // src/services/profile/schemas/sop-review.schema.ts
2642
+ var sopReviewSchema = {
2643
+ getSOPReview: (query) => `
2644
+ query getSOPReview($sopReview: SopReviewInput!) {
2645
+ getSOPReview(sopReview: $sopReview) {
2646
+ ${query}
2647
+ }
2648
+ }
2649
+ `,
2650
+ updateSOPReview: (query) => `
2651
+ mutation updateSOPReview($sopReviewId: String!, $sopReview: SopReviewInput!) {
2652
+ updateSOPReview(sopReviewId: $sopReviewId, sopReview: $sopReview) {
2653
+ ${query}
2654
+ }
2655
+ }
2656
+ `,
2657
+ createSOPReview: (query) => `
2658
+ mutation createSOPReview($sopReview: SopReviewInput!) {
2659
+ createSOPReview(sopReview: $sopReview) {
2660
+ ${query}
2661
+ }
2662
+ }
2663
+ `
2664
+ };
2665
+
2666
+ // src/services/profile/sop-review.service.ts
2667
+ var createSOPReviewService = (client) => ({
2668
+ updateSOPReview: createOperationExecutor(
2669
+ client,
2670
+ "updateSOPReview",
2671
+ {
2672
+ schema: sopReviewSchema.updateSOPReview,
2673
+ defaultRootFields: updateSOPReviewResponseFields,
2674
+ defaultNestedFields: updateSOPReviewResponseNestedFields
2675
+ }
2676
+ ),
2677
+ getSOPReview: createOperationExecutor(
2678
+ client,
2679
+ "getSOPReview",
2680
+ {
2681
+ schema: sopReviewSchema.getSOPReview,
2682
+ defaultRootFields: getSOPReviewResponseFields,
2683
+ defaultNestedFields: getSOPReviewResponseNestedFields
2684
+ }
2685
+ ),
2686
+ createSOPReview: createOperationExecutor(
2687
+ client,
2688
+ "createSOPReview",
2689
+ {
2690
+ schema: sopReviewSchema.createSOPReview,
2691
+ defaultRootFields: createSOPReviewResponseFields,
2692
+ defaultNestedFields: createSOPReviewResponseNestedFields
2693
+ }
2694
+ )
2695
+ });
2696
+
2607
2697
  // src/services/subscription/types/flutter.ts
2608
2698
  var createCardObjectResponse = ["cardObjectId", "chargeId"];
2609
2699
  var getFlutterAccessTokenResponse = ["accessToken"];
@@ -2743,6 +2833,52 @@ var createPaystackService = (client) => ({
2743
2833
  }
2744
2834
  });
2745
2835
 
2746
- export { AuthenticationError, GraphQLClient, NetworkError, SdkError, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, compose, contactUsResponseFields, createActivityLogService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCustomerObjectResponse, createFlutterwaveService, createPaystackService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
2836
+ // src/services/ai-integration/types/ai-server.entity.ts
2837
+ var aiServerAuthQuery = [
2838
+ "visaProfileId",
2839
+ "accessToken",
2840
+ "url"
2841
+ ];
2842
+
2843
+ // src/services/ai-integration/types/ai-server-auth.type.ts
2844
+ var getAIServerAuthResponse = [
2845
+ "aiServerAuth"
2846
+ ];
2847
+ var getAIServerAuthResponseNestedFields = {
2848
+ aiServerAuth: aiServerAuthQuery
2849
+ };
2850
+
2851
+ // src/services/ai-integration/schema/ai-server.schema.ts
2852
+ var aiServerSchema = {
2853
+ getAIServerAuth: (query) => `
2854
+ query getAIServerAuth($visaProfileId: String!, $requestType: String!) {
2855
+ getAIServerAuth(visaProfileId: $visaProfileId, requestType: $requestType) {
2856
+ ${query}
2857
+ }
2858
+ }
2859
+ `
2860
+ };
2861
+
2862
+ // src/services/ai-integration/ai-server.service.ts
2863
+ var createAIServerService = (client) => {
2864
+ return {
2865
+ async getAIServerAuth(input, fetchFields, option) {
2866
+ var _a, _b, _c;
2867
+ const res = await client.request(
2868
+ aiServerSchema.getAIServerAuth(
2869
+ gqlQueryStringBuilder(
2870
+ (_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getAIServerAuthResponse,
2871
+ (_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getAIServerAuthResponseNestedFields
2872
+ )
2873
+ ),
2874
+ input,
2875
+ option
2876
+ );
2877
+ return (_c = res.data) == null ? void 0 : _c.getAIServerAuth;
2878
+ }
2879
+ };
2880
+ };
2881
+
2882
+ export { AuthenticationError, GraphQLClient, NetworkError, SdkError, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, compose, contactUsResponseFields, createAIServerService, createActivityLogService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCustomerObjectResponse, createFlutterwaveService, createPaystackService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
2747
2883
  //# sourceMappingURL=index.esm.js.map
2748
2884
  //# sourceMappingURL=index.esm.js.map