vcomply-workflow-engine 2.4.55 → 2.4.56

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.
@@ -24172,7 +24172,7 @@
24172
24172
  }
24173
24173
  ProgramsService.prototype.getRoles = function () {
24174
24174
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
24175
- return this.http.get(this.env.organizationGet + 'roles/getProgramRoles&bcycleInterceptMode=NO_CYCLE', { headers: headers });
24175
+ return this.http.get(this.env.organizationGet + 'roles/getProgramRoles&bypass-businessCycle=true', { headers: headers });
24176
24176
  };
24177
24177
  /**
24178
24178
  * Uploads the given file to server
@@ -24189,7 +24189,7 @@
24189
24189
  };
24190
24190
  ProgramsService.prototype.getResponsibilityCenterList = function () {
24191
24191
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
24192
- return this.http.get(this.env.complianceGet + 'responsibilityCenterTree&bcycleInterceptMode=NO_CYCLE', {
24192
+ return this.http.get(this.env.complianceGet + 'responsibilityCenterTree&bypass-businessCycle=true', {
24193
24193
  headers: headers,
24194
24194
  }).pipe(rxjs.retry(2));
24195
24195
  };
@@ -24201,25 +24201,25 @@
24201
24201
  }
24202
24202
  ;
24203
24203
  if (searchKey) { }
24204
- return this.http.post(this.env.organizationPost + 'roles/getUserDetails&limit=30&bcycleInterceptMode=NO_CYCLE' + queryString, { role_ids: roles !== null && roles !== void 0 ? roles : [] }, { headers: headers }).pipe(rxjs.retry(2));
24204
+ return this.http.post(this.env.organizationPost + 'roles/getUserDetails&limit=30&bypass-businessCycle=true' + queryString, { role_ids: roles !== null && roles !== void 0 ? roles : [] }, { headers: headers }).pipe(rxjs.retry(2));
24205
24205
  };
24206
24206
  ProgramsService.prototype.fetchAllRoleUsers = function (roles) {
24207
24207
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
24208
- return this.http.post(this.env.organizationPost + 'roles/getUserDetails&type=all&bcycleInterceptMode=NO_CYCLE', { role_ids: roles !== null && roles !== void 0 ? roles : [] }, { headers: headers }).pipe(rxjs.retry(2));
24208
+ return this.http.post(this.env.organizationPost + 'roles/getUserDetails&type=all&bypass-businessCycle=true', { role_ids: roles !== null && roles !== void 0 ? roles : [] }, { headers: headers }).pipe(rxjs.retry(2));
24209
24209
  };
24210
24210
  ProgramsService.prototype.fetchAllRoleGroups = function (roles) {
24211
24211
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
24212
- return this.http.post(this.env.organizationPost + 'roles/getGroupDetails&type=all&bcycleInterceptMode=NO_CYCLE', { role_ids: roles !== null && roles !== void 0 ? roles : [] }, { headers: headers }).pipe(rxjs.retry(2));
24212
+ return this.http.post(this.env.organizationPost + 'roles/getGroupDetails&type=all&bypass-businessCycle=true', { role_ids: roles !== null && roles !== void 0 ? roles : [] }, { headers: headers }).pipe(rxjs.retry(2));
24213
24213
  };
24214
24214
  ProgramsService.prototype.fetchAllOrgUser = function () {
24215
24215
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
24216
24216
  //https://devapi.v-comply.com/organization/?mode=organisationUsersList&paginationType=small&admin=1
24217
- return this.http.get(this.env.organizationGet + 'organisationUsersList&paginationType=small&bcycleInterceptMode=NO_CYCLE', { headers: headers }).pipe(rxjs.retry(2));
24217
+ return this.http.get(this.env.organizationGet + 'organisationUsersList&paginationType=small&bypass-businessCycle=true', { headers: headers }).pipe(rxjs.retry(2));
24218
24218
  };
24219
24219
  ProgramsService.prototype.fetchComplianceGroups = function () {
24220
24220
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
24221
24221
  //https://devapi.v-comply.com/organization/?mode=groupsList&status=1&type=compliance
24222
- return this.http.get(this.env.organizationGet + 'groupsList&status=1&type=compliance&bcycleInterceptMode=NO_CYCLE', { headers: headers }).pipe(rxjs.retry(2));
24222
+ return this.http.get(this.env.organizationGet + 'groupsList&status=1&type=compliance&bypass-businessCycle=true', { headers: headers }).pipe(rxjs.retry(2));
24223
24223
  };
24224
24224
  ProgramsService.prototype.getBusinessCycle = function () {
24225
24225
  var _a, _b;
@@ -24323,7 +24323,7 @@
24323
24323
  */
24324
24324
  ProgramsService.prototype.getProgram = function (id) {
24325
24325
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken()).set('x-business-cycle', JSON.stringify((this.getBusinessCycle())));
24326
- return this.http.get(this.env.programEndpoint + '/' + id + '?isBusinessCycle=true&bcycleInterceptMode=NO_CYCLE', { headers: headers });
24326
+ return this.http.get(this.env.programEndpoint + '/' + id + '?isBusinessCycle=true&bypass-businessCycle=true', { headers: headers });
24327
24327
  };
24328
24328
  /**
24329
24329
  *
@@ -24333,15 +24333,15 @@
24333
24333
  */
24334
24334
  ProgramsService.prototype.updateProgram = function (payload, id) {
24335
24335
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken()).set('x-business-cycle', JSON.stringify((this.getBusinessCycle())));
24336
- return this.http.post(this.env.programEndpoint + '/category/editCategory/' + id + '?isBusinessCycle=true&bcycleInterceptMode=NO_CYCLE', payload, { headers: headers });
24336
+ return this.http.post(this.env.programEndpoint + '/category/editCategory/' + id + '?isBusinessCycle=true&bypass-businessCycle=true', payload, { headers: headers });
24337
24337
  };
24338
24338
  ProgramsService.prototype.getMemeberByIds = function (ids) {
24339
24339
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
24340
- return this.http.post(this.env.organizationPost + 'memberDetailsbyIds&bcycleInterceptMode=NO_CYCLE', { member_id: ids }, { headers: headers }).pipe(rxjs.retry(2));
24340
+ return this.http.post(this.env.organizationPost + 'memberDetailsbyIds&bypass-businessCycle=true', { member_id: ids }, { headers: headers }).pipe(rxjs.retry(2));
24341
24341
  };
24342
24342
  ProgramsService.prototype.getMemberByGroups = function (ids) {
24343
24343
  var headers = new i1.HttpHeaders().set('token', this.authService.getAuthorizationToken());
24344
- return this.http.post(this.env.organizationPost + 'groupDetailsbyIds&bcycleInterceptMode=NO_CYCLE', { group_ids: ids }, { headers: headers }).pipe(rxjs.retry(2));
24344
+ return this.http.post(this.env.organizationPost + 'groupDetailsbyIds&bypass-businessCycle=true', { group_ids: ids }, { headers: headers }).pipe(rxjs.retry(2));
24345
24345
  };
24346
24346
  return ProgramsService;
24347
24347
  }());
@@ -25428,6 +25428,7 @@
25428
25428
  _this.populateOptionalFields();
25429
25429
  }
25430
25430
  _this.setFormField('assignee_completion_criteria', res.default_assignee_type);
25431
+ _this.setFormField('reviewer_completion_criteria', res.default_reviewers_type);
25431
25432
  _this.editorData.programDescription = (_d = res.description) === null || _d === void 0 ? void 0 : _d.text;
25432
25433
  _this.editorData.programObjective = (_e = res.program_objective) === null || _e === void 0 ? void 0 : _e.text;
25433
25434
  _this.setFormField('framework', Object.assign(Object.assign({}, res.framework_details), { _id: (_f = res === null || res === void 0 ? void 0 : res.framework_details) === null || _f === void 0 ? void 0 : _f.framework_id }));