@visa-check-r/integrations 0.0.42 → 0.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -267,6 +267,7 @@ interface ChecklistItem {
267
267
  id: string;
268
268
  title: string;
269
269
  formLabel: string;
270
+ formShortName: string;
270
271
  description: string;
271
272
  visaType: VisaType | "universal";
272
273
  inputType: "text" | "file";
@@ -983,6 +984,31 @@ declare const createVisaProfileChecklistItemService: (client: GraphQLClient) =>
983
984
  };
984
985
  type VisaProfileChecklistItemService = ReturnType<typeof createVisaProfileChecklistItemService>;
985
986
 
987
+ /**
988
+ * type Job struct {
989
+ ID string
990
+ Type string
991
+ Status Status
992
+ Progress int
993
+ Message string
994
+ Result any
995
+ Error string
996
+ CreatedAt time.Time
997
+ UpdatedAt time.Time
998
+ }
999
+ */
1000
+ interface Job<T = any> {
1001
+ id: string;
1002
+ type: string;
1003
+ status: string;
1004
+ progress: number;
1005
+ message: string;
1006
+ result: T;
1007
+ error: string;
1008
+ createdAt: string;
1009
+ updatedAt: string;
1010
+ }
1011
+
986
1012
  type ReadinessScoreReviewFields = (keyof ReadinessScoreReview)[];
987
1013
  type VisaProfileFields = (keyof VisaProfile)[];
988
1014
  type VisaApplicationFields = (keyof VisaApplication)[];
@@ -991,12 +1017,25 @@ type VisaProfileReviewCommentFields = (keyof VisaProfileReviewComment)[];
991
1017
  type DocumentReviewFields = (keyof DocumentReview)[];
992
1018
  type SOPAnswerFields = (keyof SOPAnswer)[];
993
1019
  type SOPReviewFields = (keyof SOPReview)[];
1020
+ type JobFields = (keyof Job)[];
994
1021
 
1022
+ interface GetJobRequest {
1023
+ job: Partial<Job>;
1024
+ }
1025
+ interface GetJobResponse {
1026
+ job: Job;
1027
+ }
1028
+ declare const getJobResponse: (keyof GetJobResponse)[];
1029
+ interface GetJobResponseNestedFields {
1030
+ job: JobFields;
1031
+ }
1032
+ declare const getJobResponseNestedFields: GetJobResponseNestedFields;
995
1033
  interface GenerateSOPRequest {
996
1034
  sopReview: Partial<SOPReview>;
997
1035
  }
998
1036
  interface GenerateSOPResponse {
999
1037
  sopReview: SOPReview;
1038
+ jobId?: string;
1000
1039
  }
1001
1040
  declare const generateSOPResponse: (keyof GenerateSOPResponse)[];
1002
1041
  interface GenerateSOPResponseNestedFields {
@@ -1008,7 +1047,7 @@ declare const _generateSOPResponseNestedFields: Omit<GenerateSOPResponseNestedFi
1008
1047
  declare const generateSOPResponseNestedFields: GenerateSOPResponseNestedFields;
1009
1048
  type GetGeneratedSOPRequest = GenerateSOPRequest;
1010
1049
  type GetGeneratedSOPResponse = GenerateSOPResponse;
1011
- declare const getGeneratedSOPResponse: "sopReview"[];
1050
+ declare const getGeneratedSOPResponse: (keyof GenerateSOPResponse)[];
1012
1051
  type GetGeneratedSOPResponseNestedFields = GenerateSOPResponseNestedFields;
1013
1052
  declare const getGeneratedSOPResponseNestedFields: GenerateSOPResponseNestedFields;
1014
1053
  interface GetConsultantAssignmentCountRequest {
@@ -1260,6 +1299,10 @@ type DeleteVisaApplicationResponse = DeleteVisaApplicationRequest;
1260
1299
  declare const deleteVisaApplicationResponseFields: (keyof DeleteVisaApplicationResponse)[];
1261
1300
 
1262
1301
  declare const createVisaProfileService: (client: GraphQLClient) => {
1302
+ getJob(input: GetJobRequest, fetchFields?: {
1303
+ root?: (keyof GetJobResponse)[];
1304
+ nestedFields?: GetJobResponseNestedFields;
1305
+ }, option?: RequestOption): Promise<GetJobResponse | undefined>;
1263
1306
  getGeneratedSOP(input: GetGeneratedSOPRequest, fetchFields?: {
1264
1307
  root?: (keyof GetGeneratedSOPResponse)[];
1265
1308
  nestedFields?: GetGeneratedSOPResponseNestedFields;
@@ -1385,4 +1428,4 @@ declare const createVisaProfileReviewCommentService: (client: GraphQLClient) =>
1385
1428
  };
1386
1429
  type VisaProfileReviewCommentService = ReturnType<typeof createVisaProfileReviewCommentService>;
1387
1430
 
1388
- export { type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type ChecklistItem, type ChecklistItemService, type ClientOptions, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentReview, type EducationalBackground, type FileInfo, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HtmlString, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type Plan, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RegisterForm, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResponseContext, type SOPAnswer, type SOPReview, SdkError, type SendOTPRequest, type SendOTPResponse, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type Subscription, type SubscriptionPackage, type SubscriptionService, type TransportOptions, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, compose, createActivityLogService, createAuthService, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
1431
+ export { type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type ChecklistItem, type ChecklistItemService, type ClientOptions, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentReview, type EducationalBackground, type FileInfo, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HtmlString, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type Plan, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RegisterForm, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResponseContext, type SOPAnswer, type SOPReview, SdkError, type SendOTPRequest, type SendOTPResponse, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type Subscription, type SubscriptionPackage, type SubscriptionService, type TransportOptions, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, compose, createActivityLogService, createAuthService, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
package/dist/index.d.ts CHANGED
@@ -267,6 +267,7 @@ interface ChecklistItem {
267
267
  id: string;
268
268
  title: string;
269
269
  formLabel: string;
270
+ formShortName: string;
270
271
  description: string;
271
272
  visaType: VisaType | "universal";
272
273
  inputType: "text" | "file";
@@ -983,6 +984,31 @@ declare const createVisaProfileChecklistItemService: (client: GraphQLClient) =>
983
984
  };
984
985
  type VisaProfileChecklistItemService = ReturnType<typeof createVisaProfileChecklistItemService>;
985
986
 
987
+ /**
988
+ * type Job struct {
989
+ ID string
990
+ Type string
991
+ Status Status
992
+ Progress int
993
+ Message string
994
+ Result any
995
+ Error string
996
+ CreatedAt time.Time
997
+ UpdatedAt time.Time
998
+ }
999
+ */
1000
+ interface Job<T = any> {
1001
+ id: string;
1002
+ type: string;
1003
+ status: string;
1004
+ progress: number;
1005
+ message: string;
1006
+ result: T;
1007
+ error: string;
1008
+ createdAt: string;
1009
+ updatedAt: string;
1010
+ }
1011
+
986
1012
  type ReadinessScoreReviewFields = (keyof ReadinessScoreReview)[];
987
1013
  type VisaProfileFields = (keyof VisaProfile)[];
988
1014
  type VisaApplicationFields = (keyof VisaApplication)[];
@@ -991,12 +1017,25 @@ type VisaProfileReviewCommentFields = (keyof VisaProfileReviewComment)[];
991
1017
  type DocumentReviewFields = (keyof DocumentReview)[];
992
1018
  type SOPAnswerFields = (keyof SOPAnswer)[];
993
1019
  type SOPReviewFields = (keyof SOPReview)[];
1020
+ type JobFields = (keyof Job)[];
994
1021
 
1022
+ interface GetJobRequest {
1023
+ job: Partial<Job>;
1024
+ }
1025
+ interface GetJobResponse {
1026
+ job: Job;
1027
+ }
1028
+ declare const getJobResponse: (keyof GetJobResponse)[];
1029
+ interface GetJobResponseNestedFields {
1030
+ job: JobFields;
1031
+ }
1032
+ declare const getJobResponseNestedFields: GetJobResponseNestedFields;
995
1033
  interface GenerateSOPRequest {
996
1034
  sopReview: Partial<SOPReview>;
997
1035
  }
998
1036
  interface GenerateSOPResponse {
999
1037
  sopReview: SOPReview;
1038
+ jobId?: string;
1000
1039
  }
1001
1040
  declare const generateSOPResponse: (keyof GenerateSOPResponse)[];
1002
1041
  interface GenerateSOPResponseNestedFields {
@@ -1008,7 +1047,7 @@ declare const _generateSOPResponseNestedFields: Omit<GenerateSOPResponseNestedFi
1008
1047
  declare const generateSOPResponseNestedFields: GenerateSOPResponseNestedFields;
1009
1048
  type GetGeneratedSOPRequest = GenerateSOPRequest;
1010
1049
  type GetGeneratedSOPResponse = GenerateSOPResponse;
1011
- declare const getGeneratedSOPResponse: "sopReview"[];
1050
+ declare const getGeneratedSOPResponse: (keyof GenerateSOPResponse)[];
1012
1051
  type GetGeneratedSOPResponseNestedFields = GenerateSOPResponseNestedFields;
1013
1052
  declare const getGeneratedSOPResponseNestedFields: GenerateSOPResponseNestedFields;
1014
1053
  interface GetConsultantAssignmentCountRequest {
@@ -1260,6 +1299,10 @@ type DeleteVisaApplicationResponse = DeleteVisaApplicationRequest;
1260
1299
  declare const deleteVisaApplicationResponseFields: (keyof DeleteVisaApplicationResponse)[];
1261
1300
 
1262
1301
  declare const createVisaProfileService: (client: GraphQLClient) => {
1302
+ getJob(input: GetJobRequest, fetchFields?: {
1303
+ root?: (keyof GetJobResponse)[];
1304
+ nestedFields?: GetJobResponseNestedFields;
1305
+ }, option?: RequestOption): Promise<GetJobResponse | undefined>;
1263
1306
  getGeneratedSOP(input: GetGeneratedSOPRequest, fetchFields?: {
1264
1307
  root?: (keyof GetGeneratedSOPResponse)[];
1265
1308
  nestedFields?: GetGeneratedSOPResponseNestedFields;
@@ -1385,4 +1428,4 @@ declare const createVisaProfileReviewCommentService: (client: GraphQLClient) =>
1385
1428
  };
1386
1429
  type VisaProfileReviewCommentService = ReturnType<typeof createVisaProfileReviewCommentService>;
1387
1430
 
1388
- export { type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type ChecklistItem, type ChecklistItemService, type ClientOptions, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentReview, type EducationalBackground, type FileInfo, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HtmlString, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type Plan, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RegisterForm, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResponseContext, type SOPAnswer, type SOPReview, SdkError, type SendOTPRequest, type SendOTPResponse, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type Subscription, type SubscriptionPackage, type SubscriptionService, type TransportOptions, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, compose, createActivityLogService, createAuthService, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
1431
+ export { type AdminDashboardMatrix, type AdminDashboardMatrixKey, type AllUserNotificationSettingKey, type AuthService, type AuthTokenProvider, AuthenticationError, type BooleanLiteral, type ChecklistItem, type ChecklistItemService, type ClientOptions, type ConsultantAssignment, type ConsultantAssignmentService, type ConsultantDashboardMetricCount, type ConsultantDashboardMetricCountKey, type ConsultantInvite, type ConsultantInviteService, type ConsultantNotificationSettingKey, type ConsultantRequest, type CreateChecklistItemRequest, type CreateChecklistItemResponse, type CreateChecklistItemResponseNestedFields, type CreateConsultantAssignmentRequest, type CreateConsultantAssignmentResponse, type CreateConsultantAssignmentResponseNestedFields, type CreateReadinessScoreReviewRequest, type CreateReadinessScoreReviewResponse, type CreateReadinessScoreReviewResponseNestedFields, type CreateUserRequest, type CreateUserResponse, type CreateUserResponseNestedFields, type CreateUserSettingRequest, type CreateUserSettingResponse, type CreateUserSettingResponseNestedFields, type CreateVisaApplicationRequest, type CreateVisaApplicationResponse, type CreateVisaApplicationResponseNestedFields, type CreateVisaProfileChecklistItemRequest, type CreateVisaProfileChecklistItemResponse, type CreateVisaProfileChecklistItemResponseNestedFields, type CreateVisaProfileChecklistItemsRequest, type CreateVisaProfileChecklistItemsResponse, type CreateVisaProfileChecklistItemsResponseNestedFields, type CreateVisaProfileRequest, type CreateVisaProfileResponse, type CreateVisaProfileResponseNestedFields, type CreateVisaProfileReviewCommentRequest, type CreateVisaProfileReviewCommentResponse, type CreateVisaProfileReviewCommentResponseNestedFields, type DeleteChecklistItemRequest, type DeleteChecklistItemResponse, type DeleteConsultantAssignmentRequest, type DeleteConsultantAssignmentResponse, type DeleteReadinessScoreReviewRequest, type DeleteReadinessScoreReviewResponse, type DeleteUserRequest, type DeleteUserResponse, type DeleteUserSettingRequest, type DeleteUserSettingResponse, type DeleteVisaApplicationRequest, type DeleteVisaApplicationResponse, type DeleteVisaProfileChecklistItemRequest, type DeleteVisaProfileChecklistItemResponse, type DeleteVisaProfileRequest, type DeleteVisaProfileResponse, type DeleteVisaProfileReviewCommentRequest, type DeleteVisaProfileReviewCommentResponse, type DocumentReview, type EducationalBackground, type FileInfo, type GenerateSOPRequest, type GenerateSOPResponse, type GenerateSOPResponseNestedFields, type GetActivityLogRequest, type GetActivityLogResponse, type GetActivityLogResponseNestedFields, type GetChecklistItemRequest, type GetChecklistItemResponse, type GetChecklistItemResponseNestedFields, type GetConsultantAssignmentCountRequest, type GetConsultantAssignmentCountResponse, type GetConsultantAssignmentRequest, type GetConsultantAssignmentResponse, type GetConsultantAssignmentResponseNestedFields, type GetGeneratedSOPRequest, type GetGeneratedSOPResponse, type GetGeneratedSOPResponseNestedFields, type GetJobRequest, type GetJobResponse, type GetJobResponseNestedFields, type GetReadinessScoreReviewRequest, type GetReadinessScoreReviewResponse, type GetReadinessScoreReviewResponseNestedFields, type GetUserRequest, type GetUserResponse, type GetUserResponseNestedFields, type GetUserSettingRequest, type GetUserSettingResponse, type GetUserSettingResponseNestedFields, type GetVisaApplicationRequest, type GetVisaApplicationResponse, type GetVisaApplicationResponseNestedFields, type GetVisaProfileChecklistItemRequest, type GetVisaProfileChecklistItemResponse, type GetVisaProfileChecklistItemResponseNestedFields, type GetVisaProfileChecklistItemsByChecklistRequest, type GetVisaProfileChecklistItemsByChecklistResponse, type GetVisaProfileChecklistItemsByChecklistResponseNestedFields, type GetVisaProfileRequest, type GetVisaProfileResponse, type GetVisaProfileResponseNestedFields, type GetVisaProfileReviewCommentRequest, type GetVisaProfileReviewCommentResponse, type GetVisaProfileReviewCommentResponseNestedFields, GraphQLClient, type GraphQLError, type GraphQLRequest, type GraphQLResponse, type GraphQLVariables, type HeadersFactory, type Help, type HtmlString, type ListActivityLogsRequest, type ListActivityLogsResponse, type ListActivityLogsResponseNestedFields, type ListChecklistItemsRequest, type ListChecklistItemsResponse, type ListChecklistItemsResponseNestedFields, type ListConsultantAssignmentsRequest, type ListConsultantAssignmentsResponse, type ListConsultantAssignmentsResponseNestedFields, type ListReadinessScoreReviewsRequest, type ListReadinessScoreReviewsResponse, type ListReadinessScoreReviewsResponseNestedFields, type ListUsersRequest, type ListUsersResponse, type ListUsersResponseNestedFields, type ListVisaApplicationsRequest, type ListVisaApplicationsResponse, type ListVisaApplicationsResponseNestedFields, type ListVisaProfileChecklistItemsRequest, type ListVisaProfileChecklistItemsResponse, type ListVisaProfileChecklistItemsResponseNestedFields, type ListVisaProfileReviewCommentsRequest, type ListVisaProfileReviewCommentsResponse, type ListVisaProfileReviewCommentsResponseNestedFields, type ListVisaProfilesRequest, type ListVisaProfilesResponse, type ListVisaProfilesResponseNestedFields, type LoginRequest, type LoginResponse, type MeRequest, type MeResponse, type MeResponseNestedFields, type Middleware, NetworkError, type Next, type Notification, type Pagination, type PartnerDashboardMatrix, type PartnerDashboardMatrixKey, type Plan, type ReadinessScore, type ReadinessScoreReview, type ReadinessScoreReviewService, type RegisterForm, type RequestContext, type RequestOption, type ResetPasswordRequest, type ResetPasswordResponse, type ResponseContext, type SOPAnswer, type SOPReview, SdkError, type SendOTPRequest, type SendOTPResponse, type SettingNotificationChannelKey, type SignUpRequest, type SignUpResponse, type Subscription, type SubscriptionPackage, type SubscriptionService, type TransportOptions, type UpdateChecklistItemRequest, type UpdateChecklistItemResponse, type UpdateChecklistItemResponseNestedFields, type UpdateConsultantAssignmentRequest, type UpdateConsultantAssignmentResponse, type UpdateConsultantAssignmentResponseNestedFields, type UpdatePasswordRequest, type UpdatePasswordResponse, type UpdateReadinessScoreReviewRequest, type UpdateReadinessScoreReviewResponse, type UpdateReadinessScoreReviewResponseNestedFields, type UpdateUserRequest, type UpdateUserResponse, type UpdateUserResponseNestedFields, type UpdateUserSettingRequest, type UpdateUserSettingResponse, type UpdateUserSettingResponseNestedFields, type UpdateVisaApplicationRequest, type UpdateVisaApplicationResponse, type UpdateVisaApplicationResponseNestedFields, type UpdateVisaProfileChecklistItemRequest, type UpdateVisaProfileChecklistItemResponse, type UpdateVisaProfileChecklistItemResponseNestedFields, type UpdateVisaProfileRequest, type UpdateVisaProfileResponse, type UpdateVisaProfileResponseNestedFields, type UpdateVisaProfileReviewCommentRequest, type UpdateVisaProfileReviewCommentResponse, type UpdateVisaProfileReviewCommentResponseNestedFields, type User, type UserActivityLog, type UserApplicationMetric, type UserNotificationSettingKey, type UserService, type UserSetting, type UserSettingService, type UserStatus, type UserSubscription, type UserSubscriptionService, type UserType, type VerifyOTPRequest, type VerifyOTPResponse, type VisaApplication, type VisaApplicationMetricKey, type VisaApplicationService, type VisaApplicationStatus, type VisaProfile, type VisaProfileActivityLog, type VisaProfileChecklistItem, type VisaProfileChecklistItemService, type VisaProfileDetails, type VisaProfileProgram, type VisaProfileReviewComment, type VisaProfileReviewCommentService, type VisaProfileService, type VisaType, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, compose, createActivityLogService, createAuthService, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
package/dist/index.esm.js CHANGED
@@ -1170,6 +1170,7 @@ var checklistItemQuery = [
1170
1170
  "id",
1171
1171
  "title",
1172
1172
  "formLabel",
1173
+ "formShortName",
1173
1174
  "description",
1174
1175
  "visaType",
1175
1176
  "inputType",
@@ -1497,6 +1498,17 @@ var createVisaProfileChecklistItemService = (client) => ({
1497
1498
  });
1498
1499
 
1499
1500
  // src/services/profile/profile.entity.ts
1501
+ var jobQuery = [
1502
+ "createdAt",
1503
+ "error",
1504
+ "id",
1505
+ "message",
1506
+ "progress",
1507
+ "result",
1508
+ "status",
1509
+ "type",
1510
+ "updatedAt"
1511
+ ];
1500
1512
  var sopAnswerQuery = [
1501
1513
  "answer",
1502
1514
  "questionId",
@@ -1588,7 +1600,11 @@ var visaProfileReviewCommentQuery = [
1588
1600
  ];
1589
1601
 
1590
1602
  // src/services/profile/types/visa-profile.type.ts
1591
- var generateSOPResponse = ["sopReview"];
1603
+ var getJobResponse = ["job"];
1604
+ var getJobResponseNestedFields = {
1605
+ job: jobQuery
1606
+ };
1607
+ var generateSOPResponse = ["sopReview", "jobId"];
1592
1608
  var _generateSOPResponseNestedFields = {
1593
1609
  answeredQuestions: sopAnswerQuery,
1594
1610
  unansweredQuestions: sopAnswerQuery
@@ -1700,6 +1716,14 @@ var deleteVisaApplicationResponseFields = ["visaApplicationId"];
1700
1716
 
1701
1717
  // src/services/profile/schemas/visa-profile.schema.ts
1702
1718
  var visaProfileSchema = {
1719
+ // get job
1720
+ getJob: (query) => `
1721
+ query getJob($job: JobInput!) {
1722
+ getJob(job: $job) {
1723
+ ${query}
1724
+ }
1725
+ }
1726
+ `,
1703
1727
  // get generated sop
1704
1728
  getGeneratedSOP: (query) => `
1705
1729
  query getGeneratedSOP($sopReview: SopReviewInput!) {
@@ -1755,6 +1779,21 @@ var visaProfileSchema = {
1755
1779
 
1756
1780
  // src/services/profile/visa-profile.service.ts
1757
1781
  var createVisaProfileService = (client) => ({
1782
+ // job
1783
+ async getJob(input, fetchFields, option) {
1784
+ var _a, _b, _c;
1785
+ const res = await client.request(
1786
+ visaProfileSchema.getJob(
1787
+ gqlQueryStringBuilder(
1788
+ (_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : getJobResponse,
1789
+ (_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : getJobResponseNestedFields
1790
+ )
1791
+ ),
1792
+ input,
1793
+ option
1794
+ );
1795
+ return (_c = res.data) == null ? void 0 : _c.getJob;
1796
+ },
1758
1797
  // sop
1759
1798
  async getGeneratedSOP(input, fetchFields, option) {
1760
1799
  var _a, _b, _c;
@@ -2329,6 +2368,6 @@ var createVisaProfileReviewCommentService = (client) => ({
2329
2368
  }
2330
2369
  });
2331
2370
 
2332
- export { AuthenticationError, GraphQLClient, NetworkError, SdkError, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, compose, createActivityLogService, createAuthService, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
2371
+ export { AuthenticationError, GraphQLClient, NetworkError, SdkError, _generateSOPResponseNestedFields, _getConsultantAssignmentResponseNestedFields, _getVisaProfileChecklistItemResponseNestedFields, _getVisaProfileResponseNestedFields, compose, createActivityLogService, createAuthService, createChecklistItemResponse, createChecklistItemResponseNestedFields, createChecklistItemService, createConsultantAssignmentResponseFields, createConsultantAssignmentResponseNestedFields, createConsultantAssignmentService, createConsultantInviteService, createReadinessScoreReviewResponseFields, createReadinessScoreReviewResponseNestedFields, createReadinessScoreReviewService, createSubscriptionService, createTransport, createUserResponseFields, createUserResponseNestedFields, createUserService, createUserSettingResponseFields, createUserSettingResponseNestedFields, createUserSettingService, createUserSubscriptionService, createVisaApplicationResponseFields, createVisaApplicationResponseNestedFields, createVisaApplicationService, createVisaProfileChecklistItemResponse, createVisaProfileChecklistItemResponseNestedFields, createVisaProfileChecklistItemService, createVisaProfileChecklistItemsResponse, createVisaProfileChecklistItemsResponseNestedFields, createVisaProfileResponse, createVisaProfileResponseNestedFields, createVisaProfileReviewCommentResponseFields, createVisaProfileReviewCommentResponseNestedFields, createVisaProfileReviewCommentService, createVisaProfileService, deleteChecklistItemResponse, deleteConsultantAssignmentResponseFields, deleteReadinessScoreReviewResponseFields, deleteUserResponseFields, deleteUserSettingResponseFields, deleteVisaApplicationResponseFields, deleteVisaProfileChecklistItemResponse, deleteVisaProfileResponse, deleteVisaProfileReviewCommentResponseFields, generateSOPResponse, generateSOPResponseNestedFields, getActivityLogResponseFields, getActivityLogResponseNestedFields, getChecklistItemResponse, getChecklistItemResponseNestedFields, getConsultantAssignmentCountResponseFields, getConsultantAssignmentResponseFields, getConsultantAssignmentResponseNestedFields, getGeneratedSOPResponse, getGeneratedSOPResponseNestedFields, getJobResponse, getJobResponseNestedFields, getReadinessScoreReviewResponseFields, getReadinessScoreReviewResponseNestedFields, getUserResponseFields, getUserResponseNestedFields, getUserSettingResponseFields, getUserSettingResponseNestedFields, getVisaApplicationResponseFields, getVisaApplicationResponseNestedFields, getVisaProfileChecklistItemResponse, getVisaProfileChecklistItemResponseNestedFields, getVisaProfileChecklistItemsByChecklistResponse, getVisaProfileChecklistItemsByChecklistResponseNestedFields, getVisaProfileResponse, getVisaProfileResponseNestedFields, getVisaProfileReviewCommentResponseFields, getVisaProfileReviewCommentResponseNestedFields, listActivityLogsResponseFields, listActivityLogsResponseNestedFields, listChecklistItemResponse, listChecklistItemResponseNestedFields, listConsultantAssignmentsResponseFields, listConsultantAssignmentsResponseNestedFields, listReadinessScoreReviewsResponseFields, listReadinessScoreReviewsResponseNestedFields, listUsersResponseFields, listUsersResponseNestedFields, listVisaApplicationsResponseFields, listVisaApplicationsResponseNestedFields, listVisaProfileChecklistItemResponse, listVisaProfileChecklistItemResponseNestedFields, listVisaProfileReviewCommentsResponseFields, listVisaProfileReviewCommentsResponseNestedFields, listVisaProfilesResponse, listVisaProfilesResponseNestedFields, loginResponseFields, meResponseFields, meResponseNestedFields, resetPasswordResponseFields, sendOTPResponseFields, signUpResponseFields, toAsyncHeadersFactory, toAsyncTokenProvider, updateChecklistItemResponse, updateChecklistItemResponseNestedFields, updateConsultantAssignmentResponseFields, updateConsultantAssignmentResponseNestedFields, updatePasswordResponseFields, updateReadinessScoreReviewResponseFields, updateReadinessScoreReviewResponseNestedFields, updateUserResponseFields, updateUserResponseNestedFields, updateUserSettingResponseFields, updateUserSettingResponseNestedFields, updateVisaApplicationResponseFields, updateVisaApplicationResponseNestedFields, updateVisaProfileChecklistItemResponse, updateVisaProfileChecklistItemResponseNestedFields, updateVisaProfileResponseFields, updateVisaProfileResponseNestedFields, updateVisaProfileReviewCommentResponseFields, updateVisaProfileReviewCommentResponseNestedFields, verifyOTPResponseFields };
2333
2372
  //# sourceMappingURL=index.esm.js.map
2334
2373
  //# sourceMappingURL=index.esm.js.map