av6-core 1.9.1 → 1.9.2

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
@@ -819,6 +819,8 @@ declare class ApprovalService {
819
819
  private assertPermission;
820
820
  getAllApprovalFlow(input: GetMyApprovalFlow): Promise<PaginatedResponse<ApprovalInstanceByUser>>;
821
821
  getApprovalActDetailsBySubjectId(subjectId: number, subjectType: string, service: string): Promise<ApprovalAction[]>;
822
+ commonStatusUpdate(config: IParentConfigJSON, data: ICommonApprovalUpdate): Promise<void>;
823
+ commonParentChildUpdate(config: IParentConfigJSON, childConfig: IChildConfigJSON | null, inst: EventInstance): Promise<void>;
822
824
  }
823
825
 
824
826
  declare const approvalRepository: (deps: ApprovalDeps) => {
package/dist/index.d.ts CHANGED
@@ -819,6 +819,8 @@ declare class ApprovalService {
819
819
  private assertPermission;
820
820
  getAllApprovalFlow(input: GetMyApprovalFlow): Promise<PaginatedResponse<ApprovalInstanceByUser>>;
821
821
  getApprovalActDetailsBySubjectId(subjectId: number, subjectType: string, service: string): Promise<ApprovalAction[]>;
822
+ commonStatusUpdate(config: IParentConfigJSON, data: ICommonApprovalUpdate): Promise<void>;
823
+ commonParentChildUpdate(config: IParentConfigJSON, childConfig: IChildConfigJSON | null, inst: EventInstance): Promise<void>;
822
824
  }
823
825
 
824
826
  declare const approvalRepository: (deps: ApprovalDeps) => {
package/dist/index.js CHANGED
@@ -2939,6 +2939,12 @@ var ApprovalService = class {
2939
2939
  );
2940
2940
  return this.approvalRepo.getApprovalActDetailsBySubjectId(this.deps.prisma, { subjectId, subjectType, service });
2941
2941
  }
2942
+ async commonStatusUpdate(config, data) {
2943
+ return this.approvalRepo.commonStatusUpdate(config, data);
2944
+ }
2945
+ async commonParentChildUpdate(config, childConfig, inst) {
2946
+ return this.approvalRepo.commonParentChildUpdate(config, childConfig, inst);
2947
+ }
2942
2948
  };
2943
2949
 
2944
2950
  // src/utils/audit.utils.ts
package/dist/index.mjs CHANGED
@@ -2876,6 +2876,12 @@ var ApprovalService = class {
2876
2876
  );
2877
2877
  return this.approvalRepo.getApprovalActDetailsBySubjectId(this.deps.prisma, { subjectId, subjectType, service });
2878
2878
  }
2879
+ async commonStatusUpdate(config, data) {
2880
+ return this.approvalRepo.commonStatusUpdate(config, data);
2881
+ }
2882
+ async commonParentChildUpdate(config, childConfig, inst) {
2883
+ return this.approvalRepo.commonParentChildUpdate(config, childConfig, inst);
2884
+ }
2879
2885
  };
2880
2886
 
2881
2887
  // src/utils/audit.utils.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "av6-core",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",