@visa-check-r/integrations 0.0.122 → 0.0.124
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 +74 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +49 -4
- package/dist/index.d.ts +49 -4
- package/dist/index.esm.js +74 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2827,6 +2827,12 @@ declare const createAIServerService: (client: GraphQLClient) => {
|
|
|
2827
2827
|
id: string;
|
|
2828
2828
|
visaProfileId: string;
|
|
2829
2829
|
}, option?: RequestOption): Promise<RefusalAnalysis | undefined>;
|
|
2830
|
+
/** Deletes an SOP or LOE draft (its owner's, or one on a profile the caller can edit); returns its id. */
|
|
2831
|
+
deleteDraft(draftId: string, option?: RequestOption): Promise<string | undefined>;
|
|
2832
|
+
/** Deletes a refusal analysis (its owner's, or one on a profile the caller can edit); returns its id. */
|
|
2833
|
+
deleteRefusalAnalysis(id: string, option?: RequestOption): Promise<string | undefined>;
|
|
2834
|
+
/** Deletes a readiness check run without a visa profile, with its documents; returns its id. */
|
|
2835
|
+
deleteReadinessCheck(readinessProfileId: string, option?: RequestOption): Promise<string | undefined>;
|
|
2830
2836
|
/** Stores a file for the AI to read when there's no visa profile; returns its URL. */
|
|
2831
2837
|
uploadDraftFile(file: File | Blob): Promise<string | undefined>;
|
|
2832
2838
|
};
|
|
@@ -2881,25 +2887,64 @@ interface LinkedPartner {
|
|
|
2881
2887
|
code: string;
|
|
2882
2888
|
}
|
|
2883
2889
|
interface GetLinkedPartnerResponse {
|
|
2884
|
-
/** Absent when the client isn't linked. */
|
|
2890
|
+
/** Absent when the client isn't linked and has no request waiting. */
|
|
2885
2891
|
partner?: LinkedPartner | null;
|
|
2892
|
+
/** "linked", or "pending" while the partner hasn't answered the request. */
|
|
2893
|
+
status?: "linked" | "pending" | "";
|
|
2886
2894
|
}
|
|
2887
2895
|
interface LinkPartnerRequest {
|
|
2888
2896
|
referralCode: string;
|
|
2889
2897
|
}
|
|
2890
2898
|
interface LinkPartnerResponse {
|
|
2891
2899
|
partner: LinkedPartner;
|
|
2892
|
-
/**
|
|
2900
|
+
/** "pending": the request waits for the partner to accept it. */
|
|
2901
|
+
status: "pending";
|
|
2902
|
+
/** Visa profiles the partner can now see (0 until the request is accepted). */
|
|
2893
2903
|
profilesShared: number;
|
|
2894
2904
|
}
|
|
2895
2905
|
interface UnlinkPartnerResponse {
|
|
2896
2906
|
profilesUnshared: number;
|
|
2907
|
+
/** True when this withdrew a request the partner hadn't answered. */
|
|
2908
|
+
requestCancelled: boolean;
|
|
2897
2909
|
}
|
|
2898
|
-
/**
|
|
2910
|
+
/** A client's request to link, as the partner sees it. */
|
|
2911
|
+
interface LinkRequest {
|
|
2912
|
+
id: string;
|
|
2913
|
+
partnerId: string;
|
|
2914
|
+
partnerName: string;
|
|
2915
|
+
code: string;
|
|
2916
|
+
clientId: string;
|
|
2917
|
+
clientName: string;
|
|
2918
|
+
clientEmail: string;
|
|
2919
|
+
status: "pending" | "accepted" | "declined" | "cancelled";
|
|
2920
|
+
requestedAt: string;
|
|
2921
|
+
respondedAt?: string;
|
|
2922
|
+
}
|
|
2923
|
+
/** The partner dashboard's counts. */
|
|
2924
|
+
interface PartnerDashboard {
|
|
2925
|
+
clients: number;
|
|
2926
|
+
/** Client profiles whose latest readiness check scored 75% or more. */
|
|
2927
|
+
readyToSubmit: number;
|
|
2928
|
+
/** Client profiles whose latest readiness check found something critical. */
|
|
2929
|
+
flagged: number;
|
|
2930
|
+
pendingRequests: number;
|
|
2931
|
+
}
|
|
2932
|
+
/**
|
|
2933
|
+
* Clients ask to link to one partner at a time; the partner accepts or
|
|
2934
|
+
* declines, and the client's visa profiles are shared once accepted.
|
|
2935
|
+
*/
|
|
2899
2936
|
declare const createPartnerLinkService: (client: GraphQLClient) => {
|
|
2900
2937
|
getLinkedPartner(option?: RequestOption): Promise<GetLinkedPartnerResponse | undefined>;
|
|
2901
2938
|
linkPartner(input: LinkPartnerRequest, option?: RequestOption): Promise<LinkPartnerResponse | undefined>;
|
|
2902
2939
|
unlinkPartner(option?: RequestOption): Promise<UnlinkPartnerResponse | undefined>;
|
|
2940
|
+
/** Partners: clients waiting for an answer, oldest first. */
|
|
2941
|
+
listLinkRequests(option?: RequestOption): Promise<LinkRequest[]>;
|
|
2942
|
+
/** Partners: link the client and see their visa profiles. */
|
|
2943
|
+
acceptLinkRequest(id: string, option?: RequestOption): Promise<LinkRequest | undefined>;
|
|
2944
|
+
/** Partners: turn a client's request down. */
|
|
2945
|
+
declineLinkRequest(id: string, option?: RequestOption): Promise<LinkRequest | undefined>;
|
|
2946
|
+
/** Partners: clients, ready and flagged profiles, and waiting link requests. */
|
|
2947
|
+
partnerDashboard(option?: RequestOption): Promise<PartnerDashboard | undefined>;
|
|
2903
2948
|
};
|
|
2904
2949
|
type PartnerLinkService = ReturnType<typeof createPartnerLinkService>;
|
|
2905
2950
|
|
|
@@ -2967,4 +3012,4 @@ declare const createHelpService: (client: GraphQLClient) => {
|
|
|
2967
3012
|
deleteMyAccount(password: string, option?: RequestOption): Promise<boolean>;
|
|
2968
3013
|
};
|
|
2969
3014
|
|
|
2970
|
-
export { type AIServerAuth, type AIServerService, type AdminAnalytics, type AdminAnalyticsService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AnalyticsCount, type AnalyticsMonth, type AppConfig, type AppConfigService, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type CompleteReadinessCheckRequest, type CompleteReadinessCheckResponse, 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 Coupon, type CouponCRUD, type CouponRedemption, type CouponRedemptionCRUD, type CouponRedemptionService, type CouponService, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateQuestionRequest, type CreateQuestionResponse, type CreateReadinessProfileRequest, type CreateReadinessProfileResponse, 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 CreditPlan, type CreditPlanCRUD, type CreditPlanService, type CreditTransaction, type CreditTransactionCRUD, type CreditTransactionService, type CrossReferenceFinding, type CrossReferenceResult, type CrossReferenceSeverity, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteQuestionRequest, type DeleteQuestionResponse, 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 DocumentExtraction, type DocumentExtractionResult, type DocumentReview, type EducationalBackground, type FailReadinessCheckRequest, type FailReadinessCheckResponse, type FileInfo, type FinishDraftRequest, 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 GetAdminAnalyticsRequest, type GetAdminAnalyticsResponse, type GetChecklistItemCountRequest, type GetChecklistItemCountResponse, 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 GetLinkedPartnerResponse, type GetPartnerMatricesRequest, type GetPartnerMatricesResponse, type GetPartnerMatricesResponseNestedFields, type GetReadinessProfileRequest, type GetReadinessProfileResponse, type GetReadinessRequirementsRequest, type GetReadinessRequirementsResponse, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserAverageReadinessScoreRequest, type GetUserAverageReadinessScoreResponse, 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 GetVisaApplicationStatsRequest, type GetVisaApplicationStatsResponse, type GetVisaApplicationStatsResponseNestedFields, 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 HelpArticle, type HtmlString, type Job, type LinkPartnerRequest, type LinkPartnerResponse, type LinkedPartner, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListPartnerClientsRequest, type ListPartnerClientsResponse, type ListPartnerClientsResponseNestedFields, type ListQuestionsRequest, type ListQuestionsResponse, type ListReadinessProfilesRequest, type ListReadinessProfilesResponse, 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 PartnerLinkService, type PartnerMatrices, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type Question, type QuestionAnswer, type QuestionAnswerType, type QuestionInput, type QuestionResponseNestedFields, type QuestionSet, type QuestionsResponseNestedFields, type ReadinessCheckFile, type ReadinessProfile, type ReadinessProfileInput, type ReadinessProfileResponseNestedFields, type ReadinessProfilesResponseNestedFields, type ReadinessRequirement, type ReadinessRequirementsResponseNestedFields, type ReadinessReviewNestedFields, type ReadinessReviewResponse, type ReadinessReviewResponseNestedFields, type ReadinessReviewStatus, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RefusalAnalysis, type RefusalFinding, type RegisterForm, type ReorderQuestionsRequest, type ReorderQuestionsResponse, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResetQuestionsRequest, type ResetQuestionsResponse, type ResponseContext, type ReviewedDocument, type SOPAnswer, type SOPReview, type SOPReviewService, type SaveHelpArticleRequest, type SaveRefusalAnalysisRequest, type School, SdkError, type SearchSchoolsRequest, type SearchSchoolsResponse, type SendOTPRequest, type SendOTPResponse, type ServiceCreditCost, type ServiceCreditCostCRUD, type ServiceCreditCostService, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type StartDraftRequest, type StartDraftResponse, type StartReadinessCheckRequest, type StartReadinessCheckResponse, type StartReadinessCheckResponseNestedFields, type Subscription, type SubscriptionPackage, type SubscriptionService, type SyncSchoolsResponse, type TransportOptions, type UnlinkPartnerResponse, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateQuestionRequest, type UpdateQuestionResponse, type UpdateReadinessProfileRequest, type UpdateReadinessProfileResponse, 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 UserCreditCRUD, type UserCreditService, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type ValidateCouponRedemptionRequest, type ValidateCouponRedemptionResponse, type ValidateCouponRequest, type ValidateCouponResponse, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStats, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileRelationship, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaProfileStudyProgram, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, completeReadinessCheckResponse, completeReadinessCheckResponseNestedFields, compose, contactUsResponseFields, couponDeleteIntegration, couponIntegration, couponListIntegration, couponRedemptionDeleteIntegration, couponRedemptionIntegration, couponRedemptionListIntegration, createAIServerService, createActivityLogService, createAdminAnalyticsService, createAppConfigService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCouponRedemptionService, createCouponService, createCreditPlanService, createCreditTransactionService, createCustomerObjectResponse, createFlutterwaveService, createHelpService, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSchoolService, createServiceCreditCostService, createSubscriptionService, createTransport, createUserCreditService, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, creditPlanDeleteIntegration, creditPlanIntegration, creditPlanListIntegration, creditTransactionDeleteIntegration, creditTransactionIntegration, creditTransactionListIntegration, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteQuestionResponse, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, failReadinessCheckResponse, failReadinessCheckResponseNestedFields, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemCountResponse, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getPartnerMatricesResponseFields, getPartnerMatricesResponseNestedFields, getReadinessProfileResponse, getReadinessProfileResponseNestedFields, getReadinessRequirementsResponse, getReadinessRequirementsResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserAverageReadinessScoreResponseFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaApplicationStatsResponseFields, getVisaApplicationStatsResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listPartnerClientsResponseFields, listPartnerClientsResponseNestedFields, listQuestionsResponse, listQuestionsResponseNestedFields, listReadinessProfilesResponse, listReadinessProfilesResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, reorderQuestionsResponse, reorderQuestionsResponseNestedFields, resetPasswordResponseFields, resetQuestionsResponse, resetQuestionsResponseNestedFields, sendOTPResponseFields, serviceCreditCostDeleteIntegration, serviceCreditCostIntegration, serviceCreditCostListIntegration, signUpResponseFields, startReadinessCheckResponse, startReadinessCheckResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateQuestionResponse, updateQuestionResponseNestedFields, updateReadinessProfileResponse, updateReadinessProfileResponseNestedFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, userCreditDeleteIntegration, userCreditIntegration, userCreditListIntegration, verifyOTPResponseFields };
|
|
3015
|
+
export { type AIServerAuth, type AIServerService, type AdminAnalytics, type AdminAnalyticsService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AnalyticsCount, type AnalyticsMonth, type AppConfig, type AppConfigService, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type CompleteReadinessCheckRequest, type CompleteReadinessCheckResponse, 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 Coupon, type CouponCRUD, type CouponRedemption, type CouponRedemptionCRUD, type CouponRedemptionService, type CouponService, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateQuestionRequest, type CreateQuestionResponse, type CreateReadinessProfileRequest, type CreateReadinessProfileResponse, 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 CreditPlan, type CreditPlanCRUD, type CreditPlanService, type CreditTransaction, type CreditTransactionCRUD, type CreditTransactionService, type CrossReferenceFinding, type CrossReferenceResult, type CrossReferenceSeverity, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteQuestionRequest, type DeleteQuestionResponse, 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 DocumentExtraction, type DocumentExtractionResult, type DocumentReview, type EducationalBackground, type FailReadinessCheckRequest, type FailReadinessCheckResponse, type FileInfo, type FinishDraftRequest, 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 GetAdminAnalyticsRequest, type GetAdminAnalyticsResponse, type GetChecklistItemCountRequest, type GetChecklistItemCountResponse, 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 GetLinkedPartnerResponse, type GetPartnerMatricesRequest, type GetPartnerMatricesResponse, type GetPartnerMatricesResponseNestedFields, type GetReadinessProfileRequest, type GetReadinessProfileResponse, type GetReadinessRequirementsRequest, type GetReadinessRequirementsResponse, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserAverageReadinessScoreRequest, type GetUserAverageReadinessScoreResponse, 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 GetVisaApplicationStatsRequest, type GetVisaApplicationStatsResponse, type GetVisaApplicationStatsResponseNestedFields, 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 HelpArticle, type HtmlString, type Job, type LinkPartnerRequest, type LinkPartnerResponse, type LinkRequest, type LinkedPartner, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListPartnerClientsRequest, type ListPartnerClientsResponse, type ListPartnerClientsResponseNestedFields, type ListQuestionsRequest, type ListQuestionsResponse, type ListReadinessProfilesRequest, type ListReadinessProfilesResponse, 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 PartnerDashboard, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PartnerLinkService, type PartnerMatrices, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type Question, type QuestionAnswer, type QuestionAnswerType, type QuestionInput, type QuestionResponseNestedFields, type QuestionSet, type QuestionsResponseNestedFields, type ReadinessCheckFile, type ReadinessProfile, type ReadinessProfileInput, type ReadinessProfileResponseNestedFields, type ReadinessProfilesResponseNestedFields, type ReadinessRequirement, type ReadinessRequirementsResponseNestedFields, type ReadinessReviewNestedFields, type ReadinessReviewResponse, type ReadinessReviewResponseNestedFields, type ReadinessReviewStatus, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RefusalAnalysis, type RefusalFinding, type RegisterForm, type ReorderQuestionsRequest, type ReorderQuestionsResponse, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResetQuestionsRequest, type ResetQuestionsResponse, type ResponseContext, type ReviewedDocument, type SOPAnswer, type SOPReview, type SOPReviewService, type SaveHelpArticleRequest, type SaveRefusalAnalysisRequest, type School, SdkError, type SearchSchoolsRequest, type SearchSchoolsResponse, type SendOTPRequest, type SendOTPResponse, type ServiceCreditCost, type ServiceCreditCostCRUD, type ServiceCreditCostService, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type StartDraftRequest, type StartDraftResponse, type StartReadinessCheckRequest, type StartReadinessCheckResponse, type StartReadinessCheckResponseNestedFields, type Subscription, type SubscriptionPackage, type SubscriptionService, type SyncSchoolsResponse, type TransportOptions, type UnlinkPartnerResponse, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateQuestionRequest, type UpdateQuestionResponse, type UpdateReadinessProfileRequest, type UpdateReadinessProfileResponse, 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 UserCreditCRUD, type UserCreditService, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type ValidateCouponRedemptionRequest, type ValidateCouponRedemptionResponse, type ValidateCouponRequest, type ValidateCouponResponse, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStats, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileRelationship, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaProfileStudyProgram, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, completeReadinessCheckResponse, completeReadinessCheckResponseNestedFields, compose, contactUsResponseFields, couponDeleteIntegration, couponIntegration, couponListIntegration, couponRedemptionDeleteIntegration, couponRedemptionIntegration, couponRedemptionListIntegration, createAIServerService, createActivityLogService, createAdminAnalyticsService, createAppConfigService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCouponRedemptionService, createCouponService, createCreditPlanService, createCreditTransactionService, createCustomerObjectResponse, createFlutterwaveService, createHelpService, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSchoolService, createServiceCreditCostService, createSubscriptionService, createTransport, createUserCreditService, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, creditPlanDeleteIntegration, creditPlanIntegration, creditPlanListIntegration, creditTransactionDeleteIntegration, creditTransactionIntegration, creditTransactionListIntegration, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteQuestionResponse, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, failReadinessCheckResponse, failReadinessCheckResponseNestedFields, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemCountResponse, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getPartnerMatricesResponseFields, getPartnerMatricesResponseNestedFields, getReadinessProfileResponse, getReadinessProfileResponseNestedFields, getReadinessRequirementsResponse, getReadinessRequirementsResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserAverageReadinessScoreResponseFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaApplicationStatsResponseFields, getVisaApplicationStatsResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listPartnerClientsResponseFields, listPartnerClientsResponseNestedFields, listQuestionsResponse, listQuestionsResponseNestedFields, listReadinessProfilesResponse, listReadinessProfilesResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, reorderQuestionsResponse, reorderQuestionsResponseNestedFields, resetPasswordResponseFields, resetQuestionsResponse, resetQuestionsResponseNestedFields, sendOTPResponseFields, serviceCreditCostDeleteIntegration, serviceCreditCostIntegration, serviceCreditCostListIntegration, signUpResponseFields, startReadinessCheckResponse, startReadinessCheckResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateQuestionResponse, updateQuestionResponseNestedFields, updateReadinessProfileResponse, updateReadinessProfileResponseNestedFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, userCreditDeleteIntegration, userCreditIntegration, userCreditListIntegration, verifyOTPResponseFields };
|
package/dist/index.d.ts
CHANGED
|
@@ -2827,6 +2827,12 @@ declare const createAIServerService: (client: GraphQLClient) => {
|
|
|
2827
2827
|
id: string;
|
|
2828
2828
|
visaProfileId: string;
|
|
2829
2829
|
}, option?: RequestOption): Promise<RefusalAnalysis | undefined>;
|
|
2830
|
+
/** Deletes an SOP or LOE draft (its owner's, or one on a profile the caller can edit); returns its id. */
|
|
2831
|
+
deleteDraft(draftId: string, option?: RequestOption): Promise<string | undefined>;
|
|
2832
|
+
/** Deletes a refusal analysis (its owner's, or one on a profile the caller can edit); returns its id. */
|
|
2833
|
+
deleteRefusalAnalysis(id: string, option?: RequestOption): Promise<string | undefined>;
|
|
2834
|
+
/** Deletes a readiness check run without a visa profile, with its documents; returns its id. */
|
|
2835
|
+
deleteReadinessCheck(readinessProfileId: string, option?: RequestOption): Promise<string | undefined>;
|
|
2830
2836
|
/** Stores a file for the AI to read when there's no visa profile; returns its URL. */
|
|
2831
2837
|
uploadDraftFile(file: File | Blob): Promise<string | undefined>;
|
|
2832
2838
|
};
|
|
@@ -2881,25 +2887,64 @@ interface LinkedPartner {
|
|
|
2881
2887
|
code: string;
|
|
2882
2888
|
}
|
|
2883
2889
|
interface GetLinkedPartnerResponse {
|
|
2884
|
-
/** Absent when the client isn't linked. */
|
|
2890
|
+
/** Absent when the client isn't linked and has no request waiting. */
|
|
2885
2891
|
partner?: LinkedPartner | null;
|
|
2892
|
+
/** "linked", or "pending" while the partner hasn't answered the request. */
|
|
2893
|
+
status?: "linked" | "pending" | "";
|
|
2886
2894
|
}
|
|
2887
2895
|
interface LinkPartnerRequest {
|
|
2888
2896
|
referralCode: string;
|
|
2889
2897
|
}
|
|
2890
2898
|
interface LinkPartnerResponse {
|
|
2891
2899
|
partner: LinkedPartner;
|
|
2892
|
-
/**
|
|
2900
|
+
/** "pending": the request waits for the partner to accept it. */
|
|
2901
|
+
status: "pending";
|
|
2902
|
+
/** Visa profiles the partner can now see (0 until the request is accepted). */
|
|
2893
2903
|
profilesShared: number;
|
|
2894
2904
|
}
|
|
2895
2905
|
interface UnlinkPartnerResponse {
|
|
2896
2906
|
profilesUnshared: number;
|
|
2907
|
+
/** True when this withdrew a request the partner hadn't answered. */
|
|
2908
|
+
requestCancelled: boolean;
|
|
2897
2909
|
}
|
|
2898
|
-
/**
|
|
2910
|
+
/** A client's request to link, as the partner sees it. */
|
|
2911
|
+
interface LinkRequest {
|
|
2912
|
+
id: string;
|
|
2913
|
+
partnerId: string;
|
|
2914
|
+
partnerName: string;
|
|
2915
|
+
code: string;
|
|
2916
|
+
clientId: string;
|
|
2917
|
+
clientName: string;
|
|
2918
|
+
clientEmail: string;
|
|
2919
|
+
status: "pending" | "accepted" | "declined" | "cancelled";
|
|
2920
|
+
requestedAt: string;
|
|
2921
|
+
respondedAt?: string;
|
|
2922
|
+
}
|
|
2923
|
+
/** The partner dashboard's counts. */
|
|
2924
|
+
interface PartnerDashboard {
|
|
2925
|
+
clients: number;
|
|
2926
|
+
/** Client profiles whose latest readiness check scored 75% or more. */
|
|
2927
|
+
readyToSubmit: number;
|
|
2928
|
+
/** Client profiles whose latest readiness check found something critical. */
|
|
2929
|
+
flagged: number;
|
|
2930
|
+
pendingRequests: number;
|
|
2931
|
+
}
|
|
2932
|
+
/**
|
|
2933
|
+
* Clients ask to link to one partner at a time; the partner accepts or
|
|
2934
|
+
* declines, and the client's visa profiles are shared once accepted.
|
|
2935
|
+
*/
|
|
2899
2936
|
declare const createPartnerLinkService: (client: GraphQLClient) => {
|
|
2900
2937
|
getLinkedPartner(option?: RequestOption): Promise<GetLinkedPartnerResponse | undefined>;
|
|
2901
2938
|
linkPartner(input: LinkPartnerRequest, option?: RequestOption): Promise<LinkPartnerResponse | undefined>;
|
|
2902
2939
|
unlinkPartner(option?: RequestOption): Promise<UnlinkPartnerResponse | undefined>;
|
|
2940
|
+
/** Partners: clients waiting for an answer, oldest first. */
|
|
2941
|
+
listLinkRequests(option?: RequestOption): Promise<LinkRequest[]>;
|
|
2942
|
+
/** Partners: link the client and see their visa profiles. */
|
|
2943
|
+
acceptLinkRequest(id: string, option?: RequestOption): Promise<LinkRequest | undefined>;
|
|
2944
|
+
/** Partners: turn a client's request down. */
|
|
2945
|
+
declineLinkRequest(id: string, option?: RequestOption): Promise<LinkRequest | undefined>;
|
|
2946
|
+
/** Partners: clients, ready and flagged profiles, and waiting link requests. */
|
|
2947
|
+
partnerDashboard(option?: RequestOption): Promise<PartnerDashboard | undefined>;
|
|
2903
2948
|
};
|
|
2904
2949
|
type PartnerLinkService = ReturnType<typeof createPartnerLinkService>;
|
|
2905
2950
|
|
|
@@ -2967,4 +3012,4 @@ declare const createHelpService: (client: GraphQLClient) => {
|
|
|
2967
3012
|
deleteMyAccount(password: string, option?: RequestOption): Promise<boolean>;
|
|
2968
3013
|
};
|
|
2969
3014
|
|
|
2970
|
-
export { type AIServerAuth, type AIServerService, type AdminAnalytics, type AdminAnalyticsService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AnalyticsCount, type AnalyticsMonth, type AppConfig, type AppConfigService, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type CompleteReadinessCheckRequest, type CompleteReadinessCheckResponse, 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 Coupon, type CouponCRUD, type CouponRedemption, type CouponRedemptionCRUD, type CouponRedemptionService, type CouponService, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateQuestionRequest, type CreateQuestionResponse, type CreateReadinessProfileRequest, type CreateReadinessProfileResponse, 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 CreditPlan, type CreditPlanCRUD, type CreditPlanService, type CreditTransaction, type CreditTransactionCRUD, type CreditTransactionService, type CrossReferenceFinding, type CrossReferenceResult, type CrossReferenceSeverity, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteQuestionRequest, type DeleteQuestionResponse, 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 DocumentExtraction, type DocumentExtractionResult, type DocumentReview, type EducationalBackground, type FailReadinessCheckRequest, type FailReadinessCheckResponse, type FileInfo, type FinishDraftRequest, 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 GetAdminAnalyticsRequest, type GetAdminAnalyticsResponse, type GetChecklistItemCountRequest, type GetChecklistItemCountResponse, 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 GetLinkedPartnerResponse, type GetPartnerMatricesRequest, type GetPartnerMatricesResponse, type GetPartnerMatricesResponseNestedFields, type GetReadinessProfileRequest, type GetReadinessProfileResponse, type GetReadinessRequirementsRequest, type GetReadinessRequirementsResponse, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserAverageReadinessScoreRequest, type GetUserAverageReadinessScoreResponse, 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 GetVisaApplicationStatsRequest, type GetVisaApplicationStatsResponse, type GetVisaApplicationStatsResponseNestedFields, 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 HelpArticle, type HtmlString, type Job, type LinkPartnerRequest, type LinkPartnerResponse, type LinkedPartner, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListPartnerClientsRequest, type ListPartnerClientsResponse, type ListPartnerClientsResponseNestedFields, type ListQuestionsRequest, type ListQuestionsResponse, type ListReadinessProfilesRequest, type ListReadinessProfilesResponse, 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 PartnerLinkService, type PartnerMatrices, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type Question, type QuestionAnswer, type QuestionAnswerType, type QuestionInput, type QuestionResponseNestedFields, type QuestionSet, type QuestionsResponseNestedFields, type ReadinessCheckFile, type ReadinessProfile, type ReadinessProfileInput, type ReadinessProfileResponseNestedFields, type ReadinessProfilesResponseNestedFields, type ReadinessRequirement, type ReadinessRequirementsResponseNestedFields, type ReadinessReviewNestedFields, type ReadinessReviewResponse, type ReadinessReviewResponseNestedFields, type ReadinessReviewStatus, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RefusalAnalysis, type RefusalFinding, type RegisterForm, type ReorderQuestionsRequest, type ReorderQuestionsResponse, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResetQuestionsRequest, type ResetQuestionsResponse, type ResponseContext, type ReviewedDocument, type SOPAnswer, type SOPReview, type SOPReviewService, type SaveHelpArticleRequest, type SaveRefusalAnalysisRequest, type School, SdkError, type SearchSchoolsRequest, type SearchSchoolsResponse, type SendOTPRequest, type SendOTPResponse, type ServiceCreditCost, type ServiceCreditCostCRUD, type ServiceCreditCostService, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type StartDraftRequest, type StartDraftResponse, type StartReadinessCheckRequest, type StartReadinessCheckResponse, type StartReadinessCheckResponseNestedFields, type Subscription, type SubscriptionPackage, type SubscriptionService, type SyncSchoolsResponse, type TransportOptions, type UnlinkPartnerResponse, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateQuestionRequest, type UpdateQuestionResponse, type UpdateReadinessProfileRequest, type UpdateReadinessProfileResponse, 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 UserCreditCRUD, type UserCreditService, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type ValidateCouponRedemptionRequest, type ValidateCouponRedemptionResponse, type ValidateCouponRequest, type ValidateCouponResponse, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStats, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileRelationship, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaProfileStudyProgram, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, completeReadinessCheckResponse, completeReadinessCheckResponseNestedFields, compose, contactUsResponseFields, couponDeleteIntegration, couponIntegration, couponListIntegration, couponRedemptionDeleteIntegration, couponRedemptionIntegration, couponRedemptionListIntegration, createAIServerService, createActivityLogService, createAdminAnalyticsService, createAppConfigService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCouponRedemptionService, createCouponService, createCreditPlanService, createCreditTransactionService, createCustomerObjectResponse, createFlutterwaveService, createHelpService, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSchoolService, createServiceCreditCostService, createSubscriptionService, createTransport, createUserCreditService, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, creditPlanDeleteIntegration, creditPlanIntegration, creditPlanListIntegration, creditTransactionDeleteIntegration, creditTransactionIntegration, creditTransactionListIntegration, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteQuestionResponse, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, failReadinessCheckResponse, failReadinessCheckResponseNestedFields, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemCountResponse, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getPartnerMatricesResponseFields, getPartnerMatricesResponseNestedFields, getReadinessProfileResponse, getReadinessProfileResponseNestedFields, getReadinessRequirementsResponse, getReadinessRequirementsResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserAverageReadinessScoreResponseFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaApplicationStatsResponseFields, getVisaApplicationStatsResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listPartnerClientsResponseFields, listPartnerClientsResponseNestedFields, listQuestionsResponse, listQuestionsResponseNestedFields, listReadinessProfilesResponse, listReadinessProfilesResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, reorderQuestionsResponse, reorderQuestionsResponseNestedFields, resetPasswordResponseFields, resetQuestionsResponse, resetQuestionsResponseNestedFields, sendOTPResponseFields, serviceCreditCostDeleteIntegration, serviceCreditCostIntegration, serviceCreditCostListIntegration, signUpResponseFields, startReadinessCheckResponse, startReadinessCheckResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateQuestionResponse, updateQuestionResponseNestedFields, updateReadinessProfileResponse, updateReadinessProfileResponseNestedFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, userCreditDeleteIntegration, userCreditIntegration, userCreditListIntegration, verifyOTPResponseFields };
|
|
3015
|
+
export { type AIServerAuth, type AIServerService, type AdminAnalytics, type AdminAnalyticsService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AnalyticsCount, type AnalyticsMonth, type AppConfig, type AppConfigService, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type CompleteReadinessCheckRequest, type CompleteReadinessCheckResponse, 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 Coupon, type CouponCRUD, type CouponRedemption, type CouponRedemptionCRUD, type CouponRedemptionService, type CouponService, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateQuestionRequest, type CreateQuestionResponse, type CreateReadinessProfileRequest, type CreateReadinessProfileResponse, 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 CreditPlan, type CreditPlanCRUD, type CreditPlanService, type CreditTransaction, type CreditTransactionCRUD, type CreditTransactionService, type CrossReferenceFinding, type CrossReferenceResult, type CrossReferenceSeverity, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteQuestionRequest, type DeleteQuestionResponse, 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 DocumentExtraction, type DocumentExtractionResult, type DocumentReview, type EducationalBackground, type FailReadinessCheckRequest, type FailReadinessCheckResponse, type FileInfo, type FinishDraftRequest, 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 GetAdminAnalyticsRequest, type GetAdminAnalyticsResponse, type GetChecklistItemCountRequest, type GetChecklistItemCountResponse, 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 GetLinkedPartnerResponse, type GetPartnerMatricesRequest, type GetPartnerMatricesResponse, type GetPartnerMatricesResponseNestedFields, type GetReadinessProfileRequest, type GetReadinessProfileResponse, type GetReadinessRequirementsRequest, type GetReadinessRequirementsResponse, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserAverageReadinessScoreRequest, type GetUserAverageReadinessScoreResponse, 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 GetVisaApplicationStatsRequest, type GetVisaApplicationStatsResponse, type GetVisaApplicationStatsResponseNestedFields, 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 HelpArticle, type HtmlString, type Job, type LinkPartnerRequest, type LinkPartnerResponse, type LinkRequest, type LinkedPartner, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListPartnerClientsRequest, type ListPartnerClientsResponse, type ListPartnerClientsResponseNestedFields, type ListQuestionsRequest, type ListQuestionsResponse, type ListReadinessProfilesRequest, type ListReadinessProfilesResponse, 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 PartnerDashboard, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PartnerLinkService, type PartnerMatrices, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type Question, type QuestionAnswer, type QuestionAnswerType, type QuestionInput, type QuestionResponseNestedFields, type QuestionSet, type QuestionsResponseNestedFields, type ReadinessCheckFile, type ReadinessProfile, type ReadinessProfileInput, type ReadinessProfileResponseNestedFields, type ReadinessProfilesResponseNestedFields, type ReadinessRequirement, type ReadinessRequirementsResponseNestedFields, type ReadinessReviewNestedFields, type ReadinessReviewResponse, type ReadinessReviewResponseNestedFields, type ReadinessReviewStatus, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RefusalAnalysis, type RefusalFinding, type RegisterForm, type ReorderQuestionsRequest, type ReorderQuestionsResponse, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResetQuestionsRequest, type ResetQuestionsResponse, type ResponseContext, type ReviewedDocument, type SOPAnswer, type SOPReview, type SOPReviewService, type SaveHelpArticleRequest, type SaveRefusalAnalysisRequest, type School, SdkError, type SearchSchoolsRequest, type SearchSchoolsResponse, type SendOTPRequest, type SendOTPResponse, type ServiceCreditCost, type ServiceCreditCostCRUD, type ServiceCreditCostService, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type StartDraftRequest, type StartDraftResponse, type StartReadinessCheckRequest, type StartReadinessCheckResponse, type StartReadinessCheckResponseNestedFields, type Subscription, type SubscriptionPackage, type SubscriptionService, type SyncSchoolsResponse, type TransportOptions, type UnlinkPartnerResponse, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateQuestionRequest, type UpdateQuestionResponse, type UpdateReadinessProfileRequest, type UpdateReadinessProfileResponse, 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 UserCreditCRUD, type UserCreditService, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type ValidateCouponRedemptionRequest, type ValidateCouponRedemptionResponse, type ValidateCouponRequest, type ValidateCouponResponse, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStats, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileRelationship, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaProfileStudyProgram, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, completeReadinessCheckResponse, completeReadinessCheckResponseNestedFields, compose, contactUsResponseFields, couponDeleteIntegration, couponIntegration, couponListIntegration, couponRedemptionDeleteIntegration, couponRedemptionIntegration, couponRedemptionListIntegration, createAIServerService, createActivityLogService, createAdminAnalyticsService, createAppConfigService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCouponRedemptionService, createCouponService, createCreditPlanService, createCreditTransactionService, createCustomerObjectResponse, createFlutterwaveService, createHelpService, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSchoolService, createServiceCreditCostService, createSubscriptionService, createTransport, createUserCreditService, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, creditPlanDeleteIntegration, creditPlanIntegration, creditPlanListIntegration, creditTransactionDeleteIntegration, creditTransactionIntegration, creditTransactionListIntegration, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteQuestionResponse, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, failReadinessCheckResponse, failReadinessCheckResponseNestedFields, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemCountResponse, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getPartnerMatricesResponseFields, getPartnerMatricesResponseNestedFields, getReadinessProfileResponse, getReadinessProfileResponseNestedFields, getReadinessRequirementsResponse, getReadinessRequirementsResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserAverageReadinessScoreResponseFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaApplicationStatsResponseFields, getVisaApplicationStatsResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listPartnerClientsResponseFields, listPartnerClientsResponseNestedFields, listQuestionsResponse, listQuestionsResponseNestedFields, listReadinessProfilesResponse, listReadinessProfilesResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, reorderQuestionsResponse, reorderQuestionsResponseNestedFields, resetPasswordResponseFields, resetQuestionsResponse, resetQuestionsResponseNestedFields, sendOTPResponseFields, serviceCreditCostDeleteIntegration, serviceCreditCostIntegration, serviceCreditCostListIntegration, signUpResponseFields, startReadinessCheckResponse, startReadinessCheckResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateQuestionResponse, updateQuestionResponseNestedFields, updateReadinessProfileResponse, updateReadinessProfileResponseNestedFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, userCreditDeleteIntegration, userCreditIntegration, userCreditListIntegration, verifyOTPResponseFields };
|
package/dist/index.esm.js
CHANGED
|
@@ -4419,6 +4419,36 @@ var createAIServerService = (client) => {
|
|
|
4419
4419
|
);
|
|
4420
4420
|
return (_b = (_a = res.data) == null ? void 0 : _a.attachRefusalAnalysis) == null ? void 0 : _b.refusalAnalysis;
|
|
4421
4421
|
},
|
|
4422
|
+
/** Deletes an SOP or LOE draft (its owner's, or one on a profile the caller can edit); returns its id. */
|
|
4423
|
+
async deleteDraft(draftId, option) {
|
|
4424
|
+
var _a, _b;
|
|
4425
|
+
const res = await client.request(
|
|
4426
|
+
`mutation deleteDraft($draftId: String!) { deleteDraft(draftId: $draftId) { id } }`,
|
|
4427
|
+
{ draftId },
|
|
4428
|
+
option
|
|
4429
|
+
);
|
|
4430
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.deleteDraft) == null ? void 0 : _b.id;
|
|
4431
|
+
},
|
|
4432
|
+
/** Deletes a refusal analysis (its owner's, or one on a profile the caller can edit); returns its id. */
|
|
4433
|
+
async deleteRefusalAnalysis(id, option) {
|
|
4434
|
+
var _a, _b;
|
|
4435
|
+
const res = await client.request(
|
|
4436
|
+
`mutation deleteRefusalAnalysis($id: String!) { deleteRefusalAnalysis(id: $id) { id } }`,
|
|
4437
|
+
{ id },
|
|
4438
|
+
option
|
|
4439
|
+
);
|
|
4440
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.deleteRefusalAnalysis) == null ? void 0 : _b.id;
|
|
4441
|
+
},
|
|
4442
|
+
/** Deletes a readiness check run without a visa profile, with its documents; returns its id. */
|
|
4443
|
+
async deleteReadinessCheck(readinessProfileId, option) {
|
|
4444
|
+
var _a, _b;
|
|
4445
|
+
const res = await client.request(
|
|
4446
|
+
`mutation deleteReadinessCheck($readinessProfileId: String!) { deleteReadinessCheck(readinessProfileId: $readinessProfileId) { id } }`,
|
|
4447
|
+
{ readinessProfileId },
|
|
4448
|
+
option
|
|
4449
|
+
);
|
|
4450
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.deleteReadinessCheck) == null ? void 0 : _b.id;
|
|
4451
|
+
},
|
|
4422
4452
|
/** Stores a file for the AI to read when there's no visa profile; returns its URL. */
|
|
4423
4453
|
async uploadDraftFile(file) {
|
|
4424
4454
|
const formData = new FormData();
|
|
@@ -4459,17 +4489,18 @@ var createAdminAnalyticsService = (client) => ({
|
|
|
4459
4489
|
});
|
|
4460
4490
|
|
|
4461
4491
|
// src/services/partner-link/index.ts
|
|
4492
|
+
var LINK_REQUEST = "id partnerId partnerName code clientId clientName clientEmail status requestedAt respondedAt";
|
|
4462
4493
|
var PARTNER = "partner { id fullName code }";
|
|
4463
4494
|
var createPartnerLinkService = (client) => ({
|
|
4464
4495
|
async getLinkedPartner(option) {
|
|
4465
4496
|
var _a;
|
|
4466
|
-
const res = await client.request(`query getLinkedPartner { getLinkedPartner { ${PARTNER} } }`, {}, option);
|
|
4497
|
+
const res = await client.request(`query getLinkedPartner { getLinkedPartner { ${PARTNER} status } }`, {}, option);
|
|
4467
4498
|
return (_a = res.data) == null ? void 0 : _a.getLinkedPartner;
|
|
4468
4499
|
},
|
|
4469
4500
|
async linkPartner(input, option) {
|
|
4470
4501
|
var _a;
|
|
4471
4502
|
const res = await client.request(
|
|
4472
|
-
`mutation linkPartner($referralCode: String!) { linkPartner(referralCode: $referralCode) { ${PARTNER} profilesShared } }`,
|
|
4503
|
+
`mutation linkPartner($referralCode: String!) { linkPartner(referralCode: $referralCode) { ${PARTNER} status profilesShared } }`,
|
|
4473
4504
|
input,
|
|
4474
4505
|
option
|
|
4475
4506
|
);
|
|
@@ -4477,8 +4508,48 @@ var createPartnerLinkService = (client) => ({
|
|
|
4477
4508
|
},
|
|
4478
4509
|
async unlinkPartner(option) {
|
|
4479
4510
|
var _a;
|
|
4480
|
-
const res = await client.request(`mutation unlinkPartner { unlinkPartner { profilesUnshared } }`, {}, option);
|
|
4511
|
+
const res = await client.request(`mutation unlinkPartner { unlinkPartner { profilesUnshared requestCancelled } }`, {}, option);
|
|
4481
4512
|
return (_a = res.data) == null ? void 0 : _a.unlinkPartner;
|
|
4513
|
+
},
|
|
4514
|
+
/** Partners: clients waiting for an answer, oldest first. */
|
|
4515
|
+
async listLinkRequests(option) {
|
|
4516
|
+
var _a, _b, _c;
|
|
4517
|
+
const res = await client.request(
|
|
4518
|
+
`query listLinkRequests { listLinkRequests { linkRequests { ${LINK_REQUEST} } } }`,
|
|
4519
|
+
{},
|
|
4520
|
+
option
|
|
4521
|
+
);
|
|
4522
|
+
return (_c = (_b = (_a = res.data) == null ? void 0 : _a.listLinkRequests) == null ? void 0 : _b.linkRequests) != null ? _c : [];
|
|
4523
|
+
},
|
|
4524
|
+
/** Partners: link the client and see their visa profiles. */
|
|
4525
|
+
async acceptLinkRequest(id, option) {
|
|
4526
|
+
var _a, _b;
|
|
4527
|
+
const res = await client.request(
|
|
4528
|
+
`mutation acceptLinkRequest($id: String!) { acceptLinkRequest(id: $id) { linkRequest { ${LINK_REQUEST} } } }`,
|
|
4529
|
+
{ id },
|
|
4530
|
+
option
|
|
4531
|
+
);
|
|
4532
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.acceptLinkRequest) == null ? void 0 : _b.linkRequest;
|
|
4533
|
+
},
|
|
4534
|
+
/** Partners: turn a client's request down. */
|
|
4535
|
+
async declineLinkRequest(id, option) {
|
|
4536
|
+
var _a, _b;
|
|
4537
|
+
const res = await client.request(
|
|
4538
|
+
`mutation declineLinkRequest($id: String!) { declineLinkRequest(id: $id) { linkRequest { ${LINK_REQUEST} } } }`,
|
|
4539
|
+
{ id },
|
|
4540
|
+
option
|
|
4541
|
+
);
|
|
4542
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.declineLinkRequest) == null ? void 0 : _b.linkRequest;
|
|
4543
|
+
},
|
|
4544
|
+
/** Partners: clients, ready and flagged profiles, and waiting link requests. */
|
|
4545
|
+
async partnerDashboard(option) {
|
|
4546
|
+
var _a;
|
|
4547
|
+
const res = await client.request(
|
|
4548
|
+
`query partnerDashboard { partnerDashboard { clients readyToSubmit flagged pendingRequests } }`,
|
|
4549
|
+
{},
|
|
4550
|
+
option
|
|
4551
|
+
);
|
|
4552
|
+
return (_a = res.data) == null ? void 0 : _a.partnerDashboard;
|
|
4482
4553
|
}
|
|
4483
4554
|
});
|
|
4484
4555
|
|