@digiteers/uloba3-sdk 3.3.3 → 3.4.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/api/assistants.d.ts.map +1 -1
- package/dist/api/contracts.d.ts.map +1 -1
- package/dist/api/support.d.ts +244 -0
- package/dist/api/support.d.ts.map +1 -0
- package/dist/api/support.js +175 -0
- package/dist/api/support.js.map +1 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +3 -0
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +366 -152
- package/dist/types.d.ts.map +1 -1
- package/dist/view-types.d.ts +4 -0
- package/dist/view-types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2179,6 +2179,70 @@ export interface paths {
|
|
|
2179
2179
|
patch?: never;
|
|
2180
2180
|
trace?: never;
|
|
2181
2181
|
};
|
|
2182
|
+
'/api/users/me/sessions/history': {
|
|
2183
|
+
parameters: {
|
|
2184
|
+
query?: never;
|
|
2185
|
+
header?: never;
|
|
2186
|
+
path?: never;
|
|
2187
|
+
cookie?: never;
|
|
2188
|
+
};
|
|
2189
|
+
/**
|
|
2190
|
+
* Get current user session history
|
|
2191
|
+
* @description Get paginated session history for the authenticated user
|
|
2192
|
+
*/
|
|
2193
|
+
get: {
|
|
2194
|
+
parameters: {
|
|
2195
|
+
query?: {
|
|
2196
|
+
limit?: number;
|
|
2197
|
+
offset?: number;
|
|
2198
|
+
};
|
|
2199
|
+
header?: never;
|
|
2200
|
+
path?: never;
|
|
2201
|
+
cookie?: never;
|
|
2202
|
+
};
|
|
2203
|
+
requestBody?: never;
|
|
2204
|
+
responses: {
|
|
2205
|
+
/** @description Default Response */
|
|
2206
|
+
200: {
|
|
2207
|
+
headers: {
|
|
2208
|
+
[name: string]: unknown;
|
|
2209
|
+
};
|
|
2210
|
+
content: {
|
|
2211
|
+
'application/json': {
|
|
2212
|
+
data: unknown[];
|
|
2213
|
+
pagination: {
|
|
2214
|
+
limit: number;
|
|
2215
|
+
offset: number;
|
|
2216
|
+
has_more: boolean;
|
|
2217
|
+
};
|
|
2218
|
+
metadata: {
|
|
2219
|
+
viewerContext: string;
|
|
2220
|
+
timestamp: string;
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
/** @description Default Response */
|
|
2226
|
+
401: {
|
|
2227
|
+
headers: {
|
|
2228
|
+
[name: string]: unknown;
|
|
2229
|
+
};
|
|
2230
|
+
content: {
|
|
2231
|
+
'application/json': {
|
|
2232
|
+
error: string;
|
|
2233
|
+
};
|
|
2234
|
+
};
|
|
2235
|
+
};
|
|
2236
|
+
};
|
|
2237
|
+
};
|
|
2238
|
+
put?: never;
|
|
2239
|
+
post?: never;
|
|
2240
|
+
delete?: never;
|
|
2241
|
+
options?: never;
|
|
2242
|
+
head?: never;
|
|
2243
|
+
patch?: never;
|
|
2244
|
+
trace?: never;
|
|
2245
|
+
};
|
|
2182
2246
|
'/api/users/me': {
|
|
2183
2247
|
parameters: {
|
|
2184
2248
|
query?: never;
|
|
@@ -2188,7 +2252,7 @@ export interface paths {
|
|
|
2188
2252
|
};
|
|
2189
2253
|
/**
|
|
2190
2254
|
* Get current user
|
|
2191
|
-
* @description Get the currently authenticated user
|
|
2255
|
+
* @description Get the currently authenticated user from user_view
|
|
2192
2256
|
*/
|
|
2193
2257
|
get: {
|
|
2194
2258
|
parameters: {
|
|
@@ -2199,6 +2263,39 @@ export interface paths {
|
|
|
2199
2263
|
};
|
|
2200
2264
|
requestBody?: never;
|
|
2201
2265
|
responses: {
|
|
2266
|
+
/** @description User data from user_view combining users and accounts */
|
|
2267
|
+
200: {
|
|
2268
|
+
headers: {
|
|
2269
|
+
[name: string]: unknown;
|
|
2270
|
+
};
|
|
2271
|
+
content: {
|
|
2272
|
+
'application/json': {
|
|
2273
|
+
/** Format: uuid */
|
|
2274
|
+
id: string;
|
|
2275
|
+
uloba_immutable_id: string | null;
|
|
2276
|
+
/** Format: email */
|
|
2277
|
+
email: string;
|
|
2278
|
+
email_verified: boolean;
|
|
2279
|
+
phone: string | null;
|
|
2280
|
+
full_name: string | null;
|
|
2281
|
+
given_name: string | null;
|
|
2282
|
+
family_name: string | null;
|
|
2283
|
+
display_name: string;
|
|
2284
|
+
roles: string[] | null;
|
|
2285
|
+
created_at: string | null;
|
|
2286
|
+
updated_at: string | null;
|
|
2287
|
+
last_login: string | null;
|
|
2288
|
+
account_id: string | null;
|
|
2289
|
+
account_owner_id: string | null;
|
|
2290
|
+
account_status: string | null;
|
|
2291
|
+
account_language: string | null;
|
|
2292
|
+
is_job_seeker: boolean;
|
|
2293
|
+
is_employer: boolean;
|
|
2294
|
+
is_admin: boolean;
|
|
2295
|
+
is_support: boolean;
|
|
2296
|
+
};
|
|
2297
|
+
};
|
|
2298
|
+
};
|
|
2202
2299
|
/** @description Default Response */
|
|
2203
2300
|
401: {
|
|
2204
2301
|
headers: {
|
|
@@ -2210,6 +2307,17 @@ export interface paths {
|
|
|
2210
2307
|
};
|
|
2211
2308
|
};
|
|
2212
2309
|
};
|
|
2310
|
+
/** @description Default Response */
|
|
2311
|
+
404: {
|
|
2312
|
+
headers: {
|
|
2313
|
+
[name: string]: unknown;
|
|
2314
|
+
};
|
|
2315
|
+
content: {
|
|
2316
|
+
'application/json': {
|
|
2317
|
+
error: string;
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
};
|
|
2213
2321
|
};
|
|
2214
2322
|
};
|
|
2215
2323
|
/**
|
|
@@ -17482,6 +17590,11 @@ export interface paths {
|
|
|
17482
17590
|
inviter_deleted_at: string | null;
|
|
17483
17591
|
invitee_deleted: boolean | null;
|
|
17484
17592
|
invitee_deleted_at: string | null;
|
|
17593
|
+
} & {
|
|
17594
|
+
proposed_start_date: string | null;
|
|
17595
|
+
proposed_end_date: string | null;
|
|
17596
|
+
proposed_hours_per_week: number | null;
|
|
17597
|
+
job_id: string | null;
|
|
17485
17598
|
})[];
|
|
17486
17599
|
pagination: {
|
|
17487
17600
|
page: number;
|
|
@@ -17587,6 +17700,11 @@ export interface paths {
|
|
|
17587
17700
|
inviter_deleted_at: string | null;
|
|
17588
17701
|
invitee_deleted: boolean | null;
|
|
17589
17702
|
invitee_deleted_at: string | null;
|
|
17703
|
+
} & {
|
|
17704
|
+
proposed_start_date: string | null;
|
|
17705
|
+
proposed_end_date: string | null;
|
|
17706
|
+
proposed_hours_per_week: number | null;
|
|
17707
|
+
job_id: string | null;
|
|
17590
17708
|
})[];
|
|
17591
17709
|
pagination: {
|
|
17592
17710
|
page: number;
|
|
@@ -17667,47 +17785,6 @@ export interface paths {
|
|
|
17667
17785
|
patch?: never;
|
|
17668
17786
|
trace?: never;
|
|
17669
17787
|
};
|
|
17670
|
-
'/api/invites/pending-count': {
|
|
17671
|
-
parameters: {
|
|
17672
|
-
query?: never;
|
|
17673
|
-
header?: never;
|
|
17674
|
-
path?: never;
|
|
17675
|
-
cookie?: never;
|
|
17676
|
-
};
|
|
17677
|
-
/**
|
|
17678
|
-
* Get pending email invite count
|
|
17679
|
-
* @description Returns the number of invites sent to the user's email before they registered
|
|
17680
|
-
*/
|
|
17681
|
-
get: {
|
|
17682
|
-
parameters: {
|
|
17683
|
-
query?: never;
|
|
17684
|
-
header?: never;
|
|
17685
|
-
path?: never;
|
|
17686
|
-
cookie?: never;
|
|
17687
|
-
};
|
|
17688
|
-
requestBody?: never;
|
|
17689
|
-
responses: {
|
|
17690
|
-
/** @description Default Response */
|
|
17691
|
-
200: {
|
|
17692
|
-
headers: {
|
|
17693
|
-
[name: string]: unknown;
|
|
17694
|
-
};
|
|
17695
|
-
content: {
|
|
17696
|
-
'application/json': {
|
|
17697
|
-
count: number;
|
|
17698
|
-
};
|
|
17699
|
-
};
|
|
17700
|
-
};
|
|
17701
|
-
};
|
|
17702
|
-
};
|
|
17703
|
-
put?: never;
|
|
17704
|
-
post?: never;
|
|
17705
|
-
delete?: never;
|
|
17706
|
-
options?: never;
|
|
17707
|
-
head?: never;
|
|
17708
|
-
patch?: never;
|
|
17709
|
-
trace?: never;
|
|
17710
|
-
};
|
|
17711
17788
|
'/api/invites/assistants': {
|
|
17712
17789
|
parameters: {
|
|
17713
17790
|
query?: never;
|
|
@@ -17836,6 +17913,11 @@ export interface paths {
|
|
|
17836
17913
|
inviter_deleted_at: string | null;
|
|
17837
17914
|
invitee_deleted: boolean | null;
|
|
17838
17915
|
invitee_deleted_at: string | null;
|
|
17916
|
+
} & {
|
|
17917
|
+
proposed_start_date: string | null;
|
|
17918
|
+
proposed_end_date: string | null;
|
|
17919
|
+
proposed_hours_per_week: number | null;
|
|
17920
|
+
job_id: string | null;
|
|
17839
17921
|
})[];
|
|
17840
17922
|
pagination: {
|
|
17841
17923
|
page: number;
|
|
@@ -17941,6 +18023,11 @@ export interface paths {
|
|
|
17941
18023
|
inviter_deleted_at: string | null;
|
|
17942
18024
|
invitee_deleted: boolean | null;
|
|
17943
18025
|
invitee_deleted_at: string | null;
|
|
18026
|
+
} & {
|
|
18027
|
+
proposed_start_date: string | null;
|
|
18028
|
+
proposed_end_date: string | null;
|
|
18029
|
+
proposed_hours_per_week: number | null;
|
|
18030
|
+
job_id: string | null;
|
|
17944
18031
|
})[];
|
|
17945
18032
|
pagination: {
|
|
17946
18033
|
page: number;
|
|
@@ -17997,10 +18084,10 @@ export interface paths {
|
|
|
17997
18084
|
content: {
|
|
17998
18085
|
'application/json': {
|
|
17999
18086
|
/**
|
|
18000
|
-
* Invite
|
|
18001
|
-
* @description
|
|
18087
|
+
* Invite with Details
|
|
18088
|
+
* @description Invite with participant, account and job details from invites_view
|
|
18002
18089
|
*/
|
|
18003
|
-
data: {
|
|
18090
|
+
data: ({
|
|
18004
18091
|
/** Format: uuid */
|
|
18005
18092
|
id: string;
|
|
18006
18093
|
} & {
|
|
@@ -18045,6 +18132,36 @@ export interface paths {
|
|
|
18045
18132
|
inviter_deleted_at: string | null;
|
|
18046
18133
|
invitee_deleted: boolean | null;
|
|
18047
18134
|
invitee_deleted_at: string | null;
|
|
18135
|
+
} & {
|
|
18136
|
+
proposed_start_date: string | null;
|
|
18137
|
+
proposed_end_date: string | null;
|
|
18138
|
+
proposed_hours_per_week: number | null;
|
|
18139
|
+
job_id: string | null;
|
|
18140
|
+
}) & {
|
|
18141
|
+
inviter_user_id: string | null;
|
|
18142
|
+
inviter_full_name: string | null;
|
|
18143
|
+
inviter_email: string | null;
|
|
18144
|
+
inviter_phone: string | null;
|
|
18145
|
+
inviter_given_name: string | null;
|
|
18146
|
+
inviter_family_name: string | null;
|
|
18147
|
+
inviter_picture: string | null;
|
|
18148
|
+
invitee_user_id: string | null;
|
|
18149
|
+
invitee_full_name: string | null;
|
|
18150
|
+
invitee_email: string | null;
|
|
18151
|
+
invitee_phone: string | null;
|
|
18152
|
+
invitee_given_name: string | null;
|
|
18153
|
+
invitee_family_name: string | null;
|
|
18154
|
+
invitee_picture: string | null;
|
|
18155
|
+
account_id_ref: string | null;
|
|
18156
|
+
account_owner_id: string | null;
|
|
18157
|
+
submitted_by: string | null;
|
|
18158
|
+
submitted_by_name: string | null;
|
|
18159
|
+
accepted_by: string | null;
|
|
18160
|
+
accepted_by_name: string | null;
|
|
18161
|
+
declined_by: string | null;
|
|
18162
|
+
declined_by_name: string | null;
|
|
18163
|
+
cancelled_by: string | null;
|
|
18164
|
+
cancelled_by_name: string | null;
|
|
18048
18165
|
};
|
|
18049
18166
|
metadata: {
|
|
18050
18167
|
viewerContext: 'owner' | 'authenticated' | 'anonymous';
|
|
@@ -18077,18 +18194,17 @@ export interface paths {
|
|
|
18077
18194
|
};
|
|
18078
18195
|
cookie?: never;
|
|
18079
18196
|
};
|
|
18080
|
-
/** @description Request body for updating a draft invite */
|
|
18197
|
+
/** @description Request body for updating a draft invite - lenient validation for autosave */
|
|
18081
18198
|
requestBody?: {
|
|
18082
18199
|
content: {
|
|
18083
18200
|
'application/json': {
|
|
18084
|
-
invitee_id?: string;
|
|
18085
|
-
|
|
18086
|
-
email?: string;
|
|
18201
|
+
invitee_id?: string | null;
|
|
18202
|
+
email?: string | null;
|
|
18087
18203
|
message?: string;
|
|
18088
18204
|
proposed_start_date?: string | null;
|
|
18089
18205
|
proposed_end_date?: string | null;
|
|
18090
18206
|
proposed_hours_per_week?: number | null;
|
|
18091
|
-
job_id?: string;
|
|
18207
|
+
job_id?: string | null;
|
|
18092
18208
|
};
|
|
18093
18209
|
};
|
|
18094
18210
|
};
|
|
@@ -18101,10 +18217,10 @@ export interface paths {
|
|
|
18101
18217
|
content: {
|
|
18102
18218
|
'application/json': {
|
|
18103
18219
|
/**
|
|
18104
|
-
* Invite
|
|
18105
|
-
* @description
|
|
18220
|
+
* Invite with Details
|
|
18221
|
+
* @description Invite with participant, account and job details from invites_view
|
|
18106
18222
|
*/
|
|
18107
|
-
data: {
|
|
18223
|
+
data: ({
|
|
18108
18224
|
/** Format: uuid */
|
|
18109
18225
|
id: string;
|
|
18110
18226
|
} & {
|
|
@@ -18149,6 +18265,36 @@ export interface paths {
|
|
|
18149
18265
|
inviter_deleted_at: string | null;
|
|
18150
18266
|
invitee_deleted: boolean | null;
|
|
18151
18267
|
invitee_deleted_at: string | null;
|
|
18268
|
+
} & {
|
|
18269
|
+
proposed_start_date: string | null;
|
|
18270
|
+
proposed_end_date: string | null;
|
|
18271
|
+
proposed_hours_per_week: number | null;
|
|
18272
|
+
job_id: string | null;
|
|
18273
|
+
}) & {
|
|
18274
|
+
inviter_user_id: string | null;
|
|
18275
|
+
inviter_full_name: string | null;
|
|
18276
|
+
inviter_email: string | null;
|
|
18277
|
+
inviter_phone: string | null;
|
|
18278
|
+
inviter_given_name: string | null;
|
|
18279
|
+
inviter_family_name: string | null;
|
|
18280
|
+
inviter_picture: string | null;
|
|
18281
|
+
invitee_user_id: string | null;
|
|
18282
|
+
invitee_full_name: string | null;
|
|
18283
|
+
invitee_email: string | null;
|
|
18284
|
+
invitee_phone: string | null;
|
|
18285
|
+
invitee_given_name: string | null;
|
|
18286
|
+
invitee_family_name: string | null;
|
|
18287
|
+
invitee_picture: string | null;
|
|
18288
|
+
account_id_ref: string | null;
|
|
18289
|
+
account_owner_id: string | null;
|
|
18290
|
+
submitted_by: string | null;
|
|
18291
|
+
submitted_by_name: string | null;
|
|
18292
|
+
accepted_by: string | null;
|
|
18293
|
+
accepted_by_name: string | null;
|
|
18294
|
+
declined_by: string | null;
|
|
18295
|
+
declined_by_name: string | null;
|
|
18296
|
+
cancelled_by: string | null;
|
|
18297
|
+
cancelled_by_name: string | null;
|
|
18152
18298
|
};
|
|
18153
18299
|
metadata: {
|
|
18154
18300
|
viewerContext: 'owner' | 'authenticated' | 'anonymous';
|
|
@@ -18341,10 +18487,10 @@ export interface paths {
|
|
|
18341
18487
|
content: {
|
|
18342
18488
|
'application/json': {
|
|
18343
18489
|
/**
|
|
18344
|
-
* Invite
|
|
18345
|
-
* @description
|
|
18490
|
+
* Invite with Details
|
|
18491
|
+
* @description Invite with participant, account and job details from invites_view
|
|
18346
18492
|
*/
|
|
18347
|
-
data: {
|
|
18493
|
+
data: ({
|
|
18348
18494
|
/** Format: uuid */
|
|
18349
18495
|
id: string;
|
|
18350
18496
|
} & {
|
|
@@ -18389,6 +18535,36 @@ export interface paths {
|
|
|
18389
18535
|
inviter_deleted_at: string | null;
|
|
18390
18536
|
invitee_deleted: boolean | null;
|
|
18391
18537
|
invitee_deleted_at: string | null;
|
|
18538
|
+
} & {
|
|
18539
|
+
proposed_start_date: string | null;
|
|
18540
|
+
proposed_end_date: string | null;
|
|
18541
|
+
proposed_hours_per_week: number | null;
|
|
18542
|
+
job_id: string | null;
|
|
18543
|
+
}) & {
|
|
18544
|
+
inviter_user_id: string | null;
|
|
18545
|
+
inviter_full_name: string | null;
|
|
18546
|
+
inviter_email: string | null;
|
|
18547
|
+
inviter_phone: string | null;
|
|
18548
|
+
inviter_given_name: string | null;
|
|
18549
|
+
inviter_family_name: string | null;
|
|
18550
|
+
inviter_picture: string | null;
|
|
18551
|
+
invitee_user_id: string | null;
|
|
18552
|
+
invitee_full_name: string | null;
|
|
18553
|
+
invitee_email: string | null;
|
|
18554
|
+
invitee_phone: string | null;
|
|
18555
|
+
invitee_given_name: string | null;
|
|
18556
|
+
invitee_family_name: string | null;
|
|
18557
|
+
invitee_picture: string | null;
|
|
18558
|
+
account_id_ref: string | null;
|
|
18559
|
+
account_owner_id: string | null;
|
|
18560
|
+
submitted_by: string | null;
|
|
18561
|
+
submitted_by_name: string | null;
|
|
18562
|
+
accepted_by: string | null;
|
|
18563
|
+
accepted_by_name: string | null;
|
|
18564
|
+
declined_by: string | null;
|
|
18565
|
+
declined_by_name: string | null;
|
|
18566
|
+
cancelled_by: string | null;
|
|
18567
|
+
cancelled_by_name: string | null;
|
|
18392
18568
|
};
|
|
18393
18569
|
metadata: {
|
|
18394
18570
|
viewerContext: 'owner' | 'authenticated' | 'anonymous';
|
|
@@ -18453,10 +18629,10 @@ export interface paths {
|
|
|
18453
18629
|
content: {
|
|
18454
18630
|
'application/json': {
|
|
18455
18631
|
/**
|
|
18456
|
-
* Invite
|
|
18457
|
-
* @description
|
|
18632
|
+
* Invite with Details
|
|
18633
|
+
* @description Invite with participant, account and job details from invites_view
|
|
18458
18634
|
*/
|
|
18459
|
-
data: {
|
|
18635
|
+
data: ({
|
|
18460
18636
|
/** Format: uuid */
|
|
18461
18637
|
id: string;
|
|
18462
18638
|
} & {
|
|
@@ -18501,6 +18677,36 @@ export interface paths {
|
|
|
18501
18677
|
inviter_deleted_at: string | null;
|
|
18502
18678
|
invitee_deleted: boolean | null;
|
|
18503
18679
|
invitee_deleted_at: string | null;
|
|
18680
|
+
} & {
|
|
18681
|
+
proposed_start_date: string | null;
|
|
18682
|
+
proposed_end_date: string | null;
|
|
18683
|
+
proposed_hours_per_week: number | null;
|
|
18684
|
+
job_id: string | null;
|
|
18685
|
+
}) & {
|
|
18686
|
+
inviter_user_id: string | null;
|
|
18687
|
+
inviter_full_name: string | null;
|
|
18688
|
+
inviter_email: string | null;
|
|
18689
|
+
inviter_phone: string | null;
|
|
18690
|
+
inviter_given_name: string | null;
|
|
18691
|
+
inviter_family_name: string | null;
|
|
18692
|
+
inviter_picture: string | null;
|
|
18693
|
+
invitee_user_id: string | null;
|
|
18694
|
+
invitee_full_name: string | null;
|
|
18695
|
+
invitee_email: string | null;
|
|
18696
|
+
invitee_phone: string | null;
|
|
18697
|
+
invitee_given_name: string | null;
|
|
18698
|
+
invitee_family_name: string | null;
|
|
18699
|
+
invitee_picture: string | null;
|
|
18700
|
+
account_id_ref: string | null;
|
|
18701
|
+
account_owner_id: string | null;
|
|
18702
|
+
submitted_by: string | null;
|
|
18703
|
+
submitted_by_name: string | null;
|
|
18704
|
+
accepted_by: string | null;
|
|
18705
|
+
accepted_by_name: string | null;
|
|
18706
|
+
declined_by: string | null;
|
|
18707
|
+
declined_by_name: string | null;
|
|
18708
|
+
cancelled_by: string | null;
|
|
18709
|
+
cancelled_by_name: string | null;
|
|
18504
18710
|
};
|
|
18505
18711
|
metadata: {
|
|
18506
18712
|
viewerContext: 'owner' | 'authenticated' | 'anonymous';
|
|
@@ -18565,10 +18771,10 @@ export interface paths {
|
|
|
18565
18771
|
content: {
|
|
18566
18772
|
'application/json': {
|
|
18567
18773
|
/**
|
|
18568
|
-
* Invite
|
|
18569
|
-
* @description
|
|
18774
|
+
* Invite with Details
|
|
18775
|
+
* @description Invite with participant, account and job details from invites_view
|
|
18570
18776
|
*/
|
|
18571
|
-
data: {
|
|
18777
|
+
data: ({
|
|
18572
18778
|
/** Format: uuid */
|
|
18573
18779
|
id: string;
|
|
18574
18780
|
} & {
|
|
@@ -18613,6 +18819,36 @@ export interface paths {
|
|
|
18613
18819
|
inviter_deleted_at: string | null;
|
|
18614
18820
|
invitee_deleted: boolean | null;
|
|
18615
18821
|
invitee_deleted_at: string | null;
|
|
18822
|
+
} & {
|
|
18823
|
+
proposed_start_date: string | null;
|
|
18824
|
+
proposed_end_date: string | null;
|
|
18825
|
+
proposed_hours_per_week: number | null;
|
|
18826
|
+
job_id: string | null;
|
|
18827
|
+
}) & {
|
|
18828
|
+
inviter_user_id: string | null;
|
|
18829
|
+
inviter_full_name: string | null;
|
|
18830
|
+
inviter_email: string | null;
|
|
18831
|
+
inviter_phone: string | null;
|
|
18832
|
+
inviter_given_name: string | null;
|
|
18833
|
+
inviter_family_name: string | null;
|
|
18834
|
+
inviter_picture: string | null;
|
|
18835
|
+
invitee_user_id: string | null;
|
|
18836
|
+
invitee_full_name: string | null;
|
|
18837
|
+
invitee_email: string | null;
|
|
18838
|
+
invitee_phone: string | null;
|
|
18839
|
+
invitee_given_name: string | null;
|
|
18840
|
+
invitee_family_name: string | null;
|
|
18841
|
+
invitee_picture: string | null;
|
|
18842
|
+
account_id_ref: string | null;
|
|
18843
|
+
account_owner_id: string | null;
|
|
18844
|
+
submitted_by: string | null;
|
|
18845
|
+
submitted_by_name: string | null;
|
|
18846
|
+
accepted_by: string | null;
|
|
18847
|
+
accepted_by_name: string | null;
|
|
18848
|
+
declined_by: string | null;
|
|
18849
|
+
declined_by_name: string | null;
|
|
18850
|
+
cancelled_by: string | null;
|
|
18851
|
+
cancelled_by_name: string | null;
|
|
18616
18852
|
};
|
|
18617
18853
|
metadata: {
|
|
18618
18854
|
viewerContext: 'owner' | 'authenticated' | 'anonymous';
|
|
@@ -18677,10 +18913,10 @@ export interface paths {
|
|
|
18677
18913
|
content: {
|
|
18678
18914
|
'application/json': {
|
|
18679
18915
|
/**
|
|
18680
|
-
* Invite
|
|
18681
|
-
* @description
|
|
18916
|
+
* Invite with Details
|
|
18917
|
+
* @description Invite with participant, account and job details from invites_view
|
|
18682
18918
|
*/
|
|
18683
|
-
data: {
|
|
18919
|
+
data: ({
|
|
18684
18920
|
/** Format: uuid */
|
|
18685
18921
|
id: string;
|
|
18686
18922
|
} & {
|
|
@@ -18725,6 +18961,36 @@ export interface paths {
|
|
|
18725
18961
|
inviter_deleted_at: string | null;
|
|
18726
18962
|
invitee_deleted: boolean | null;
|
|
18727
18963
|
invitee_deleted_at: string | null;
|
|
18964
|
+
} & {
|
|
18965
|
+
proposed_start_date: string | null;
|
|
18966
|
+
proposed_end_date: string | null;
|
|
18967
|
+
proposed_hours_per_week: number | null;
|
|
18968
|
+
job_id: string | null;
|
|
18969
|
+
}) & {
|
|
18970
|
+
inviter_user_id: string | null;
|
|
18971
|
+
inviter_full_name: string | null;
|
|
18972
|
+
inviter_email: string | null;
|
|
18973
|
+
inviter_phone: string | null;
|
|
18974
|
+
inviter_given_name: string | null;
|
|
18975
|
+
inviter_family_name: string | null;
|
|
18976
|
+
inviter_picture: string | null;
|
|
18977
|
+
invitee_user_id: string | null;
|
|
18978
|
+
invitee_full_name: string | null;
|
|
18979
|
+
invitee_email: string | null;
|
|
18980
|
+
invitee_phone: string | null;
|
|
18981
|
+
invitee_given_name: string | null;
|
|
18982
|
+
invitee_family_name: string | null;
|
|
18983
|
+
invitee_picture: string | null;
|
|
18984
|
+
account_id_ref: string | null;
|
|
18985
|
+
account_owner_id: string | null;
|
|
18986
|
+
submitted_by: string | null;
|
|
18987
|
+
submitted_by_name: string | null;
|
|
18988
|
+
accepted_by: string | null;
|
|
18989
|
+
accepted_by_name: string | null;
|
|
18990
|
+
declined_by: string | null;
|
|
18991
|
+
declined_by_name: string | null;
|
|
18992
|
+
cancelled_by: string | null;
|
|
18993
|
+
cancelled_by_name: string | null;
|
|
18728
18994
|
};
|
|
18729
18995
|
metadata: {
|
|
18730
18996
|
viewerContext: 'owner' | 'authenticated' | 'anonymous';
|
|
@@ -18789,10 +19055,10 @@ export interface paths {
|
|
|
18789
19055
|
content: {
|
|
18790
19056
|
'application/json': {
|
|
18791
19057
|
/**
|
|
18792
|
-
* Invite
|
|
18793
|
-
* @description
|
|
19058
|
+
* Invite with Details
|
|
19059
|
+
* @description Invite with participant, account and job details from invites_view
|
|
18794
19060
|
*/
|
|
18795
|
-
data: {
|
|
19061
|
+
data: ({
|
|
18796
19062
|
/** Format: uuid */
|
|
18797
19063
|
id: string;
|
|
18798
19064
|
} & {
|
|
@@ -18837,6 +19103,36 @@ export interface paths {
|
|
|
18837
19103
|
inviter_deleted_at: string | null;
|
|
18838
19104
|
invitee_deleted: boolean | null;
|
|
18839
19105
|
invitee_deleted_at: string | null;
|
|
19106
|
+
} & {
|
|
19107
|
+
proposed_start_date: string | null;
|
|
19108
|
+
proposed_end_date: string | null;
|
|
19109
|
+
proposed_hours_per_week: number | null;
|
|
19110
|
+
job_id: string | null;
|
|
19111
|
+
}) & {
|
|
19112
|
+
inviter_user_id: string | null;
|
|
19113
|
+
inviter_full_name: string | null;
|
|
19114
|
+
inviter_email: string | null;
|
|
19115
|
+
inviter_phone: string | null;
|
|
19116
|
+
inviter_given_name: string | null;
|
|
19117
|
+
inviter_family_name: string | null;
|
|
19118
|
+
inviter_picture: string | null;
|
|
19119
|
+
invitee_user_id: string | null;
|
|
19120
|
+
invitee_full_name: string | null;
|
|
19121
|
+
invitee_email: string | null;
|
|
19122
|
+
invitee_phone: string | null;
|
|
19123
|
+
invitee_given_name: string | null;
|
|
19124
|
+
invitee_family_name: string | null;
|
|
19125
|
+
invitee_picture: string | null;
|
|
19126
|
+
account_id_ref: string | null;
|
|
19127
|
+
account_owner_id: string | null;
|
|
19128
|
+
submitted_by: string | null;
|
|
19129
|
+
submitted_by_name: string | null;
|
|
19130
|
+
accepted_by: string | null;
|
|
19131
|
+
accepted_by_name: string | null;
|
|
19132
|
+
declined_by: string | null;
|
|
19133
|
+
declined_by_name: string | null;
|
|
19134
|
+
cancelled_by: string | null;
|
|
19135
|
+
cancelled_by_name: string | null;
|
|
18840
19136
|
};
|
|
18841
19137
|
metadata: {
|
|
18842
19138
|
viewerContext: 'owner' | 'authenticated' | 'anonymous';
|
|
@@ -18929,88 +19225,6 @@ export interface paths {
|
|
|
18929
19225
|
patch?: never;
|
|
18930
19226
|
trace?: never;
|
|
18931
19227
|
};
|
|
18932
|
-
'/api/invites/claim': {
|
|
18933
|
-
parameters: {
|
|
18934
|
-
query?: never;
|
|
18935
|
-
header?: never;
|
|
18936
|
-
path?: never;
|
|
18937
|
-
cookie?: never;
|
|
18938
|
-
};
|
|
18939
|
-
get?: never;
|
|
18940
|
-
put?: never;
|
|
18941
|
-
/**
|
|
18942
|
-
* Claim pending email invites
|
|
18943
|
-
* @description Automatically links email-based invites to the authenticated user. Called on login to claim any invites sent to the user's email before registration.
|
|
18944
|
-
*/
|
|
18945
|
-
post: {
|
|
18946
|
-
parameters: {
|
|
18947
|
-
query?: never;
|
|
18948
|
-
header?: never;
|
|
18949
|
-
path?: never;
|
|
18950
|
-
cookie?: never;
|
|
18951
|
-
};
|
|
18952
|
-
requestBody?: {
|
|
18953
|
-
content: {
|
|
18954
|
-
'application/json': {
|
|
18955
|
-
/** Format: email */
|
|
18956
|
-
email?: string;
|
|
18957
|
-
};
|
|
18958
|
-
};
|
|
18959
|
-
};
|
|
18960
|
-
responses: {
|
|
18961
|
-
/** @description Default Response */
|
|
18962
|
-
200: {
|
|
18963
|
-
headers: {
|
|
18964
|
-
[name: string]: unknown;
|
|
18965
|
-
};
|
|
18966
|
-
content: {
|
|
18967
|
-
'application/json': {
|
|
18968
|
-
success: boolean;
|
|
18969
|
-
message: string;
|
|
18970
|
-
claimed_count: number;
|
|
18971
|
-
error_count: number;
|
|
18972
|
-
invite_ids: string[];
|
|
18973
|
-
};
|
|
18974
|
-
};
|
|
18975
|
-
};
|
|
18976
|
-
/** @description Default Response */
|
|
18977
|
-
400: {
|
|
18978
|
-
headers: {
|
|
18979
|
-
[name: string]: unknown;
|
|
18980
|
-
};
|
|
18981
|
-
content: {
|
|
18982
|
-
'application/json': {
|
|
18983
|
-
success: boolean;
|
|
18984
|
-
message: string;
|
|
18985
|
-
claimed_count: number;
|
|
18986
|
-
error_count: number;
|
|
18987
|
-
invite_ids: string[];
|
|
18988
|
-
};
|
|
18989
|
-
};
|
|
18990
|
-
};
|
|
18991
|
-
/** @description Default Response */
|
|
18992
|
-
500: {
|
|
18993
|
-
headers: {
|
|
18994
|
-
[name: string]: unknown;
|
|
18995
|
-
};
|
|
18996
|
-
content: {
|
|
18997
|
-
'application/json': {
|
|
18998
|
-
success: boolean;
|
|
18999
|
-
message: string;
|
|
19000
|
-
claimed_count: number;
|
|
19001
|
-
error_count: number;
|
|
19002
|
-
invite_ids: string[];
|
|
19003
|
-
};
|
|
19004
|
-
};
|
|
19005
|
-
};
|
|
19006
|
-
};
|
|
19007
|
-
};
|
|
19008
|
-
delete?: never;
|
|
19009
|
-
options?: never;
|
|
19010
|
-
head?: never;
|
|
19011
|
-
patch?: never;
|
|
19012
|
-
trace?: never;
|
|
19013
|
-
};
|
|
19014
19228
|
'/api/invites/pending': {
|
|
19015
19229
|
parameters: {
|
|
19016
19230
|
query?: never;
|
|
@@ -19019,8 +19233,8 @@ export interface paths {
|
|
|
19019
19233
|
cookie?: never;
|
|
19020
19234
|
};
|
|
19021
19235
|
/**
|
|
19022
|
-
*
|
|
19023
|
-
* @description Returns
|
|
19236
|
+
* Get recently received invites
|
|
19237
|
+
* @description Returns invites that were auto-claimed during login (for showing welcome modal)
|
|
19024
19238
|
*/
|
|
19025
19239
|
get: {
|
|
19026
19240
|
parameters: {
|