@visa-check-r/integrations 0.0.123 → 0.0.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +44 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +43 -4
- package/dist/index.d.ts +43 -4
- package/dist/index.esm.js +44 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2887,25 +2887,64 @@ interface LinkedPartner {
|
|
|
2887
2887
|
code: string;
|
|
2888
2888
|
}
|
|
2889
2889
|
interface GetLinkedPartnerResponse {
|
|
2890
|
-
/** Absent when the client isn't linked. */
|
|
2890
|
+
/** Absent when the client isn't linked and has no request waiting. */
|
|
2891
2891
|
partner?: LinkedPartner | null;
|
|
2892
|
+
/** "linked", or "pending" while the partner hasn't answered the request. */
|
|
2893
|
+
status?: "linked" | "pending" | "";
|
|
2892
2894
|
}
|
|
2893
2895
|
interface LinkPartnerRequest {
|
|
2894
2896
|
referralCode: string;
|
|
2895
2897
|
}
|
|
2896
2898
|
interface LinkPartnerResponse {
|
|
2897
2899
|
partner: LinkedPartner;
|
|
2898
|
-
/**
|
|
2900
|
+
/** "pending": the request waits for the partner to accept it. */
|
|
2901
|
+
status: "pending";
|
|
2902
|
+
/** Visa profiles the partner can now see (0 until the request is accepted). */
|
|
2899
2903
|
profilesShared: number;
|
|
2900
2904
|
}
|
|
2901
2905
|
interface UnlinkPartnerResponse {
|
|
2902
2906
|
profilesUnshared: number;
|
|
2907
|
+
/** True when this withdrew a request the partner hadn't answered. */
|
|
2908
|
+
requestCancelled: boolean;
|
|
2903
2909
|
}
|
|
2904
|
-
/**
|
|
2910
|
+
/** A client's request to link, as the partner sees it. */
|
|
2911
|
+
interface LinkRequest {
|
|
2912
|
+
id: string;
|
|
2913
|
+
partnerId: string;
|
|
2914
|
+
partnerName: string;
|
|
2915
|
+
code: string;
|
|
2916
|
+
clientId: string;
|
|
2917
|
+
clientName: string;
|
|
2918
|
+
clientEmail: string;
|
|
2919
|
+
status: "pending" | "accepted" | "declined" | "cancelled";
|
|
2920
|
+
requestedAt: string;
|
|
2921
|
+
respondedAt?: string;
|
|
2922
|
+
}
|
|
2923
|
+
/** The partner dashboard's counts. */
|
|
2924
|
+
interface PartnerDashboard {
|
|
2925
|
+
clients: number;
|
|
2926
|
+
/** Client profiles whose latest readiness check scored 75% or more. */
|
|
2927
|
+
readyToSubmit: number;
|
|
2928
|
+
/** Client profiles whose latest readiness check found something critical. */
|
|
2929
|
+
flagged: number;
|
|
2930
|
+
pendingRequests: number;
|
|
2931
|
+
}
|
|
2932
|
+
/**
|
|
2933
|
+
* Clients ask to link to one partner at a time; the partner accepts or
|
|
2934
|
+
* declines, and the client's visa profiles are shared once accepted.
|
|
2935
|
+
*/
|
|
2905
2936
|
declare const createPartnerLinkService: (client: GraphQLClient) => {
|
|
2906
2937
|
getLinkedPartner(option?: RequestOption): Promise<GetLinkedPartnerResponse | undefined>;
|
|
2907
2938
|
linkPartner(input: LinkPartnerRequest, option?: RequestOption): Promise<LinkPartnerResponse | undefined>;
|
|
2908
2939
|
unlinkPartner(option?: RequestOption): Promise<UnlinkPartnerResponse | undefined>;
|
|
2940
|
+
/** Partners: clients waiting for an answer, oldest first. */
|
|
2941
|
+
listLinkRequests(option?: RequestOption): Promise<LinkRequest[]>;
|
|
2942
|
+
/** Partners: link the client and see their visa profiles. */
|
|
2943
|
+
acceptLinkRequest(id: string, option?: RequestOption): Promise<LinkRequest | undefined>;
|
|
2944
|
+
/** Partners: turn a client's request down. */
|
|
2945
|
+
declineLinkRequest(id: string, option?: RequestOption): Promise<LinkRequest | undefined>;
|
|
2946
|
+
/** Partners: clients, ready and flagged profiles, and waiting link requests. */
|
|
2947
|
+
partnerDashboard(option?: RequestOption): Promise<PartnerDashboard | undefined>;
|
|
2909
2948
|
};
|
|
2910
2949
|
type PartnerLinkService = ReturnType<typeof createPartnerLinkService>;
|
|
2911
2950
|
|
|
@@ -2973,4 +3012,4 @@ declare const createHelpService: (client: GraphQLClient) => {
|
|
|
2973
3012
|
deleteMyAccount(password: string, option?: RequestOption): Promise<boolean>;
|
|
2974
3013
|
};
|
|
2975
3014
|
|
|
2976
|
-
export { type AIServerAuth, type AIServerService, type AdminAnalytics, type AdminAnalyticsService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AnalyticsCount, type AnalyticsMonth, type AppConfig, type AppConfigService, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type CompleteReadinessCheckRequest, type CompleteReadinessCheckResponse, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantClientStats, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type ContactMessage, type ContactUsRequest, type ContactUsResponse, type Coupon, type CouponCRUD, type CouponRedemption, type CouponRedemptionCRUD, type CouponRedemptionService, type CouponService, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateQuestionRequest, type CreateQuestionResponse, type CreateReadinessProfileRequest, type CreateReadinessProfileResponse, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateSOPReviewRequest, type CreateSOPReviewResponse, type CreateSOPReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type CreditPlan, type CreditPlanCRUD, type CreditPlanService, type CreditTransaction, type CreditTransactionCRUD, type CreditTransactionService, type CrossReferenceFinding, type CrossReferenceResult, type CrossReferenceSeverity, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteQuestionRequest, type DeleteQuestionResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentExtraction, type DocumentExtractionResult, type DocumentReview, type EducationalBackground, type FailReadinessCheckRequest, type FailReadinessCheckResponse, type FileInfo, type FinishDraftRequest, type FlutterApiResponse, type FlutterCustomerAddress, type FlutterCustomerName, type FlutterCustomerPhone, type FlutterwaveCustomer, type FlutterwaveService, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetAIServerAuthRequest, type GetAIServerAuthResponse, type GetAIServerAuthResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetAdminAnalyticsRequest, type GetAdminAnalyticsResponse, type GetChecklistItemCountRequest, type GetChecklistItemCountResponse, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetConsultantClientStatsRequest, type GetConsultantClientStatsResponse, type GetConsultantClientStatsResponseNestedFields, type GetFlutterAccessTokenRequest, type GetFlutterAccessTokenResponse, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetLinkedPartnerResponse, type GetPartnerMatricesRequest, type GetPartnerMatricesResponse, type GetPartnerMatricesResponseNestedFields, type GetReadinessProfileRequest, type GetReadinessProfileResponse, type GetReadinessRequirementsRequest, type GetReadinessRequirementsResponse, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserAverageReadinessScoreRequest, type GetUserAverageReadinessScoreResponse, type GetUserCountResponse, type GetUserCountResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetUserTypeStatusCountRequest, type GetUserTypeStatusCountResponse, type GetUserTypeStatusCountResponseNestedFields, type GetVisaApplicationCountRequest, type GetVisaApplicationCountResponse, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaApplicationStatsRequest, type GetVisaApplicationStatsResponse, type GetVisaApplicationStatsResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileCountByFilterRequest, type GetVisaProfileCountByFilterResponse, type GetVisaProfileCountRequest, type GetVisaProfileCountResponse, type GetVisaProfileCountResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HelpArticle, type HtmlString, type Job, type LinkPartnerRequest, type LinkPartnerResponse, type LinkedPartner, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListPartnerClientsRequest, type ListPartnerClientsResponse, type ListPartnerClientsResponseNestedFields, type ListQuestionsRequest, type ListQuestionsResponse, type ListReadinessProfilesRequest, type ListReadinessProfilesResponse, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PartnerLinkService, type PartnerMatrices, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type Question, type QuestionAnswer, type QuestionAnswerType, type QuestionInput, type QuestionResponseNestedFields, type QuestionSet, type QuestionsResponseNestedFields, type ReadinessCheckFile, type ReadinessProfile, type ReadinessProfileInput, type ReadinessProfileResponseNestedFields, type ReadinessProfilesResponseNestedFields, type ReadinessRequirement, type ReadinessRequirementsResponseNestedFields, type ReadinessReviewNestedFields, type ReadinessReviewResponse, type ReadinessReviewResponseNestedFields, type ReadinessReviewStatus, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RefusalAnalysis, type RefusalFinding, type RegisterForm, type ReorderQuestionsRequest, type ReorderQuestionsResponse, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResetQuestionsRequest, type ResetQuestionsResponse, type ResponseContext, type ReviewedDocument, type SOPAnswer, type SOPReview, type SOPReviewService, type SaveHelpArticleRequest, type SaveRefusalAnalysisRequest, type School, SdkError, type SearchSchoolsRequest, type SearchSchoolsResponse, type SendOTPRequest, type SendOTPResponse, type ServiceCreditCost, type ServiceCreditCostCRUD, type ServiceCreditCostService, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type StartDraftRequest, type StartDraftResponse, type StartReadinessCheckRequest, type StartReadinessCheckResponse, type StartReadinessCheckResponseNestedFields, type Subscription, type SubscriptionPackage, type SubscriptionService, type SyncSchoolsResponse, type TransportOptions, type UnlinkPartnerResponse, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateQuestionRequest, type UpdateQuestionResponse, type UpdateReadinessProfileRequest, type UpdateReadinessProfileResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateSOPReviewRequest, type UpdateSOPReviewResponse, type UpdateSOPReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserCount, type UserCredit, type UserCreditCRUD, type UserCreditService, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type ValidateCouponRedemptionRequest, type ValidateCouponRedemptionResponse, type ValidateCouponRequest, type ValidateCouponResponse, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStats, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileRelationship, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaProfileStudyProgram, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, completeReadinessCheckResponse, completeReadinessCheckResponseNestedFields, compose, contactUsResponseFields, couponDeleteIntegration, couponIntegration, couponListIntegration, couponRedemptionDeleteIntegration, couponRedemptionIntegration, couponRedemptionListIntegration, createAIServerService, createActivityLogService, createAdminAnalyticsService, createAppConfigService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCouponRedemptionService, createCouponService, createCreditPlanService, createCreditTransactionService, createCustomerObjectResponse, createFlutterwaveService, createHelpService, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSchoolService, createServiceCreditCostService, createSubscriptionService, createTransport, createUserCreditService, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, creditPlanDeleteIntegration, creditPlanIntegration, creditPlanListIntegration, creditTransactionDeleteIntegration, creditTransactionIntegration, creditTransactionListIntegration, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteQuestionResponse, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, failReadinessCheckResponse, failReadinessCheckResponseNestedFields, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemCountResponse, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getPartnerMatricesResponseFields, getPartnerMatricesResponseNestedFields, getReadinessProfileResponse, getReadinessProfileResponseNestedFields, getReadinessRequirementsResponse, getReadinessRequirementsResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserAverageReadinessScoreResponseFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaApplicationStatsResponseFields, getVisaApplicationStatsResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listPartnerClientsResponseFields, listPartnerClientsResponseNestedFields, listQuestionsResponse, listQuestionsResponseNestedFields, listReadinessProfilesResponse, listReadinessProfilesResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, reorderQuestionsResponse, reorderQuestionsResponseNestedFields, resetPasswordResponseFields, resetQuestionsResponse, resetQuestionsResponseNestedFields, sendOTPResponseFields, serviceCreditCostDeleteIntegration, serviceCreditCostIntegration, serviceCreditCostListIntegration, signUpResponseFields, startReadinessCheckResponse, startReadinessCheckResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateQuestionResponse, updateQuestionResponseNestedFields, updateReadinessProfileResponse, updateReadinessProfileResponseNestedFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, userCreditDeleteIntegration, userCreditIntegration, userCreditListIntegration, verifyOTPResponseFields };
|
|
3015
|
+
export { type AIServerAuth, type AIServerService, type AdminAnalytics, type AdminAnalyticsService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AnalyticsCount, type AnalyticsMonth, type AppConfig, type AppConfigService, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type CompleteReadinessCheckRequest, type CompleteReadinessCheckResponse, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantClientStats, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type ContactMessage, type ContactUsRequest, type ContactUsResponse, type Coupon, type CouponCRUD, type CouponRedemption, type CouponRedemptionCRUD, type CouponRedemptionService, type CouponService, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateQuestionRequest, type CreateQuestionResponse, type CreateReadinessProfileRequest, type CreateReadinessProfileResponse, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateSOPReviewRequest, type CreateSOPReviewResponse, type CreateSOPReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type CreditPlan, type CreditPlanCRUD, type CreditPlanService, type CreditTransaction, type CreditTransactionCRUD, type CreditTransactionService, type CrossReferenceFinding, type CrossReferenceResult, type CrossReferenceSeverity, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteQuestionRequest, type DeleteQuestionResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentExtraction, type DocumentExtractionResult, type DocumentReview, type EducationalBackground, type FailReadinessCheckRequest, type FailReadinessCheckResponse, type FileInfo, type FinishDraftRequest, type FlutterApiResponse, type FlutterCustomerAddress, type FlutterCustomerName, type FlutterCustomerPhone, type FlutterwaveCustomer, type FlutterwaveService, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetAIServerAuthRequest, type GetAIServerAuthResponse, type GetAIServerAuthResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetAdminAnalyticsRequest, type GetAdminAnalyticsResponse, type GetChecklistItemCountRequest, type GetChecklistItemCountResponse, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetConsultantClientStatsRequest, type GetConsultantClientStatsResponse, type GetConsultantClientStatsResponseNestedFields, type GetFlutterAccessTokenRequest, type GetFlutterAccessTokenResponse, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetLinkedPartnerResponse, type GetPartnerMatricesRequest, type GetPartnerMatricesResponse, type GetPartnerMatricesResponseNestedFields, type GetReadinessProfileRequest, type GetReadinessProfileResponse, type GetReadinessRequirementsRequest, type GetReadinessRequirementsResponse, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserAverageReadinessScoreRequest, type GetUserAverageReadinessScoreResponse, type GetUserCountResponse, type GetUserCountResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetUserTypeStatusCountRequest, type GetUserTypeStatusCountResponse, type GetUserTypeStatusCountResponseNestedFields, type GetVisaApplicationCountRequest, type GetVisaApplicationCountResponse, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaApplicationStatsRequest, type GetVisaApplicationStatsResponse, type GetVisaApplicationStatsResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileCountByFilterRequest, type GetVisaProfileCountByFilterResponse, type GetVisaProfileCountRequest, type GetVisaProfileCountResponse, type GetVisaProfileCountResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HelpArticle, type HtmlString, type Job, type LinkPartnerRequest, type LinkPartnerResponse, type LinkRequest, type LinkedPartner, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListPartnerClientsRequest, type ListPartnerClientsResponse, type ListPartnerClientsResponseNestedFields, type ListQuestionsRequest, type ListQuestionsResponse, type ListReadinessProfilesRequest, type ListReadinessProfilesResponse, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboard, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PartnerLinkService, type PartnerMatrices, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type Question, type QuestionAnswer, type QuestionAnswerType, type QuestionInput, type QuestionResponseNestedFields, type QuestionSet, type QuestionsResponseNestedFields, type ReadinessCheckFile, type ReadinessProfile, type ReadinessProfileInput, type ReadinessProfileResponseNestedFields, type ReadinessProfilesResponseNestedFields, type ReadinessRequirement, type ReadinessRequirementsResponseNestedFields, type ReadinessReviewNestedFields, type ReadinessReviewResponse, type ReadinessReviewResponseNestedFields, type ReadinessReviewStatus, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RefusalAnalysis, type RefusalFinding, type RegisterForm, type ReorderQuestionsRequest, type ReorderQuestionsResponse, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResetQuestionsRequest, type ResetQuestionsResponse, type ResponseContext, type ReviewedDocument, type SOPAnswer, type SOPReview, type SOPReviewService, type SaveHelpArticleRequest, type SaveRefusalAnalysisRequest, type School, SdkError, type SearchSchoolsRequest, type SearchSchoolsResponse, type SendOTPRequest, type SendOTPResponse, type ServiceCreditCost, type ServiceCreditCostCRUD, type ServiceCreditCostService, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type StartDraftRequest, type StartDraftResponse, type StartReadinessCheckRequest, type StartReadinessCheckResponse, type StartReadinessCheckResponseNestedFields, type Subscription, type SubscriptionPackage, type SubscriptionService, type SyncSchoolsResponse, type TransportOptions, type UnlinkPartnerResponse, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateQuestionRequest, type UpdateQuestionResponse, type UpdateReadinessProfileRequest, type UpdateReadinessProfileResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateSOPReviewRequest, type UpdateSOPReviewResponse, type UpdateSOPReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserCount, type UserCredit, type UserCreditCRUD, type UserCreditService, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type ValidateCouponRedemptionRequest, type ValidateCouponRedemptionResponse, type ValidateCouponRequest, type ValidateCouponResponse, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStats, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileRelationship, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaProfileStudyProgram, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, completeReadinessCheckResponse, completeReadinessCheckResponseNestedFields, compose, contactUsResponseFields, couponDeleteIntegration, couponIntegration, couponListIntegration, couponRedemptionDeleteIntegration, couponRedemptionIntegration, couponRedemptionListIntegration, createAIServerService, createActivityLogService, createAdminAnalyticsService, createAppConfigService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCouponRedemptionService, createCouponService, createCreditPlanService, createCreditTransactionService, createCustomerObjectResponse, createFlutterwaveService, createHelpService, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSchoolService, createServiceCreditCostService, createSubscriptionService, createTransport, createUserCreditService, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, creditPlanDeleteIntegration, creditPlanIntegration, creditPlanListIntegration, creditTransactionDeleteIntegration, creditTransactionIntegration, creditTransactionListIntegration, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteQuestionResponse, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, failReadinessCheckResponse, failReadinessCheckResponseNestedFields, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemCountResponse, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getPartnerMatricesResponseFields, getPartnerMatricesResponseNestedFields, getReadinessProfileResponse, getReadinessProfileResponseNestedFields, getReadinessRequirementsResponse, getReadinessRequirementsResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserAverageReadinessScoreResponseFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaApplicationStatsResponseFields, getVisaApplicationStatsResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listPartnerClientsResponseFields, listPartnerClientsResponseNestedFields, listQuestionsResponse, listQuestionsResponseNestedFields, listReadinessProfilesResponse, listReadinessProfilesResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, reorderQuestionsResponse, reorderQuestionsResponseNestedFields, resetPasswordResponseFields, resetQuestionsResponse, resetQuestionsResponseNestedFields, sendOTPResponseFields, serviceCreditCostDeleteIntegration, serviceCreditCostIntegration, serviceCreditCostListIntegration, signUpResponseFields, startReadinessCheckResponse, startReadinessCheckResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateQuestionResponse, updateQuestionResponseNestedFields, updateReadinessProfileResponse, updateReadinessProfileResponseNestedFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, userCreditDeleteIntegration, userCreditIntegration, userCreditListIntegration, verifyOTPResponseFields };
|
package/dist/index.d.ts
CHANGED
|
@@ -2887,25 +2887,64 @@ interface LinkedPartner {
|
|
|
2887
2887
|
code: string;
|
|
2888
2888
|
}
|
|
2889
2889
|
interface GetLinkedPartnerResponse {
|
|
2890
|
-
/** Absent when the client isn't linked. */
|
|
2890
|
+
/** Absent when the client isn't linked and has no request waiting. */
|
|
2891
2891
|
partner?: LinkedPartner | null;
|
|
2892
|
+
/** "linked", or "pending" while the partner hasn't answered the request. */
|
|
2893
|
+
status?: "linked" | "pending" | "";
|
|
2892
2894
|
}
|
|
2893
2895
|
interface LinkPartnerRequest {
|
|
2894
2896
|
referralCode: string;
|
|
2895
2897
|
}
|
|
2896
2898
|
interface LinkPartnerResponse {
|
|
2897
2899
|
partner: LinkedPartner;
|
|
2898
|
-
/**
|
|
2900
|
+
/** "pending": the request waits for the partner to accept it. */
|
|
2901
|
+
status: "pending";
|
|
2902
|
+
/** Visa profiles the partner can now see (0 until the request is accepted). */
|
|
2899
2903
|
profilesShared: number;
|
|
2900
2904
|
}
|
|
2901
2905
|
interface UnlinkPartnerResponse {
|
|
2902
2906
|
profilesUnshared: number;
|
|
2907
|
+
/** True when this withdrew a request the partner hadn't answered. */
|
|
2908
|
+
requestCancelled: boolean;
|
|
2903
2909
|
}
|
|
2904
|
-
/**
|
|
2910
|
+
/** A client's request to link, as the partner sees it. */
|
|
2911
|
+
interface LinkRequest {
|
|
2912
|
+
id: string;
|
|
2913
|
+
partnerId: string;
|
|
2914
|
+
partnerName: string;
|
|
2915
|
+
code: string;
|
|
2916
|
+
clientId: string;
|
|
2917
|
+
clientName: string;
|
|
2918
|
+
clientEmail: string;
|
|
2919
|
+
status: "pending" | "accepted" | "declined" | "cancelled";
|
|
2920
|
+
requestedAt: string;
|
|
2921
|
+
respondedAt?: string;
|
|
2922
|
+
}
|
|
2923
|
+
/** The partner dashboard's counts. */
|
|
2924
|
+
interface PartnerDashboard {
|
|
2925
|
+
clients: number;
|
|
2926
|
+
/** Client profiles whose latest readiness check scored 75% or more. */
|
|
2927
|
+
readyToSubmit: number;
|
|
2928
|
+
/** Client profiles whose latest readiness check found something critical. */
|
|
2929
|
+
flagged: number;
|
|
2930
|
+
pendingRequests: number;
|
|
2931
|
+
}
|
|
2932
|
+
/**
|
|
2933
|
+
* Clients ask to link to one partner at a time; the partner accepts or
|
|
2934
|
+
* declines, and the client's visa profiles are shared once accepted.
|
|
2935
|
+
*/
|
|
2905
2936
|
declare const createPartnerLinkService: (client: GraphQLClient) => {
|
|
2906
2937
|
getLinkedPartner(option?: RequestOption): Promise<GetLinkedPartnerResponse | undefined>;
|
|
2907
2938
|
linkPartner(input: LinkPartnerRequest, option?: RequestOption): Promise<LinkPartnerResponse | undefined>;
|
|
2908
2939
|
unlinkPartner(option?: RequestOption): Promise<UnlinkPartnerResponse | undefined>;
|
|
2940
|
+
/** Partners: clients waiting for an answer, oldest first. */
|
|
2941
|
+
listLinkRequests(option?: RequestOption): Promise<LinkRequest[]>;
|
|
2942
|
+
/** Partners: link the client and see their visa profiles. */
|
|
2943
|
+
acceptLinkRequest(id: string, option?: RequestOption): Promise<LinkRequest | undefined>;
|
|
2944
|
+
/** Partners: turn a client's request down. */
|
|
2945
|
+
declineLinkRequest(id: string, option?: RequestOption): Promise<LinkRequest | undefined>;
|
|
2946
|
+
/** Partners: clients, ready and flagged profiles, and waiting link requests. */
|
|
2947
|
+
partnerDashboard(option?: RequestOption): Promise<PartnerDashboard | undefined>;
|
|
2909
2948
|
};
|
|
2910
2949
|
type PartnerLinkService = ReturnType<typeof createPartnerLinkService>;
|
|
2911
2950
|
|
|
@@ -2973,4 +3012,4 @@ declare const createHelpService: (client: GraphQLClient) => {
|
|
|
2973
3012
|
deleteMyAccount(password: string, option?: RequestOption): Promise<boolean>;
|
|
2974
3013
|
};
|
|
2975
3014
|
|
|
2976
|
-
export { type AIServerAuth, type AIServerService, type AdminAnalytics, type AdminAnalyticsService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AnalyticsCount, type AnalyticsMonth, type AppConfig, type AppConfigService, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type CompleteReadinessCheckRequest, type CompleteReadinessCheckResponse, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantClientStats, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type ContactMessage, type ContactUsRequest, type ContactUsResponse, type Coupon, type CouponCRUD, type CouponRedemption, type CouponRedemptionCRUD, type CouponRedemptionService, type CouponService, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateQuestionRequest, type CreateQuestionResponse, type CreateReadinessProfileRequest, type CreateReadinessProfileResponse, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateSOPReviewRequest, type CreateSOPReviewResponse, type CreateSOPReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type CreditPlan, type CreditPlanCRUD, type CreditPlanService, type CreditTransaction, type CreditTransactionCRUD, type CreditTransactionService, type CrossReferenceFinding, type CrossReferenceResult, type CrossReferenceSeverity, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteQuestionRequest, type DeleteQuestionResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentExtraction, type DocumentExtractionResult, type DocumentReview, type EducationalBackground, type FailReadinessCheckRequest, type FailReadinessCheckResponse, type FileInfo, type FinishDraftRequest, type FlutterApiResponse, type FlutterCustomerAddress, type FlutterCustomerName, type FlutterCustomerPhone, type FlutterwaveCustomer, type FlutterwaveService, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetAIServerAuthRequest, type GetAIServerAuthResponse, type GetAIServerAuthResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetAdminAnalyticsRequest, type GetAdminAnalyticsResponse, type GetChecklistItemCountRequest, type GetChecklistItemCountResponse, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetConsultantClientStatsRequest, type GetConsultantClientStatsResponse, type GetConsultantClientStatsResponseNestedFields, type GetFlutterAccessTokenRequest, type GetFlutterAccessTokenResponse, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetLinkedPartnerResponse, type GetPartnerMatricesRequest, type GetPartnerMatricesResponse, type GetPartnerMatricesResponseNestedFields, type GetReadinessProfileRequest, type GetReadinessProfileResponse, type GetReadinessRequirementsRequest, type GetReadinessRequirementsResponse, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserAverageReadinessScoreRequest, type GetUserAverageReadinessScoreResponse, type GetUserCountResponse, type GetUserCountResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetUserTypeStatusCountRequest, type GetUserTypeStatusCountResponse, type GetUserTypeStatusCountResponseNestedFields, type GetVisaApplicationCountRequest, type GetVisaApplicationCountResponse, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaApplicationStatsRequest, type GetVisaApplicationStatsResponse, type GetVisaApplicationStatsResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileCountByFilterRequest, type GetVisaProfileCountByFilterResponse, type GetVisaProfileCountRequest, type GetVisaProfileCountResponse, type GetVisaProfileCountResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HelpArticle, type HtmlString, type Job, type LinkPartnerRequest, type LinkPartnerResponse, type LinkedPartner, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListPartnerClientsRequest, type ListPartnerClientsResponse, type ListPartnerClientsResponseNestedFields, type ListQuestionsRequest, type ListQuestionsResponse, type ListReadinessProfilesRequest, type ListReadinessProfilesResponse, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PartnerLinkService, type PartnerMatrices, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type Question, type QuestionAnswer, type QuestionAnswerType, type QuestionInput, type QuestionResponseNestedFields, type QuestionSet, type QuestionsResponseNestedFields, type ReadinessCheckFile, type ReadinessProfile, type ReadinessProfileInput, type ReadinessProfileResponseNestedFields, type ReadinessProfilesResponseNestedFields, type ReadinessRequirement, type ReadinessRequirementsResponseNestedFields, type ReadinessReviewNestedFields, type ReadinessReviewResponse, type ReadinessReviewResponseNestedFields, type ReadinessReviewStatus, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RefusalAnalysis, type RefusalFinding, type RegisterForm, type ReorderQuestionsRequest, type ReorderQuestionsResponse, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResetQuestionsRequest, type ResetQuestionsResponse, type ResponseContext, type ReviewedDocument, type SOPAnswer, type SOPReview, type SOPReviewService, type SaveHelpArticleRequest, type SaveRefusalAnalysisRequest, type School, SdkError, type SearchSchoolsRequest, type SearchSchoolsResponse, type SendOTPRequest, type SendOTPResponse, type ServiceCreditCost, type ServiceCreditCostCRUD, type ServiceCreditCostService, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type StartDraftRequest, type StartDraftResponse, type StartReadinessCheckRequest, type StartReadinessCheckResponse, type StartReadinessCheckResponseNestedFields, type Subscription, type SubscriptionPackage, type SubscriptionService, type SyncSchoolsResponse, type TransportOptions, type UnlinkPartnerResponse, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateQuestionRequest, type UpdateQuestionResponse, type UpdateReadinessProfileRequest, type UpdateReadinessProfileResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateSOPReviewRequest, type UpdateSOPReviewResponse, type UpdateSOPReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserCount, type UserCredit, type UserCreditCRUD, type UserCreditService, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type ValidateCouponRedemptionRequest, type ValidateCouponRedemptionResponse, type ValidateCouponRequest, type ValidateCouponResponse, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStats, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileRelationship, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaProfileStudyProgram, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, completeReadinessCheckResponse, completeReadinessCheckResponseNestedFields, compose, contactUsResponseFields, couponDeleteIntegration, couponIntegration, couponListIntegration, couponRedemptionDeleteIntegration, couponRedemptionIntegration, couponRedemptionListIntegration, createAIServerService, createActivityLogService, createAdminAnalyticsService, createAppConfigService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCouponRedemptionService, createCouponService, createCreditPlanService, createCreditTransactionService, createCustomerObjectResponse, createFlutterwaveService, createHelpService, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSchoolService, createServiceCreditCostService, createSubscriptionService, createTransport, createUserCreditService, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, creditPlanDeleteIntegration, creditPlanIntegration, creditPlanListIntegration, creditTransactionDeleteIntegration, creditTransactionIntegration, creditTransactionListIntegration, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteQuestionResponse, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, failReadinessCheckResponse, failReadinessCheckResponseNestedFields, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemCountResponse, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getPartnerMatricesResponseFields, getPartnerMatricesResponseNestedFields, getReadinessProfileResponse, getReadinessProfileResponseNestedFields, getReadinessRequirementsResponse, getReadinessRequirementsResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserAverageReadinessScoreResponseFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaApplicationStatsResponseFields, getVisaApplicationStatsResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listPartnerClientsResponseFields, listPartnerClientsResponseNestedFields, listQuestionsResponse, listQuestionsResponseNestedFields, listReadinessProfilesResponse, listReadinessProfilesResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, reorderQuestionsResponse, reorderQuestionsResponseNestedFields, resetPasswordResponseFields, resetQuestionsResponse, resetQuestionsResponseNestedFields, sendOTPResponseFields, serviceCreditCostDeleteIntegration, serviceCreditCostIntegration, serviceCreditCostListIntegration, signUpResponseFields, startReadinessCheckResponse, startReadinessCheckResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateQuestionResponse, updateQuestionResponseNestedFields, updateReadinessProfileResponse, updateReadinessProfileResponseNestedFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, userCreditDeleteIntegration, userCreditIntegration, userCreditListIntegration, verifyOTPResponseFields };
|
|
3015
|
+
export { type AIServerAuth, type AIServerService, type AdminAnalytics, type AdminAnalyticsService, type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AnalyticsCount, type AnalyticsMonth, type AppConfig, type AppConfigService, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type Card, type CardObject, type CardProcessed, type ChecklistItem, type ChecklistItemService, type ClientOptions, type CompleteReadinessCheckRequest, type CompleteReadinessCheckResponse, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantClientStats, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type ContactMessage, type ContactUsRequest, type ContactUsResponse, type Coupon, type CouponCRUD, type CouponRedemption, type CouponRedemptionCRUD, type CouponRedemptionService, type CouponService, type CreateCardObjectRequest, type CreateCardObjectResponse, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateCustomerObjectRequest, type CreateCustomerObjectResponse, type CreateQuestionRequest, type CreateQuestionResponse, type CreateReadinessProfileRequest, type CreateReadinessProfileResponse, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateSOPReviewRequest, type CreateSOPReviewResponse, type CreateSOPReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type CreditPlan, type CreditPlanCRUD, type CreditPlanService, type CreditTransaction, type CreditTransactionCRUD, type CreditTransactionService, type CrossReferenceFinding, type CrossReferenceResult, type CrossReferenceSeverity, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteQuestionRequest, type DeleteQuestionResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentExtraction, type DocumentExtractionResult, type DocumentReview, type EducationalBackground, type FailReadinessCheckRequest, type FailReadinessCheckResponse, type FileInfo, type FinishDraftRequest, type FlutterApiResponse, type FlutterCustomerAddress, type FlutterCustomerName, type FlutterCustomerPhone, type FlutterwaveCustomer, type FlutterwaveService, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetAIServerAuthRequest, type GetAIServerAuthResponse, type GetAIServerAuthResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetAdminAnalyticsRequest, type GetAdminAnalyticsResponse, type GetChecklistItemCountRequest, type GetChecklistItemCountResponse, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetConsultantClientStatsRequest, type GetConsultantClientStatsResponse, type GetConsultantClientStatsResponseNestedFields, type GetFlutterAccessTokenRequest, type GetFlutterAccessTokenResponse, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetLinkedPartnerResponse, type GetPartnerMatricesRequest, type GetPartnerMatricesResponse, type GetPartnerMatricesResponseNestedFields, type GetReadinessProfileRequest, type GetReadinessProfileResponse, type GetReadinessRequirementsRequest, type GetReadinessRequirementsResponse, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetSOPReviewRequest, type GetSOPReviewResponse, type GetSOPReviewResponseNestedFields, type GetUserAverageReadinessScoreRequest, type GetUserAverageReadinessScoreResponse, type GetUserCountResponse, type GetUserCountResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetUserTypeStatusCountRequest, type GetUserTypeStatusCountResponse, type GetUserTypeStatusCountResponseNestedFields, type GetVisaApplicationCountRequest, type GetVisaApplicationCountResponse, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaApplicationStatsRequest, type GetVisaApplicationStatsResponse, type GetVisaApplicationStatsResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileCountByFilterRequest, type GetVisaProfileCountByFilterResponse, type GetVisaProfileCountRequest, type GetVisaProfileCountResponse, type GetVisaProfileCountResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HelpArticle, type HtmlString, type Job, type LinkPartnerRequest, type LinkPartnerResponse, type LinkRequest, type LinkedPartner, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListPartnerClientsRequest, type ListPartnerClientsResponse, type ListPartnerClientsResponseNestedFields, type ListQuestionsRequest, type ListQuestionsResponse, type ListReadinessProfilesRequest, type ListReadinessProfilesResponse, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboard, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type PartnerLinkService, type PartnerMatrices, type PaymentMethod, type PaystackInitializePaymentRequest, type PaystackInitializePaymentResponse, type PaystackService, type Plan, type Question, type QuestionAnswer, type QuestionAnswerType, type QuestionInput, type QuestionResponseNestedFields, type QuestionSet, type QuestionsResponseNestedFields, type ReadinessCheckFile, type ReadinessProfile, type ReadinessProfileInput, type ReadinessProfileResponseNestedFields, type ReadinessProfilesResponseNestedFields, type ReadinessRequirement, type ReadinessRequirementsResponseNestedFields, type ReadinessReviewNestedFields, type ReadinessReviewResponse, type ReadinessReviewResponseNestedFields, type ReadinessReviewStatus, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RefusalAnalysis, type RefusalFinding, type RegisterForm, type ReorderQuestionsRequest, type ReorderQuestionsResponse, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResetQuestionsRequest, type ResetQuestionsResponse, type ResponseContext, type ReviewedDocument, type SOPAnswer, type SOPReview, type SOPReviewService, type SaveHelpArticleRequest, type SaveRefusalAnalysisRequest, type School, SdkError, type SearchSchoolsRequest, type SearchSchoolsResponse, type SendOTPRequest, type SendOTPResponse, type ServiceCreditCost, type ServiceCreditCostCRUD, type ServiceCreditCostService, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type StartDraftRequest, type StartDraftResponse, type StartReadinessCheckRequest, type StartReadinessCheckResponse, type StartReadinessCheckResponseNestedFields, type Subscription, type SubscriptionPackage, type SubscriptionService, type SyncSchoolsResponse, type TransportOptions, type UnlinkPartnerResponse, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateQuestionRequest, type UpdateQuestionResponse, type UpdateReadinessProfileRequest, type UpdateReadinessProfileResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateSOPReviewRequest, type UpdateSOPReviewResponse, type UpdateSOPReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserCount, type UserCredit, type UserCreditCRUD, type UserCreditService, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type UserTypeStatusCount, type ValidateCouponRedemptionRequest, type ValidateCouponRedemptionResponse, type ValidateCouponRequest, type ValidateCouponResponse, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStats, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileCount, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileRelationship, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaProfileStudyProgram, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getSOPReviewResponseNestedFields, _getUserResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, _getVisaProfileReviewCommentResponseNestedFields, completeReadinessCheckResponse, completeReadinessCheckResponseNestedFields, compose, contactUsResponseFields, couponDeleteIntegration, couponIntegration, couponListIntegration, couponRedemptionDeleteIntegration, couponRedemptionIntegration, couponRedemptionListIntegration, createAIServerService, createActivityLogService, createAdminAnalyticsService, createAppConfigService, createAuthService, createCardObjectResponse, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createCouponRedemptionService, createCouponService, createCreditPlanService, createCreditTransactionService, createCustomerObjectResponse, createFlutterwaveService, createHelpService, createNotificationService, createPartnerLinkService, createPaystackService, createQuestionResponse, createQuestionResponseNestedFields, createQuestionService, createReadinessProfileResponse, createReadinessProfileResponseNestedFields, createReadinessProfileService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSOPReviewResponseFields, createSOPReviewResponseNestedFields, createSOPReviewService, createSchoolService, createServiceCreditCostService, createSubscriptionService, createTransport, createUserCreditService, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, creditPlanDeleteIntegration, creditPlanIntegration, creditPlanListIntegration, creditTransactionDeleteIntegration, creditTransactionIntegration, creditTransactionListIntegration, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteQuestionResponse, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, encryptAES, failReadinessCheckResponse, failReadinessCheckResponseNestedFields, generateSOPResponse, generateSOPResponseNestedFields, getAIServerAuthResponse, getAIServerAuthResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemCountResponse, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getConsultantClientStatsResponseFields, getConsultantClientStatsResponseNestedFields, getFlutterAccessTokenResponse, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getPartnerMatricesResponseFields, getPartnerMatricesResponseNestedFields, getReadinessProfileResponse, getReadinessProfileResponseNestedFields, getReadinessRequirementsResponse, getReadinessRequirementsResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getSOPReviewResponseFields, getSOPReviewResponseNestedFields, getUserAverageReadinessScoreResponseFields, getUserCountResponse, getUserCountResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getUserTypeStatusCountResponse, getUserTypeStatusCountResponseNestedFields, getVisaApplicationCountResponseFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaApplicationStatsResponseFields, getVisaApplicationStatsResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileCountByFilterResponse, getVisaProfileCountResponse, getVisaProfileCountResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listPartnerClientsResponseFields, listPartnerClientsResponseNestedFields, listQuestionsResponse, listQuestionsResponseNestedFields, listReadinessProfilesResponse, listReadinessProfilesResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, paystackInitializePaymentResponse, reorderQuestionsResponse, reorderQuestionsResponseNestedFields, resetPasswordResponseFields, resetQuestionsResponse, resetQuestionsResponseNestedFields, sendOTPResponseFields, serviceCreditCostDeleteIntegration, serviceCreditCostIntegration, serviceCreditCostListIntegration, signUpResponseFields, startReadinessCheckResponse, startReadinessCheckResponseNestedFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateQuestionResponse, updateQuestionResponseNestedFields, updateReadinessProfileResponse, updateReadinessProfileResponseNestedFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateSOPReviewResponseFields, updateSOPReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, userCreditDeleteIntegration, userCreditIntegration, userCreditListIntegration, verifyOTPResponseFields };
|
package/dist/index.esm.js
CHANGED
|
@@ -4489,17 +4489,18 @@ var createAdminAnalyticsService = (client) => ({
|
|
|
4489
4489
|
});
|
|
4490
4490
|
|
|
4491
4491
|
// src/services/partner-link/index.ts
|
|
4492
|
+
var LINK_REQUEST = "id partnerId partnerName code clientId clientName clientEmail status requestedAt respondedAt";
|
|
4492
4493
|
var PARTNER = "partner { id fullName code }";
|
|
4493
4494
|
var createPartnerLinkService = (client) => ({
|
|
4494
4495
|
async getLinkedPartner(option) {
|
|
4495
4496
|
var _a;
|
|
4496
|
-
const res = await client.request(`query getLinkedPartner { getLinkedPartner { ${PARTNER} } }`, {}, option);
|
|
4497
|
+
const res = await client.request(`query getLinkedPartner { getLinkedPartner { ${PARTNER} status } }`, {}, option);
|
|
4497
4498
|
return (_a = res.data) == null ? void 0 : _a.getLinkedPartner;
|
|
4498
4499
|
},
|
|
4499
4500
|
async linkPartner(input, option) {
|
|
4500
4501
|
var _a;
|
|
4501
4502
|
const res = await client.request(
|
|
4502
|
-
`mutation linkPartner($referralCode: String!) { linkPartner(referralCode: $referralCode) { ${PARTNER} profilesShared } }`,
|
|
4503
|
+
`mutation linkPartner($referralCode: String!) { linkPartner(referralCode: $referralCode) { ${PARTNER} status profilesShared } }`,
|
|
4503
4504
|
input,
|
|
4504
4505
|
option
|
|
4505
4506
|
);
|
|
@@ -4507,8 +4508,48 @@ var createPartnerLinkService = (client) => ({
|
|
|
4507
4508
|
},
|
|
4508
4509
|
async unlinkPartner(option) {
|
|
4509
4510
|
var _a;
|
|
4510
|
-
const res = await client.request(`mutation unlinkPartner { unlinkPartner { profilesUnshared } }`, {}, option);
|
|
4511
|
+
const res = await client.request(`mutation unlinkPartner { unlinkPartner { profilesUnshared requestCancelled } }`, {}, option);
|
|
4511
4512
|
return (_a = res.data) == null ? void 0 : _a.unlinkPartner;
|
|
4513
|
+
},
|
|
4514
|
+
/** Partners: clients waiting for an answer, oldest first. */
|
|
4515
|
+
async listLinkRequests(option) {
|
|
4516
|
+
var _a, _b, _c;
|
|
4517
|
+
const res = await client.request(
|
|
4518
|
+
`query listLinkRequests { listLinkRequests { linkRequests { ${LINK_REQUEST} } } }`,
|
|
4519
|
+
{},
|
|
4520
|
+
option
|
|
4521
|
+
);
|
|
4522
|
+
return (_c = (_b = (_a = res.data) == null ? void 0 : _a.listLinkRequests) == null ? void 0 : _b.linkRequests) != null ? _c : [];
|
|
4523
|
+
},
|
|
4524
|
+
/** Partners: link the client and see their visa profiles. */
|
|
4525
|
+
async acceptLinkRequest(id, option) {
|
|
4526
|
+
var _a, _b;
|
|
4527
|
+
const res = await client.request(
|
|
4528
|
+
`mutation acceptLinkRequest($id: String!) { acceptLinkRequest(id: $id) { linkRequest { ${LINK_REQUEST} } } }`,
|
|
4529
|
+
{ id },
|
|
4530
|
+
option
|
|
4531
|
+
);
|
|
4532
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.acceptLinkRequest) == null ? void 0 : _b.linkRequest;
|
|
4533
|
+
},
|
|
4534
|
+
/** Partners: turn a client's request down. */
|
|
4535
|
+
async declineLinkRequest(id, option) {
|
|
4536
|
+
var _a, _b;
|
|
4537
|
+
const res = await client.request(
|
|
4538
|
+
`mutation declineLinkRequest($id: String!) { declineLinkRequest(id: $id) { linkRequest { ${LINK_REQUEST} } } }`,
|
|
4539
|
+
{ id },
|
|
4540
|
+
option
|
|
4541
|
+
);
|
|
4542
|
+
return (_b = (_a = res.data) == null ? void 0 : _a.declineLinkRequest) == null ? void 0 : _b.linkRequest;
|
|
4543
|
+
},
|
|
4544
|
+
/** Partners: clients, ready and flagged profiles, and waiting link requests. */
|
|
4545
|
+
async partnerDashboard(option) {
|
|
4546
|
+
var _a;
|
|
4547
|
+
const res = await client.request(
|
|
4548
|
+
`query partnerDashboard { partnerDashboard { clients readyToSubmit flagged pendingRequests } }`,
|
|
4549
|
+
{},
|
|
4550
|
+
option
|
|
4551
|
+
);
|
|
4552
|
+
return (_a = res.data) == null ? void 0 : _a.partnerDashboard;
|
|
4512
4553
|
}
|
|
4513
4554
|
});
|
|
4514
4555
|
|