nextemos 5.3.5 → 5.3.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.
|
@@ -156,7 +156,7 @@ exports.MemberService = {
|
|
|
156
156
|
return (0, __1.fetchRequest)().get(exports.MemberService.Url(urls_1.default.Member.MemberDocument.Documents, options), Object.assign(Object.assign({}, options), { params: data }));
|
|
157
157
|
}),
|
|
158
158
|
AddDocument: (data, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
159
|
-
return (0, __1.fetchRequest)().post(exports.MemberService.Url(urls_1.default.Member.MemberDocument.Add, options), Object.assign(
|
|
159
|
+
return (0, __1.fetchRequest)().post(exports.MemberService.Url(urls_1.default.Member.MemberDocument.Add, options), Object.assign({ body: data }, options));
|
|
160
160
|
}),
|
|
161
161
|
// MemberReference
|
|
162
162
|
AddReference: (data, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -163,7 +163,7 @@ export interface IAddMemberDocumentRequest extends IRequestBase {
|
|
|
163
163
|
order?: number;
|
|
164
164
|
templateId?: number;
|
|
165
165
|
className?: string;
|
|
166
|
-
file
|
|
166
|
+
file?: string;
|
|
167
167
|
}
|
|
168
168
|
export interface IMemberSegmentMappingsRequest extends IRequestBase {
|
|
169
169
|
memberId?: number;
|
|
@@ -219,7 +219,7 @@ export interface IMemberService extends IService {
|
|
|
219
219
|
PointsByMemberId: (data?: IPointsByMemberIdRequest, options?: IRequestInit) => Promise<IApiResponse<IPointsByMemberIdResponse>>;
|
|
220
220
|
CommunicationInfoUpdateVerificationCode: (data?: ICommunicationInfoUpdateVerificationCodeRequest, options?: IRequestInit) => Promise<IApiResponse<IResponse>>;
|
|
221
221
|
Documents: (data?: IMemberDocumentsRequest, options?: IRequestInit) => Promise<IApiResponse<IMemberDocumentsResponse>>;
|
|
222
|
-
AddDocument: (data
|
|
222
|
+
AddDocument: (data: FormData, options?: IRequestInit) => Promise<IApiResponse<IResponse>>;
|
|
223
223
|
EducationStatusList: (options?: IRequestInit) => Promise<IApiResponse<IEducationStatusListResponse>>;
|
|
224
224
|
JobList: (options?: IRequestInit) => Promise<IApiResponse<IJobListResponse>>;
|
|
225
225
|
Segments: (options?: IRequestInit) => Promise<IApiResponse<ISegmentsResponse>>;
|