@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
|
@@ -560,6 +560,19 @@ export interface components {
|
|
|
560
560
|
* @description Timestamp when the environment was soft deleted. Null while the environment remains active.
|
|
561
561
|
*/
|
|
562
562
|
deletedAt?: string | null;
|
|
563
|
+
/**
|
|
564
|
+
* @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.
|
|
565
|
+
*
|
|
566
|
+
* 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.
|
|
567
|
+
*
|
|
568
|
+
* 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.
|
|
569
|
+
*
|
|
570
|
+
* 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.
|
|
571
|
+
*
|
|
572
|
+
* 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.
|
|
573
|
+
* @enum {string}
|
|
574
|
+
*/
|
|
575
|
+
purpose?: "user" | "administrative";
|
|
563
576
|
}[];
|
|
564
577
|
/**
|
|
565
578
|
* @description Specifies the version of the schema used for the definition.
|
|
@@ -1181,6 +1194,19 @@ export interface components {
|
|
|
1181
1194
|
* @description Timestamp when the environment was soft deleted. Null while the environment remains active.
|
|
1182
1195
|
*/
|
|
1183
1196
|
deletedAt?: string | null;
|
|
1197
|
+
/**
|
|
1198
|
+
* @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.
|
|
1199
|
+
*
|
|
1200
|
+
* 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.
|
|
1201
|
+
*
|
|
1202
|
+
* 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.
|
|
1203
|
+
*
|
|
1204
|
+
* 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.
|
|
1205
|
+
*
|
|
1206
|
+
* 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.
|
|
1207
|
+
* @enum {string}
|
|
1208
|
+
*/
|
|
1209
|
+
purpose?: "user" | "administrative";
|
|
1184
1210
|
}[];
|
|
1185
1211
|
/**
|
|
1186
1212
|
* @description Specifies the version of the schema used for the definition.
|
|
@@ -2140,6 +2166,19 @@ export interface operations {
|
|
|
2140
2166
|
* @description Timestamp when the environment was soft deleted. Null while the environment remains active.
|
|
2141
2167
|
*/
|
|
2142
2168
|
deletedAt?: string | null;
|
|
2169
|
+
/**
|
|
2170
|
+
* @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.
|
|
2171
|
+
*
|
|
2172
|
+
* 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.
|
|
2173
|
+
*
|
|
2174
|
+
* 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.
|
|
2175
|
+
*
|
|
2176
|
+
* 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.
|
|
2177
|
+
*
|
|
2178
|
+
* 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.
|
|
2179
|
+
* @enum {string}
|
|
2180
|
+
*/
|
|
2181
|
+
purpose?: "user" | "administrative";
|
|
2143
2182
|
}[];
|
|
2144
2183
|
/**
|
|
2145
2184
|
* @description Specifies the version of the schema used for the definition.
|
|
@@ -2729,6 +2768,19 @@ export interface operations {
|
|
|
2729
2768
|
* @description Timestamp when the environment was soft deleted. Null while the environment remains active.
|
|
2730
2769
|
*/
|
|
2731
2770
|
deletedAt?: string | null;
|
|
2771
|
+
/**
|
|
2772
|
+
* @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.
|
|
2773
|
+
*
|
|
2774
|
+
* 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.
|
|
2775
|
+
*
|
|
2776
|
+
* 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.
|
|
2777
|
+
*
|
|
2778
|
+
* 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.
|
|
2779
|
+
*
|
|
2780
|
+
* 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.
|
|
2781
|
+
* @enum {string}
|
|
2782
|
+
*/
|
|
2783
|
+
purpose?: "user" | "administrative";
|
|
2732
2784
|
}[];
|
|
2733
2785
|
/**
|
|
2734
2786
|
* @description Specifies the version of the schema used for the definition.
|
|
@@ -3242,6 +3294,19 @@ export interface operations {
|
|
|
3242
3294
|
* @description Timestamp when the environment was soft deleted. Null while the environment remains active.
|
|
3243
3295
|
*/
|
|
3244
3296
|
deletedAt?: string | null;
|
|
3297
|
+
/**
|
|
3298
|
+
* @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.
|
|
3299
|
+
*
|
|
3300
|
+
* 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.
|
|
3301
|
+
*
|
|
3302
|
+
* 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.
|
|
3303
|
+
*
|
|
3304
|
+
* 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.
|
|
3305
|
+
*
|
|
3306
|
+
* 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.
|
|
3307
|
+
* @enum {string}
|
|
3308
|
+
*/
|
|
3309
|
+
purpose?: "user" | "administrative";
|
|
3245
3310
|
}[];
|
|
3246
3311
|
/**
|
|
3247
3312
|
* @description Specifies the version of the schema used for the definition.
|
|
@@ -3832,6 +3897,19 @@ export interface operations {
|
|
|
3832
3897
|
* @description Timestamp when the environment was soft deleted. Null while the environment remains active.
|
|
3833
3898
|
*/
|
|
3834
3899
|
deletedAt?: string | null;
|
|
3900
|
+
/**
|
|
3901
|
+
* @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.
|
|
3902
|
+
*
|
|
3903
|
+
* 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.
|
|
3904
|
+
*
|
|
3905
|
+
* 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.
|
|
3906
|
+
*
|
|
3907
|
+
* 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.
|
|
3908
|
+
*
|
|
3909
|
+
* 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.
|
|
3910
|
+
* @enum {string}
|
|
3911
|
+
*/
|
|
3912
|
+
purpose?: "user" | "administrative";
|
|
3835
3913
|
}[];
|
|
3836
3914
|
/**
|
|
3837
3915
|
* @description Specifies the version of the schema used for the definition.
|
|
@@ -4291,6 +4369,19 @@ export interface operations {
|
|
|
4291
4369
|
* @description Timestamp when the environment was soft deleted. Null while the environment remains active.
|
|
4292
4370
|
*/
|
|
4293
4371
|
deletedAt?: string | null;
|
|
4372
|
+
/**
|
|
4373
|
+
* @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.
|
|
4374
|
+
*
|
|
4375
|
+
* 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.
|
|
4376
|
+
*
|
|
4377
|
+
* 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.
|
|
4378
|
+
*
|
|
4379
|
+
* 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.
|
|
4380
|
+
*
|
|
4381
|
+
* 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.
|
|
4382
|
+
* @enum {string}
|
|
4383
|
+
*/
|
|
4384
|
+
purpose?: "user" | "administrative";
|
|
4294
4385
|
}[];
|
|
4295
4386
|
/**
|
|
4296
4387
|
* @description Specifies the version of the schema used for the definition.
|