@digiteers/uloba3-sdk 2.0.1 → 2.2.0
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/types.d.ts +183 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -20827,11 +20827,11 @@ export interface paths {
|
|
|
20827
20827
|
};
|
|
20828
20828
|
cookie?: never;
|
|
20829
20829
|
};
|
|
20830
|
-
requestBody
|
|
20830
|
+
requestBody?: {
|
|
20831
20831
|
content: {
|
|
20832
20832
|
'application/json': {
|
|
20833
|
-
/** @description
|
|
20834
|
-
|
|
20833
|
+
/** @description Optional message explaining why the contract is being rejected */
|
|
20834
|
+
message?: string;
|
|
20835
20835
|
};
|
|
20836
20836
|
};
|
|
20837
20837
|
};
|
|
@@ -21104,11 +21104,11 @@ export interface paths {
|
|
|
21104
21104
|
};
|
|
21105
21105
|
cookie?: never;
|
|
21106
21106
|
};
|
|
21107
|
-
requestBody
|
|
21107
|
+
requestBody?: {
|
|
21108
21108
|
content: {
|
|
21109
21109
|
'application/json': {
|
|
21110
|
-
/** @description
|
|
21111
|
-
|
|
21110
|
+
/** @description Optional message explaining why the contract is being cancelled */
|
|
21111
|
+
message?: string;
|
|
21112
21112
|
};
|
|
21113
21113
|
};
|
|
21114
21114
|
};
|
|
@@ -33672,6 +33672,183 @@ export interface paths {
|
|
|
33672
33672
|
patch?: never;
|
|
33673
33673
|
trace?: never;
|
|
33674
33674
|
};
|
|
33675
|
+
'/api/overview/casehandler': {
|
|
33676
|
+
parameters: {
|
|
33677
|
+
query?: never;
|
|
33678
|
+
header?: never;
|
|
33679
|
+
path?: never;
|
|
33680
|
+
cookie?: never;
|
|
33681
|
+
};
|
|
33682
|
+
/**
|
|
33683
|
+
* Get casehandler overview
|
|
33684
|
+
* @description Get complete dashboard overview for case handler/saksbehandler including stats, activities, and alerts from contract cases
|
|
33685
|
+
*/
|
|
33686
|
+
get: {
|
|
33687
|
+
parameters: {
|
|
33688
|
+
query?: never;
|
|
33689
|
+
header?: never;
|
|
33690
|
+
path?: never;
|
|
33691
|
+
cookie?: never;
|
|
33692
|
+
};
|
|
33693
|
+
requestBody?: never;
|
|
33694
|
+
responses: {
|
|
33695
|
+
/** @description Complete overview response for case handler */
|
|
33696
|
+
200: {
|
|
33697
|
+
headers: {
|
|
33698
|
+
[name: string]: unknown;
|
|
33699
|
+
};
|
|
33700
|
+
content: {
|
|
33701
|
+
'application/json': {
|
|
33702
|
+
/** @description Complete overview data for case handler/saksbehandler */
|
|
33703
|
+
data: {
|
|
33704
|
+
/** @description High-level summary metrics across all entities */
|
|
33705
|
+
summary: {
|
|
33706
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33707
|
+
needsAction: number;
|
|
33708
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33709
|
+
active: number;
|
|
33710
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33711
|
+
total: number;
|
|
33712
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33713
|
+
inProgress: number;
|
|
33714
|
+
};
|
|
33715
|
+
/** @description Stats for contract cases managed by case handler */
|
|
33716
|
+
entities: {
|
|
33717
|
+
cases: {
|
|
33718
|
+
byStatus: {
|
|
33719
|
+
[key: string]: number;
|
|
33720
|
+
};
|
|
33721
|
+
totals: {
|
|
33722
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33723
|
+
all: number;
|
|
33724
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33725
|
+
active: number;
|
|
33726
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33727
|
+
needsAction?: number;
|
|
33728
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33729
|
+
inProgress?: number;
|
|
33730
|
+
};
|
|
33731
|
+
alerts?: {
|
|
33732
|
+
type: 'info' | 'warning' | 'error' | 'action_required';
|
|
33733
|
+
severity: 'low' | 'medium' | 'high';
|
|
33734
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33735
|
+
count: number;
|
|
33736
|
+
message: string;
|
|
33737
|
+
entityType: 'job' | 'application' | 'inquiry' | 'contract';
|
|
33738
|
+
status?: string;
|
|
33739
|
+
}[];
|
|
33740
|
+
};
|
|
33741
|
+
};
|
|
33742
|
+
/** @description Recent activities across all cases (last 10) */
|
|
33743
|
+
recentActivities: {
|
|
33744
|
+
id: string;
|
|
33745
|
+
entityType: 'job' | 'application' | 'inquiry' | 'contract';
|
|
33746
|
+
entityId: string;
|
|
33747
|
+
action: string;
|
|
33748
|
+
description: string;
|
|
33749
|
+
/**
|
|
33750
|
+
* Format: date-time
|
|
33751
|
+
* @description ISO 8601 datetime format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
|
33752
|
+
*/
|
|
33753
|
+
timestamp: string;
|
|
33754
|
+
metadata?: {
|
|
33755
|
+
[key: string]: unknown;
|
|
33756
|
+
};
|
|
33757
|
+
}[];
|
|
33758
|
+
/** @description All alerts from all cases, sorted by priority */
|
|
33759
|
+
aggregatedAlerts: {
|
|
33760
|
+
type: 'info' | 'warning' | 'error' | 'action_required';
|
|
33761
|
+
severity: 'low' | 'medium' | 'high';
|
|
33762
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33763
|
+
count: number;
|
|
33764
|
+
message: string;
|
|
33765
|
+
entityType: 'job' | 'application' | 'inquiry' | 'contract';
|
|
33766
|
+
status?: string;
|
|
33767
|
+
}[];
|
|
33768
|
+
/** @description Suggested next actions for the case handler */
|
|
33769
|
+
quickActions: {
|
|
33770
|
+
type: string;
|
|
33771
|
+
label: string;
|
|
33772
|
+
description: string;
|
|
33773
|
+
/** @description Non-negative integer (0 or greater) */
|
|
33774
|
+
count: number;
|
|
33775
|
+
priority: 'low' | 'medium' | 'high';
|
|
33776
|
+
metadata: {
|
|
33777
|
+
entityType: 'job' | 'application' | 'inquiry' | 'contract';
|
|
33778
|
+
status?: string;
|
|
33779
|
+
filters?: {
|
|
33780
|
+
[key: string]: string;
|
|
33781
|
+
};
|
|
33782
|
+
};
|
|
33783
|
+
}[];
|
|
33784
|
+
};
|
|
33785
|
+
metadata: {
|
|
33786
|
+
/** @description Role context for the statistics query */
|
|
33787
|
+
role: 'coordinator' | 'teamlead' | 'assistant' | 'case_manager' | 'applicant';
|
|
33788
|
+
/**
|
|
33789
|
+
* Format: uuid
|
|
33790
|
+
* @description UUID version 4 identifier
|
|
33791
|
+
*/
|
|
33792
|
+
accountId?: string;
|
|
33793
|
+
/**
|
|
33794
|
+
* Format: uuid
|
|
33795
|
+
* @description UUID version 4 identifier
|
|
33796
|
+
*/
|
|
33797
|
+
userId?: string;
|
|
33798
|
+
/**
|
|
33799
|
+
* Format: date-time
|
|
33800
|
+
* @description ISO 8601 datetime format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
|
33801
|
+
*/
|
|
33802
|
+
queriedAt: string;
|
|
33803
|
+
/** @description Whether the result was served from cache */
|
|
33804
|
+
cached?: boolean;
|
|
33805
|
+
/**
|
|
33806
|
+
* Format: date-time
|
|
33807
|
+
* @description ISO 8601 datetime format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
|
33808
|
+
*/
|
|
33809
|
+
cacheExpiresAt?: string;
|
|
33810
|
+
/** @description List of entity types included in the overview */
|
|
33811
|
+
entitiesIncluded: string[];
|
|
33812
|
+
/** @description Total query time in milliseconds */
|
|
33813
|
+
queryTimeMs?: number;
|
|
33814
|
+
};
|
|
33815
|
+
};
|
|
33816
|
+
};
|
|
33817
|
+
};
|
|
33818
|
+
/** @description Default Response */
|
|
33819
|
+
403: {
|
|
33820
|
+
headers: {
|
|
33821
|
+
[name: string]: unknown;
|
|
33822
|
+
};
|
|
33823
|
+
content: {
|
|
33824
|
+
'application/json': {
|
|
33825
|
+
error: string;
|
|
33826
|
+
message: string;
|
|
33827
|
+
};
|
|
33828
|
+
};
|
|
33829
|
+
};
|
|
33830
|
+
/** @description Default Response */
|
|
33831
|
+
500: {
|
|
33832
|
+
headers: {
|
|
33833
|
+
[name: string]: unknown;
|
|
33834
|
+
};
|
|
33835
|
+
content: {
|
|
33836
|
+
'application/json': {
|
|
33837
|
+
error: string;
|
|
33838
|
+
message: string;
|
|
33839
|
+
};
|
|
33840
|
+
};
|
|
33841
|
+
};
|
|
33842
|
+
};
|
|
33843
|
+
};
|
|
33844
|
+
put?: never;
|
|
33845
|
+
post?: never;
|
|
33846
|
+
delete?: never;
|
|
33847
|
+
options?: never;
|
|
33848
|
+
head?: never;
|
|
33849
|
+
patch?: never;
|
|
33850
|
+
trace?: never;
|
|
33851
|
+
};
|
|
33675
33852
|
'/api/admin/salaries/': {
|
|
33676
33853
|
parameters: {
|
|
33677
33854
|
query?: never;
|