@visa-check-r/integrations 0.0.112 → 0.0.114
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 +101 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +41 -2
- package/dist/index.d.ts +41 -2
- package/dist/index.esm.js +101 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -213,6 +213,9 @@ interface SOPReview {
|
|
|
213
213
|
isValidSOP: BooleanLiteral;
|
|
214
214
|
/** Which draft this is; a profile has one of each. */
|
|
215
215
|
documentType?: "sop" | "loe";
|
|
216
|
+
/** Whose draft this is while it isn't attached to a visa profile. */
|
|
217
|
+
ownerId?: string;
|
|
218
|
+
visaType?: VisaType;
|
|
216
219
|
}
|
|
217
220
|
type VisaType = "study" | "visit" | "work" | "extendVisa" | "relocate";
|
|
218
221
|
type VisaApplicationMetricKey = "total" | VisaApplicationStatus;
|
|
@@ -2726,7 +2729,8 @@ interface GetAIServerAuthRequest {
|
|
|
2726
2729
|
requestType: "readiness_score" | "readiness_score_v2" | "sop_review" | "sop_answer_review" | "loe_review" | "loe_answer_review" | "refusal_analysis";
|
|
2727
2730
|
}
|
|
2728
2731
|
interface StartDraftRequest {
|
|
2729
|
-
|
|
2732
|
+
/** Optional: a draft can be written with no profile and attached later. */
|
|
2733
|
+
visaProfileId?: string;
|
|
2730
2734
|
documentType: "sop" | "loe";
|
|
2731
2735
|
/** Improving an uploaded file, rather than drafting from answers. */
|
|
2732
2736
|
fromUpload?: boolean;
|
|
@@ -2748,6 +2752,15 @@ declare const createAIServerService: (client: GraphQLClient) => {
|
|
|
2748
2752
|
}, option?: RequestOption): Promise<GetAIServerAuthResponse | undefined>;
|
|
2749
2753
|
/** Charges for an SOP or LOE draft and returns the token to write it. */
|
|
2750
2754
|
startDraft(input: StartDraftRequest, option?: RequestOption): Promise<StartDraftResponse | undefined>;
|
|
2755
|
+
/** The caller's SOP and LOE drafts that aren't attached to a visa profile. */
|
|
2756
|
+
listMyDrafts(option?: RequestOption): Promise<SOPReview[]>;
|
|
2757
|
+
/** Moves a draft onto a visa profile, replacing that profile's draft of the same kind. */
|
|
2758
|
+
attachDraft(input: {
|
|
2759
|
+
draftId: string;
|
|
2760
|
+
visaProfileId: string;
|
|
2761
|
+
}, option?: RequestOption): Promise<SOPReview | undefined>;
|
|
2762
|
+
/** Stores a PDF to improve when the draft has no visa profile; returns its URL. */
|
|
2763
|
+
uploadDraftFile(file: File | Blob): Promise<string | undefined>;
|
|
2751
2764
|
};
|
|
2752
2765
|
type AIServerService = ReturnType<typeof createAIServerService>;
|
|
2753
2766
|
|
|
@@ -2822,4 +2835,30 @@ declare const createPartnerLinkService: (client: GraphQLClient) => {
|
|
|
2822
2835
|
};
|
|
2823
2836
|
type PartnerLinkService = ReturnType<typeof createPartnerLinkService>;
|
|
2824
2837
|
|
|
2825
|
-
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 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 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 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, SdkError, 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 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, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, 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 };
|
|
2838
|
+
interface HelpArticle {
|
|
2839
|
+
id: string;
|
|
2840
|
+
title: string;
|
|
2841
|
+
description: string;
|
|
2842
|
+
/** HTML. */
|
|
2843
|
+
content: string;
|
|
2844
|
+
}
|
|
2845
|
+
interface SaveHelpArticleRequest {
|
|
2846
|
+
/** Absent when creating. */
|
|
2847
|
+
articleId?: string;
|
|
2848
|
+
title: string;
|
|
2849
|
+
description?: string;
|
|
2850
|
+
content: string;
|
|
2851
|
+
}
|
|
2852
|
+
/** Help and support articles: anyone signed in reads them, admins write them. */
|
|
2853
|
+
declare const createHelpService: (client: GraphQLClient) => {
|
|
2854
|
+
listHelpArticles(option?: RequestOption): Promise<HelpArticle[]>;
|
|
2855
|
+
getHelpArticle(articleId: string, option?: RequestOption): Promise<HelpArticle | undefined>;
|
|
2856
|
+
saveHelpArticle(input: SaveHelpArticleRequest, option?: RequestOption): Promise<HelpArticle | undefined>;
|
|
2857
|
+
deleteHelpArticle(articleId: string, option?: RequestOption): Promise<string | undefined>;
|
|
2858
|
+
/** Ends every session of the signed-in user, including this one. */
|
|
2859
|
+
signOutEverywhere(option?: RequestOption): Promise<boolean>;
|
|
2860
|
+
/** Clients only: closes the signed-in account after checking its password. */
|
|
2861
|
+
deleteMyAccount(password: string, option?: RequestOption): Promise<boolean>;
|
|
2862
|
+
};
|
|
2863
|
+
|
|
2864
|
+
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 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 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, SdkError, 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 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, 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
|
@@ -213,6 +213,9 @@ interface SOPReview {
|
|
|
213
213
|
isValidSOP: BooleanLiteral;
|
|
214
214
|
/** Which draft this is; a profile has one of each. */
|
|
215
215
|
documentType?: "sop" | "loe";
|
|
216
|
+
/** Whose draft this is while it isn't attached to a visa profile. */
|
|
217
|
+
ownerId?: string;
|
|
218
|
+
visaType?: VisaType;
|
|
216
219
|
}
|
|
217
220
|
type VisaType = "study" | "visit" | "work" | "extendVisa" | "relocate";
|
|
218
221
|
type VisaApplicationMetricKey = "total" | VisaApplicationStatus;
|
|
@@ -2726,7 +2729,8 @@ interface GetAIServerAuthRequest {
|
|
|
2726
2729
|
requestType: "readiness_score" | "readiness_score_v2" | "sop_review" | "sop_answer_review" | "loe_review" | "loe_answer_review" | "refusal_analysis";
|
|
2727
2730
|
}
|
|
2728
2731
|
interface StartDraftRequest {
|
|
2729
|
-
|
|
2732
|
+
/** Optional: a draft can be written with no profile and attached later. */
|
|
2733
|
+
visaProfileId?: string;
|
|
2730
2734
|
documentType: "sop" | "loe";
|
|
2731
2735
|
/** Improving an uploaded file, rather than drafting from answers. */
|
|
2732
2736
|
fromUpload?: boolean;
|
|
@@ -2748,6 +2752,15 @@ declare const createAIServerService: (client: GraphQLClient) => {
|
|
|
2748
2752
|
}, option?: RequestOption): Promise<GetAIServerAuthResponse | undefined>;
|
|
2749
2753
|
/** Charges for an SOP or LOE draft and returns the token to write it. */
|
|
2750
2754
|
startDraft(input: StartDraftRequest, option?: RequestOption): Promise<StartDraftResponse | undefined>;
|
|
2755
|
+
/** The caller's SOP and LOE drafts that aren't attached to a visa profile. */
|
|
2756
|
+
listMyDrafts(option?: RequestOption): Promise<SOPReview[]>;
|
|
2757
|
+
/** Moves a draft onto a visa profile, replacing that profile's draft of the same kind. */
|
|
2758
|
+
attachDraft(input: {
|
|
2759
|
+
draftId: string;
|
|
2760
|
+
visaProfileId: string;
|
|
2761
|
+
}, option?: RequestOption): Promise<SOPReview | undefined>;
|
|
2762
|
+
/** Stores a PDF to improve when the draft has no visa profile; returns its URL. */
|
|
2763
|
+
uploadDraftFile(file: File | Blob): Promise<string | undefined>;
|
|
2751
2764
|
};
|
|
2752
2765
|
type AIServerService = ReturnType<typeof createAIServerService>;
|
|
2753
2766
|
|
|
@@ -2822,4 +2835,30 @@ declare const createPartnerLinkService: (client: GraphQLClient) => {
|
|
|
2822
2835
|
};
|
|
2823
2836
|
type PartnerLinkService = ReturnType<typeof createPartnerLinkService>;
|
|
2824
2837
|
|
|
2825
|
-
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 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 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 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, SdkError, 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 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, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, 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 };
|
|
2838
|
+
interface HelpArticle {
|
|
2839
|
+
id: string;
|
|
2840
|
+
title: string;
|
|
2841
|
+
description: string;
|
|
2842
|
+
/** HTML. */
|
|
2843
|
+
content: string;
|
|
2844
|
+
}
|
|
2845
|
+
interface SaveHelpArticleRequest {
|
|
2846
|
+
/** Absent when creating. */
|
|
2847
|
+
articleId?: string;
|
|
2848
|
+
title: string;
|
|
2849
|
+
description?: string;
|
|
2850
|
+
content: string;
|
|
2851
|
+
}
|
|
2852
|
+
/** Help and support articles: anyone signed in reads them, admins write them. */
|
|
2853
|
+
declare const createHelpService: (client: GraphQLClient) => {
|
|
2854
|
+
listHelpArticles(option?: RequestOption): Promise<HelpArticle[]>;
|
|
2855
|
+
getHelpArticle(articleId: string, option?: RequestOption): Promise<HelpArticle | undefined>;
|
|
2856
|
+
saveHelpArticle(input: SaveHelpArticleRequest, option?: RequestOption): Promise<HelpArticle | undefined>;
|
|
2857
|
+
deleteHelpArticle(articleId: string, option?: RequestOption): Promise<string | undefined>;
|
|
2858
|
+
/** Ends every session of the signed-in user, including this one. */
|
|
2859
|
+
signOutEverywhere(option?: RequestOption): Promise<boolean>;
|
|
2860
|
+
/** Clients only: closes the signed-in account after checking its password. */
|
|
2861
|
+
deleteMyAccount(password: string, option?: RequestOption): Promise<boolean>;
|
|
2862
|
+
};
|
|
2863
|
+
|
|
2864
|
+
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 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 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, SdkError, 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 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, 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
|
@@ -2242,7 +2242,8 @@ var sopReviewQuery = [
|
|
|
2242
2242
|
"visaProfileChecklistItemId",
|
|
2243
2243
|
"visaProfileId",
|
|
2244
2244
|
"isValidSOP",
|
|
2245
|
-
"documentType"
|
|
2245
|
+
"documentType",
|
|
2246
|
+
"visaType"
|
|
2246
2247
|
];
|
|
2247
2248
|
var documentReviewQuery = [
|
|
2248
2249
|
"title",
|
|
@@ -4317,7 +4318,7 @@ var createAIServerService = (client) => {
|
|
|
4317
4318
|
async startDraft(input, option) {
|
|
4318
4319
|
var _a;
|
|
4319
4320
|
const res = await client.request(
|
|
4320
|
-
`mutation startDraft($visaProfileId: String
|
|
4321
|
+
`mutation startDraft($visaProfileId: String, $documentType: String!, $fromUpload: Boolean) {
|
|
4321
4322
|
startDraft(visaProfileId: $visaProfileId, documentType: $documentType, fromUpload: $fromUpload) {
|
|
4322
4323
|
aiServerAuth { url accessToken }
|
|
4323
4324
|
}
|
|
@@ -4326,6 +4327,40 @@ var createAIServerService = (client) => {
|
|
|
4326
4327
|
option
|
|
4327
4328
|
);
|
|
4328
4329
|
return (_a = res.data) == null ? void 0 : _a.startDraft;
|
|
4330
|
+
},
|
|
4331
|
+
/** The caller's SOP and LOE drafts that aren't attached to a visa profile. */
|
|
4332
|
+
async listMyDrafts(option) {
|
|
4333
|
+
var _a, _b, _c;
|
|
4334
|
+
const res = await client.request(
|
|
4335
|
+
`query listMyDrafts { listMyDrafts { drafts { id documentType visaType generatedSop createdAt } } }`,
|
|
4336
|
+
{},
|
|
4337
|
+
option
|
|
4338
|
+
);
|
|
4339
|
+
return (_c = (_b = (_a = res.data) == null ? void 0 : _a.listMyDrafts) == null ? void 0 : _b.drafts) != null ? _c : [];
|
|
4340
|
+
},
|
|
4341
|
+
/** Moves a draft onto a visa profile, replacing that profile's draft of the same kind. */
|
|
4342
|
+
async attachDraft(input, option) {
|
|
4343
|
+
var _a, _b;
|
|
4344
|
+
const res = await client.request(
|
|
4345
|
+
`mutation attachDraft($draftId: String!, $visaProfileId: String!) { attachDraft(draftId: $draftId, visaProfileId: $visaProfileId) { draft { id visaProfileId documentType } } }`,
|
|
4346
|
+
input,
|
|
4347
|
+
option
|
|
4348
|
+
);
|
|
4349
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.attachDraft) == null ? void 0 : _b.draft;
|
|
4350
|
+
},
|
|
4351
|
+
/** Stores a PDF to improve when the draft has no visa profile; returns its URL. */
|
|
4352
|
+
async uploadDraftFile(file) {
|
|
4353
|
+
const formData = new FormData();
|
|
4354
|
+
formData.append("file", file);
|
|
4355
|
+
const token = await client.token();
|
|
4356
|
+
const res = await fetch(client["url"].replace("/graphql", "") + "/api/upload/draft", {
|
|
4357
|
+
method: "POST",
|
|
4358
|
+
headers: token ? { Authorization: `Bearer ${token}` } : {},
|
|
4359
|
+
body: formData
|
|
4360
|
+
});
|
|
4361
|
+
const text = await res.text();
|
|
4362
|
+
if (!res.ok) throw new Error(text || "File upload failed");
|
|
4363
|
+
return JSON.parse(text).url;
|
|
4329
4364
|
}
|
|
4330
4365
|
};
|
|
4331
4366
|
};
|
|
@@ -4376,6 +4411,69 @@ var createPartnerLinkService = (client) => ({
|
|
|
4376
4411
|
}
|
|
4377
4412
|
});
|
|
4378
4413
|
|
|
4379
|
-
|
|
4414
|
+
// src/services/help/index.ts
|
|
4415
|
+
var ARTICLE = "id title description content";
|
|
4416
|
+
var createHelpService = (client) => ({
|
|
4417
|
+
async listHelpArticles(option) {
|
|
4418
|
+
var _a, _b, _c;
|
|
4419
|
+
const res = await client.request(
|
|
4420
|
+
`query listHelpArticles { listHelpArticles { articles { ${ARTICLE} } } }`,
|
|
4421
|
+
{},
|
|
4422
|
+
option
|
|
4423
|
+
);
|
|
4424
|
+
return (_c = (_b = (_a = res.data) == null ? void 0 : _a.listHelpArticles) == null ? void 0 : _b.articles) != null ? _c : [];
|
|
4425
|
+
},
|
|
4426
|
+
async getHelpArticle(articleId, option) {
|
|
4427
|
+
var _a, _b;
|
|
4428
|
+
const res = await client.request(
|
|
4429
|
+
`query getHelpArticle($articleId: String!) { getHelpArticle(articleId: $articleId) { article { ${ARTICLE} } } }`,
|
|
4430
|
+
{ articleId },
|
|
4431
|
+
option
|
|
4432
|
+
);
|
|
4433
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.getHelpArticle) == null ? void 0 : _b.article;
|
|
4434
|
+
},
|
|
4435
|
+
async saveHelpArticle(input, option) {
|
|
4436
|
+
var _a, _b;
|
|
4437
|
+
const res = await client.request(
|
|
4438
|
+
`mutation saveHelpArticle($articleId: String, $title: String!, $description: String, $content: String!) {
|
|
4439
|
+
saveHelpArticle(articleId: $articleId, title: $title, description: $description, content: $content) { article { ${ARTICLE} } }
|
|
4440
|
+
}`,
|
|
4441
|
+
input,
|
|
4442
|
+
option
|
|
4443
|
+
);
|
|
4444
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.saveHelpArticle) == null ? void 0 : _b.article;
|
|
4445
|
+
},
|
|
4446
|
+
async deleteHelpArticle(articleId, option) {
|
|
4447
|
+
var _a, _b;
|
|
4448
|
+
const res = await client.request(
|
|
4449
|
+
`mutation deleteHelpArticle($articleId: String!) { deleteHelpArticle(articleId: $articleId) { articleId } }`,
|
|
4450
|
+
{ articleId },
|
|
4451
|
+
option
|
|
4452
|
+
);
|
|
4453
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.deleteHelpArticle) == null ? void 0 : _b.articleId;
|
|
4454
|
+
},
|
|
4455
|
+
/** Ends every session of the signed-in user, including this one. */
|
|
4456
|
+
async signOutEverywhere(option) {
|
|
4457
|
+
var _a, _b;
|
|
4458
|
+
const res = await client.request(
|
|
4459
|
+
`mutation signOutEverywhere { signOutEverywhere { signedOut } }`,
|
|
4460
|
+
{},
|
|
4461
|
+
option
|
|
4462
|
+
);
|
|
4463
|
+
return Boolean((_b = (_a = res.data) == null ? void 0 : _a.signOutEverywhere) == null ? void 0 : _b.signedOut);
|
|
4464
|
+
},
|
|
4465
|
+
/** Clients only: closes the signed-in account after checking its password. */
|
|
4466
|
+
async deleteMyAccount(password, option) {
|
|
4467
|
+
var _a, _b;
|
|
4468
|
+
const res = await client.request(
|
|
4469
|
+
`mutation deleteMyAccount($password: String!) { deleteMyAccount(password: $password) { deleted } }`,
|
|
4470
|
+
{ password },
|
|
4471
|
+
option
|
|
4472
|
+
);
|
|
4473
|
+
return Boolean((_b = (_a = res.data) == null ? void 0 : _a.deleteMyAccount) == null ? void 0 : _b.deleted);
|
|
4474
|
+
}
|
|
4475
|
+
});
|
|
4476
|
+
|
|
4477
|
+
export { AuthenticationError, GraphQLClient, NetworkError, SdkError, _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, 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 };
|
|
4380
4478
|
//# sourceMappingURL=index.esm.js.map
|
|
4381
4479
|
//# sourceMappingURL=index.esm.js.map
|