@meshery/schemas 1.3.14 → 1.3.15
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/cloudApi.d.mts +414 -36
- package/dist/cloudApi.d.ts +414 -36
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta2/role/Role.d.ts +1 -1
- package/dist/constructs/v1beta2/role/RoleSchema.js +1 -1
- package/dist/constructs/v1beta2/role/RoleSchema.mjs +1 -1
- package/dist/constructs/v1beta2/user/User.d.ts +622 -42
- package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta3/design/Design.d.ts +624 -48
- package/dist/constructs/v1beta3/design/DesignSchema.js +8 -8
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +8 -8
- package/dist/mesheryApi.d.mts +184 -16
- package/dist/mesheryApi.d.ts +184 -16
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
package/dist/mesheryApi.d.mts
CHANGED
|
@@ -3142,19 +3142,61 @@ type GetUsersForOrgApiResponse = {
|
|
|
3142
3142
|
}[];
|
|
3143
3143
|
/** Timestamp when the user record was soft-deleted (null if not deleted) */
|
|
3144
3144
|
deletedAt: string | null;
|
|
3145
|
-
/**
|
|
3146
|
-
roleNames?:
|
|
3145
|
+
/** Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set. */
|
|
3146
|
+
roleNames?: string[];
|
|
3147
3147
|
/** Teams the user belongs to with role information */
|
|
3148
3148
|
teams?: {
|
|
3149
3149
|
/** Team memberships for the user with their assigned roles. */
|
|
3150
|
-
teamsWithRoles?:
|
|
3150
|
+
teamsWithRoles?: {
|
|
3151
|
+
/** Unique identifier of the team. */
|
|
3152
|
+
id: string;
|
|
3153
|
+
/** Name of the team. */
|
|
3154
|
+
name: string;
|
|
3155
|
+
/** Human readable description of the team. */
|
|
3156
|
+
description?: string;
|
|
3157
|
+
/** Identifier of the team owner. */
|
|
3158
|
+
owner?: string;
|
|
3159
|
+
/** Free-form metadata associated with the team. */
|
|
3160
|
+
metadata?: {
|
|
3161
|
+
[key: string]: any;
|
|
3162
|
+
};
|
|
3163
|
+
/** Timestamp when the team was created. */
|
|
3164
|
+
createdAt?: string;
|
|
3165
|
+
/** Timestamp when the team was last updated. */
|
|
3166
|
+
updatedAt?: string;
|
|
3167
|
+
/** Timestamp when the team was soft-deleted (null if not deleted). */
|
|
3168
|
+
deletedAt?: string | null;
|
|
3169
|
+
/** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3170
|
+
roleNames: string[];
|
|
3171
|
+
}[];
|
|
3151
3172
|
/** Total number of team memberships returned for the user. */
|
|
3152
3173
|
totalCount?: number;
|
|
3153
3174
|
};
|
|
3154
3175
|
/** Organizations the user belongs to with role information */
|
|
3155
3176
|
organizations?: {
|
|
3156
3177
|
/** Organization memberships for the user with their assigned roles. */
|
|
3157
|
-
organizationsWithRoles?:
|
|
3178
|
+
organizationsWithRoles?: {
|
|
3179
|
+
/** Unique identifier of the organization. */
|
|
3180
|
+
id: string;
|
|
3181
|
+
/** Name of the organization. */
|
|
3182
|
+
name: string;
|
|
3183
|
+
/** Human readable description of the organization. */
|
|
3184
|
+
description?: string;
|
|
3185
|
+
/** Country associated with the organization. */
|
|
3186
|
+
country?: string;
|
|
3187
|
+
/** Region associated with the organization. */
|
|
3188
|
+
region?: string;
|
|
3189
|
+
/** Identifier of the organization owner. */
|
|
3190
|
+
owner?: string;
|
|
3191
|
+
/** Timestamp when the organization was created. */
|
|
3192
|
+
createdAt?: string;
|
|
3193
|
+
/** Timestamp when the organization was last updated. */
|
|
3194
|
+
updatedAt?: string;
|
|
3195
|
+
/** Timestamp when the organization was soft-deleted (null if not deleted). */
|
|
3196
|
+
deletedAt?: string | null;
|
|
3197
|
+
/** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3198
|
+
roleNames: string[];
|
|
3199
|
+
}[];
|
|
3158
3200
|
/** Total number of organization memberships returned for the user. */
|
|
3159
3201
|
totalCount?: number;
|
|
3160
3202
|
};
|
|
@@ -3297,19 +3339,61 @@ type GetUsersApiResponse = {
|
|
|
3297
3339
|
}[];
|
|
3298
3340
|
/** Timestamp when the user record was soft-deleted (null if not deleted) */
|
|
3299
3341
|
deletedAt: string | null;
|
|
3300
|
-
/**
|
|
3301
|
-
roleNames?:
|
|
3342
|
+
/** Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set. */
|
|
3343
|
+
roleNames?: string[];
|
|
3302
3344
|
/** Teams the user belongs to with role information */
|
|
3303
3345
|
teams?: {
|
|
3304
3346
|
/** Team memberships for the user with their assigned roles. */
|
|
3305
|
-
teamsWithRoles?:
|
|
3347
|
+
teamsWithRoles?: {
|
|
3348
|
+
/** Unique identifier of the team. */
|
|
3349
|
+
id: string;
|
|
3350
|
+
/** Name of the team. */
|
|
3351
|
+
name: string;
|
|
3352
|
+
/** Human readable description of the team. */
|
|
3353
|
+
description?: string;
|
|
3354
|
+
/** Identifier of the team owner. */
|
|
3355
|
+
owner?: string;
|
|
3356
|
+
/** Free-form metadata associated with the team. */
|
|
3357
|
+
metadata?: {
|
|
3358
|
+
[key: string]: any;
|
|
3359
|
+
};
|
|
3360
|
+
/** Timestamp when the team was created. */
|
|
3361
|
+
createdAt?: string;
|
|
3362
|
+
/** Timestamp when the team was last updated. */
|
|
3363
|
+
updatedAt?: string;
|
|
3364
|
+
/** Timestamp when the team was soft-deleted (null if not deleted). */
|
|
3365
|
+
deletedAt?: string | null;
|
|
3366
|
+
/** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3367
|
+
roleNames: string[];
|
|
3368
|
+
}[];
|
|
3306
3369
|
/** Total number of team memberships returned for the user. */
|
|
3307
3370
|
totalCount?: number;
|
|
3308
3371
|
};
|
|
3309
3372
|
/** Organizations the user belongs to with role information */
|
|
3310
3373
|
organizations?: {
|
|
3311
3374
|
/** Organization memberships for the user with their assigned roles. */
|
|
3312
|
-
organizationsWithRoles?:
|
|
3375
|
+
organizationsWithRoles?: {
|
|
3376
|
+
/** Unique identifier of the organization. */
|
|
3377
|
+
id: string;
|
|
3378
|
+
/** Name of the organization. */
|
|
3379
|
+
name: string;
|
|
3380
|
+
/** Human readable description of the organization. */
|
|
3381
|
+
description?: string;
|
|
3382
|
+
/** Country associated with the organization. */
|
|
3383
|
+
country?: string;
|
|
3384
|
+
/** Region associated with the organization. */
|
|
3385
|
+
region?: string;
|
|
3386
|
+
/** Identifier of the organization owner. */
|
|
3387
|
+
owner?: string;
|
|
3388
|
+
/** Timestamp when the organization was created. */
|
|
3389
|
+
createdAt?: string;
|
|
3390
|
+
/** Timestamp when the organization was last updated. */
|
|
3391
|
+
updatedAt?: string;
|
|
3392
|
+
/** Timestamp when the organization was soft-deleted (null if not deleted). */
|
|
3393
|
+
deletedAt?: string | null;
|
|
3394
|
+
/** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3395
|
+
roleNames: string[];
|
|
3396
|
+
}[];
|
|
3313
3397
|
/** Total number of organization memberships returned for the user. */
|
|
3314
3398
|
totalCount?: number;
|
|
3315
3399
|
};
|
|
@@ -3440,19 +3524,61 @@ type GetUserProfileByIdApiResponse = {
|
|
|
3440
3524
|
}[];
|
|
3441
3525
|
/** Timestamp when the user record was soft-deleted (null if not deleted) */
|
|
3442
3526
|
deletedAt: string | null;
|
|
3443
|
-
/**
|
|
3444
|
-
roleNames?:
|
|
3527
|
+
/** Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set. */
|
|
3528
|
+
roleNames?: string[];
|
|
3445
3529
|
/** Teams the user belongs to with role information */
|
|
3446
3530
|
teams?: {
|
|
3447
3531
|
/** Team memberships for the user with their assigned roles. */
|
|
3448
|
-
teamsWithRoles?:
|
|
3532
|
+
teamsWithRoles?: {
|
|
3533
|
+
/** Unique identifier of the team. */
|
|
3534
|
+
id: string;
|
|
3535
|
+
/** Name of the team. */
|
|
3536
|
+
name: string;
|
|
3537
|
+
/** Human readable description of the team. */
|
|
3538
|
+
description?: string;
|
|
3539
|
+
/** Identifier of the team owner. */
|
|
3540
|
+
owner?: string;
|
|
3541
|
+
/** Free-form metadata associated with the team. */
|
|
3542
|
+
metadata?: {
|
|
3543
|
+
[key: string]: any;
|
|
3544
|
+
};
|
|
3545
|
+
/** Timestamp when the team was created. */
|
|
3546
|
+
createdAt?: string;
|
|
3547
|
+
/** Timestamp when the team was last updated. */
|
|
3548
|
+
updatedAt?: string;
|
|
3549
|
+
/** Timestamp when the team was soft-deleted (null if not deleted). */
|
|
3550
|
+
deletedAt?: string | null;
|
|
3551
|
+
/** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3552
|
+
roleNames: string[];
|
|
3553
|
+
}[];
|
|
3449
3554
|
/** Total number of team memberships returned for the user. */
|
|
3450
3555
|
totalCount?: number;
|
|
3451
3556
|
};
|
|
3452
3557
|
/** Organizations the user belongs to with role information */
|
|
3453
3558
|
organizations?: {
|
|
3454
3559
|
/** Organization memberships for the user with their assigned roles. */
|
|
3455
|
-
organizationsWithRoles?:
|
|
3560
|
+
organizationsWithRoles?: {
|
|
3561
|
+
/** Unique identifier of the organization. */
|
|
3562
|
+
id: string;
|
|
3563
|
+
/** Name of the organization. */
|
|
3564
|
+
name: string;
|
|
3565
|
+
/** Human readable description of the organization. */
|
|
3566
|
+
description?: string;
|
|
3567
|
+
/** Country associated with the organization. */
|
|
3568
|
+
country?: string;
|
|
3569
|
+
/** Region associated with the organization. */
|
|
3570
|
+
region?: string;
|
|
3571
|
+
/** Identifier of the organization owner. */
|
|
3572
|
+
owner?: string;
|
|
3573
|
+
/** Timestamp when the organization was created. */
|
|
3574
|
+
createdAt?: string;
|
|
3575
|
+
/** Timestamp when the organization was last updated. */
|
|
3576
|
+
updatedAt?: string;
|
|
3577
|
+
/** Timestamp when the organization was soft-deleted (null if not deleted). */
|
|
3578
|
+
deletedAt?: string | null;
|
|
3579
|
+
/** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3580
|
+
roleNames: string[];
|
|
3581
|
+
}[];
|
|
3456
3582
|
/** Total number of organization memberships returned for the user. */
|
|
3457
3583
|
totalCount?: number;
|
|
3458
3584
|
};
|
|
@@ -3574,19 +3700,61 @@ type GetUserApiResponse = {
|
|
|
3574
3700
|
}[];
|
|
3575
3701
|
/** Timestamp when the user record was soft-deleted (null if not deleted) */
|
|
3576
3702
|
deletedAt: string | null;
|
|
3577
|
-
/**
|
|
3578
|
-
roleNames?:
|
|
3703
|
+
/** Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set. */
|
|
3704
|
+
roleNames?: string[];
|
|
3579
3705
|
/** Teams the user belongs to with role information */
|
|
3580
3706
|
teams?: {
|
|
3581
3707
|
/** Team memberships for the user with their assigned roles. */
|
|
3582
|
-
teamsWithRoles?:
|
|
3708
|
+
teamsWithRoles?: {
|
|
3709
|
+
/** Unique identifier of the team. */
|
|
3710
|
+
id: string;
|
|
3711
|
+
/** Name of the team. */
|
|
3712
|
+
name: string;
|
|
3713
|
+
/** Human readable description of the team. */
|
|
3714
|
+
description?: string;
|
|
3715
|
+
/** Identifier of the team owner. */
|
|
3716
|
+
owner?: string;
|
|
3717
|
+
/** Free-form metadata associated with the team. */
|
|
3718
|
+
metadata?: {
|
|
3719
|
+
[key: string]: any;
|
|
3720
|
+
};
|
|
3721
|
+
/** Timestamp when the team was created. */
|
|
3722
|
+
createdAt?: string;
|
|
3723
|
+
/** Timestamp when the team was last updated. */
|
|
3724
|
+
updatedAt?: string;
|
|
3725
|
+
/** Timestamp when the team was soft-deleted (null if not deleted). */
|
|
3726
|
+
deletedAt?: string | null;
|
|
3727
|
+
/** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3728
|
+
roleNames: string[];
|
|
3729
|
+
}[];
|
|
3583
3730
|
/** Total number of team memberships returned for the user. */
|
|
3584
3731
|
totalCount?: number;
|
|
3585
3732
|
};
|
|
3586
3733
|
/** Organizations the user belongs to with role information */
|
|
3587
3734
|
organizations?: {
|
|
3588
3735
|
/** Organization memberships for the user with their assigned roles. */
|
|
3589
|
-
organizationsWithRoles?:
|
|
3736
|
+
organizationsWithRoles?: {
|
|
3737
|
+
/** Unique identifier of the organization. */
|
|
3738
|
+
id: string;
|
|
3739
|
+
/** Name of the organization. */
|
|
3740
|
+
name: string;
|
|
3741
|
+
/** Human readable description of the organization. */
|
|
3742
|
+
description?: string;
|
|
3743
|
+
/** Country associated with the organization. */
|
|
3744
|
+
country?: string;
|
|
3745
|
+
/** Region associated with the organization. */
|
|
3746
|
+
region?: string;
|
|
3747
|
+
/** Identifier of the organization owner. */
|
|
3748
|
+
owner?: string;
|
|
3749
|
+
/** Timestamp when the organization was created. */
|
|
3750
|
+
createdAt?: string;
|
|
3751
|
+
/** Timestamp when the organization was last updated. */
|
|
3752
|
+
updatedAt?: string;
|
|
3753
|
+
/** Timestamp when the organization was soft-deleted (null if not deleted). */
|
|
3754
|
+
deletedAt?: string | null;
|
|
3755
|
+
/** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3756
|
+
roleNames: string[];
|
|
3757
|
+
}[];
|
|
3590
3758
|
/** Total number of organization memberships returned for the user. */
|
|
3591
3759
|
totalCount?: number;
|
|
3592
3760
|
};
|
package/dist/mesheryApi.d.ts
CHANGED
|
@@ -3142,19 +3142,61 @@ type GetUsersForOrgApiResponse = {
|
|
|
3142
3142
|
}[];
|
|
3143
3143
|
/** Timestamp when the user record was soft-deleted (null if not deleted) */
|
|
3144
3144
|
deletedAt: string | null;
|
|
3145
|
-
/**
|
|
3146
|
-
roleNames?:
|
|
3145
|
+
/** Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set. */
|
|
3146
|
+
roleNames?: string[];
|
|
3147
3147
|
/** Teams the user belongs to with role information */
|
|
3148
3148
|
teams?: {
|
|
3149
3149
|
/** Team memberships for the user with their assigned roles. */
|
|
3150
|
-
teamsWithRoles?:
|
|
3150
|
+
teamsWithRoles?: {
|
|
3151
|
+
/** Unique identifier of the team. */
|
|
3152
|
+
id: string;
|
|
3153
|
+
/** Name of the team. */
|
|
3154
|
+
name: string;
|
|
3155
|
+
/** Human readable description of the team. */
|
|
3156
|
+
description?: string;
|
|
3157
|
+
/** Identifier of the team owner. */
|
|
3158
|
+
owner?: string;
|
|
3159
|
+
/** Free-form metadata associated with the team. */
|
|
3160
|
+
metadata?: {
|
|
3161
|
+
[key: string]: any;
|
|
3162
|
+
};
|
|
3163
|
+
/** Timestamp when the team was created. */
|
|
3164
|
+
createdAt?: string;
|
|
3165
|
+
/** Timestamp when the team was last updated. */
|
|
3166
|
+
updatedAt?: string;
|
|
3167
|
+
/** Timestamp when the team was soft-deleted (null if not deleted). */
|
|
3168
|
+
deletedAt?: string | null;
|
|
3169
|
+
/** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3170
|
+
roleNames: string[];
|
|
3171
|
+
}[];
|
|
3151
3172
|
/** Total number of team memberships returned for the user. */
|
|
3152
3173
|
totalCount?: number;
|
|
3153
3174
|
};
|
|
3154
3175
|
/** Organizations the user belongs to with role information */
|
|
3155
3176
|
organizations?: {
|
|
3156
3177
|
/** Organization memberships for the user with their assigned roles. */
|
|
3157
|
-
organizationsWithRoles?:
|
|
3178
|
+
organizationsWithRoles?: {
|
|
3179
|
+
/** Unique identifier of the organization. */
|
|
3180
|
+
id: string;
|
|
3181
|
+
/** Name of the organization. */
|
|
3182
|
+
name: string;
|
|
3183
|
+
/** Human readable description of the organization. */
|
|
3184
|
+
description?: string;
|
|
3185
|
+
/** Country associated with the organization. */
|
|
3186
|
+
country?: string;
|
|
3187
|
+
/** Region associated with the organization. */
|
|
3188
|
+
region?: string;
|
|
3189
|
+
/** Identifier of the organization owner. */
|
|
3190
|
+
owner?: string;
|
|
3191
|
+
/** Timestamp when the organization was created. */
|
|
3192
|
+
createdAt?: string;
|
|
3193
|
+
/** Timestamp when the organization was last updated. */
|
|
3194
|
+
updatedAt?: string;
|
|
3195
|
+
/** Timestamp when the organization was soft-deleted (null if not deleted). */
|
|
3196
|
+
deletedAt?: string | null;
|
|
3197
|
+
/** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3198
|
+
roleNames: string[];
|
|
3199
|
+
}[];
|
|
3158
3200
|
/** Total number of organization memberships returned for the user. */
|
|
3159
3201
|
totalCount?: number;
|
|
3160
3202
|
};
|
|
@@ -3297,19 +3339,61 @@ type GetUsersApiResponse = {
|
|
|
3297
3339
|
}[];
|
|
3298
3340
|
/** Timestamp when the user record was soft-deleted (null if not deleted) */
|
|
3299
3341
|
deletedAt: string | null;
|
|
3300
|
-
/**
|
|
3301
|
-
roleNames?:
|
|
3342
|
+
/** Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set. */
|
|
3343
|
+
roleNames?: string[];
|
|
3302
3344
|
/** Teams the user belongs to with role information */
|
|
3303
3345
|
teams?: {
|
|
3304
3346
|
/** Team memberships for the user with their assigned roles. */
|
|
3305
|
-
teamsWithRoles?:
|
|
3347
|
+
teamsWithRoles?: {
|
|
3348
|
+
/** Unique identifier of the team. */
|
|
3349
|
+
id: string;
|
|
3350
|
+
/** Name of the team. */
|
|
3351
|
+
name: string;
|
|
3352
|
+
/** Human readable description of the team. */
|
|
3353
|
+
description?: string;
|
|
3354
|
+
/** Identifier of the team owner. */
|
|
3355
|
+
owner?: string;
|
|
3356
|
+
/** Free-form metadata associated with the team. */
|
|
3357
|
+
metadata?: {
|
|
3358
|
+
[key: string]: any;
|
|
3359
|
+
};
|
|
3360
|
+
/** Timestamp when the team was created. */
|
|
3361
|
+
createdAt?: string;
|
|
3362
|
+
/** Timestamp when the team was last updated. */
|
|
3363
|
+
updatedAt?: string;
|
|
3364
|
+
/** Timestamp when the team was soft-deleted (null if not deleted). */
|
|
3365
|
+
deletedAt?: string | null;
|
|
3366
|
+
/** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3367
|
+
roleNames: string[];
|
|
3368
|
+
}[];
|
|
3306
3369
|
/** Total number of team memberships returned for the user. */
|
|
3307
3370
|
totalCount?: number;
|
|
3308
3371
|
};
|
|
3309
3372
|
/** Organizations the user belongs to with role information */
|
|
3310
3373
|
organizations?: {
|
|
3311
3374
|
/** Organization memberships for the user with their assigned roles. */
|
|
3312
|
-
organizationsWithRoles?:
|
|
3375
|
+
organizationsWithRoles?: {
|
|
3376
|
+
/** Unique identifier of the organization. */
|
|
3377
|
+
id: string;
|
|
3378
|
+
/** Name of the organization. */
|
|
3379
|
+
name: string;
|
|
3380
|
+
/** Human readable description of the organization. */
|
|
3381
|
+
description?: string;
|
|
3382
|
+
/** Country associated with the organization. */
|
|
3383
|
+
country?: string;
|
|
3384
|
+
/** Region associated with the organization. */
|
|
3385
|
+
region?: string;
|
|
3386
|
+
/** Identifier of the organization owner. */
|
|
3387
|
+
owner?: string;
|
|
3388
|
+
/** Timestamp when the organization was created. */
|
|
3389
|
+
createdAt?: string;
|
|
3390
|
+
/** Timestamp when the organization was last updated. */
|
|
3391
|
+
updatedAt?: string;
|
|
3392
|
+
/** Timestamp when the organization was soft-deleted (null if not deleted). */
|
|
3393
|
+
deletedAt?: string | null;
|
|
3394
|
+
/** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3395
|
+
roleNames: string[];
|
|
3396
|
+
}[];
|
|
3313
3397
|
/** Total number of organization memberships returned for the user. */
|
|
3314
3398
|
totalCount?: number;
|
|
3315
3399
|
};
|
|
@@ -3440,19 +3524,61 @@ type GetUserProfileByIdApiResponse = {
|
|
|
3440
3524
|
}[];
|
|
3441
3525
|
/** Timestamp when the user record was soft-deleted (null if not deleted) */
|
|
3442
3526
|
deletedAt: string | null;
|
|
3443
|
-
/**
|
|
3444
|
-
roleNames?:
|
|
3527
|
+
/** Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set. */
|
|
3528
|
+
roleNames?: string[];
|
|
3445
3529
|
/** Teams the user belongs to with role information */
|
|
3446
3530
|
teams?: {
|
|
3447
3531
|
/** Team memberships for the user with their assigned roles. */
|
|
3448
|
-
teamsWithRoles?:
|
|
3532
|
+
teamsWithRoles?: {
|
|
3533
|
+
/** Unique identifier of the team. */
|
|
3534
|
+
id: string;
|
|
3535
|
+
/** Name of the team. */
|
|
3536
|
+
name: string;
|
|
3537
|
+
/** Human readable description of the team. */
|
|
3538
|
+
description?: string;
|
|
3539
|
+
/** Identifier of the team owner. */
|
|
3540
|
+
owner?: string;
|
|
3541
|
+
/** Free-form metadata associated with the team. */
|
|
3542
|
+
metadata?: {
|
|
3543
|
+
[key: string]: any;
|
|
3544
|
+
};
|
|
3545
|
+
/** Timestamp when the team was created. */
|
|
3546
|
+
createdAt?: string;
|
|
3547
|
+
/** Timestamp when the team was last updated. */
|
|
3548
|
+
updatedAt?: string;
|
|
3549
|
+
/** Timestamp when the team was soft-deleted (null if not deleted). */
|
|
3550
|
+
deletedAt?: string | null;
|
|
3551
|
+
/** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3552
|
+
roleNames: string[];
|
|
3553
|
+
}[];
|
|
3449
3554
|
/** Total number of team memberships returned for the user. */
|
|
3450
3555
|
totalCount?: number;
|
|
3451
3556
|
};
|
|
3452
3557
|
/** Organizations the user belongs to with role information */
|
|
3453
3558
|
organizations?: {
|
|
3454
3559
|
/** Organization memberships for the user with their assigned roles. */
|
|
3455
|
-
organizationsWithRoles?:
|
|
3560
|
+
organizationsWithRoles?: {
|
|
3561
|
+
/** Unique identifier of the organization. */
|
|
3562
|
+
id: string;
|
|
3563
|
+
/** Name of the organization. */
|
|
3564
|
+
name: string;
|
|
3565
|
+
/** Human readable description of the organization. */
|
|
3566
|
+
description?: string;
|
|
3567
|
+
/** Country associated with the organization. */
|
|
3568
|
+
country?: string;
|
|
3569
|
+
/** Region associated with the organization. */
|
|
3570
|
+
region?: string;
|
|
3571
|
+
/** Identifier of the organization owner. */
|
|
3572
|
+
owner?: string;
|
|
3573
|
+
/** Timestamp when the organization was created. */
|
|
3574
|
+
createdAt?: string;
|
|
3575
|
+
/** Timestamp when the organization was last updated. */
|
|
3576
|
+
updatedAt?: string;
|
|
3577
|
+
/** Timestamp when the organization was soft-deleted (null if not deleted). */
|
|
3578
|
+
deletedAt?: string | null;
|
|
3579
|
+
/** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3580
|
+
roleNames: string[];
|
|
3581
|
+
}[];
|
|
3456
3582
|
/** Total number of organization memberships returned for the user. */
|
|
3457
3583
|
totalCount?: number;
|
|
3458
3584
|
};
|
|
@@ -3574,19 +3700,61 @@ type GetUserApiResponse = {
|
|
|
3574
3700
|
}[];
|
|
3575
3701
|
/** Timestamp when the user record was soft-deleted (null if not deleted) */
|
|
3576
3702
|
deletedAt: string | null;
|
|
3577
|
-
/**
|
|
3578
|
-
roleNames?:
|
|
3703
|
+
/** Names of the global roles assigned to the user. Free-form, user-generated values sourced from the roles table (role_name is a varchar, not a fixed enumeration); the seeded system roles such as "admin", "organization admin" and "user" are a subset, not the whole set. */
|
|
3704
|
+
roleNames?: string[];
|
|
3579
3705
|
/** Teams the user belongs to with role information */
|
|
3580
3706
|
teams?: {
|
|
3581
3707
|
/** Team memberships for the user with their assigned roles. */
|
|
3582
|
-
teamsWithRoles?:
|
|
3708
|
+
teamsWithRoles?: {
|
|
3709
|
+
/** Unique identifier of the team. */
|
|
3710
|
+
id: string;
|
|
3711
|
+
/** Name of the team. */
|
|
3712
|
+
name: string;
|
|
3713
|
+
/** Human readable description of the team. */
|
|
3714
|
+
description?: string;
|
|
3715
|
+
/** Identifier of the team owner. */
|
|
3716
|
+
owner?: string;
|
|
3717
|
+
/** Free-form metadata associated with the team. */
|
|
3718
|
+
metadata?: {
|
|
3719
|
+
[key: string]: any;
|
|
3720
|
+
};
|
|
3721
|
+
/** Timestamp when the team was created. */
|
|
3722
|
+
createdAt?: string;
|
|
3723
|
+
/** Timestamp when the team was last updated. */
|
|
3724
|
+
updatedAt?: string;
|
|
3725
|
+
/** Timestamp when the team was soft-deleted (null if not deleted). */
|
|
3726
|
+
deletedAt?: string | null;
|
|
3727
|
+
/** Names of the roles assigned to the user within this team. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3728
|
+
roleNames: string[];
|
|
3729
|
+
}[];
|
|
3583
3730
|
/** Total number of team memberships returned for the user. */
|
|
3584
3731
|
totalCount?: number;
|
|
3585
3732
|
};
|
|
3586
3733
|
/** Organizations the user belongs to with role information */
|
|
3587
3734
|
organizations?: {
|
|
3588
3735
|
/** Organization memberships for the user with their assigned roles. */
|
|
3589
|
-
organizationsWithRoles?:
|
|
3736
|
+
organizationsWithRoles?: {
|
|
3737
|
+
/** Unique identifier of the organization. */
|
|
3738
|
+
id: string;
|
|
3739
|
+
/** Name of the organization. */
|
|
3740
|
+
name: string;
|
|
3741
|
+
/** Human readable description of the organization. */
|
|
3742
|
+
description?: string;
|
|
3743
|
+
/** Country associated with the organization. */
|
|
3744
|
+
country?: string;
|
|
3745
|
+
/** Region associated with the organization. */
|
|
3746
|
+
region?: string;
|
|
3747
|
+
/** Identifier of the organization owner. */
|
|
3748
|
+
owner?: string;
|
|
3749
|
+
/** Timestamp when the organization was created. */
|
|
3750
|
+
createdAt?: string;
|
|
3751
|
+
/** Timestamp when the organization was last updated. */
|
|
3752
|
+
updatedAt?: string;
|
|
3753
|
+
/** Timestamp when the organization was soft-deleted (null if not deleted). */
|
|
3754
|
+
deletedAt?: string | null;
|
|
3755
|
+
/** Names of the roles assigned to the user within this organization. Free-form, user-generated role names; not a fixed enumeration. */
|
|
3756
|
+
roleNames: string[];
|
|
3757
|
+
}[];
|
|
3590
3758
|
/** Total number of organization memberships returned for the user. */
|
|
3591
3759
|
totalCount?: number;
|
|
3592
3760
|
};
|