@digiteers/uloba3-sdk 3.4.0 → 3.4.1
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/api/assistants.d.ts.map +1 -1
- package/dist/api/contracts.d.ts.map +1 -1
- package/dist/types.d.ts +1101 -8
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2289,9 +2289,9 @@ export interface paths {
|
|
|
2289
2289
|
account_owner_id: string | null;
|
|
2290
2290
|
account_status: string | null;
|
|
2291
2291
|
account_language: string | null;
|
|
2292
|
-
|
|
2292
|
+
is_assistant: boolean;
|
|
2293
2293
|
is_employer: boolean;
|
|
2294
|
-
|
|
2294
|
+
is_caseworker: boolean;
|
|
2295
2295
|
is_support: boolean;
|
|
2296
2296
|
};
|
|
2297
2297
|
};
|
|
@@ -17545,7 +17545,7 @@ export interface paths {
|
|
|
17545
17545
|
};
|
|
17546
17546
|
content: {
|
|
17547
17547
|
'application/json': {
|
|
17548
|
-
data: ({
|
|
17548
|
+
data: (({
|
|
17549
17549
|
/** Format: uuid */
|
|
17550
17550
|
id: string;
|
|
17551
17551
|
} & {
|
|
@@ -17595,6 +17595,31 @@ export interface paths {
|
|
|
17595
17595
|
proposed_end_date: string | null;
|
|
17596
17596
|
proposed_hours_per_week: number | null;
|
|
17597
17597
|
job_id: string | null;
|
|
17598
|
+
}) & {
|
|
17599
|
+
inviter_user_id: string | null;
|
|
17600
|
+
inviter_full_name: string | null;
|
|
17601
|
+
inviter_email: string | null;
|
|
17602
|
+
inviter_phone: string | null;
|
|
17603
|
+
inviter_given_name: string | null;
|
|
17604
|
+
inviter_family_name: string | null;
|
|
17605
|
+
inviter_picture: string | null;
|
|
17606
|
+
invitee_user_id: string | null;
|
|
17607
|
+
invitee_full_name: string | null;
|
|
17608
|
+
invitee_email: string | null;
|
|
17609
|
+
invitee_phone: string | null;
|
|
17610
|
+
invitee_given_name: string | null;
|
|
17611
|
+
invitee_family_name: string | null;
|
|
17612
|
+
invitee_picture: string | null;
|
|
17613
|
+
account_id_ref: string | null;
|
|
17614
|
+
account_owner_id: string | null;
|
|
17615
|
+
submitted_by: string | null;
|
|
17616
|
+
submitted_by_name: string | null;
|
|
17617
|
+
accepted_by: string | null;
|
|
17618
|
+
accepted_by_name: string | null;
|
|
17619
|
+
declined_by: string | null;
|
|
17620
|
+
declined_by_name: string | null;
|
|
17621
|
+
cancelled_by: string | null;
|
|
17622
|
+
cancelled_by_name: string | null;
|
|
17598
17623
|
})[];
|
|
17599
17624
|
pagination: {
|
|
17600
17625
|
page: number;
|
|
@@ -17655,7 +17680,7 @@ export interface paths {
|
|
|
17655
17680
|
};
|
|
17656
17681
|
content: {
|
|
17657
17682
|
'application/json': {
|
|
17658
|
-
data: ({
|
|
17683
|
+
data: (({
|
|
17659
17684
|
/** Format: uuid */
|
|
17660
17685
|
id: string;
|
|
17661
17686
|
} & {
|
|
@@ -17705,6 +17730,31 @@ export interface paths {
|
|
|
17705
17730
|
proposed_end_date: string | null;
|
|
17706
17731
|
proposed_hours_per_week: number | null;
|
|
17707
17732
|
job_id: string | null;
|
|
17733
|
+
}) & {
|
|
17734
|
+
inviter_user_id: string | null;
|
|
17735
|
+
inviter_full_name: string | null;
|
|
17736
|
+
inviter_email: string | null;
|
|
17737
|
+
inviter_phone: string | null;
|
|
17738
|
+
inviter_given_name: string | null;
|
|
17739
|
+
inviter_family_name: string | null;
|
|
17740
|
+
inviter_picture: string | null;
|
|
17741
|
+
invitee_user_id: string | null;
|
|
17742
|
+
invitee_full_name: string | null;
|
|
17743
|
+
invitee_email: string | null;
|
|
17744
|
+
invitee_phone: string | null;
|
|
17745
|
+
invitee_given_name: string | null;
|
|
17746
|
+
invitee_family_name: string | null;
|
|
17747
|
+
invitee_picture: string | null;
|
|
17748
|
+
account_id_ref: string | null;
|
|
17749
|
+
account_owner_id: string | null;
|
|
17750
|
+
submitted_by: string | null;
|
|
17751
|
+
submitted_by_name: string | null;
|
|
17752
|
+
accepted_by: string | null;
|
|
17753
|
+
accepted_by_name: string | null;
|
|
17754
|
+
declined_by: string | null;
|
|
17755
|
+
declined_by_name: string | null;
|
|
17756
|
+
cancelled_by: string | null;
|
|
17757
|
+
cancelled_by_name: string | null;
|
|
17708
17758
|
})[];
|
|
17709
17759
|
pagination: {
|
|
17710
17760
|
page: number;
|
|
@@ -17868,7 +17918,7 @@ export interface paths {
|
|
|
17868
17918
|
};
|
|
17869
17919
|
content: {
|
|
17870
17920
|
'application/json': {
|
|
17871
|
-
data: ({
|
|
17921
|
+
data: (({
|
|
17872
17922
|
/** Format: uuid */
|
|
17873
17923
|
id: string;
|
|
17874
17924
|
} & {
|
|
@@ -17918,6 +17968,31 @@ export interface paths {
|
|
|
17918
17968
|
proposed_end_date: string | null;
|
|
17919
17969
|
proposed_hours_per_week: number | null;
|
|
17920
17970
|
job_id: string | null;
|
|
17971
|
+
}) & {
|
|
17972
|
+
inviter_user_id: string | null;
|
|
17973
|
+
inviter_full_name: string | null;
|
|
17974
|
+
inviter_email: string | null;
|
|
17975
|
+
inviter_phone: string | null;
|
|
17976
|
+
inviter_given_name: string | null;
|
|
17977
|
+
inviter_family_name: string | null;
|
|
17978
|
+
inviter_picture: string | null;
|
|
17979
|
+
invitee_user_id: string | null;
|
|
17980
|
+
invitee_full_name: string | null;
|
|
17981
|
+
invitee_email: string | null;
|
|
17982
|
+
invitee_phone: string | null;
|
|
17983
|
+
invitee_given_name: string | null;
|
|
17984
|
+
invitee_family_name: string | null;
|
|
17985
|
+
invitee_picture: string | null;
|
|
17986
|
+
account_id_ref: string | null;
|
|
17987
|
+
account_owner_id: string | null;
|
|
17988
|
+
submitted_by: string | null;
|
|
17989
|
+
submitted_by_name: string | null;
|
|
17990
|
+
accepted_by: string | null;
|
|
17991
|
+
accepted_by_name: string | null;
|
|
17992
|
+
declined_by: string | null;
|
|
17993
|
+
declined_by_name: string | null;
|
|
17994
|
+
cancelled_by: string | null;
|
|
17995
|
+
cancelled_by_name: string | null;
|
|
17921
17996
|
})[];
|
|
17922
17997
|
pagination: {
|
|
17923
17998
|
page: number;
|
|
@@ -17978,7 +18053,7 @@ export interface paths {
|
|
|
17978
18053
|
};
|
|
17979
18054
|
content: {
|
|
17980
18055
|
'application/json': {
|
|
17981
|
-
data: ({
|
|
18056
|
+
data: (({
|
|
17982
18057
|
/** Format: uuid */
|
|
17983
18058
|
id: string;
|
|
17984
18059
|
} & {
|
|
@@ -18028,6 +18103,31 @@ export interface paths {
|
|
|
18028
18103
|
proposed_end_date: string | null;
|
|
18029
18104
|
proposed_hours_per_week: number | null;
|
|
18030
18105
|
job_id: string | null;
|
|
18106
|
+
}) & {
|
|
18107
|
+
inviter_user_id: string | null;
|
|
18108
|
+
inviter_full_name: string | null;
|
|
18109
|
+
inviter_email: string | null;
|
|
18110
|
+
inviter_phone: string | null;
|
|
18111
|
+
inviter_given_name: string | null;
|
|
18112
|
+
inviter_family_name: string | null;
|
|
18113
|
+
inviter_picture: string | null;
|
|
18114
|
+
invitee_user_id: string | null;
|
|
18115
|
+
invitee_full_name: string | null;
|
|
18116
|
+
invitee_email: string | null;
|
|
18117
|
+
invitee_phone: string | null;
|
|
18118
|
+
invitee_given_name: string | null;
|
|
18119
|
+
invitee_family_name: string | null;
|
|
18120
|
+
invitee_picture: string | null;
|
|
18121
|
+
account_id_ref: string | null;
|
|
18122
|
+
account_owner_id: string | null;
|
|
18123
|
+
submitted_by: string | null;
|
|
18124
|
+
submitted_by_name: string | null;
|
|
18125
|
+
accepted_by: string | null;
|
|
18126
|
+
accepted_by_name: string | null;
|
|
18127
|
+
declined_by: string | null;
|
|
18128
|
+
declined_by_name: string | null;
|
|
18129
|
+
cancelled_by: string | null;
|
|
18130
|
+
cancelled_by_name: string | null;
|
|
18031
18131
|
})[];
|
|
18032
18132
|
pagination: {
|
|
18033
18133
|
page: number;
|
|
@@ -39551,7 +39651,7 @@ export interface paths {
|
|
|
39551
39651
|
'application/json': {
|
|
39552
39652
|
title: string;
|
|
39553
39653
|
description?: string;
|
|
39554
|
-
category: 'sports' | 'culture' | '
|
|
39654
|
+
category: 'sports' | 'culture' | 'hobbies' | 'nature' | 'social' | 'other';
|
|
39555
39655
|
/** @enum {string} */
|
|
39556
39656
|
context?: 'assistant';
|
|
39557
39657
|
is_active?: boolean;
|
|
@@ -39676,7 +39776,7 @@ export interface paths {
|
|
|
39676
39776
|
'application/json': {
|
|
39677
39777
|
title?: string;
|
|
39678
39778
|
description?: string;
|
|
39679
|
-
category?: 'sports' | 'culture' | '
|
|
39779
|
+
category?: 'sports' | 'culture' | 'hobbies' | 'nature' | 'social' | 'other';
|
|
39680
39780
|
/** @enum {string} */
|
|
39681
39781
|
context?: 'assistant';
|
|
39682
39782
|
is_active?: boolean;
|
|
@@ -40531,6 +40631,999 @@ export interface paths {
|
|
|
40531
40631
|
patch?: never;
|
|
40532
40632
|
trace?: never;
|
|
40533
40633
|
};
|
|
40634
|
+
'/api/support/users/{id}': {
|
|
40635
|
+
parameters: {
|
|
40636
|
+
query?: never;
|
|
40637
|
+
header?: never;
|
|
40638
|
+
path?: never;
|
|
40639
|
+
cookie?: never;
|
|
40640
|
+
};
|
|
40641
|
+
/**
|
|
40642
|
+
* Get user information
|
|
40643
|
+
* @description Get complete user information for support purposes. Requires CASE_MANAGER role.
|
|
40644
|
+
*/
|
|
40645
|
+
get: {
|
|
40646
|
+
parameters: {
|
|
40647
|
+
query?: never;
|
|
40648
|
+
header?: never;
|
|
40649
|
+
path: {
|
|
40650
|
+
/** @description User ID */
|
|
40651
|
+
id: string;
|
|
40652
|
+
};
|
|
40653
|
+
cookie?: never;
|
|
40654
|
+
};
|
|
40655
|
+
requestBody?: never;
|
|
40656
|
+
responses: {
|
|
40657
|
+
/** @description Default Response */
|
|
40658
|
+
200: {
|
|
40659
|
+
headers: {
|
|
40660
|
+
[name: string]: unknown;
|
|
40661
|
+
};
|
|
40662
|
+
content: {
|
|
40663
|
+
'application/json': {
|
|
40664
|
+
user: {
|
|
40665
|
+
id: string;
|
|
40666
|
+
email: string;
|
|
40667
|
+
email_verified?: boolean;
|
|
40668
|
+
full_name?: string;
|
|
40669
|
+
given_name?: string;
|
|
40670
|
+
family_name?: string;
|
|
40671
|
+
phone?: string;
|
|
40672
|
+
roles: string[];
|
|
40673
|
+
created_at: string;
|
|
40674
|
+
updated_at?: string;
|
|
40675
|
+
last_login?: string;
|
|
40676
|
+
};
|
|
40677
|
+
account: {
|
|
40678
|
+
id: string;
|
|
40679
|
+
status: 'active' | 'suspended';
|
|
40680
|
+
language: string;
|
|
40681
|
+
timezone?: string;
|
|
40682
|
+
created_at: string;
|
|
40683
|
+
};
|
|
40684
|
+
profile?: {
|
|
40685
|
+
type: 'assistant' | 'employer';
|
|
40686
|
+
data: unknown;
|
|
40687
|
+
};
|
|
40688
|
+
stats: {
|
|
40689
|
+
total_jobs: number;
|
|
40690
|
+
total_applications: number;
|
|
40691
|
+
total_contracts: number;
|
|
40692
|
+
total_inquiries: number;
|
|
40693
|
+
total_invites: number;
|
|
40694
|
+
};
|
|
40695
|
+
};
|
|
40696
|
+
};
|
|
40697
|
+
};
|
|
40698
|
+
/** @description Default Response */
|
|
40699
|
+
404: {
|
|
40700
|
+
headers: {
|
|
40701
|
+
[name: string]: unknown;
|
|
40702
|
+
};
|
|
40703
|
+
content: {
|
|
40704
|
+
'application/json': {
|
|
40705
|
+
error: string;
|
|
40706
|
+
};
|
|
40707
|
+
};
|
|
40708
|
+
};
|
|
40709
|
+
/** @description Default Response */
|
|
40710
|
+
500: {
|
|
40711
|
+
headers: {
|
|
40712
|
+
[name: string]: unknown;
|
|
40713
|
+
};
|
|
40714
|
+
content: {
|
|
40715
|
+
'application/json': {
|
|
40716
|
+
error: string;
|
|
40717
|
+
};
|
|
40718
|
+
};
|
|
40719
|
+
};
|
|
40720
|
+
};
|
|
40721
|
+
};
|
|
40722
|
+
put?: never;
|
|
40723
|
+
post?: never;
|
|
40724
|
+
delete?: never;
|
|
40725
|
+
options?: never;
|
|
40726
|
+
head?: never;
|
|
40727
|
+
patch?: never;
|
|
40728
|
+
trace?: never;
|
|
40729
|
+
};
|
|
40730
|
+
'/api/support/users/{id}/activity': {
|
|
40731
|
+
parameters: {
|
|
40732
|
+
query?: never;
|
|
40733
|
+
header?: never;
|
|
40734
|
+
path?: never;
|
|
40735
|
+
cookie?: never;
|
|
40736
|
+
};
|
|
40737
|
+
/**
|
|
40738
|
+
* Get user activity
|
|
40739
|
+
* @description Get paginated activity timeline for a user. Requires CASE_MANAGER role.
|
|
40740
|
+
*/
|
|
40741
|
+
get: {
|
|
40742
|
+
parameters: {
|
|
40743
|
+
query?: {
|
|
40744
|
+
limit?: number;
|
|
40745
|
+
offset?: number;
|
|
40746
|
+
event_type?: string;
|
|
40747
|
+
};
|
|
40748
|
+
header?: never;
|
|
40749
|
+
path: {
|
|
40750
|
+
/** @description User ID */
|
|
40751
|
+
id: string;
|
|
40752
|
+
};
|
|
40753
|
+
cookie?: never;
|
|
40754
|
+
};
|
|
40755
|
+
requestBody?: never;
|
|
40756
|
+
responses: {
|
|
40757
|
+
/** @description Default Response */
|
|
40758
|
+
200: {
|
|
40759
|
+
headers: {
|
|
40760
|
+
[name: string]: unknown;
|
|
40761
|
+
};
|
|
40762
|
+
content: {
|
|
40763
|
+
'application/json': {
|
|
40764
|
+
data: {
|
|
40765
|
+
id: string;
|
|
40766
|
+
event_name: string;
|
|
40767
|
+
entity_type: string;
|
|
40768
|
+
entity_id?: string;
|
|
40769
|
+
event_data: unknown;
|
|
40770
|
+
created_at: string;
|
|
40771
|
+
session_id?: string;
|
|
40772
|
+
}[];
|
|
40773
|
+
pagination: {
|
|
40774
|
+
limit: number;
|
|
40775
|
+
offset: number;
|
|
40776
|
+
total: number;
|
|
40777
|
+
has_more: boolean;
|
|
40778
|
+
};
|
|
40779
|
+
};
|
|
40780
|
+
};
|
|
40781
|
+
};
|
|
40782
|
+
/** @description Default Response */
|
|
40783
|
+
500: {
|
|
40784
|
+
headers: {
|
|
40785
|
+
[name: string]: unknown;
|
|
40786
|
+
};
|
|
40787
|
+
content: {
|
|
40788
|
+
'application/json': {
|
|
40789
|
+
error: string;
|
|
40790
|
+
};
|
|
40791
|
+
};
|
|
40792
|
+
};
|
|
40793
|
+
};
|
|
40794
|
+
};
|
|
40795
|
+
put?: never;
|
|
40796
|
+
post?: never;
|
|
40797
|
+
delete?: never;
|
|
40798
|
+
options?: never;
|
|
40799
|
+
head?: never;
|
|
40800
|
+
patch?: never;
|
|
40801
|
+
trace?: never;
|
|
40802
|
+
};
|
|
40803
|
+
'/api/support/users/{id}/sessions': {
|
|
40804
|
+
parameters: {
|
|
40805
|
+
query?: never;
|
|
40806
|
+
header?: never;
|
|
40807
|
+
path?: never;
|
|
40808
|
+
cookie?: never;
|
|
40809
|
+
};
|
|
40810
|
+
/**
|
|
40811
|
+
* Get user sessions
|
|
40812
|
+
* @description Get paginated session history for a user. Requires CASE_MANAGER role.
|
|
40813
|
+
*/
|
|
40814
|
+
get: {
|
|
40815
|
+
parameters: {
|
|
40816
|
+
query?: {
|
|
40817
|
+
limit?: number;
|
|
40818
|
+
offset?: number;
|
|
40819
|
+
};
|
|
40820
|
+
header?: never;
|
|
40821
|
+
path: {
|
|
40822
|
+
/** @description User ID */
|
|
40823
|
+
id: string;
|
|
40824
|
+
};
|
|
40825
|
+
cookie?: never;
|
|
40826
|
+
};
|
|
40827
|
+
requestBody?: never;
|
|
40828
|
+
responses: {
|
|
40829
|
+
/** @description Default Response */
|
|
40830
|
+
200: {
|
|
40831
|
+
headers: {
|
|
40832
|
+
[name: string]: unknown;
|
|
40833
|
+
};
|
|
40834
|
+
content: {
|
|
40835
|
+
'application/json': {
|
|
40836
|
+
data: {
|
|
40837
|
+
id: string;
|
|
40838
|
+
user_id: string;
|
|
40839
|
+
started_at: string;
|
|
40840
|
+
ended_at?: string;
|
|
40841
|
+
last_activity_at: string;
|
|
40842
|
+
is_active: boolean;
|
|
40843
|
+
ip_address?: string;
|
|
40844
|
+
device_type?: string;
|
|
40845
|
+
user_agent?: string;
|
|
40846
|
+
}[];
|
|
40847
|
+
pagination: {
|
|
40848
|
+
limit: number;
|
|
40849
|
+
offset: number;
|
|
40850
|
+
total: number;
|
|
40851
|
+
has_more: boolean;
|
|
40852
|
+
};
|
|
40853
|
+
};
|
|
40854
|
+
};
|
|
40855
|
+
};
|
|
40856
|
+
/** @description Default Response */
|
|
40857
|
+
500: {
|
|
40858
|
+
headers: {
|
|
40859
|
+
[name: string]: unknown;
|
|
40860
|
+
};
|
|
40861
|
+
content: {
|
|
40862
|
+
'application/json': {
|
|
40863
|
+
error: string;
|
|
40864
|
+
};
|
|
40865
|
+
};
|
|
40866
|
+
};
|
|
40867
|
+
};
|
|
40868
|
+
};
|
|
40869
|
+
put?: never;
|
|
40870
|
+
post?: never;
|
|
40871
|
+
delete?: never;
|
|
40872
|
+
options?: never;
|
|
40873
|
+
head?: never;
|
|
40874
|
+
patch?: never;
|
|
40875
|
+
trace?: never;
|
|
40876
|
+
};
|
|
40877
|
+
'/api/support/users/{id}/jobs': {
|
|
40878
|
+
parameters: {
|
|
40879
|
+
query?: never;
|
|
40880
|
+
header?: never;
|
|
40881
|
+
path?: never;
|
|
40882
|
+
cookie?: never;
|
|
40883
|
+
};
|
|
40884
|
+
/**
|
|
40885
|
+
* Get user jobs
|
|
40886
|
+
* @description Get paginated list of jobs created by user. Requires CASE_MANAGER role.
|
|
40887
|
+
*/
|
|
40888
|
+
get: {
|
|
40889
|
+
parameters: {
|
|
40890
|
+
query?: {
|
|
40891
|
+
limit?: number;
|
|
40892
|
+
offset?: number;
|
|
40893
|
+
status?: string;
|
|
40894
|
+
};
|
|
40895
|
+
header?: never;
|
|
40896
|
+
path: {
|
|
40897
|
+
/** @description User ID */
|
|
40898
|
+
id: string;
|
|
40899
|
+
};
|
|
40900
|
+
cookie?: never;
|
|
40901
|
+
};
|
|
40902
|
+
requestBody?: never;
|
|
40903
|
+
responses: {
|
|
40904
|
+
/** @description Default Response */
|
|
40905
|
+
200: {
|
|
40906
|
+
headers: {
|
|
40907
|
+
[name: string]: unknown;
|
|
40908
|
+
};
|
|
40909
|
+
content: {
|
|
40910
|
+
'application/json': {
|
|
40911
|
+
data: {
|
|
40912
|
+
id: string;
|
|
40913
|
+
title: string;
|
|
40914
|
+
status: string;
|
|
40915
|
+
created_at: string;
|
|
40916
|
+
updated_at: string;
|
|
40917
|
+
published_at?: string;
|
|
40918
|
+
unpublished_at?: string;
|
|
40919
|
+
}[];
|
|
40920
|
+
pagination: {
|
|
40921
|
+
limit: number;
|
|
40922
|
+
offset: number;
|
|
40923
|
+
total: number;
|
|
40924
|
+
has_more: boolean;
|
|
40925
|
+
};
|
|
40926
|
+
};
|
|
40927
|
+
};
|
|
40928
|
+
};
|
|
40929
|
+
/** @description Default Response */
|
|
40930
|
+
404: {
|
|
40931
|
+
headers: {
|
|
40932
|
+
[name: string]: unknown;
|
|
40933
|
+
};
|
|
40934
|
+
content: {
|
|
40935
|
+
'application/json': {
|
|
40936
|
+
error: string;
|
|
40937
|
+
};
|
|
40938
|
+
};
|
|
40939
|
+
};
|
|
40940
|
+
/** @description Default Response */
|
|
40941
|
+
500: {
|
|
40942
|
+
headers: {
|
|
40943
|
+
[name: string]: unknown;
|
|
40944
|
+
};
|
|
40945
|
+
content: {
|
|
40946
|
+
'application/json': {
|
|
40947
|
+
error: string;
|
|
40948
|
+
};
|
|
40949
|
+
};
|
|
40950
|
+
};
|
|
40951
|
+
};
|
|
40952
|
+
};
|
|
40953
|
+
put?: never;
|
|
40954
|
+
post?: never;
|
|
40955
|
+
delete?: never;
|
|
40956
|
+
options?: never;
|
|
40957
|
+
head?: never;
|
|
40958
|
+
patch?: never;
|
|
40959
|
+
trace?: never;
|
|
40960
|
+
};
|
|
40961
|
+
'/api/support/users/{id}/applications': {
|
|
40962
|
+
parameters: {
|
|
40963
|
+
query?: never;
|
|
40964
|
+
header?: never;
|
|
40965
|
+
path?: never;
|
|
40966
|
+
cookie?: never;
|
|
40967
|
+
};
|
|
40968
|
+
/**
|
|
40969
|
+
* Get user applications
|
|
40970
|
+
* @description Get paginated list of applications submitted by user. Requires CASE_MANAGER role.
|
|
40971
|
+
*/
|
|
40972
|
+
get: {
|
|
40973
|
+
parameters: {
|
|
40974
|
+
query?: {
|
|
40975
|
+
limit?: number;
|
|
40976
|
+
offset?: number;
|
|
40977
|
+
status?: string;
|
|
40978
|
+
};
|
|
40979
|
+
header?: never;
|
|
40980
|
+
path: {
|
|
40981
|
+
/** @description User ID */
|
|
40982
|
+
id: string;
|
|
40983
|
+
};
|
|
40984
|
+
cookie?: never;
|
|
40985
|
+
};
|
|
40986
|
+
requestBody?: never;
|
|
40987
|
+
responses: {
|
|
40988
|
+
/** @description Default Response */
|
|
40989
|
+
200: {
|
|
40990
|
+
headers: {
|
|
40991
|
+
[name: string]: unknown;
|
|
40992
|
+
};
|
|
40993
|
+
content: {
|
|
40994
|
+
'application/json': {
|
|
40995
|
+
data: {
|
|
40996
|
+
id: string;
|
|
40997
|
+
job_id: string;
|
|
40998
|
+
job_title?: string;
|
|
40999
|
+
status: string;
|
|
41000
|
+
created_at: string;
|
|
41001
|
+
submitted_at?: string;
|
|
41002
|
+
}[];
|
|
41003
|
+
pagination: {
|
|
41004
|
+
limit: number;
|
|
41005
|
+
offset: number;
|
|
41006
|
+
total: number;
|
|
41007
|
+
has_more: boolean;
|
|
41008
|
+
};
|
|
41009
|
+
};
|
|
41010
|
+
};
|
|
41011
|
+
};
|
|
41012
|
+
/** @description Default Response */
|
|
41013
|
+
500: {
|
|
41014
|
+
headers: {
|
|
41015
|
+
[name: string]: unknown;
|
|
41016
|
+
};
|
|
41017
|
+
content: {
|
|
41018
|
+
'application/json': {
|
|
41019
|
+
error: string;
|
|
41020
|
+
};
|
|
41021
|
+
};
|
|
41022
|
+
};
|
|
41023
|
+
};
|
|
41024
|
+
};
|
|
41025
|
+
put?: never;
|
|
41026
|
+
post?: never;
|
|
41027
|
+
delete?: never;
|
|
41028
|
+
options?: never;
|
|
41029
|
+
head?: never;
|
|
41030
|
+
patch?: never;
|
|
41031
|
+
trace?: never;
|
|
41032
|
+
};
|
|
41033
|
+
'/api/support/users/{id}/contracts': {
|
|
41034
|
+
parameters: {
|
|
41035
|
+
query?: never;
|
|
41036
|
+
header?: never;
|
|
41037
|
+
path?: never;
|
|
41038
|
+
cookie?: never;
|
|
41039
|
+
};
|
|
41040
|
+
/**
|
|
41041
|
+
* Get user contracts
|
|
41042
|
+
* @description Get paginated list of contracts for user. Requires CASE_MANAGER role.
|
|
41043
|
+
*/
|
|
41044
|
+
get: {
|
|
41045
|
+
parameters: {
|
|
41046
|
+
query?: {
|
|
41047
|
+
limit?: number;
|
|
41048
|
+
offset?: number;
|
|
41049
|
+
status?: string;
|
|
41050
|
+
};
|
|
41051
|
+
header?: never;
|
|
41052
|
+
path: {
|
|
41053
|
+
/** @description User ID */
|
|
41054
|
+
id: string;
|
|
41055
|
+
};
|
|
41056
|
+
cookie?: never;
|
|
41057
|
+
};
|
|
41058
|
+
requestBody?: never;
|
|
41059
|
+
responses: {
|
|
41060
|
+
/** @description Default Response */
|
|
41061
|
+
200: {
|
|
41062
|
+
headers: {
|
|
41063
|
+
[name: string]: unknown;
|
|
41064
|
+
};
|
|
41065
|
+
content: {
|
|
41066
|
+
'application/json': {
|
|
41067
|
+
data: {
|
|
41068
|
+
id: string;
|
|
41069
|
+
contract_number?: string;
|
|
41070
|
+
status: string;
|
|
41071
|
+
created_at: string;
|
|
41072
|
+
signed_at?: string;
|
|
41073
|
+
}[];
|
|
41074
|
+
pagination: {
|
|
41075
|
+
limit: number;
|
|
41076
|
+
offset: number;
|
|
41077
|
+
total: number;
|
|
41078
|
+
has_more: boolean;
|
|
41079
|
+
};
|
|
41080
|
+
};
|
|
41081
|
+
};
|
|
41082
|
+
};
|
|
41083
|
+
/** @description Default Response */
|
|
41084
|
+
500: {
|
|
41085
|
+
headers: {
|
|
41086
|
+
[name: string]: unknown;
|
|
41087
|
+
};
|
|
41088
|
+
content: {
|
|
41089
|
+
'application/json': {
|
|
41090
|
+
error: string;
|
|
41091
|
+
};
|
|
41092
|
+
};
|
|
41093
|
+
};
|
|
41094
|
+
};
|
|
41095
|
+
};
|
|
41096
|
+
put?: never;
|
|
41097
|
+
post?: never;
|
|
41098
|
+
delete?: never;
|
|
41099
|
+
options?: never;
|
|
41100
|
+
head?: never;
|
|
41101
|
+
patch?: never;
|
|
41102
|
+
trace?: never;
|
|
41103
|
+
};
|
|
41104
|
+
'/api/support/users/{id}/inquiries': {
|
|
41105
|
+
parameters: {
|
|
41106
|
+
query?: never;
|
|
41107
|
+
header?: never;
|
|
41108
|
+
path?: never;
|
|
41109
|
+
cookie?: never;
|
|
41110
|
+
};
|
|
41111
|
+
/**
|
|
41112
|
+
* Get user inquiries
|
|
41113
|
+
* @description Get paginated list of inquiries (sent and received). Requires CASE_MANAGER role.
|
|
41114
|
+
*/
|
|
41115
|
+
get: {
|
|
41116
|
+
parameters: {
|
|
41117
|
+
query?: {
|
|
41118
|
+
limit?: number;
|
|
41119
|
+
offset?: number;
|
|
41120
|
+
status?: string;
|
|
41121
|
+
type?: 'sent' | 'received';
|
|
41122
|
+
};
|
|
41123
|
+
header?: never;
|
|
41124
|
+
path: {
|
|
41125
|
+
/** @description User ID */
|
|
41126
|
+
id: string;
|
|
41127
|
+
};
|
|
41128
|
+
cookie?: never;
|
|
41129
|
+
};
|
|
41130
|
+
requestBody?: never;
|
|
41131
|
+
responses: {
|
|
41132
|
+
/** @description Default Response */
|
|
41133
|
+
200: {
|
|
41134
|
+
headers: {
|
|
41135
|
+
[name: string]: unknown;
|
|
41136
|
+
};
|
|
41137
|
+
content: {
|
|
41138
|
+
'application/json': {
|
|
41139
|
+
data: {
|
|
41140
|
+
id: string;
|
|
41141
|
+
status: string;
|
|
41142
|
+
type: 'sent' | 'received';
|
|
41143
|
+
created_at: string;
|
|
41144
|
+
responded_at?: string;
|
|
41145
|
+
}[];
|
|
41146
|
+
pagination: {
|
|
41147
|
+
limit: number;
|
|
41148
|
+
offset: number;
|
|
41149
|
+
total: number;
|
|
41150
|
+
has_more: boolean;
|
|
41151
|
+
};
|
|
41152
|
+
};
|
|
41153
|
+
};
|
|
41154
|
+
};
|
|
41155
|
+
/** @description Default Response */
|
|
41156
|
+
500: {
|
|
41157
|
+
headers: {
|
|
41158
|
+
[name: string]: unknown;
|
|
41159
|
+
};
|
|
41160
|
+
content: {
|
|
41161
|
+
'application/json': {
|
|
41162
|
+
error: string;
|
|
41163
|
+
};
|
|
41164
|
+
};
|
|
41165
|
+
};
|
|
41166
|
+
};
|
|
41167
|
+
};
|
|
41168
|
+
put?: never;
|
|
41169
|
+
post?: never;
|
|
41170
|
+
delete?: never;
|
|
41171
|
+
options?: never;
|
|
41172
|
+
head?: never;
|
|
41173
|
+
patch?: never;
|
|
41174
|
+
trace?: never;
|
|
41175
|
+
};
|
|
41176
|
+
'/api/support/users/{id}/invites': {
|
|
41177
|
+
parameters: {
|
|
41178
|
+
query?: never;
|
|
41179
|
+
header?: never;
|
|
41180
|
+
path?: never;
|
|
41181
|
+
cookie?: never;
|
|
41182
|
+
};
|
|
41183
|
+
/**
|
|
41184
|
+
* Get user invites
|
|
41185
|
+
* @description Get paginated list of invites (sent and received). Requires CASE_MANAGER role.
|
|
41186
|
+
*/
|
|
41187
|
+
get: {
|
|
41188
|
+
parameters: {
|
|
41189
|
+
query?: {
|
|
41190
|
+
limit?: number;
|
|
41191
|
+
offset?: number;
|
|
41192
|
+
status?: string;
|
|
41193
|
+
type?: 'sent' | 'received';
|
|
41194
|
+
};
|
|
41195
|
+
header?: never;
|
|
41196
|
+
path: {
|
|
41197
|
+
/** @description User ID */
|
|
41198
|
+
id: string;
|
|
41199
|
+
};
|
|
41200
|
+
cookie?: never;
|
|
41201
|
+
};
|
|
41202
|
+
requestBody?: never;
|
|
41203
|
+
responses: {
|
|
41204
|
+
/** @description Default Response */
|
|
41205
|
+
200: {
|
|
41206
|
+
headers: {
|
|
41207
|
+
[name: string]: unknown;
|
|
41208
|
+
};
|
|
41209
|
+
content: {
|
|
41210
|
+
'application/json': {
|
|
41211
|
+
data: {
|
|
41212
|
+
id: string;
|
|
41213
|
+
status: string;
|
|
41214
|
+
type: 'sent' | 'received';
|
|
41215
|
+
created_at: string;
|
|
41216
|
+
accepted_at?: string;
|
|
41217
|
+
rejected_at?: string;
|
|
41218
|
+
}[];
|
|
41219
|
+
pagination: {
|
|
41220
|
+
limit: number;
|
|
41221
|
+
offset: number;
|
|
41222
|
+
total: number;
|
|
41223
|
+
has_more: boolean;
|
|
41224
|
+
};
|
|
41225
|
+
};
|
|
41226
|
+
};
|
|
41227
|
+
};
|
|
41228
|
+
/** @description Default Response */
|
|
41229
|
+
500: {
|
|
41230
|
+
headers: {
|
|
41231
|
+
[name: string]: unknown;
|
|
41232
|
+
};
|
|
41233
|
+
content: {
|
|
41234
|
+
'application/json': {
|
|
41235
|
+
error: string;
|
|
41236
|
+
};
|
|
41237
|
+
};
|
|
41238
|
+
};
|
|
41239
|
+
};
|
|
41240
|
+
};
|
|
41241
|
+
put?: never;
|
|
41242
|
+
post?: never;
|
|
41243
|
+
delete?: never;
|
|
41244
|
+
options?: never;
|
|
41245
|
+
head?: never;
|
|
41246
|
+
patch?: never;
|
|
41247
|
+
trace?: never;
|
|
41248
|
+
};
|
|
41249
|
+
'/api/support/users/{id}/documents': {
|
|
41250
|
+
parameters: {
|
|
41251
|
+
query?: never;
|
|
41252
|
+
header?: never;
|
|
41253
|
+
path?: never;
|
|
41254
|
+
cookie?: never;
|
|
41255
|
+
};
|
|
41256
|
+
/**
|
|
41257
|
+
* Get user documents
|
|
41258
|
+
* @description Get paginated list of documents uploaded by user. Requires CASE_MANAGER role.
|
|
41259
|
+
*/
|
|
41260
|
+
get: {
|
|
41261
|
+
parameters: {
|
|
41262
|
+
query?: {
|
|
41263
|
+
limit?: number;
|
|
41264
|
+
offset?: number;
|
|
41265
|
+
};
|
|
41266
|
+
header?: never;
|
|
41267
|
+
path: {
|
|
41268
|
+
/** @description User ID */
|
|
41269
|
+
id: string;
|
|
41270
|
+
};
|
|
41271
|
+
cookie?: never;
|
|
41272
|
+
};
|
|
41273
|
+
requestBody?: never;
|
|
41274
|
+
responses: {
|
|
41275
|
+
/** @description Default Response */
|
|
41276
|
+
200: {
|
|
41277
|
+
headers: {
|
|
41278
|
+
[name: string]: unknown;
|
|
41279
|
+
};
|
|
41280
|
+
content: {
|
|
41281
|
+
'application/json': {
|
|
41282
|
+
data: {
|
|
41283
|
+
id: string;
|
|
41284
|
+
filename: string;
|
|
41285
|
+
content_type: string;
|
|
41286
|
+
size: number;
|
|
41287
|
+
created_at: string;
|
|
41288
|
+
}[];
|
|
41289
|
+
pagination: {
|
|
41290
|
+
limit: number;
|
|
41291
|
+
offset: number;
|
|
41292
|
+
total: number;
|
|
41293
|
+
has_more: boolean;
|
|
41294
|
+
};
|
|
41295
|
+
};
|
|
41296
|
+
};
|
|
41297
|
+
};
|
|
41298
|
+
/** @description Default Response */
|
|
41299
|
+
500: {
|
|
41300
|
+
headers: {
|
|
41301
|
+
[name: string]: unknown;
|
|
41302
|
+
};
|
|
41303
|
+
content: {
|
|
41304
|
+
'application/json': {
|
|
41305
|
+
error: string;
|
|
41306
|
+
};
|
|
41307
|
+
};
|
|
41308
|
+
};
|
|
41309
|
+
};
|
|
41310
|
+
};
|
|
41311
|
+
put?: never;
|
|
41312
|
+
post?: never;
|
|
41313
|
+
delete?: never;
|
|
41314
|
+
options?: never;
|
|
41315
|
+
head?: never;
|
|
41316
|
+
patch?: never;
|
|
41317
|
+
trace?: never;
|
|
41318
|
+
};
|
|
41319
|
+
'/api/support/users/{id}/account-status': {
|
|
41320
|
+
parameters: {
|
|
41321
|
+
query?: never;
|
|
41322
|
+
header?: never;
|
|
41323
|
+
path?: never;
|
|
41324
|
+
cookie?: never;
|
|
41325
|
+
};
|
|
41326
|
+
get?: never;
|
|
41327
|
+
/**
|
|
41328
|
+
* Update account status
|
|
41329
|
+
* @description Suspend or activate a user account. Requires CASE_MANAGER role.
|
|
41330
|
+
*/
|
|
41331
|
+
put: {
|
|
41332
|
+
parameters: {
|
|
41333
|
+
query?: never;
|
|
41334
|
+
header?: never;
|
|
41335
|
+
path: {
|
|
41336
|
+
/** @description User ID */
|
|
41337
|
+
id: string;
|
|
41338
|
+
};
|
|
41339
|
+
cookie?: never;
|
|
41340
|
+
};
|
|
41341
|
+
requestBody: {
|
|
41342
|
+
content: {
|
|
41343
|
+
'application/json': {
|
|
41344
|
+
/** @description New account status */
|
|
41345
|
+
status: 'active' | 'suspended';
|
|
41346
|
+
/** @description Reason for status change */
|
|
41347
|
+
reason: string;
|
|
41348
|
+
/**
|
|
41349
|
+
* @description Send notification email to user
|
|
41350
|
+
* @default true
|
|
41351
|
+
*/
|
|
41352
|
+
notify_user?: boolean;
|
|
41353
|
+
};
|
|
41354
|
+
};
|
|
41355
|
+
};
|
|
41356
|
+
responses: {
|
|
41357
|
+
/** @description Default Response */
|
|
41358
|
+
200: {
|
|
41359
|
+
headers: {
|
|
41360
|
+
[name: string]: unknown;
|
|
41361
|
+
};
|
|
41362
|
+
content: {
|
|
41363
|
+
'application/json': {
|
|
41364
|
+
success: boolean;
|
|
41365
|
+
user: {
|
|
41366
|
+
id: string;
|
|
41367
|
+
account_status: string;
|
|
41368
|
+
};
|
|
41369
|
+
message: string;
|
|
41370
|
+
};
|
|
41371
|
+
};
|
|
41372
|
+
};
|
|
41373
|
+
/** @description Default Response */
|
|
41374
|
+
404: {
|
|
41375
|
+
headers: {
|
|
41376
|
+
[name: string]: unknown;
|
|
41377
|
+
};
|
|
41378
|
+
content: {
|
|
41379
|
+
'application/json': {
|
|
41380
|
+
error: string;
|
|
41381
|
+
};
|
|
41382
|
+
};
|
|
41383
|
+
};
|
|
41384
|
+
/** @description Default Response */
|
|
41385
|
+
500: {
|
|
41386
|
+
headers: {
|
|
41387
|
+
[name: string]: unknown;
|
|
41388
|
+
};
|
|
41389
|
+
content: {
|
|
41390
|
+
'application/json': {
|
|
41391
|
+
error: string;
|
|
41392
|
+
};
|
|
41393
|
+
};
|
|
41394
|
+
};
|
|
41395
|
+
};
|
|
41396
|
+
};
|
|
41397
|
+
post?: never;
|
|
41398
|
+
delete?: never;
|
|
41399
|
+
options?: never;
|
|
41400
|
+
head?: never;
|
|
41401
|
+
patch?: never;
|
|
41402
|
+
trace?: never;
|
|
41403
|
+
};
|
|
41404
|
+
'/api/support/users/{id}/reset-password': {
|
|
41405
|
+
parameters: {
|
|
41406
|
+
query?: never;
|
|
41407
|
+
header?: never;
|
|
41408
|
+
path?: never;
|
|
41409
|
+
cookie?: never;
|
|
41410
|
+
};
|
|
41411
|
+
get?: never;
|
|
41412
|
+
put?: never;
|
|
41413
|
+
/**
|
|
41414
|
+
* Trigger password reset
|
|
41415
|
+
* @description Trigger password reset email for user. Requires CASE_MANAGER role.
|
|
41416
|
+
*/
|
|
41417
|
+
post: {
|
|
41418
|
+
parameters: {
|
|
41419
|
+
query?: never;
|
|
41420
|
+
header?: never;
|
|
41421
|
+
path: {
|
|
41422
|
+
/** @description User ID */
|
|
41423
|
+
id: string;
|
|
41424
|
+
};
|
|
41425
|
+
cookie?: never;
|
|
41426
|
+
};
|
|
41427
|
+
requestBody: {
|
|
41428
|
+
content: {
|
|
41429
|
+
'application/json': {
|
|
41430
|
+
/** @description Reason for password reset */
|
|
41431
|
+
reason: string;
|
|
41432
|
+
/**
|
|
41433
|
+
* @description Send password reset email
|
|
41434
|
+
* @default true
|
|
41435
|
+
*/
|
|
41436
|
+
notify_user: boolean;
|
|
41437
|
+
};
|
|
41438
|
+
};
|
|
41439
|
+
};
|
|
41440
|
+
responses: {
|
|
41441
|
+
/** @description Default Response */
|
|
41442
|
+
200: {
|
|
41443
|
+
headers: {
|
|
41444
|
+
[name: string]: unknown;
|
|
41445
|
+
};
|
|
41446
|
+
content: {
|
|
41447
|
+
'application/json': {
|
|
41448
|
+
success: boolean;
|
|
41449
|
+
message: string;
|
|
41450
|
+
};
|
|
41451
|
+
};
|
|
41452
|
+
};
|
|
41453
|
+
/** @description Default Response */
|
|
41454
|
+
404: {
|
|
41455
|
+
headers: {
|
|
41456
|
+
[name: string]: unknown;
|
|
41457
|
+
};
|
|
41458
|
+
content: {
|
|
41459
|
+
'application/json': {
|
|
41460
|
+
error: string;
|
|
41461
|
+
};
|
|
41462
|
+
};
|
|
41463
|
+
};
|
|
41464
|
+
/** @description Default Response */
|
|
41465
|
+
500: {
|
|
41466
|
+
headers: {
|
|
41467
|
+
[name: string]: unknown;
|
|
41468
|
+
};
|
|
41469
|
+
content: {
|
|
41470
|
+
'application/json': {
|
|
41471
|
+
error: string;
|
|
41472
|
+
};
|
|
41473
|
+
};
|
|
41474
|
+
};
|
|
41475
|
+
};
|
|
41476
|
+
};
|
|
41477
|
+
delete?: never;
|
|
41478
|
+
options?: never;
|
|
41479
|
+
head?: never;
|
|
41480
|
+
patch?: never;
|
|
41481
|
+
trace?: never;
|
|
41482
|
+
};
|
|
41483
|
+
'/api/support/users/{id}/verify-email': {
|
|
41484
|
+
parameters: {
|
|
41485
|
+
query?: never;
|
|
41486
|
+
header?: never;
|
|
41487
|
+
path?: never;
|
|
41488
|
+
cookie?: never;
|
|
41489
|
+
};
|
|
41490
|
+
get?: never;
|
|
41491
|
+
put?: never;
|
|
41492
|
+
/**
|
|
41493
|
+
* Verify email
|
|
41494
|
+
* @description Manually verify user email. Requires CASE_MANAGER role.
|
|
41495
|
+
*/
|
|
41496
|
+
post: {
|
|
41497
|
+
parameters: {
|
|
41498
|
+
query?: never;
|
|
41499
|
+
header?: never;
|
|
41500
|
+
path: {
|
|
41501
|
+
/** @description User ID */
|
|
41502
|
+
id: string;
|
|
41503
|
+
};
|
|
41504
|
+
cookie?: never;
|
|
41505
|
+
};
|
|
41506
|
+
requestBody: {
|
|
41507
|
+
content: {
|
|
41508
|
+
'application/json': {
|
|
41509
|
+
/** @description Reason for manual email verification */
|
|
41510
|
+
reason: string;
|
|
41511
|
+
};
|
|
41512
|
+
};
|
|
41513
|
+
};
|
|
41514
|
+
responses: {
|
|
41515
|
+
/** @description Default Response */
|
|
41516
|
+
200: {
|
|
41517
|
+
headers: {
|
|
41518
|
+
[name: string]: unknown;
|
|
41519
|
+
};
|
|
41520
|
+
content: {
|
|
41521
|
+
'application/json': {
|
|
41522
|
+
success: boolean;
|
|
41523
|
+
message: string;
|
|
41524
|
+
};
|
|
41525
|
+
};
|
|
41526
|
+
};
|
|
41527
|
+
/** @description Default Response */
|
|
41528
|
+
500: {
|
|
41529
|
+
headers: {
|
|
41530
|
+
[name: string]: unknown;
|
|
41531
|
+
};
|
|
41532
|
+
content: {
|
|
41533
|
+
'application/json': {
|
|
41534
|
+
error: string;
|
|
41535
|
+
};
|
|
41536
|
+
};
|
|
41537
|
+
};
|
|
41538
|
+
};
|
|
41539
|
+
};
|
|
41540
|
+
delete?: never;
|
|
41541
|
+
options?: never;
|
|
41542
|
+
head?: never;
|
|
41543
|
+
patch?: never;
|
|
41544
|
+
trace?: never;
|
|
41545
|
+
};
|
|
41546
|
+
'/api/support/users/{id}/send-notification': {
|
|
41547
|
+
parameters: {
|
|
41548
|
+
query?: never;
|
|
41549
|
+
header?: never;
|
|
41550
|
+
path?: never;
|
|
41551
|
+
cookie?: never;
|
|
41552
|
+
};
|
|
41553
|
+
get?: never;
|
|
41554
|
+
put?: never;
|
|
41555
|
+
/**
|
|
41556
|
+
* Send notification
|
|
41557
|
+
* @description Send notification to user. Requires CASE_MANAGER role.
|
|
41558
|
+
*/
|
|
41559
|
+
post: {
|
|
41560
|
+
parameters: {
|
|
41561
|
+
query?: never;
|
|
41562
|
+
header?: never;
|
|
41563
|
+
path: {
|
|
41564
|
+
/** @description User ID */
|
|
41565
|
+
id: string;
|
|
41566
|
+
};
|
|
41567
|
+
cookie?: never;
|
|
41568
|
+
};
|
|
41569
|
+
requestBody: {
|
|
41570
|
+
content: {
|
|
41571
|
+
'application/json': {
|
|
41572
|
+
/** @description Notification title */
|
|
41573
|
+
title: string;
|
|
41574
|
+
/** @description Notification message */
|
|
41575
|
+
message: string;
|
|
41576
|
+
/**
|
|
41577
|
+
* @description Notification type
|
|
41578
|
+
* @default info
|
|
41579
|
+
*/
|
|
41580
|
+
type: 'info' | 'warning' | 'success' | 'error';
|
|
41581
|
+
};
|
|
41582
|
+
};
|
|
41583
|
+
};
|
|
41584
|
+
responses: {
|
|
41585
|
+
/** @description Default Response */
|
|
41586
|
+
200: {
|
|
41587
|
+
headers: {
|
|
41588
|
+
[name: string]: unknown;
|
|
41589
|
+
};
|
|
41590
|
+
content: {
|
|
41591
|
+
'application/json': {
|
|
41592
|
+
success: boolean;
|
|
41593
|
+
message: string;
|
|
41594
|
+
};
|
|
41595
|
+
};
|
|
41596
|
+
};
|
|
41597
|
+
/** @description Default Response */
|
|
41598
|
+
404: {
|
|
41599
|
+
headers: {
|
|
41600
|
+
[name: string]: unknown;
|
|
41601
|
+
};
|
|
41602
|
+
content: {
|
|
41603
|
+
'application/json': {
|
|
41604
|
+
error: string;
|
|
41605
|
+
};
|
|
41606
|
+
};
|
|
41607
|
+
};
|
|
41608
|
+
/** @description Default Response */
|
|
41609
|
+
500: {
|
|
41610
|
+
headers: {
|
|
41611
|
+
[name: string]: unknown;
|
|
41612
|
+
};
|
|
41613
|
+
content: {
|
|
41614
|
+
'application/json': {
|
|
41615
|
+
error: string;
|
|
41616
|
+
};
|
|
41617
|
+
};
|
|
41618
|
+
};
|
|
41619
|
+
};
|
|
41620
|
+
};
|
|
41621
|
+
delete?: never;
|
|
41622
|
+
options?: never;
|
|
41623
|
+
head?: never;
|
|
41624
|
+
patch?: never;
|
|
41625
|
+
trace?: never;
|
|
41626
|
+
};
|
|
40534
41627
|
}
|
|
40535
41628
|
export type webhooks = Record<string, never>;
|
|
40536
41629
|
export interface components {
|