@longvansoftware/storefront-js-client 4.6.6 → 4.6.7
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.
|
@@ -18,3 +18,4 @@ export declare const GET_MESSAGES: import("graphql").DocumentNode;
|
|
|
18
18
|
export declare const GET_RESOURCE_RELATED_TOPIC: import("graphql").DocumentNode;
|
|
19
19
|
export declare const GET_WORK_FLOWS: import("graphql").DocumentNode;
|
|
20
20
|
export declare const GET_RESUMES_BY_FIELD_NAME_AND_VALUE: import("graphql").DocumentNode;
|
|
21
|
+
export declare const GET_RESUMES_BY_FIELD_NAME_AND_VALUES: import("graphql").DocumentNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GET_RESUMES_BY_FIELD_NAME_AND_VALUE = exports.GET_WORK_FLOWS = exports.GET_RESOURCE_RELATED_TOPIC = exports.GET_MESSAGES = exports.GET_MY_WORK_EFFORT_TODAY = exports.SEARCH_TOPIC = exports.GET_TAG = exports.GET_CONNECTOR_BY_RESOURCE = exports.GET_WORK_EFFORT_BY_ID_V2 = exports.GET_WORK_EFFORT_BY_ID = exports.GET_WORK_EFFORTS_V2 = exports.GET_WORK_EFFORTS_V3 = exports.GET_WORK_EFFORTS = exports.GET_LIST_COMMENT = exports.GET_ATTACHMENT_BY_WORK_EFFORT_ID = exports.GET_TICKET_BY_ID = exports.GET_LIST_TICKET = exports.GET_LIST_WORK_EFFORT_TYPE = exports.GET_LIST_TODO = exports.GET_LIST_OPPORTUNITY_QUERY = void 0;
|
|
3
|
+
exports.GET_RESUMES_BY_FIELD_NAME_AND_VALUES = exports.GET_RESUMES_BY_FIELD_NAME_AND_VALUE = exports.GET_WORK_FLOWS = exports.GET_RESOURCE_RELATED_TOPIC = exports.GET_MESSAGES = exports.GET_MY_WORK_EFFORT_TODAY = exports.SEARCH_TOPIC = exports.GET_TAG = exports.GET_CONNECTOR_BY_RESOURCE = exports.GET_WORK_EFFORT_BY_ID_V2 = exports.GET_WORK_EFFORT_BY_ID = exports.GET_WORK_EFFORTS_V2 = exports.GET_WORK_EFFORTS_V3 = exports.GET_WORK_EFFORTS = exports.GET_LIST_COMMENT = exports.GET_ATTACHMENT_BY_WORK_EFFORT_ID = exports.GET_TICKET_BY_ID = exports.GET_LIST_TICKET = exports.GET_LIST_WORK_EFFORT_TYPE = exports.GET_LIST_TODO = exports.GET_LIST_OPPORTUNITY_QUERY = void 0;
|
|
4
4
|
const graphql_tag_1 = require("graphql-tag");
|
|
5
5
|
exports.GET_LIST_OPPORTUNITY_QUERY = (0, graphql_tag_1.gql) `
|
|
6
6
|
query GetListOpportunity(
|
|
@@ -963,3 +963,23 @@ exports.GET_RESUMES_BY_FIELD_NAME_AND_VALUE = (0, graphql_tag_1.gql) `
|
|
|
963
963
|
}
|
|
964
964
|
}
|
|
965
965
|
`;
|
|
966
|
+
exports.GET_RESUMES_BY_FIELD_NAME_AND_VALUES = (0, graphql_tag_1.gql) `
|
|
967
|
+
query GetResumesByFieldNameAndValues(
|
|
968
|
+
$resumeTemplateId: String
|
|
969
|
+
$orgId: String
|
|
970
|
+
$fieldNameValues: JSON
|
|
971
|
+
) {
|
|
972
|
+
getResumesByFieldNameAndValues(
|
|
973
|
+
resumeTemplateId: $resumeTemplateId
|
|
974
|
+
fieldNameValues: $fieldNameValues
|
|
975
|
+
orgId: $orgId
|
|
976
|
+
) {
|
|
977
|
+
resumeId
|
|
978
|
+
resumeName
|
|
979
|
+
status
|
|
980
|
+
statusCode
|
|
981
|
+
level
|
|
982
|
+
data
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
`;
|
|
@@ -48,4 +48,5 @@ export declare class CrmService extends Service {
|
|
|
48
48
|
getResumesByFieldNameAndValue(orgId: string, fieldName: string, value: string, resumeTemplateId: string): Promise<any>;
|
|
49
49
|
uploadImageResume(resumeId: string, fieldName: string, uploadImageInput: any, updatedBy: string): Promise<any>;
|
|
50
50
|
createResume(resumeTemplateId: string, partyId: string, createdBy: string, name: string): Promise<any>;
|
|
51
|
+
getResumesByFieldNameAndValues(resumeTemplateId: string, orgId: string, fieldNameValues: any): Promise<any>;
|
|
51
52
|
}
|
|
@@ -828,5 +828,22 @@ class CrmService extends serviceSDK_1.Service {
|
|
|
828
828
|
}
|
|
829
829
|
});
|
|
830
830
|
}
|
|
831
|
+
getResumesByFieldNameAndValues(resumeTemplateId, orgId, fieldNameValues) {
|
|
832
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
833
|
+
const queries = queries_1.GET_RESUMES_BY_FIELD_NAME_AND_VALUES;
|
|
834
|
+
const variables = {
|
|
835
|
+
resumeTemplateId,
|
|
836
|
+
orgId,
|
|
837
|
+
fieldNameValues,
|
|
838
|
+
};
|
|
839
|
+
try {
|
|
840
|
+
const response = yield this.graphqlQuery(queries, variables);
|
|
841
|
+
return response.getResumesByFieldNameAndValues;
|
|
842
|
+
}
|
|
843
|
+
catch (error) {
|
|
844
|
+
throw error;
|
|
845
|
+
}
|
|
846
|
+
});
|
|
847
|
+
}
|
|
831
848
|
}
|
|
832
849
|
exports.CrmService = CrmService;
|