@ogcio/building-blocks-sdk 0.2.73 → 0.2.74

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.
@@ -275,11 +275,25 @@ export interface paths {
275
275
  patch?: never;
276
276
  trace?: never;
277
277
  };
278
+ "/api/v1/organisations/profiles/{profileId}": {
279
+ parameters: {
280
+ query?: never;
281
+ header?: never;
282
+ path?: never;
283
+ cookie?: never;
284
+ };
285
+ get?: never;
286
+ put?: never;
287
+ post?: never;
288
+ delete?: never;
289
+ options?: never;
290
+ head?: never;
291
+ patch: operations["adminProfilesPatch"];
292
+ trace?: never;
293
+ };
278
294
  "/api/v1/organisations/{organisationId}": {
279
295
  parameters: {
280
- query?: {
281
- includeCustomData?: boolean;
282
- };
296
+ query?: never;
283
297
  header?: never;
284
298
  path?: never;
285
299
  cookie?: never;
@@ -351,7 +365,7 @@ export interface paths {
351
365
  get: operations["getProfile"];
352
366
  put: operations["putProfile"];
353
367
  post?: never;
354
- delete?: never;
368
+ delete: operations["deleteProfile"];
355
369
  options?: never;
356
370
  head?: never;
357
371
  patch: operations["patchProfile"];
@@ -2206,10 +2220,127 @@ export interface operations {
2206
2220
  };
2207
2221
  };
2208
2222
  };
2223
+ adminProfilesPatch: {
2224
+ parameters: {
2225
+ query?: never;
2226
+ header?: never;
2227
+ path: {
2228
+ /** @description ID of the profile to update */
2229
+ profileId: string;
2230
+ };
2231
+ cookie?: never;
2232
+ };
2233
+ requestBody: {
2234
+ content: {
2235
+ "application/json": {
2236
+ primaryUserId: string | null;
2237
+ };
2238
+ };
2239
+ };
2240
+ responses: {
2241
+ /** @description Default Response */
2242
+ 200: {
2243
+ headers: {
2244
+ [name: string]: unknown;
2245
+ };
2246
+ content: {
2247
+ "application/json": {
2248
+ data: {
2249
+ primaryUserId: string;
2250
+ };
2251
+ metadata?: {
2252
+ /** @description Object containing the links to the related endpoints */
2253
+ links?: {
2254
+ self: {
2255
+ /** @description URL pointing to the request itself */
2256
+ href?: string;
2257
+ };
2258
+ next?: {
2259
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
2260
+ href?: string;
2261
+ };
2262
+ prev?: {
2263
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
2264
+ href?: string;
2265
+ };
2266
+ first: {
2267
+ /** @description URL pointing to the first page of results in a paginated response */
2268
+ href?: string;
2269
+ };
2270
+ last: {
2271
+ /** @description URL pointing to the first page of results in a paginated response */
2272
+ href?: string;
2273
+ };
2274
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
2275
+ pages: {
2276
+ [key: string]: {
2277
+ href?: string;
2278
+ };
2279
+ };
2280
+ };
2281
+ /** @description Number representing the total number of available items */
2282
+ totalCount?: number;
2283
+ };
2284
+ };
2285
+ };
2286
+ };
2287
+ /** @description Default Response */
2288
+ "4XX": {
2289
+ headers: {
2290
+ [name: string]: unknown;
2291
+ };
2292
+ content: {
2293
+ "application/json": {
2294
+ /** @description Code used to categorize the error */
2295
+ code: string;
2296
+ /** @description Description of the error */
2297
+ detail: string;
2298
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
2299
+ requestId: string;
2300
+ /** @description Name of the error type */
2301
+ name: string;
2302
+ /** @description List of the validation errors */
2303
+ validation?: {
2304
+ fieldName: string;
2305
+ message: string;
2306
+ }[];
2307
+ validationContext?: string;
2308
+ statusCode: number;
2309
+ };
2310
+ };
2311
+ };
2312
+ /** @description Default Response */
2313
+ "5XX": {
2314
+ headers: {
2315
+ [name: string]: unknown;
2316
+ };
2317
+ content: {
2318
+ "application/json": {
2319
+ /** @description Code used to categorize the error */
2320
+ code: string;
2321
+ /** @description Description of the error */
2322
+ detail: string;
2323
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
2324
+ requestId: string;
2325
+ /** @description Name of the error type */
2326
+ name: string;
2327
+ /** @description List of the validation errors */
2328
+ validation?: {
2329
+ fieldName: string;
2330
+ message: string;
2331
+ }[];
2332
+ validationContext?: string;
2333
+ statusCode: number;
2334
+ };
2335
+ };
2336
+ };
2337
+ };
2338
+ };
2209
2339
  getOrganisation: {
2210
2340
  parameters: {
2211
2341
  query?: {
2212
- includeCustomData?: boolean;
2342
+ /** @description If true, includes organization customData from Logto in the response. */
2343
+ includeCustomData?: "true" | "false" | "0" | "1";
2213
2344
  };
2214
2345
  header?: never;
2215
2346
  path: {
@@ -2398,6 +2529,8 @@ export interface operations {
2398
2529
  consent_statement_id: string;
2399
2530
  };
2400
2531
  } | null;
2532
+ /** @default active */
2533
+ status: "active" | "disabled" | "deleted";
2401
2534
  details?: {
2402
2535
  email: string;
2403
2536
  firstName: string;
@@ -2568,6 +2701,8 @@ export interface operations {
2568
2701
  consent_statement_id: string;
2569
2702
  };
2570
2703
  } | null;
2704
+ /** @default active */
2705
+ status: "active" | "disabled" | "deleted";
2571
2706
  details?: {
2572
2707
  email: string;
2573
2708
  firstName: string;
@@ -2729,6 +2864,8 @@ export interface operations {
2729
2864
  consent_statement_id: string;
2730
2865
  };
2731
2866
  } | null;
2867
+ /** @default active */
2868
+ status: "active" | "disabled" | "deleted";
2732
2869
  details?: {
2733
2870
  email: string;
2734
2871
  firstName: string;
@@ -2896,6 +3033,8 @@ export interface operations {
2896
3033
  consent_statement_id: string;
2897
3034
  };
2898
3035
  } | null;
3036
+ /** @default active */
3037
+ status: "active" | "disabled" | "deleted";
2899
3038
  details?: {
2900
3039
  email: string;
2901
3040
  firstName: string;
@@ -3060,6 +3199,8 @@ export interface operations {
3060
3199
  consent_statement_id: string;
3061
3200
  };
3062
3201
  } | null;
3202
+ /** @default active */
3203
+ status: "active" | "disabled" | "deleted";
3063
3204
  details?: {
3064
3205
  email: string;
3065
3206
  firstName: string;
@@ -3246,6 +3387,8 @@ export interface operations {
3246
3387
  consent_statement_id: string;
3247
3388
  };
3248
3389
  } | null;
3390
+ /** @default active */
3391
+ status: "active" | "disabled" | "deleted";
3249
3392
  details?: {
3250
3393
  email: string;
3251
3394
  firstName: string;
@@ -3352,6 +3495,117 @@ export interface operations {
3352
3495
  };
3353
3496
  };
3354
3497
  };
3498
+ deleteProfile: {
3499
+ parameters: {
3500
+ query?: never;
3501
+ header?: never;
3502
+ path: {
3503
+ /** @description ID of the profile to delete */
3504
+ profileId: string;
3505
+ };
3506
+ cookie?: never;
3507
+ };
3508
+ requestBody?: never;
3509
+ responses: {
3510
+ /** @description Default Response */
3511
+ 200: {
3512
+ headers: {
3513
+ [name: string]: unknown;
3514
+ };
3515
+ content: {
3516
+ "application/json": {
3517
+ data: {
3518
+ /** @description ID of the created task */
3519
+ taskId: string;
3520
+ };
3521
+ metadata?: {
3522
+ /** @description Object containing the links to the related endpoints */
3523
+ links?: {
3524
+ self: {
3525
+ /** @description URL pointing to the request itself */
3526
+ href?: string;
3527
+ };
3528
+ next?: {
3529
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
3530
+ href?: string;
3531
+ };
3532
+ prev?: {
3533
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
3534
+ href?: string;
3535
+ };
3536
+ first: {
3537
+ /** @description URL pointing to the first page of results in a paginated response */
3538
+ href?: string;
3539
+ };
3540
+ last: {
3541
+ /** @description URL pointing to the first page of results in a paginated response */
3542
+ href?: string;
3543
+ };
3544
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
3545
+ pages: {
3546
+ [key: string]: {
3547
+ href?: string;
3548
+ };
3549
+ };
3550
+ };
3551
+ /** @description Number representing the total number of available items */
3552
+ totalCount?: number;
3553
+ };
3554
+ };
3555
+ };
3556
+ };
3557
+ /** @description Default Response */
3558
+ "4XX": {
3559
+ headers: {
3560
+ [name: string]: unknown;
3561
+ };
3562
+ content: {
3563
+ "application/json": {
3564
+ /** @description Code used to categorize the error */
3565
+ code: string;
3566
+ /** @description Description of the error */
3567
+ detail: string;
3568
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
3569
+ requestId: string;
3570
+ /** @description Name of the error type */
3571
+ name: string;
3572
+ /** @description List of the validation errors */
3573
+ validation?: {
3574
+ fieldName: string;
3575
+ message: string;
3576
+ }[];
3577
+ validationContext?: string;
3578
+ statusCode: number;
3579
+ };
3580
+ };
3581
+ };
3582
+ /** @description Default Response */
3583
+ "5XX": {
3584
+ headers: {
3585
+ [name: string]: unknown;
3586
+ };
3587
+ content: {
3588
+ "application/json": {
3589
+ /** @description Code used to categorize the error */
3590
+ code: string;
3591
+ /** @description Description of the error */
3592
+ detail: string;
3593
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
3594
+ requestId: string;
3595
+ /** @description Name of the error type */
3596
+ name: string;
3597
+ /** @description List of the validation errors */
3598
+ validation?: {
3599
+ fieldName: string;
3600
+ message: string;
3601
+ }[];
3602
+ validationContext?: string;
3603
+ statusCode: number;
3604
+ };
3605
+ };
3606
+ };
3607
+ };
3608
+ };
3355
3609
  patchProfile: {
3356
3610
  parameters: {
3357
3611
  query?: {
@@ -3426,6 +3680,8 @@ export interface operations {
3426
3680
  consent_statement_id: string;
3427
3681
  };
3428
3682
  } | null;
3683
+ /** @default active */
3684
+ status: "active" | "disabled" | "deleted";
3429
3685
  details?: {
3430
3686
  email: string;
3431
3687
  firstName: string;
@@ -3995,14 +4251,14 @@ export interface operations {
3995
4251
  content: {
3996
4252
  "application/json": {
3997
4253
  data: {
4254
+ metadata?: {
4255
+ filename?: string;
4256
+ mimetype?: string;
4257
+ };
3998
4258
  organisationId: string;
3999
4259
  status: string;
4000
4260
  /** Format: date-time */
4001
4261
  createdAt?: string;
4002
- metadata: {
4003
- filename: string;
4004
- mimetype: string;
4005
- };
4006
4262
  details: {
4007
4263
  email: string;
4008
4264
  firstName: string;
@@ -4184,10 +4440,13 @@ export interface operations {
4184
4440
  profile?: {
4185
4441
  [key: string]: unknown;
4186
4442
  };
4187
- applicationId?: string | null;
4188
4443
  isSuspended?: boolean;
4189
4444
  hasPassword?: boolean;
4190
4445
  };
4446
+ application?: {
4447
+ id?: string | null;
4448
+ };
4449
+ applicationId?: string | null;
4191
4450
  };
4192
4451
  };
4193
4452
  };