@meshery/schemas 1.3.58 → 1.3.60
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 +798 -5
- package/dist/cloudApi.d.ts +798 -5
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/feature/Feature.d.ts +10 -10
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -1
- package/dist/constructs/v1beta2/organization/Organization.d.ts +556 -1
- package/dist/constructs/v1beta2/organization/OrganizationSchema.js +1 -1
- package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +1 -1
- package/dist/index.d.mts +77 -6
- package/dist/index.d.ts +77 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/mesheryApi.d.mts +794 -1
- package/dist/mesheryApi.d.ts +794 -1
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@ export interface paths {
|
|
|
65
65
|
post?: never;
|
|
66
66
|
/**
|
|
67
67
|
* Delete an organization
|
|
68
|
-
* @description
|
|
68
|
+
* @description Soft-deletes the organization. An organization that still has live child organizations is not deleted: the request is refused with 409 and nothing changes. Children are neither reparented nor cascade-deleted; delete or leave them first.
|
|
69
69
|
*/
|
|
70
70
|
delete: operations["deleteOrg"];
|
|
71
71
|
options?: never;
|
|
@@ -73,6 +73,30 @@ export interface paths {
|
|
|
73
73
|
patch?: never;
|
|
74
74
|
trace?: never;
|
|
75
75
|
};
|
|
76
|
+
"/api/identity/orgs/{orgId}/children": {
|
|
77
|
+
parameters: {
|
|
78
|
+
query?: never;
|
|
79
|
+
header?: never;
|
|
80
|
+
path?: never;
|
|
81
|
+
cookie?: never;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Read the direct child organizations of an organization
|
|
85
|
+
* @description Returns the live organizations whose parent is the organization named by orgId, as the ChildOrganization projection. Only direct children are returned; the hierarchy has no depth limit, and a listed child may itself be a parent, but this operation never walks grandchildren or ancestors. Authorization is the View Organizations permission key evaluated in the parent (orgId); a caller without it receives 403 before any lookup, and a parent the caller may see but that has no children is a 200 with an empty page. The Provider Organization is never a parent, so it has no children to list.
|
|
86
|
+
*/
|
|
87
|
+
get: operations["getChildOrgs"];
|
|
88
|
+
put?: never;
|
|
89
|
+
/**
|
|
90
|
+
* Create a child organization
|
|
91
|
+
* @description Creates a new organization whose parent is the organization named by orgId. The path is the parent; the body is the same organization payload the flat create accepts (name, country, region, description) and carries no parentId - a parentId in the body is ignored. The parent is stamped at creation and cannot be changed afterwards. Authorization is the Create Organization permission key evaluated in the parent (orgId). The Provider Organization is never a valid parent: naming it, or the "all" scope, as orgId is refused with 403. A missing or soft-deleted parent is 404, and the body does not distinguish the two. An empty name is 400. On success the creator receives Organization Admin in the new child and the response is the same single-organization page wrapper the flat create returns; parentId is absent from it.
|
|
92
|
+
*/
|
|
93
|
+
post: operations["createChildOrg"];
|
|
94
|
+
delete?: never;
|
|
95
|
+
options?: never;
|
|
96
|
+
head?: never;
|
|
97
|
+
patch?: never;
|
|
98
|
+
trace?: never;
|
|
99
|
+
};
|
|
76
100
|
"/api/identity/orgs/{orgId}/preferences": {
|
|
77
101
|
parameters: {
|
|
78
102
|
query?: never;
|
|
@@ -1090,6 +1114,77 @@ export interface components {
|
|
|
1090
1114
|
deletedAt?: string;
|
|
1091
1115
|
}[];
|
|
1092
1116
|
};
|
|
1117
|
+
/** @description Direct child organization as listed under its parent. A deliberately narrow projection of the organization record: it carries no owner, metadata, invite id, or members, because every holder of View Organizations in the parent can read this list and those fields are not part of what the parent is entitled to see. parentId, when present, is the id of the parent organization named in the request path. */
|
|
1118
|
+
ChildOrganization: {
|
|
1119
|
+
/**
|
|
1120
|
+
* Format: uuid
|
|
1121
|
+
* @description Organization ID of the child.
|
|
1122
|
+
*/
|
|
1123
|
+
id: string;
|
|
1124
|
+
/** @description Name of the child organization. */
|
|
1125
|
+
name: string;
|
|
1126
|
+
/** @description Description of the child organization. */
|
|
1127
|
+
description?: string;
|
|
1128
|
+
/** @description Country of the child organization. */
|
|
1129
|
+
country?: string;
|
|
1130
|
+
/** @description Region of the child organization. */
|
|
1131
|
+
region?: string;
|
|
1132
|
+
/** @description Custom domain assigned to the child organization, when configured. */
|
|
1133
|
+
domain?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* Format: uuid
|
|
1136
|
+
* @description ID of the parent organization. Stamped at creation and never changed; absent only on a top-level organization, which this listing never returns.
|
|
1137
|
+
*/
|
|
1138
|
+
parentId?: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Format: date-time
|
|
1141
|
+
* @description Timestamp when the child organization was created.
|
|
1142
|
+
*/
|
|
1143
|
+
createdAt: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* Format: date-time
|
|
1146
|
+
* @description Timestamp when the child organization was last updated.
|
|
1147
|
+
*/
|
|
1148
|
+
updatedAt: string;
|
|
1149
|
+
};
|
|
1150
|
+
/** @description Page of the direct child organizations of one parent. Carries only the organizations list and the total count; it is not the OrganizationsPage wrapper, whose AvailableOrganization rows expose owner and metadata. */
|
|
1151
|
+
ChildOrganizationsPage: {
|
|
1152
|
+
/** @description Direct child organizations in this page. */
|
|
1153
|
+
organizations: {
|
|
1154
|
+
/**
|
|
1155
|
+
* Format: uuid
|
|
1156
|
+
* @description Organization ID of the child.
|
|
1157
|
+
*/
|
|
1158
|
+
id: string;
|
|
1159
|
+
/** @description Name of the child organization. */
|
|
1160
|
+
name: string;
|
|
1161
|
+
/** @description Description of the child organization. */
|
|
1162
|
+
description?: string;
|
|
1163
|
+
/** @description Country of the child organization. */
|
|
1164
|
+
country?: string;
|
|
1165
|
+
/** @description Region of the child organization. */
|
|
1166
|
+
region?: string;
|
|
1167
|
+
/** @description Custom domain assigned to the child organization, when configured. */
|
|
1168
|
+
domain?: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* Format: uuid
|
|
1171
|
+
* @description ID of the parent organization. Stamped at creation and never changed; absent only on a top-level organization, which this listing never returns.
|
|
1172
|
+
*/
|
|
1173
|
+
parentId?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Format: date-time
|
|
1176
|
+
* @description Timestamp when the child organization was created.
|
|
1177
|
+
*/
|
|
1178
|
+
createdAt: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* Format: date-time
|
|
1181
|
+
* @description Timestamp when the child organization was last updated.
|
|
1182
|
+
*/
|
|
1183
|
+
updatedAt: string;
|
|
1184
|
+
}[];
|
|
1185
|
+
/** @description Total number of live direct children across all pages. */
|
|
1186
|
+
totalCount: number;
|
|
1187
|
+
};
|
|
1093
1188
|
/** @description Payload for creating or updating an organization. Contains only client-settable fields. */
|
|
1094
1189
|
OrganizationPayload: {
|
|
1095
1190
|
/** @description Name of the organization. */
|
|
@@ -2914,6 +3009,466 @@ export interface operations {
|
|
|
2914
3009
|
"text/plain": string;
|
|
2915
3010
|
};
|
|
2916
3011
|
};
|
|
3012
|
+
/** @description Conflict - the organization still has live child organizations, so it was not deleted */
|
|
3013
|
+
409: {
|
|
3014
|
+
headers: {
|
|
3015
|
+
[name: string]: unknown;
|
|
3016
|
+
};
|
|
3017
|
+
content?: never;
|
|
3018
|
+
};
|
|
3019
|
+
/** @description Internal server error */
|
|
3020
|
+
500: {
|
|
3021
|
+
headers: {
|
|
3022
|
+
[name: string]: unknown;
|
|
3023
|
+
};
|
|
3024
|
+
content: {
|
|
3025
|
+
"text/plain": string;
|
|
3026
|
+
};
|
|
3027
|
+
};
|
|
3028
|
+
};
|
|
3029
|
+
};
|
|
3030
|
+
getChildOrgs: {
|
|
3031
|
+
parameters: {
|
|
3032
|
+
query?: {
|
|
3033
|
+
/** @description Zero-based index of the result page to return. */
|
|
3034
|
+
page?: number;
|
|
3035
|
+
/** @description Maximum number of items returned on each page. */
|
|
3036
|
+
pageSize?: number;
|
|
3037
|
+
};
|
|
3038
|
+
header?: never;
|
|
3039
|
+
path: {
|
|
3040
|
+
/** @description Organization ID. */
|
|
3041
|
+
orgId: string;
|
|
3042
|
+
};
|
|
3043
|
+
cookie?: never;
|
|
3044
|
+
};
|
|
3045
|
+
requestBody?: never;
|
|
3046
|
+
responses: {
|
|
3047
|
+
/** @description Direct child organizations of the parent organization */
|
|
3048
|
+
200: {
|
|
3049
|
+
headers: {
|
|
3050
|
+
[name: string]: unknown;
|
|
3051
|
+
};
|
|
3052
|
+
content: {
|
|
3053
|
+
"application/json": {
|
|
3054
|
+
/** @description Direct child organizations in this page. */
|
|
3055
|
+
organizations: {
|
|
3056
|
+
/**
|
|
3057
|
+
* Format: uuid
|
|
3058
|
+
* @description Organization ID of the child.
|
|
3059
|
+
*/
|
|
3060
|
+
id: string;
|
|
3061
|
+
/** @description Name of the child organization. */
|
|
3062
|
+
name: string;
|
|
3063
|
+
/** @description Description of the child organization. */
|
|
3064
|
+
description?: string;
|
|
3065
|
+
/** @description Country of the child organization. */
|
|
3066
|
+
country?: string;
|
|
3067
|
+
/** @description Region of the child organization. */
|
|
3068
|
+
region?: string;
|
|
3069
|
+
/** @description Custom domain assigned to the child organization, when configured. */
|
|
3070
|
+
domain?: string;
|
|
3071
|
+
/**
|
|
3072
|
+
* Format: uuid
|
|
3073
|
+
* @description ID of the parent organization. Stamped at creation and never changed; absent only on a top-level organization, which this listing never returns.
|
|
3074
|
+
*/
|
|
3075
|
+
parentId?: string;
|
|
3076
|
+
/**
|
|
3077
|
+
* Format: date-time
|
|
3078
|
+
* @description Timestamp when the child organization was created.
|
|
3079
|
+
*/
|
|
3080
|
+
createdAt: string;
|
|
3081
|
+
/**
|
|
3082
|
+
* Format: date-time
|
|
3083
|
+
* @description Timestamp when the child organization was last updated.
|
|
3084
|
+
*/
|
|
3085
|
+
updatedAt: string;
|
|
3086
|
+
}[];
|
|
3087
|
+
/** @description Total number of live direct children across all pages. */
|
|
3088
|
+
totalCount: number;
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
3091
|
+
};
|
|
3092
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
3093
|
+
401: {
|
|
3094
|
+
headers: {
|
|
3095
|
+
[name: string]: unknown;
|
|
3096
|
+
};
|
|
3097
|
+
content: {
|
|
3098
|
+
"text/plain": string;
|
|
3099
|
+
};
|
|
3100
|
+
};
|
|
3101
|
+
/** @description Forbidden */
|
|
3102
|
+
403: {
|
|
3103
|
+
headers: {
|
|
3104
|
+
[name: string]: unknown;
|
|
3105
|
+
};
|
|
3106
|
+
content: {
|
|
3107
|
+
"text/plain": string;
|
|
3108
|
+
};
|
|
3109
|
+
};
|
|
3110
|
+
/** @description Result not found */
|
|
3111
|
+
404: {
|
|
3112
|
+
headers: {
|
|
3113
|
+
[name: string]: unknown;
|
|
3114
|
+
};
|
|
3115
|
+
content: {
|
|
3116
|
+
"text/plain": string;
|
|
3117
|
+
};
|
|
3118
|
+
};
|
|
3119
|
+
/** @description Internal server error */
|
|
3120
|
+
500: {
|
|
3121
|
+
headers: {
|
|
3122
|
+
[name: string]: unknown;
|
|
3123
|
+
};
|
|
3124
|
+
content: {
|
|
3125
|
+
"text/plain": string;
|
|
3126
|
+
};
|
|
3127
|
+
};
|
|
3128
|
+
};
|
|
3129
|
+
};
|
|
3130
|
+
createChildOrg: {
|
|
3131
|
+
parameters: {
|
|
3132
|
+
query?: never;
|
|
3133
|
+
header?: never;
|
|
3134
|
+
path: {
|
|
3135
|
+
/** @description Organization ID. */
|
|
3136
|
+
orgId: string;
|
|
3137
|
+
};
|
|
3138
|
+
cookie?: never;
|
|
3139
|
+
};
|
|
3140
|
+
/** @description Body for creating or updating an organization */
|
|
3141
|
+
requestBody: {
|
|
3142
|
+
content: {
|
|
3143
|
+
"application/json": {
|
|
3144
|
+
/** @description Name of the organization. */
|
|
3145
|
+
name?: string;
|
|
3146
|
+
/** @description Country of the organization. */
|
|
3147
|
+
country?: string;
|
|
3148
|
+
/** @description Region of the organization. */
|
|
3149
|
+
region?: string;
|
|
3150
|
+
/** @description Description of the organization. */
|
|
3151
|
+
description?: string;
|
|
3152
|
+
/** @description Indicates whether organization members should be notified of this update. */
|
|
3153
|
+
notifyOrgUpdate?: boolean;
|
|
3154
|
+
/** @description Organization-level user experience preferences. */
|
|
3155
|
+
preferences?: {
|
|
3156
|
+
/** @description UI theme configured for an organization. */
|
|
3157
|
+
theme: {
|
|
3158
|
+
/**
|
|
3159
|
+
* Format: uuid
|
|
3160
|
+
* @description Theme identifier.
|
|
3161
|
+
*/
|
|
3162
|
+
id: string;
|
|
3163
|
+
/** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
|
|
3164
|
+
logo: {
|
|
3165
|
+
/** @description Image asset anchored to a named location within an organization theme. */
|
|
3166
|
+
desktopView: {
|
|
3167
|
+
/** @description SVG markup for the asset. */
|
|
3168
|
+
svg: string;
|
|
3169
|
+
/** @description Named location of the asset (e.g. header, footer). */
|
|
3170
|
+
location: string;
|
|
3171
|
+
};
|
|
3172
|
+
/** @description Image asset anchored to a named location within an organization theme. */
|
|
3173
|
+
mobileView: {
|
|
3174
|
+
/** @description SVG markup for the asset. */
|
|
3175
|
+
svg: string;
|
|
3176
|
+
/** @description Named location of the asset (e.g. header, footer). */
|
|
3177
|
+
location: string;
|
|
3178
|
+
};
|
|
3179
|
+
/** @description Image asset anchored to a named location within an organization theme. */
|
|
3180
|
+
darkDesktopView: {
|
|
3181
|
+
/** @description SVG markup for the asset. */
|
|
3182
|
+
svg: string;
|
|
3183
|
+
/** @description Named location of the asset (e.g. header, footer). */
|
|
3184
|
+
location: string;
|
|
3185
|
+
};
|
|
3186
|
+
/** @description Image asset anchored to a named location within an organization theme. */
|
|
3187
|
+
darkMobileView: {
|
|
3188
|
+
/** @description SVG markup for the asset. */
|
|
3189
|
+
svg: string;
|
|
3190
|
+
/** @description Named location of the asset (e.g. header, footer). */
|
|
3191
|
+
location: string;
|
|
3192
|
+
};
|
|
3193
|
+
};
|
|
3194
|
+
/** @description Arbitrary theme variables keyed by name. */
|
|
3195
|
+
vars?: {
|
|
3196
|
+
[key: string]: unknown;
|
|
3197
|
+
};
|
|
3198
|
+
};
|
|
3199
|
+
/** @description Preferences specific to dashboard behavior. */
|
|
3200
|
+
dashboard: {
|
|
3201
|
+
[key: string]: unknown;
|
|
3202
|
+
};
|
|
3203
|
+
/** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
|
|
3204
|
+
authBranding?: {
|
|
3205
|
+
/** @description Ordered slides rendered in the auth-page feature carousel. */
|
|
3206
|
+
carousel?: {
|
|
3207
|
+
/**
|
|
3208
|
+
* Format: uri
|
|
3209
|
+
* @description URL of the slide image asset.
|
|
3210
|
+
*/
|
|
3211
|
+
imageUrl: string;
|
|
3212
|
+
/** @description Slide title. */
|
|
3213
|
+
title: string;
|
|
3214
|
+
/** @description Slide description text. */
|
|
3215
|
+
description: string;
|
|
3216
|
+
}[];
|
|
3217
|
+
/** @description FAQ entries rendered on the auth pages. */
|
|
3218
|
+
faqs?: {
|
|
3219
|
+
/** @description The question text. */
|
|
3220
|
+
question: string;
|
|
3221
|
+
/** @description The answer text. */
|
|
3222
|
+
answer: string;
|
|
3223
|
+
}[];
|
|
3224
|
+
};
|
|
3225
|
+
/** @description Per-organization overrides for the legal, support, and social links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links; social carries the organization's brand profiles. Empty or omitted fields fall back to the platform defaults. */
|
|
3226
|
+
links?: {
|
|
3227
|
+
/**
|
|
3228
|
+
* Format: uri
|
|
3229
|
+
* @description URL of the organization's Terms of Service page.
|
|
3230
|
+
*/
|
|
3231
|
+
termsOfService?: string;
|
|
3232
|
+
/**
|
|
3233
|
+
* Format: uri
|
|
3234
|
+
* @description URL of the organization's Privacy Policy page.
|
|
3235
|
+
*/
|
|
3236
|
+
privacy?: string;
|
|
3237
|
+
/** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
|
|
3238
|
+
support?: {
|
|
3239
|
+
[key: string]: string;
|
|
3240
|
+
};
|
|
3241
|
+
/** @description The organization's social brand profiles. Deliberately a sibling of support rather than an entry in it: support renders as support contacts on the auth and error pages, where a brand profile does not belong. Each platform is a named, individually validated URL so consumers can render the matching platform icon. Empty or omitted fields fall back to the platform defaults. */
|
|
3242
|
+
social?: {
|
|
3243
|
+
/**
|
|
3244
|
+
* Format: uri
|
|
3245
|
+
* @description URL of the organization's LinkedIn profile.
|
|
3246
|
+
*/
|
|
3247
|
+
linkedin?: string;
|
|
3248
|
+
/**
|
|
3249
|
+
* Format: uri
|
|
3250
|
+
* @description URL of the organization's X (formerly Twitter) profile.
|
|
3251
|
+
*/
|
|
3252
|
+
x?: string;
|
|
3253
|
+
/**
|
|
3254
|
+
* Format: uri
|
|
3255
|
+
* @description URL of the organization's YouTube channel.
|
|
3256
|
+
*/
|
|
3257
|
+
youtube?: string;
|
|
3258
|
+
};
|
|
3259
|
+
};
|
|
3260
|
+
/**
|
|
3261
|
+
* @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
|
|
3262
|
+
* @default true
|
|
3263
|
+
*/
|
|
3264
|
+
showAuthCarousel?: boolean;
|
|
3265
|
+
};
|
|
3266
|
+
};
|
|
3267
|
+
};
|
|
3268
|
+
};
|
|
3269
|
+
responses: {
|
|
3270
|
+
/** @description Single-organization page response for the created child organization */
|
|
3271
|
+
201: {
|
|
3272
|
+
headers: {
|
|
3273
|
+
[name: string]: unknown;
|
|
3274
|
+
};
|
|
3275
|
+
content: {
|
|
3276
|
+
"application/json": {
|
|
3277
|
+
/** @description Zero-based page index returned in this response. */
|
|
3278
|
+
page?: number;
|
|
3279
|
+
/** @description Maximum number of items returned on each page. */
|
|
3280
|
+
pageSize?: number;
|
|
3281
|
+
/** @description Total number of items across all pages. */
|
|
3282
|
+
totalCount?: number;
|
|
3283
|
+
/** @description Organizations returned in this single-item page wrapper. */
|
|
3284
|
+
organizations?: {
|
|
3285
|
+
/**
|
|
3286
|
+
* Format: uuid
|
|
3287
|
+
* @description Organization ID.
|
|
3288
|
+
*/
|
|
3289
|
+
id?: string;
|
|
3290
|
+
/** @description Name of the organization. */
|
|
3291
|
+
name?: string;
|
|
3292
|
+
/** @description Description of the organization. */
|
|
3293
|
+
description?: string;
|
|
3294
|
+
/** @description Country of the organization. */
|
|
3295
|
+
country?: string;
|
|
3296
|
+
/** @description Region of the organization. */
|
|
3297
|
+
region?: string;
|
|
3298
|
+
/** @description Custom domain assigned to the organization, when configured. */
|
|
3299
|
+
domain?: string;
|
|
3300
|
+
/** @description Display name of the organization owner. */
|
|
3301
|
+
owner?: string;
|
|
3302
|
+
/** @description Free-form metadata associated with an organization, including preferences. */
|
|
3303
|
+
metadata?: {
|
|
3304
|
+
/** @description Organization-level user experience preferences. */
|
|
3305
|
+
preferences: {
|
|
3306
|
+
/** @description UI theme configured for an organization. */
|
|
3307
|
+
theme: {
|
|
3308
|
+
/**
|
|
3309
|
+
* Format: uuid
|
|
3310
|
+
* @description Theme identifier.
|
|
3311
|
+
*/
|
|
3312
|
+
id: string;
|
|
3313
|
+
/** @description Themed logo assets used across light and dark, desktop and mobile presentations. */
|
|
3314
|
+
logo: {
|
|
3315
|
+
/** @description Image asset anchored to a named location within an organization theme. */
|
|
3316
|
+
desktopView: {
|
|
3317
|
+
/** @description SVG markup for the asset. */
|
|
3318
|
+
svg: string;
|
|
3319
|
+
/** @description Named location of the asset (e.g. header, footer). */
|
|
3320
|
+
location: string;
|
|
3321
|
+
};
|
|
3322
|
+
/** @description Image asset anchored to a named location within an organization theme. */
|
|
3323
|
+
mobileView: {
|
|
3324
|
+
/** @description SVG markup for the asset. */
|
|
3325
|
+
svg: string;
|
|
3326
|
+
/** @description Named location of the asset (e.g. header, footer). */
|
|
3327
|
+
location: string;
|
|
3328
|
+
};
|
|
3329
|
+
/** @description Image asset anchored to a named location within an organization theme. */
|
|
3330
|
+
darkDesktopView: {
|
|
3331
|
+
/** @description SVG markup for the asset. */
|
|
3332
|
+
svg: string;
|
|
3333
|
+
/** @description Named location of the asset (e.g. header, footer). */
|
|
3334
|
+
location: string;
|
|
3335
|
+
};
|
|
3336
|
+
/** @description Image asset anchored to a named location within an organization theme. */
|
|
3337
|
+
darkMobileView: {
|
|
3338
|
+
/** @description SVG markup for the asset. */
|
|
3339
|
+
svg: string;
|
|
3340
|
+
/** @description Named location of the asset (e.g. header, footer). */
|
|
3341
|
+
location: string;
|
|
3342
|
+
};
|
|
3343
|
+
};
|
|
3344
|
+
/** @description Arbitrary theme variables keyed by name. */
|
|
3345
|
+
vars?: {
|
|
3346
|
+
[key: string]: unknown;
|
|
3347
|
+
};
|
|
3348
|
+
};
|
|
3349
|
+
/** @description Preferences specific to dashboard behavior. */
|
|
3350
|
+
dashboard: {
|
|
3351
|
+
[key: string]: unknown;
|
|
3352
|
+
};
|
|
3353
|
+
/** @description Optional per-organization branding overrides for the auth pages: carousel slides and FAQ entries. Stored as JSON inside organization.metadata.preferences, so no dedicated column backs it. Empty or omitted fields fall back to the platform defaults. */
|
|
3354
|
+
authBranding?: {
|
|
3355
|
+
/** @description Ordered slides rendered in the auth-page feature carousel. */
|
|
3356
|
+
carousel?: {
|
|
3357
|
+
/**
|
|
3358
|
+
* Format: uri
|
|
3359
|
+
* @description URL of the slide image asset.
|
|
3360
|
+
*/
|
|
3361
|
+
imageUrl: string;
|
|
3362
|
+
/** @description Slide title. */
|
|
3363
|
+
title: string;
|
|
3364
|
+
/** @description Slide description text. */
|
|
3365
|
+
description: string;
|
|
3366
|
+
}[];
|
|
3367
|
+
/** @description FAQ entries rendered on the auth pages. */
|
|
3368
|
+
faqs?: {
|
|
3369
|
+
/** @description The question text. */
|
|
3370
|
+
question: string;
|
|
3371
|
+
/** @description The answer text. */
|
|
3372
|
+
answer: string;
|
|
3373
|
+
}[];
|
|
3374
|
+
};
|
|
3375
|
+
/** @description Per-organization overrides for the legal, support, and social links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links; social carries the organization's brand profiles. Empty or omitted fields fall back to the platform defaults. */
|
|
3376
|
+
links?: {
|
|
3377
|
+
/**
|
|
3378
|
+
* Format: uri
|
|
3379
|
+
* @description URL of the organization's Terms of Service page.
|
|
3380
|
+
*/
|
|
3381
|
+
termsOfService?: string;
|
|
3382
|
+
/**
|
|
3383
|
+
* Format: uri
|
|
3384
|
+
* @description URL of the organization's Privacy Policy page.
|
|
3385
|
+
*/
|
|
3386
|
+
privacy?: string;
|
|
3387
|
+
/** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
|
|
3388
|
+
support?: {
|
|
3389
|
+
[key: string]: string;
|
|
3390
|
+
};
|
|
3391
|
+
/** @description The organization's social brand profiles. Deliberately a sibling of support rather than an entry in it: support renders as support contacts on the auth and error pages, where a brand profile does not belong. Each platform is a named, individually validated URL so consumers can render the matching platform icon. Empty or omitted fields fall back to the platform defaults. */
|
|
3392
|
+
social?: {
|
|
3393
|
+
/**
|
|
3394
|
+
* Format: uri
|
|
3395
|
+
* @description URL of the organization's LinkedIn profile.
|
|
3396
|
+
*/
|
|
3397
|
+
linkedin?: string;
|
|
3398
|
+
/**
|
|
3399
|
+
* Format: uri
|
|
3400
|
+
* @description URL of the organization's X (formerly Twitter) profile.
|
|
3401
|
+
*/
|
|
3402
|
+
x?: string;
|
|
3403
|
+
/**
|
|
3404
|
+
* Format: uri
|
|
3405
|
+
* @description URL of the organization's YouTube channel.
|
|
3406
|
+
*/
|
|
3407
|
+
youtube?: string;
|
|
3408
|
+
};
|
|
3409
|
+
};
|
|
3410
|
+
/**
|
|
3411
|
+
* @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
|
|
3412
|
+
* @default true
|
|
3413
|
+
*/
|
|
3414
|
+
showAuthCarousel: boolean;
|
|
3415
|
+
};
|
|
3416
|
+
};
|
|
3417
|
+
/**
|
|
3418
|
+
* Format: date-time
|
|
3419
|
+
* @description Timestamp when the organization was created.
|
|
3420
|
+
*/
|
|
3421
|
+
createdAt?: string;
|
|
3422
|
+
/**
|
|
3423
|
+
* Format: date-time
|
|
3424
|
+
* @description Timestamp when the organization was last updated.
|
|
3425
|
+
*/
|
|
3426
|
+
updatedAt?: string;
|
|
3427
|
+
/**
|
|
3428
|
+
* Format: date-time
|
|
3429
|
+
* @description Timestamp when the organization was soft-deleted.
|
|
3430
|
+
*/
|
|
3431
|
+
deletedAt?: string;
|
|
3432
|
+
}[];
|
|
3433
|
+
};
|
|
3434
|
+
};
|
|
3435
|
+
};
|
|
3436
|
+
/** @description Invalid request body or request param */
|
|
3437
|
+
400: {
|
|
3438
|
+
headers: {
|
|
3439
|
+
[name: string]: unknown;
|
|
3440
|
+
};
|
|
3441
|
+
content: {
|
|
3442
|
+
"text/plain": string;
|
|
3443
|
+
};
|
|
3444
|
+
};
|
|
3445
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
3446
|
+
401: {
|
|
3447
|
+
headers: {
|
|
3448
|
+
[name: string]: unknown;
|
|
3449
|
+
};
|
|
3450
|
+
content: {
|
|
3451
|
+
"text/plain": string;
|
|
3452
|
+
};
|
|
3453
|
+
};
|
|
3454
|
+
/** @description Forbidden */
|
|
3455
|
+
403: {
|
|
3456
|
+
headers: {
|
|
3457
|
+
[name: string]: unknown;
|
|
3458
|
+
};
|
|
3459
|
+
content: {
|
|
3460
|
+
"text/plain": string;
|
|
3461
|
+
};
|
|
3462
|
+
};
|
|
3463
|
+
/** @description Result not found */
|
|
3464
|
+
404: {
|
|
3465
|
+
headers: {
|
|
3466
|
+
[name: string]: unknown;
|
|
3467
|
+
};
|
|
3468
|
+
content: {
|
|
3469
|
+
"text/plain": string;
|
|
3470
|
+
};
|
|
3471
|
+
};
|
|
2917
3472
|
/** @description Internal server error */
|
|
2918
3473
|
500: {
|
|
2919
3474
|
headers: {
|