@meshery/schemas 1.2.11 → 1.2.13
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 +9517 -9515
- package/dist/cloudApi.d.ts +9517 -9515
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta3/academy/Academy.js +1 -0
- package/dist/constructs/v1beta3/academy/Academy.mjs +0 -0
- package/dist/constructs/v1beta3/academy/AcademySchema.js +2 -0
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +2 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/index.d.mts +34451 -89
- package/dist/index.d.ts +34451 -89
- package/dist/mesheryApi.d.mts +546 -546
- package/dist/mesheryApi.d.ts +546 -546
- package/package.json +1 -1
- package/dist/Core-CwYNKnjf.d.mts +0 -750
- package/dist/Core-CwYNKnjf.d.ts +0 -750
- package/dist/constructs/v1alpha1/capability/Capability.d.mts +0 -117
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +0 -117
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +0 -7
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +0 -7
- package/dist/constructs/v1alpha1/core/Core.d.mts +0 -1
- package/dist/constructs/v1alpha1/core/Core.d.ts +0 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +0 -7
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +0 -7
- package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +0 -46
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +0 -46
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +0 -7
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +0 -7
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +0 -1742
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +0 -1742
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +0 -7
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/academy/Academy.d.mts +0 -6478
- package/dist/constructs/v1beta1/academy/Academy.d.ts +0 -6478
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +0 -7
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +0 -7
- package/dist/constructs/v1beta1/badge/Badge.d.mts +0 -547
- package/dist/constructs/v1beta1/badge/Badge.d.ts +0 -547
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/capability/Capability.d.mts +0 -117
- package/dist/constructs/v1beta1/capability/Capability.d.ts +0 -117
- package/dist/constructs/v1beta1/capability/CapabilitySchema.d.mts +0 -7
- package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +0 -7
- package/dist/constructs/v1beta1/catalog/Catalog.d.mts +0 -46
- package/dist/constructs/v1beta1/catalog/Catalog.d.ts +0 -46
- package/dist/constructs/v1beta1/catalog/CatalogSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/category/Category.d.mts +0 -34
- package/dist/constructs/v1beta1/category/Category.d.ts +0 -34
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +0 -7
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +0 -7
- package/dist/constructs/v1beta1/component/Component.d.mts +0 -773
- package/dist/constructs/v1beta1/component/Component.d.ts +0 -773
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/connection/Connection.d.mts +0 -1276
- package/dist/constructs/v1beta1/connection/Connection.d.ts +0 -1276
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/core/Core.d.mts +0 -742
- package/dist/constructs/v1beta1/core/Core.d.ts +0 -742
- package/dist/constructs/v1beta1/core/CoreSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/core/CoreSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/credential/Credential.d.mts +0 -545
- package/dist/constructs/v1beta1/credential/Credential.d.ts +0 -545
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/environment/Environment.d.mts +0 -774
- package/dist/constructs/v1beta1/environment/Environment.d.ts +0 -774
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +0 -5723
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +0 -5723
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/event/Event.d.mts +0 -581
- package/dist/constructs/v1beta1/event/Event.d.ts +0 -581
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/feature/Feature.d.mts +0 -277
- package/dist/constructs/v1beta1/feature/Feature.d.ts +0 -277
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/invitation/Invitation.d.mts +0 -1002
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +0 -1002
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/key/Key.d.mts +0 -513
- package/dist/constructs/v1beta1/key/Key.d.ts +0 -513
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +0 -7
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +0 -7
- package/dist/constructs/v1beta1/keychain/Keychain.d.mts +0 -641
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +0 -641
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/model/Model.d.mts +0 -566
- package/dist/constructs/v1beta1/model/Model.d.ts +0 -566
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/organization/Organization.d.mts +0 -1673
- package/dist/constructs/v1beta1/organization/Organization.d.ts +0 -1673
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +0 -16729
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +0 -16729
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/plan/Plan.d.mts +0 -148
- package/dist/constructs/v1beta1/plan/Plan.d.ts +0 -148
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/relationship/Relationship.d.mts +0 -1726
- package/dist/constructs/v1beta1/relationship/Relationship.d.ts +0 -1726
- package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/role/Role.d.mts +0 -744
- package/dist/constructs/v1beta1/role/Role.d.ts +0 -744
- package/dist/constructs/v1beta1/role/RoleSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/schedule/Schedule.d.mts +0 -373
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +0 -373
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +0 -23
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +0 -23
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +0 -7
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +0 -7
- package/dist/constructs/v1beta1/subscription/Subscription.d.mts +0 -715
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +0 -715
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/support/Support.d.mts +0 -90
- package/dist/constructs/v1beta1/support/Support.d.ts +0 -90
- package/dist/constructs/v1beta1/support/SupportSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/support/SupportSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/team/Team.d.mts +0 -863
- package/dist/constructs/v1beta1/team/Team.d.ts +0 -863
- package/dist/constructs/v1beta1/team/TeamSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/token/Token.d.mts +0 -538
- package/dist/constructs/v1beta1/token/Token.d.ts +0 -538
- package/dist/constructs/v1beta1/token/TokenSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/token/TokenSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/user/User.d.mts +0 -1831
- package/dist/constructs/v1beta1/user/User.d.ts +0 -1831
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/view/View.d.mts +0 -802
- package/dist/constructs/v1beta1/view/View.d.ts +0 -802
- package/dist/constructs/v1beta1/view/ViewSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/view/ViewSchema.d.ts +0 -7
- package/dist/constructs/v1beta1/workspace/Workspace.d.mts +0 -4672
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +0 -4672
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +0 -7
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/academy/Academy.d.mts +0 -7823
- package/dist/constructs/v1beta2/academy/Academy.d.ts +0 -7823
- package/dist/constructs/v1beta2/academy/AcademySchema.d.mts +0 -7
- package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +0 -7
- package/dist/constructs/v1beta2/badge/Badge.d.mts +0 -564
- package/dist/constructs/v1beta2/badge/Badge.d.ts +0 -564
- package/dist/constructs/v1beta2/badge/BadgeSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/catalog/Catalog.d.mts +0 -46
- package/dist/constructs/v1beta2/catalog/Catalog.d.ts +0 -46
- package/dist/constructs/v1beta2/catalog/CatalogSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/component/Component.d.mts +0 -791
- package/dist/constructs/v1beta2/component/Component.d.ts +0 -791
- package/dist/constructs/v1beta2/component/ComponentSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/connection/Connection.d.mts +0 -1306
- package/dist/constructs/v1beta2/connection/Connection.d.ts +0 -1306
- package/dist/constructs/v1beta2/connection/ConnectionSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/core/Core.d.mts +0 -776
- package/dist/constructs/v1beta2/core/Core.d.ts +0 -776
- package/dist/constructs/v1beta2/core/CoreSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/core/CoreSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/credential/Credential.d.mts +0 -536
- package/dist/constructs/v1beta2/credential/Credential.d.ts +0 -536
- package/dist/constructs/v1beta2/credential/CredentialSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/design/Design.d.mts +0 -17361
- package/dist/constructs/v1beta2/design/Design.d.ts +0 -17361
- package/dist/constructs/v1beta2/design/DesignSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/design/DesignSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/event/Event.d.mts +0 -637
- package/dist/constructs/v1beta2/event/Event.d.ts +0 -637
- package/dist/constructs/v1beta2/event/EventSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/event/EventSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/invitation/Invitation.d.mts +0 -1071
- package/dist/constructs/v1beta2/invitation/Invitation.d.ts +0 -1071
- package/dist/constructs/v1beta2/invitation/InvitationSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/key/Key.d.mts +0 -523
- package/dist/constructs/v1beta2/key/Key.d.ts +0 -523
- package/dist/constructs/v1beta2/key/KeySchema.d.mts +0 -7
- package/dist/constructs/v1beta2/key/KeySchema.d.ts +0 -7
- package/dist/constructs/v1beta2/keychain/Keychain.d.mts +0 -651
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +0 -651
- package/dist/constructs/v1beta2/keychain/KeychainSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/model/Model.d.mts +0 -604
- package/dist/constructs/v1beta2/model/Model.d.ts +0 -604
- package/dist/constructs/v1beta2/model/ModelSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/model/ModelSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/organization/Organization.d.mts +0 -1986
- package/dist/constructs/v1beta2/organization/Organization.d.ts +0 -1986
- package/dist/constructs/v1beta2/organization/OrganizationSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/plan/Plan.d.mts +0 -161
- package/dist/constructs/v1beta2/plan/Plan.d.ts +0 -161
- package/dist/constructs/v1beta2/plan/PlanSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/relationship/Relationship.d.mts +0 -1884
- package/dist/constructs/v1beta2/relationship/Relationship.d.ts +0 -1884
- package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/role/Role.d.mts +0 -751
- package/dist/constructs/v1beta2/role/Role.d.ts +0 -751
- package/dist/constructs/v1beta2/role/RoleSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/role/RoleSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/schedule/Schedule.d.mts +0 -430
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +0 -430
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/subscription/Subscription.d.mts +0 -748
- package/dist/constructs/v1beta2/subscription/Subscription.d.ts +0 -748
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/team/Team.d.mts +0 -977
- package/dist/constructs/v1beta2/team/Team.d.ts +0 -977
- package/dist/constructs/v1beta2/team/TeamSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/team/TeamSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/token/Token.d.mts +0 -543
- package/dist/constructs/v1beta2/token/Token.d.ts +0 -543
- package/dist/constructs/v1beta2/token/TokenSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/token/TokenSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/user/User.d.mts +0 -1831
- package/dist/constructs/v1beta2/user/User.d.ts +0 -1831
- package/dist/constructs/v1beta2/user/UserSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/user/UserSchema.d.ts +0 -7
- package/dist/constructs/v1beta2/view/View.d.mts +0 -810
- package/dist/constructs/v1beta2/view/View.d.ts +0 -810
- package/dist/constructs/v1beta2/view/ViewSchema.d.mts +0 -7
- package/dist/constructs/v1beta2/view/ViewSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/component/Component.d.mts +0 -796
- package/dist/constructs/v1beta3/component/Component.d.ts +0 -796
- package/dist/constructs/v1beta3/component/ComponentSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/connection/Connection.d.mts +0 -1390
- package/dist/constructs/v1beta3/connection/Connection.d.ts +0 -1390
- package/dist/constructs/v1beta3/connection/ConnectionSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/design/Design.d.mts +0 -5610
- package/dist/constructs/v1beta3/design/Design.d.ts +0 -5610
- package/dist/constructs/v1beta3/design/DesignSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/design/DesignSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/environment/Environment.d.mts +0 -800
- package/dist/constructs/v1beta3/environment/Environment.d.ts +0 -800
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/event/Event.d.mts +0 -733
- package/dist/constructs/v1beta3/event/Event.d.ts +0 -733
- package/dist/constructs/v1beta3/event/EventSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/event/EventSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/filter/Filter.d.mts +0 -1385
- package/dist/constructs/v1beta3/filter/Filter.d.ts +0 -1385
- package/dist/constructs/v1beta3/filter/FilterSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/invitation/Invitation.d.mts +0 -1079
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +0 -1079
- package/dist/constructs/v1beta3/invitation/InvitationSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.mts +0 -832
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +0 -832
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/plan/Plan.d.mts +0 -198
- package/dist/constructs/v1beta3/plan/Plan.d.ts +0 -198
- package/dist/constructs/v1beta3/plan/PlanSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/relationship/Relationship.d.mts +0 -1884
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +0 -1884
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/subscription/Subscription.d.mts +0 -876
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +0 -876
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/token/Token.d.mts +0 -543
- package/dist/constructs/v1beta3/token/Token.d.ts +0 -543
- package/dist/constructs/v1beta3/token/TokenSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/token/TokenSchema.d.ts +0 -7
- package/dist/constructs/v1beta3/workspace/Workspace.d.mts +0 -4811
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +0 -4811
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.mts +0 -7
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +0 -7
|
@@ -1,748 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by openapi-typescript.
|
|
3
|
-
* Do not make direct changes to the file.
|
|
4
|
-
*/
|
|
5
|
-
interface paths {
|
|
6
|
-
"/api/entitlement/subscriptions": {
|
|
7
|
-
/** Returns all subscriptions for the organization */
|
|
8
|
-
get: operations["getSubscriptions"];
|
|
9
|
-
};
|
|
10
|
-
"/api/entitlement/subscriptions/{subscriptionId}/cancel": {
|
|
11
|
-
post: operations["cancelSubscription"];
|
|
12
|
-
};
|
|
13
|
-
"/api/entitlement/subscriptions/create": {
|
|
14
|
-
post: operations["createSubscription"];
|
|
15
|
-
};
|
|
16
|
-
"/api/entitlement/subscriptions/{subscriptionId}/upgrade": {
|
|
17
|
-
post: operations["upgradeSubscription"];
|
|
18
|
-
};
|
|
19
|
-
"/api/entitlement/subscriptions/{subscriptionId}/upgrade-preview": {
|
|
20
|
-
post: operations["previewSubscriptionUpgrade"];
|
|
21
|
-
};
|
|
22
|
-
"/api/entitlement/subscriptions/webhooks": {
|
|
23
|
-
post: operations["handleSubscriptionWebhook"];
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
interface components {
|
|
27
|
-
schemas: {
|
|
28
|
-
/**
|
|
29
|
-
* @description Supported payment processors
|
|
30
|
-
* @enum {string}
|
|
31
|
-
*/
|
|
32
|
-
PaymentProcessor: "stripe" | "paypal" | "braintree";
|
|
33
|
-
CreateSubscriptionRequest: {
|
|
34
|
-
/**
|
|
35
|
-
* Format: uuid
|
|
36
|
-
* @description Organization ID
|
|
37
|
-
*/
|
|
38
|
-
orgId?: string;
|
|
39
|
-
/** @description Price ID from the payment processor */
|
|
40
|
-
planId?: string;
|
|
41
|
-
/** @description Coupon ID to apply */
|
|
42
|
-
couponId?: string;
|
|
43
|
-
/** @description Number of users in the organization */
|
|
44
|
-
userCount?: number;
|
|
45
|
-
/**
|
|
46
|
-
* Format: email
|
|
47
|
-
* @description Email of the customer
|
|
48
|
-
*/
|
|
49
|
-
email?: string;
|
|
50
|
-
/**
|
|
51
|
-
* @description Supported payment processors
|
|
52
|
-
* @enum {string}
|
|
53
|
-
*/
|
|
54
|
-
paymentProcessor?: "stripe" | "paypal" | "braintree";
|
|
55
|
-
};
|
|
56
|
-
UpgradeSubscriptionRequest: {
|
|
57
|
-
/**
|
|
58
|
-
* Format: uuid
|
|
59
|
-
* @description Old Plan id that is being changed
|
|
60
|
-
*/
|
|
61
|
-
oldPlanId?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Format: uuid
|
|
64
|
-
* @description New Plan id that is being changed to
|
|
65
|
-
*/
|
|
66
|
-
newPlanId?: string;
|
|
67
|
-
};
|
|
68
|
-
CreateSubscriptionResponse: {
|
|
69
|
-
/** @description ID of the associated subscription. */
|
|
70
|
-
subscriptionId?: string;
|
|
71
|
-
/** @description Client secret returned by the payment processor for the subscription checkout flow. */
|
|
72
|
-
clientSecret?: string;
|
|
73
|
-
};
|
|
74
|
-
UpdateUsersRequest: {
|
|
75
|
-
/**
|
|
76
|
-
* @description Supported payment processors
|
|
77
|
-
* @enum {string}
|
|
78
|
-
*/
|
|
79
|
-
paymentProcessor?: "stripe" | "paypal" | "braintree";
|
|
80
|
-
};
|
|
81
|
-
CancelSubscriptionRequest: {
|
|
82
|
-
/** @description Subscription ID from the payment processor */
|
|
83
|
-
subscriptionId?: string;
|
|
84
|
-
/**
|
|
85
|
-
* @description Supported payment processors
|
|
86
|
-
* @enum {string}
|
|
87
|
-
*/
|
|
88
|
-
paymentProcessor?: "stripe" | "paypal" | "braintree";
|
|
89
|
-
};
|
|
90
|
-
/** @description Payload for webhook events from payment processors */
|
|
91
|
-
WebhookEvent: {
|
|
92
|
-
[key: string]: unknown;
|
|
93
|
-
};
|
|
94
|
-
SubscriptionPage: {
|
|
95
|
-
/** @description Current page number of the result set. */
|
|
96
|
-
page: number;
|
|
97
|
-
/** @description Number of items per page. */
|
|
98
|
-
page_size: number;
|
|
99
|
-
/** @description Total number of items available. */
|
|
100
|
-
total_count: number;
|
|
101
|
-
/** @description Subscriptions returned in the current page of results. */
|
|
102
|
-
subscriptions: {
|
|
103
|
-
/**
|
|
104
|
-
* Format: uuid
|
|
105
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
106
|
-
*/
|
|
107
|
-
id: string;
|
|
108
|
-
/**
|
|
109
|
-
* Format: uuid
|
|
110
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
111
|
-
*/
|
|
112
|
-
org_id: string;
|
|
113
|
-
/**
|
|
114
|
-
* Format: uuid
|
|
115
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
116
|
-
*/
|
|
117
|
-
plan_id: string;
|
|
118
|
-
/** @description Plan entity schema. */
|
|
119
|
-
plan?: {
|
|
120
|
-
/**
|
|
121
|
-
* Format: uuid
|
|
122
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
123
|
-
*/
|
|
124
|
-
id: string;
|
|
125
|
-
/**
|
|
126
|
-
* @description Name of the plan
|
|
127
|
-
* @enum {string}
|
|
128
|
-
*/
|
|
129
|
-
name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
|
|
130
|
-
/** @enum {string} */
|
|
131
|
-
cadence: "none" | "monthly" | "annually";
|
|
132
|
-
/** @enum {string} */
|
|
133
|
-
unit: "user" | "free";
|
|
134
|
-
/** @description Minimum number of units required for the plan */
|
|
135
|
-
minimum_units: number;
|
|
136
|
-
/** @description Price per unit of the plan */
|
|
137
|
-
price_per_unit: number;
|
|
138
|
-
/** @enum {string} */
|
|
139
|
-
currency: "usd";
|
|
140
|
-
};
|
|
141
|
-
/** @description number of units subscribed (eg number of users) */
|
|
142
|
-
quantity: number;
|
|
143
|
-
/** Format: date-time */
|
|
144
|
-
start_date?: string;
|
|
145
|
-
/** Format: date-time */
|
|
146
|
-
end_date?: string;
|
|
147
|
-
/**
|
|
148
|
-
* @description Possible statuses of a Stripe subscription.
|
|
149
|
-
* @enum {string}
|
|
150
|
-
*/
|
|
151
|
-
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid";
|
|
152
|
-
/** Format: date-time */
|
|
153
|
-
created_at?: string;
|
|
154
|
-
/** Format: date-time */
|
|
155
|
-
updated_at?: string;
|
|
156
|
-
/** Format: date-time */
|
|
157
|
-
deleted_at?: string;
|
|
158
|
-
/** @description Billing ID of the subscription. This is the ID of the subscription in the billing system. eg Stripe */
|
|
159
|
-
billing_id: string;
|
|
160
|
-
}[];
|
|
161
|
-
};
|
|
162
|
-
/** @description Subscription entity schema. */
|
|
163
|
-
Subscription: {
|
|
164
|
-
/**
|
|
165
|
-
* Format: uuid
|
|
166
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
167
|
-
*/
|
|
168
|
-
id: string;
|
|
169
|
-
/**
|
|
170
|
-
* Format: uuid
|
|
171
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
172
|
-
*/
|
|
173
|
-
org_id: string;
|
|
174
|
-
/**
|
|
175
|
-
* Format: uuid
|
|
176
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
177
|
-
*/
|
|
178
|
-
plan_id: string;
|
|
179
|
-
/** @description Plan entity schema. */
|
|
180
|
-
plan?: {
|
|
181
|
-
/**
|
|
182
|
-
* Format: uuid
|
|
183
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
184
|
-
*/
|
|
185
|
-
id: string;
|
|
186
|
-
/**
|
|
187
|
-
* @description Name of the plan
|
|
188
|
-
* @enum {string}
|
|
189
|
-
*/
|
|
190
|
-
name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
|
|
191
|
-
/** @enum {string} */
|
|
192
|
-
cadence: "none" | "monthly" | "annually";
|
|
193
|
-
/** @enum {string} */
|
|
194
|
-
unit: "user" | "free";
|
|
195
|
-
/** @description Minimum number of units required for the plan */
|
|
196
|
-
minimum_units: number;
|
|
197
|
-
/** @description Price per unit of the plan */
|
|
198
|
-
price_per_unit: number;
|
|
199
|
-
/** @enum {string} */
|
|
200
|
-
currency: "usd";
|
|
201
|
-
};
|
|
202
|
-
/** @description number of units subscribed (eg number of users) */
|
|
203
|
-
quantity: number;
|
|
204
|
-
/** Format: date-time */
|
|
205
|
-
start_date?: string;
|
|
206
|
-
/** Format: date-time */
|
|
207
|
-
end_date?: string;
|
|
208
|
-
/**
|
|
209
|
-
* @description Possible statuses of a Stripe subscription.
|
|
210
|
-
* @enum {string}
|
|
211
|
-
*/
|
|
212
|
-
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid";
|
|
213
|
-
/** Format: date-time */
|
|
214
|
-
created_at?: string;
|
|
215
|
-
/** Format: date-time */
|
|
216
|
-
updated_at?: string;
|
|
217
|
-
/** Format: date-time */
|
|
218
|
-
deleted_at?: string;
|
|
219
|
-
/** @description Billing ID of the subscription. This is the ID of the subscription in the billing system. eg Stripe */
|
|
220
|
-
billing_id: string;
|
|
221
|
-
};
|
|
222
|
-
/**
|
|
223
|
-
* @description Possible statuses of a Stripe subscription.
|
|
224
|
-
* @enum {string}
|
|
225
|
-
*/
|
|
226
|
-
SubscriptionStatus: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid";
|
|
227
|
-
};
|
|
228
|
-
responses: {
|
|
229
|
-
/** Invalid request body or request param */
|
|
230
|
-
400: {
|
|
231
|
-
content: {
|
|
232
|
-
"text/plain": string;
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
/** Expired JWT token used or insufficient privilege */
|
|
236
|
-
401: {
|
|
237
|
-
content: {
|
|
238
|
-
"text/plain": string;
|
|
239
|
-
};
|
|
240
|
-
};
|
|
241
|
-
/** Result not found */
|
|
242
|
-
404: {
|
|
243
|
-
content: {
|
|
244
|
-
"text/plain": string;
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
/** Internal server error */
|
|
248
|
-
500: {
|
|
249
|
-
content: {
|
|
250
|
-
"text/plain": string;
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
parameters: {
|
|
255
|
-
/** @description Subscription ID */
|
|
256
|
-
subscriptionId: string;
|
|
257
|
-
/** @description Get responses by page */
|
|
258
|
-
page: string;
|
|
259
|
-
/** @description Get responses by pagesize */
|
|
260
|
-
pagesize: string;
|
|
261
|
-
/** @description Get responses by pagesize (pass all to get all responses) */
|
|
262
|
-
pagesizeWithAll: string;
|
|
263
|
-
/** @description Get ordered responses */
|
|
264
|
-
order: string;
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
interface operations {
|
|
268
|
-
/** Returns all subscriptions for the organization */
|
|
269
|
-
getSubscriptions: {
|
|
270
|
-
parameters: {
|
|
271
|
-
query: {
|
|
272
|
-
/** Get responses by page */
|
|
273
|
-
page?: string;
|
|
274
|
-
/** Get responses by pagesize */
|
|
275
|
-
pagesize?: string;
|
|
276
|
-
/** Get ordered responses */
|
|
277
|
-
order?: string;
|
|
278
|
-
/** Filter subscriptions by status */
|
|
279
|
-
status?: string[];
|
|
280
|
-
};
|
|
281
|
-
};
|
|
282
|
-
responses: {
|
|
283
|
-
/** Get subscription response */
|
|
284
|
-
200: {
|
|
285
|
-
content: {
|
|
286
|
-
"application/json": {
|
|
287
|
-
/** @description Current page number of the result set. */
|
|
288
|
-
page: number;
|
|
289
|
-
/** @description Number of items per page. */
|
|
290
|
-
page_size: number;
|
|
291
|
-
/** @description Total number of items available. */
|
|
292
|
-
total_count: number;
|
|
293
|
-
/** @description Subscriptions returned in the current page of results. */
|
|
294
|
-
subscriptions: {
|
|
295
|
-
/**
|
|
296
|
-
* Format: uuid
|
|
297
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
298
|
-
*/
|
|
299
|
-
id: string;
|
|
300
|
-
/**
|
|
301
|
-
* Format: uuid
|
|
302
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
303
|
-
*/
|
|
304
|
-
org_id: string;
|
|
305
|
-
/**
|
|
306
|
-
* Format: uuid
|
|
307
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
308
|
-
*/
|
|
309
|
-
plan_id: string;
|
|
310
|
-
/** @description Plan entity schema. */
|
|
311
|
-
plan?: {
|
|
312
|
-
/**
|
|
313
|
-
* Format: uuid
|
|
314
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
315
|
-
*/
|
|
316
|
-
id: string;
|
|
317
|
-
/**
|
|
318
|
-
* @description Name of the plan
|
|
319
|
-
* @enum {string}
|
|
320
|
-
*/
|
|
321
|
-
name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
|
|
322
|
-
/** @enum {string} */
|
|
323
|
-
cadence: "none" | "monthly" | "annually";
|
|
324
|
-
/** @enum {string} */
|
|
325
|
-
unit: "user" | "free";
|
|
326
|
-
/** @description Minimum number of units required for the plan */
|
|
327
|
-
minimum_units: number;
|
|
328
|
-
/** @description Price per unit of the plan */
|
|
329
|
-
price_per_unit: number;
|
|
330
|
-
/** @enum {string} */
|
|
331
|
-
currency: "usd";
|
|
332
|
-
};
|
|
333
|
-
/** @description number of units subscribed (eg number of users) */
|
|
334
|
-
quantity: number;
|
|
335
|
-
/** Format: date-time */
|
|
336
|
-
start_date?: string;
|
|
337
|
-
/** Format: date-time */
|
|
338
|
-
end_date?: string;
|
|
339
|
-
/**
|
|
340
|
-
* @description Possible statuses of a Stripe subscription.
|
|
341
|
-
* @enum {string}
|
|
342
|
-
*/
|
|
343
|
-
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid";
|
|
344
|
-
/** Format: date-time */
|
|
345
|
-
created_at?: string;
|
|
346
|
-
/** Format: date-time */
|
|
347
|
-
updated_at?: string;
|
|
348
|
-
/** Format: date-time */
|
|
349
|
-
deleted_at?: string;
|
|
350
|
-
/** @description Billing ID of the subscription. This is the ID of the subscription in the billing system. eg Stripe */
|
|
351
|
-
billing_id: string;
|
|
352
|
-
}[];
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
/** Invalid request body or request param */
|
|
357
|
-
400: {
|
|
358
|
-
content: {
|
|
359
|
-
"text/plain": string;
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
/** Expired JWT token used or insufficient privilege */
|
|
363
|
-
401: {
|
|
364
|
-
content: {
|
|
365
|
-
"text/plain": string;
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
/** Internal server error */
|
|
369
|
-
500: {
|
|
370
|
-
content: {
|
|
371
|
-
"text/plain": string;
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
cancelSubscription: {
|
|
377
|
-
parameters: {
|
|
378
|
-
path: {
|
|
379
|
-
/** Subscription ID */
|
|
380
|
-
subscriptionId: string;
|
|
381
|
-
};
|
|
382
|
-
};
|
|
383
|
-
responses: {
|
|
384
|
-
200: {
|
|
385
|
-
content: {
|
|
386
|
-
"application/json": {
|
|
387
|
-
/** @description Current page number of the result set. */
|
|
388
|
-
page: number;
|
|
389
|
-
/** @description Number of items per page. */
|
|
390
|
-
page_size: number;
|
|
391
|
-
/** @description Total number of items available. */
|
|
392
|
-
total_count: number;
|
|
393
|
-
/** @description Subscriptions returned in the current page of results. */
|
|
394
|
-
subscriptions: {
|
|
395
|
-
/**
|
|
396
|
-
* Format: uuid
|
|
397
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
398
|
-
*/
|
|
399
|
-
id: string;
|
|
400
|
-
/**
|
|
401
|
-
* Format: uuid
|
|
402
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
403
|
-
*/
|
|
404
|
-
org_id: string;
|
|
405
|
-
/**
|
|
406
|
-
* Format: uuid
|
|
407
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
408
|
-
*/
|
|
409
|
-
plan_id: string;
|
|
410
|
-
/** @description Plan entity schema. */
|
|
411
|
-
plan?: {
|
|
412
|
-
/**
|
|
413
|
-
* Format: uuid
|
|
414
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
415
|
-
*/
|
|
416
|
-
id: string;
|
|
417
|
-
/**
|
|
418
|
-
* @description Name of the plan
|
|
419
|
-
* @enum {string}
|
|
420
|
-
*/
|
|
421
|
-
name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
|
|
422
|
-
/** @enum {string} */
|
|
423
|
-
cadence: "none" | "monthly" | "annually";
|
|
424
|
-
/** @enum {string} */
|
|
425
|
-
unit: "user" | "free";
|
|
426
|
-
/** @description Minimum number of units required for the plan */
|
|
427
|
-
minimum_units: number;
|
|
428
|
-
/** @description Price per unit of the plan */
|
|
429
|
-
price_per_unit: number;
|
|
430
|
-
/** @enum {string} */
|
|
431
|
-
currency: "usd";
|
|
432
|
-
};
|
|
433
|
-
/** @description number of units subscribed (eg number of users) */
|
|
434
|
-
quantity: number;
|
|
435
|
-
/** Format: date-time */
|
|
436
|
-
start_date?: string;
|
|
437
|
-
/** Format: date-time */
|
|
438
|
-
end_date?: string;
|
|
439
|
-
/**
|
|
440
|
-
* @description Possible statuses of a Stripe subscription.
|
|
441
|
-
* @enum {string}
|
|
442
|
-
*/
|
|
443
|
-
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid";
|
|
444
|
-
/** Format: date-time */
|
|
445
|
-
created_at?: string;
|
|
446
|
-
/** Format: date-time */
|
|
447
|
-
updated_at?: string;
|
|
448
|
-
/** Format: date-time */
|
|
449
|
-
deleted_at?: string;
|
|
450
|
-
/** @description Billing ID of the subscription. This is the ID of the subscription in the billing system. eg Stripe */
|
|
451
|
-
billing_id: string;
|
|
452
|
-
}[];
|
|
453
|
-
};
|
|
454
|
-
};
|
|
455
|
-
};
|
|
456
|
-
/** Invalid request body or request param */
|
|
457
|
-
400: {
|
|
458
|
-
content: {
|
|
459
|
-
"text/plain": string;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
/** Expired JWT token used or insufficient privilege */
|
|
463
|
-
401: {
|
|
464
|
-
content: {
|
|
465
|
-
"text/plain": string;
|
|
466
|
-
};
|
|
467
|
-
};
|
|
468
|
-
/** Result not found */
|
|
469
|
-
404: {
|
|
470
|
-
content: {
|
|
471
|
-
"text/plain": string;
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
/** Internal server error */
|
|
475
|
-
500: {
|
|
476
|
-
content: {
|
|
477
|
-
"text/plain": string;
|
|
478
|
-
};
|
|
479
|
-
};
|
|
480
|
-
};
|
|
481
|
-
};
|
|
482
|
-
createSubscription: {
|
|
483
|
-
responses: {
|
|
484
|
-
/** A new subscription has been created */
|
|
485
|
-
201: {
|
|
486
|
-
content: {
|
|
487
|
-
"application/json": {
|
|
488
|
-
/** @description ID of the associated subscription. */
|
|
489
|
-
subscriptionId?: string;
|
|
490
|
-
/** @description Client secret returned by the payment processor for the subscription checkout flow. */
|
|
491
|
-
clientSecret?: string;
|
|
492
|
-
};
|
|
493
|
-
};
|
|
494
|
-
};
|
|
495
|
-
/** Invalid request body or request param */
|
|
496
|
-
400: {
|
|
497
|
-
content: {
|
|
498
|
-
"text/plain": string;
|
|
499
|
-
};
|
|
500
|
-
};
|
|
501
|
-
/** Expired JWT token used or insufficient privilege */
|
|
502
|
-
401: {
|
|
503
|
-
content: {
|
|
504
|
-
"text/plain": string;
|
|
505
|
-
};
|
|
506
|
-
};
|
|
507
|
-
/** Internal server error */
|
|
508
|
-
500: {
|
|
509
|
-
content: {
|
|
510
|
-
"text/plain": string;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
requestBody: {
|
|
515
|
-
content: {
|
|
516
|
-
"application/json": {
|
|
517
|
-
/**
|
|
518
|
-
* Format: uuid
|
|
519
|
-
* @description Organization ID
|
|
520
|
-
*/
|
|
521
|
-
orgId?: string;
|
|
522
|
-
/** @description Price ID from the payment processor */
|
|
523
|
-
planId?: string;
|
|
524
|
-
/** @description Coupon ID to apply */
|
|
525
|
-
couponId?: string;
|
|
526
|
-
/** @description Number of users in the organization */
|
|
527
|
-
userCount?: number;
|
|
528
|
-
/**
|
|
529
|
-
* Format: email
|
|
530
|
-
* @description Email of the customer
|
|
531
|
-
*/
|
|
532
|
-
email?: string;
|
|
533
|
-
/**
|
|
534
|
-
* @description Supported payment processors
|
|
535
|
-
* @enum {string}
|
|
536
|
-
*/
|
|
537
|
-
paymentProcessor?: "stripe" | "paypal" | "braintree";
|
|
538
|
-
};
|
|
539
|
-
};
|
|
540
|
-
};
|
|
541
|
-
};
|
|
542
|
-
upgradeSubscription: {
|
|
543
|
-
parameters: {
|
|
544
|
-
path: {
|
|
545
|
-
/** Subscription ID */
|
|
546
|
-
subscriptionId: string;
|
|
547
|
-
};
|
|
548
|
-
};
|
|
549
|
-
responses: {
|
|
550
|
-
200: {
|
|
551
|
-
content: {
|
|
552
|
-
"application/json": {
|
|
553
|
-
/**
|
|
554
|
-
* Format: uuid
|
|
555
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
556
|
-
*/
|
|
557
|
-
id: string;
|
|
558
|
-
/**
|
|
559
|
-
* Format: uuid
|
|
560
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
561
|
-
*/
|
|
562
|
-
org_id: string;
|
|
563
|
-
/**
|
|
564
|
-
* Format: uuid
|
|
565
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
566
|
-
*/
|
|
567
|
-
plan_id: string;
|
|
568
|
-
/** @description Plan entity schema. */
|
|
569
|
-
plan?: {
|
|
570
|
-
/**
|
|
571
|
-
* Format: uuid
|
|
572
|
-
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
573
|
-
*/
|
|
574
|
-
id: string;
|
|
575
|
-
/**
|
|
576
|
-
* @description Name of the plan
|
|
577
|
-
* @enum {string}
|
|
578
|
-
*/
|
|
579
|
-
name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
|
|
580
|
-
/** @enum {string} */
|
|
581
|
-
cadence: "none" | "monthly" | "annually";
|
|
582
|
-
/** @enum {string} */
|
|
583
|
-
unit: "user" | "free";
|
|
584
|
-
/** @description Minimum number of units required for the plan */
|
|
585
|
-
minimum_units: number;
|
|
586
|
-
/** @description Price per unit of the plan */
|
|
587
|
-
price_per_unit: number;
|
|
588
|
-
/** @enum {string} */
|
|
589
|
-
currency: "usd";
|
|
590
|
-
};
|
|
591
|
-
/** @description number of units subscribed (eg number of users) */
|
|
592
|
-
quantity: number;
|
|
593
|
-
/** Format: date-time */
|
|
594
|
-
start_date?: string;
|
|
595
|
-
/** Format: date-time */
|
|
596
|
-
end_date?: string;
|
|
597
|
-
/**
|
|
598
|
-
* @description Possible statuses of a Stripe subscription.
|
|
599
|
-
* @enum {string}
|
|
600
|
-
*/
|
|
601
|
-
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid";
|
|
602
|
-
/** Format: date-time */
|
|
603
|
-
created_at?: string;
|
|
604
|
-
/** Format: date-time */
|
|
605
|
-
updated_at?: string;
|
|
606
|
-
/** Format: date-time */
|
|
607
|
-
deleted_at?: string;
|
|
608
|
-
/** @description Billing ID of the subscription. This is the ID of the subscription in the billing system. eg Stripe */
|
|
609
|
-
billing_id: string;
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
/** Invalid request body or request param */
|
|
614
|
-
400: {
|
|
615
|
-
content: {
|
|
616
|
-
"text/plain": string;
|
|
617
|
-
};
|
|
618
|
-
};
|
|
619
|
-
/** Expired JWT token used or insufficient privilege */
|
|
620
|
-
401: {
|
|
621
|
-
content: {
|
|
622
|
-
"text/plain": string;
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
/** Result not found */
|
|
626
|
-
404: {
|
|
627
|
-
content: {
|
|
628
|
-
"text/plain": string;
|
|
629
|
-
};
|
|
630
|
-
};
|
|
631
|
-
/** Internal server error */
|
|
632
|
-
500: {
|
|
633
|
-
content: {
|
|
634
|
-
"text/plain": string;
|
|
635
|
-
};
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
|
-
requestBody: {
|
|
639
|
-
content: {
|
|
640
|
-
"application/json": {
|
|
641
|
-
/**
|
|
642
|
-
* Format: uuid
|
|
643
|
-
* @description Old Plan id that is being changed
|
|
644
|
-
*/
|
|
645
|
-
oldPlanId?: string;
|
|
646
|
-
/**
|
|
647
|
-
* Format: uuid
|
|
648
|
-
* @description New Plan id that is being changed to
|
|
649
|
-
*/
|
|
650
|
-
newPlanId?: string;
|
|
651
|
-
};
|
|
652
|
-
};
|
|
653
|
-
};
|
|
654
|
-
};
|
|
655
|
-
previewSubscriptionUpgrade: {
|
|
656
|
-
parameters: {
|
|
657
|
-
path: {
|
|
658
|
-
/** Subscription ID */
|
|
659
|
-
subscriptionId: string;
|
|
660
|
-
};
|
|
661
|
-
};
|
|
662
|
-
responses: {
|
|
663
|
-
/** Preview of the upgraded subscription invoice */
|
|
664
|
-
200: {
|
|
665
|
-
content: {
|
|
666
|
-
"application/json": {
|
|
667
|
-
[key: string]: unknown;
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
};
|
|
671
|
-
/** Invalid request body or request param */
|
|
672
|
-
400: {
|
|
673
|
-
content: {
|
|
674
|
-
"text/plain": string;
|
|
675
|
-
};
|
|
676
|
-
};
|
|
677
|
-
/** Expired JWT token used or insufficient privilege */
|
|
678
|
-
401: {
|
|
679
|
-
content: {
|
|
680
|
-
"text/plain": string;
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
/** Result not found */
|
|
684
|
-
404: {
|
|
685
|
-
content: {
|
|
686
|
-
"text/plain": string;
|
|
687
|
-
};
|
|
688
|
-
};
|
|
689
|
-
/** Internal server error */
|
|
690
|
-
500: {
|
|
691
|
-
content: {
|
|
692
|
-
"text/plain": string;
|
|
693
|
-
};
|
|
694
|
-
};
|
|
695
|
-
};
|
|
696
|
-
requestBody: {
|
|
697
|
-
content: {
|
|
698
|
-
"application/json": {
|
|
699
|
-
/**
|
|
700
|
-
* Format: uuid
|
|
701
|
-
* @description Old Plan id that is being changed
|
|
702
|
-
*/
|
|
703
|
-
oldPlanId?: string;
|
|
704
|
-
/**
|
|
705
|
-
* Format: uuid
|
|
706
|
-
* @description New Plan id that is being changed to
|
|
707
|
-
*/
|
|
708
|
-
newPlanId?: string;
|
|
709
|
-
};
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
};
|
|
713
|
-
handleSubscriptionWebhook: {
|
|
714
|
-
responses: {
|
|
715
|
-
/** Webhook processed */
|
|
716
|
-
200: unknown;
|
|
717
|
-
/** Invalid request body or request param */
|
|
718
|
-
400: {
|
|
719
|
-
content: {
|
|
720
|
-
"text/plain": string;
|
|
721
|
-
};
|
|
722
|
-
};
|
|
723
|
-
/** Expired JWT token used or insufficient privilege */
|
|
724
|
-
401: {
|
|
725
|
-
content: {
|
|
726
|
-
"text/plain": string;
|
|
727
|
-
};
|
|
728
|
-
};
|
|
729
|
-
/** Internal server error */
|
|
730
|
-
500: {
|
|
731
|
-
content: {
|
|
732
|
-
"text/plain": string;
|
|
733
|
-
};
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
requestBody: {
|
|
737
|
-
content: {
|
|
738
|
-
"application/json": {
|
|
739
|
-
[key: string]: unknown;
|
|
740
|
-
};
|
|
741
|
-
};
|
|
742
|
-
};
|
|
743
|
-
};
|
|
744
|
-
}
|
|
745
|
-
interface external {
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
export type { components, external, operations, paths };
|