@meshery/schemas 1.3.52 → 1.3.53
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 +100 -0
- package/dist/cloudApi.d.ts +100 -0
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtp.d.ts +13 -0
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.js +1 -1
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.mjs +1 -1
- package/dist/constructs/v1beta1/registry/Registry.d.ts +39 -0
- package/dist/constructs/v1beta1/registry/RegistrySchema.js +3 -3
- package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +3 -3
- package/dist/constructs/v1beta3/connection/Connection.d.ts +91 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta3/environment/Environment.d.ts +80 -1
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +13 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/mesheryApi.d.mts +120 -0
- package/dist/mesheryApi.d.ts +120 -0
- package/package.json +1 -1
package/dist/cloudApi.d.mts
CHANGED
|
@@ -322,6 +322,16 @@ type GetOrganizationSmtpEnvironmentApiResponse =
|
|
|
322
322
|
updatedAt?: string;
|
|
323
323
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
324
324
|
deletedAt?: string | null;
|
|
325
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
326
|
+
|
|
327
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
328
|
+
|
|
329
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
330
|
+
|
|
331
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
332
|
+
|
|
333
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
334
|
+
purpose?: "user" | "administrative";
|
|
325
335
|
};
|
|
326
336
|
type GetOrganizationSmtpEnvironmentApiArg = {
|
|
327
337
|
/** Organization ID */
|
|
@@ -6174,6 +6184,16 @@ type GetConnectionsApiResponse = {
|
|
|
6174
6184
|
updatedAt?: string;
|
|
6175
6185
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
6176
6186
|
deletedAt?: string | null;
|
|
6187
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
6188
|
+
|
|
6189
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
6190
|
+
|
|
6191
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
6192
|
+
|
|
6193
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
6194
|
+
|
|
6195
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
6196
|
+
purpose?: "user" | "administrative";
|
|
6177
6197
|
}[];
|
|
6178
6198
|
/** Specifies the version of the schema used for the definition. */
|
|
6179
6199
|
schemaVersion: string;
|
|
@@ -6431,6 +6451,16 @@ type RegisterConnectionApiResponse = {
|
|
|
6431
6451
|
updatedAt?: string;
|
|
6432
6452
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
6433
6453
|
deletedAt?: string | null;
|
|
6454
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
6455
|
+
|
|
6456
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
6457
|
+
|
|
6458
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
6459
|
+
|
|
6460
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
6461
|
+
|
|
6462
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
6463
|
+
purpose?: "user" | "administrative";
|
|
6434
6464
|
}[];
|
|
6435
6465
|
/** Specifies the version of the schema used for the definition. */
|
|
6436
6466
|
schemaVersion: string;
|
|
@@ -6813,6 +6843,16 @@ type GetConnectionByIdApiResponse = {
|
|
|
6813
6843
|
updatedAt?: string;
|
|
6814
6844
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
6815
6845
|
deletedAt?: string | null;
|
|
6846
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
6847
|
+
|
|
6848
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
6849
|
+
|
|
6850
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
6851
|
+
|
|
6852
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
6853
|
+
|
|
6854
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
6855
|
+
purpose?: "user" | "administrative";
|
|
6816
6856
|
}[];
|
|
6817
6857
|
/** Specifies the version of the schema used for the definition. */
|
|
6818
6858
|
schemaVersion: string;
|
|
@@ -7041,6 +7081,16 @@ type UpdateConnectionApiResponse = {
|
|
|
7041
7081
|
updatedAt?: string;
|
|
7042
7082
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
7043
7083
|
deletedAt?: string | null;
|
|
7084
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
7085
|
+
|
|
7086
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
7087
|
+
|
|
7088
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
7089
|
+
|
|
7090
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
7091
|
+
|
|
7092
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
7093
|
+
purpose?: "user" | "administrative";
|
|
7044
7094
|
}[];
|
|
7045
7095
|
/** Specifies the version of the schema used for the definition. */
|
|
7046
7096
|
schemaVersion: string;
|
|
@@ -10048,6 +10098,16 @@ type CreateEnvironmentApiResponse = {
|
|
|
10048
10098
|
updatedAt?: string;
|
|
10049
10099
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
10050
10100
|
deletedAt?: string | null;
|
|
10101
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
10102
|
+
|
|
10103
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
10104
|
+
|
|
10105
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
10106
|
+
|
|
10107
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
10108
|
+
|
|
10109
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
10110
|
+
purpose?: "user" | "administrative";
|
|
10051
10111
|
};
|
|
10052
10112
|
type CreateEnvironmentApiArg = {
|
|
10053
10113
|
/** Body for creating environment */
|
|
@@ -10089,6 +10149,16 @@ type GetEnvironmentsApiResponse = {
|
|
|
10089
10149
|
updatedAt?: string;
|
|
10090
10150
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
10091
10151
|
deletedAt?: string | null;
|
|
10152
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
10153
|
+
|
|
10154
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
10155
|
+
|
|
10156
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
10157
|
+
|
|
10158
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
10159
|
+
|
|
10160
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
10161
|
+
purpose?: "user" | "administrative";
|
|
10092
10162
|
}[];
|
|
10093
10163
|
};
|
|
10094
10164
|
type GetEnvironmentsApiArg = {
|
|
@@ -10134,6 +10204,16 @@ type GetEnvironmentByIdApiResponse = {
|
|
|
10134
10204
|
updatedAt?: string;
|
|
10135
10205
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
10136
10206
|
deletedAt?: string | null;
|
|
10207
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
10208
|
+
|
|
10209
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
10210
|
+
|
|
10211
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
10212
|
+
|
|
10213
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
10214
|
+
|
|
10215
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
10216
|
+
purpose?: "user" | "administrative";
|
|
10137
10217
|
}[];
|
|
10138
10218
|
};
|
|
10139
10219
|
type GetEnvironmentByIdApiArg = {
|
|
@@ -10171,6 +10251,16 @@ type UpdateEnvironmentApiResponse = {
|
|
|
10171
10251
|
updatedAt?: string;
|
|
10172
10252
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
10173
10253
|
deletedAt?: string | null;
|
|
10254
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
10255
|
+
|
|
10256
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
10257
|
+
|
|
10258
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
10259
|
+
|
|
10260
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
10261
|
+
|
|
10262
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
10263
|
+
purpose?: "user" | "administrative";
|
|
10174
10264
|
}[];
|
|
10175
10265
|
};
|
|
10176
10266
|
type UpdateEnvironmentApiArg = {
|
|
@@ -12686,6 +12776,16 @@ type GetEnvironmentsOfWorkspaceApiResponse = {
|
|
|
12686
12776
|
updatedAt?: string;
|
|
12687
12777
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
12688
12778
|
deletedAt?: string | null;
|
|
12779
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
12780
|
+
|
|
12781
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
12782
|
+
|
|
12783
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
12784
|
+
|
|
12785
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
12786
|
+
|
|
12787
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
12788
|
+
purpose?: "user" | "administrative";
|
|
12689
12789
|
}[];
|
|
12690
12790
|
};
|
|
12691
12791
|
type GetEnvironmentsOfWorkspaceApiArg = {
|
package/dist/cloudApi.d.ts
CHANGED
|
@@ -322,6 +322,16 @@ type GetOrganizationSmtpEnvironmentApiResponse =
|
|
|
322
322
|
updatedAt?: string;
|
|
323
323
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
324
324
|
deletedAt?: string | null;
|
|
325
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
326
|
+
|
|
327
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
328
|
+
|
|
329
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
330
|
+
|
|
331
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
332
|
+
|
|
333
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
334
|
+
purpose?: "user" | "administrative";
|
|
325
335
|
};
|
|
326
336
|
type GetOrganizationSmtpEnvironmentApiArg = {
|
|
327
337
|
/** Organization ID */
|
|
@@ -6174,6 +6184,16 @@ type GetConnectionsApiResponse = {
|
|
|
6174
6184
|
updatedAt?: string;
|
|
6175
6185
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
6176
6186
|
deletedAt?: string | null;
|
|
6187
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
6188
|
+
|
|
6189
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
6190
|
+
|
|
6191
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
6192
|
+
|
|
6193
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
6194
|
+
|
|
6195
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
6196
|
+
purpose?: "user" | "administrative";
|
|
6177
6197
|
}[];
|
|
6178
6198
|
/** Specifies the version of the schema used for the definition. */
|
|
6179
6199
|
schemaVersion: string;
|
|
@@ -6431,6 +6451,16 @@ type RegisterConnectionApiResponse = {
|
|
|
6431
6451
|
updatedAt?: string;
|
|
6432
6452
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
6433
6453
|
deletedAt?: string | null;
|
|
6454
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
6455
|
+
|
|
6456
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
6457
|
+
|
|
6458
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
6459
|
+
|
|
6460
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
6461
|
+
|
|
6462
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
6463
|
+
purpose?: "user" | "administrative";
|
|
6434
6464
|
}[];
|
|
6435
6465
|
/** Specifies the version of the schema used for the definition. */
|
|
6436
6466
|
schemaVersion: string;
|
|
@@ -6813,6 +6843,16 @@ type GetConnectionByIdApiResponse = {
|
|
|
6813
6843
|
updatedAt?: string;
|
|
6814
6844
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
6815
6845
|
deletedAt?: string | null;
|
|
6846
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
6847
|
+
|
|
6848
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
6849
|
+
|
|
6850
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
6851
|
+
|
|
6852
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
6853
|
+
|
|
6854
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
6855
|
+
purpose?: "user" | "administrative";
|
|
6816
6856
|
}[];
|
|
6817
6857
|
/** Specifies the version of the schema used for the definition. */
|
|
6818
6858
|
schemaVersion: string;
|
|
@@ -7041,6 +7081,16 @@ type UpdateConnectionApiResponse = {
|
|
|
7041
7081
|
updatedAt?: string;
|
|
7042
7082
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
7043
7083
|
deletedAt?: string | null;
|
|
7084
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
7085
|
+
|
|
7086
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
7087
|
+
|
|
7088
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
7089
|
+
|
|
7090
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
7091
|
+
|
|
7092
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
7093
|
+
purpose?: "user" | "administrative";
|
|
7044
7094
|
}[];
|
|
7045
7095
|
/** Specifies the version of the schema used for the definition. */
|
|
7046
7096
|
schemaVersion: string;
|
|
@@ -10048,6 +10098,16 @@ type CreateEnvironmentApiResponse = {
|
|
|
10048
10098
|
updatedAt?: string;
|
|
10049
10099
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
10050
10100
|
deletedAt?: string | null;
|
|
10101
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
10102
|
+
|
|
10103
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
10104
|
+
|
|
10105
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
10106
|
+
|
|
10107
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
10108
|
+
|
|
10109
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
10110
|
+
purpose?: "user" | "administrative";
|
|
10051
10111
|
};
|
|
10052
10112
|
type CreateEnvironmentApiArg = {
|
|
10053
10113
|
/** Body for creating environment */
|
|
@@ -10089,6 +10149,16 @@ type GetEnvironmentsApiResponse = {
|
|
|
10089
10149
|
updatedAt?: string;
|
|
10090
10150
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
10091
10151
|
deletedAt?: string | null;
|
|
10152
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
10153
|
+
|
|
10154
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
10155
|
+
|
|
10156
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
10157
|
+
|
|
10158
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
10159
|
+
|
|
10160
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
10161
|
+
purpose?: "user" | "administrative";
|
|
10092
10162
|
}[];
|
|
10093
10163
|
};
|
|
10094
10164
|
type GetEnvironmentsApiArg = {
|
|
@@ -10134,6 +10204,16 @@ type GetEnvironmentByIdApiResponse = {
|
|
|
10134
10204
|
updatedAt?: string;
|
|
10135
10205
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
10136
10206
|
deletedAt?: string | null;
|
|
10207
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
10208
|
+
|
|
10209
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
10210
|
+
|
|
10211
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
10212
|
+
|
|
10213
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
10214
|
+
|
|
10215
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
10216
|
+
purpose?: "user" | "administrative";
|
|
10137
10217
|
}[];
|
|
10138
10218
|
};
|
|
10139
10219
|
type GetEnvironmentByIdApiArg = {
|
|
@@ -10171,6 +10251,16 @@ type UpdateEnvironmentApiResponse = {
|
|
|
10171
10251
|
updatedAt?: string;
|
|
10172
10252
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
10173
10253
|
deletedAt?: string | null;
|
|
10254
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
10255
|
+
|
|
10256
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
10257
|
+
|
|
10258
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
10259
|
+
|
|
10260
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
10261
|
+
|
|
10262
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
10263
|
+
purpose?: "user" | "administrative";
|
|
10174
10264
|
}[];
|
|
10175
10265
|
};
|
|
10176
10266
|
type UpdateEnvironmentApiArg = {
|
|
@@ -12686,6 +12776,16 @@ type GetEnvironmentsOfWorkspaceApiResponse = {
|
|
|
12686
12776
|
updatedAt?: string;
|
|
12687
12777
|
/** Timestamp when the environment was soft deleted. Null while the environment remains active. */
|
|
12688
12778
|
deletedAt?: string | null;
|
|
12779
|
+
/** What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
12780
|
+
|
|
12781
|
+
Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
12782
|
+
|
|
12783
|
+
At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
12784
|
+
|
|
12785
|
+
Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
12786
|
+
|
|
12787
|
+
The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md. */
|
|
12788
|
+
purpose?: "user" | "administrative";
|
|
12689
12789
|
}[];
|
|
12690
12790
|
};
|
|
12691
12791
|
type GetEnvironmentsOfWorkspaceApiArg = {
|
|
@@ -719,6 +719,19 @@ export interface operations {
|
|
|
719
719
|
* @description Timestamp when the environment was soft deleted. Null while the environment remains active.
|
|
720
720
|
*/
|
|
721
721
|
deletedAt?: string | null;
|
|
722
|
+
/**
|
|
723
|
+
* @description What the environment exists for. `user` is an ordinary environment that people create to logically group Connections and their Credentials. `administrative` designates an environment the platform itself provisions to hold organization-level configuration, and which resolvers of that configuration therefore trust.
|
|
724
|
+
*
|
|
725
|
+
* Absent means `user`. Nothing may read an unset or unrecognised value as administrative: test for the administrative value explicitly rather than for "not user", so the property fails closed.
|
|
726
|
+
*
|
|
727
|
+
* At most one live environment per organization may carry any single privileged purpose - `administrative`, and each privileged value a later version adds. Name those values explicitly wherever the rule is enforced, including the database index predicate: a "not `user`" test also matches the empty value that unmigrated rows and un-normalised writes read back as, which means ordinary. A resolver that selects an environment by purpose MUST fail closed when more than one live row matches: return an error rather than whichever row the database happened to return first.
|
|
728
|
+
*
|
|
729
|
+
* Server-owned and not client-settable. It is absent from `EnvironmentPayload`, which every environment POST and PUT requestBody references, and from the create-or-edit form, so the environment create and update endpoints have no field for it. That exclusion is a codegen guarantee, never access control: the registrant connection inlines the full environment entity, so `registerRegistryComponent` and `registerRegistryRelationship` do carry `purpose` in a request type and consumers MUST refuse it on input there too. Whatever surface a value arrives on, every consumer MUST assign this property only from server-side provisioning or a data migration. Permission to create an environment does not confer the ability to make one administrative.
|
|
730
|
+
*
|
|
731
|
+
* The database index that enforces the uniqueness invariant, the migration path for environments that are administrative by naming convention today, and each consumer's obligations are specified in https://github.com/meshery/schemas/blob/master/docs/environment-purpose-contract.md.
|
|
732
|
+
* @enum {string}
|
|
733
|
+
*/
|
|
734
|
+
purpose?: "user" | "administrative";
|
|
722
735
|
};
|
|
723
736
|
};
|
|
724
737
|
};
|