@meshery/schemas 1.3.6 → 1.3.8

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/index.d.ts CHANGED
@@ -13314,106 +13314,187 @@ interface components$n {
13314
13314
 
13315
13315
  interface components$m {
13316
13316
  schemas: {
13317
- FeaturesPage: {
13317
+ /** @description A feature is a quantified entitlement granted to an organization through its subscription plan, such as the number of components allowed in a design. */
13318
+ Feature: {
13318
13319
  /**
13319
13320
  * Format: uuid
13320
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
13321
+ * @description Unique identifier for the feature.
13321
13322
  */
13322
13323
  id: string;
13323
13324
  /**
13324
13325
  * Format: uuid
13325
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
13326
+ * @description Identifier of the plan granting this feature.
13326
13327
  */
13327
13328
  plan_id: string;
13329
+ /** @description The plan granting this feature. Populated only when the association is explicitly loaded. */
13328
13330
  plan?: {
13329
13331
  /**
13330
13332
  * Format: uuid
13331
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
13333
+ * @description Unique identifier for the plan.
13332
13334
  */
13333
13335
  id: string;
13334
13336
  /**
13335
- * @description Name of the plan
13337
+ * @description Display name of the plan.
13336
13338
  * @enum {string}
13337
13339
  */
13338
13340
  name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
13339
- /** @enum {string} */
13340
- cadence: "monthly" | "yearly";
13341
- /** @enum {string} */
13341
+ /**
13342
+ * @description Billing cadence for the plan (monthly, annually, or none).
13343
+ * @enum {string}
13344
+ */
13345
+ cadence: "none" | "monthly" | "annually";
13346
+ /**
13347
+ * @description Unit of consumption this plan charges against (e.g. user).
13348
+ * @enum {string}
13349
+ */
13342
13350
  unit: "user" | "free";
13343
- /** @description Minimum number of units required for the plan */
13344
- minimum_units: number;
13345
- /** @description Price per unit of the plan */
13346
- price_per_unit: number;
13347
- /** @enum {string} */
13351
+ /** @description Minimum number of units required for the plan. */
13352
+ minimumUnits: number;
13353
+ /** @description Price per unit of the plan. */
13354
+ pricePerUnit: number;
13355
+ /**
13356
+ * @description Currency in which the plan is priced.
13357
+ * @enum {string}
13358
+ */
13348
13359
  currency: "usd";
13349
13360
  };
13350
13361
  /**
13351
- * @description Enumeration of possible feature types
13362
+ * @description Name of the entitled feature.
13352
13363
  * @enum {string}
13353
13364
  */
13354
13365
  name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
13355
- /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
13366
+ /**
13367
+ * Format: double
13368
+ * @description Quantity of the feature granted by the plan. The sentinel value 999999999999 denotes unlimited.
13369
+ */
13356
13370
  quantity: number;
13357
- /** Format: date-time */
13358
- created_at?: string;
13359
- /** Format: date-time */
13360
- updated_at?: string;
13361
- }[];
13371
+ /**
13372
+ * Format: date-time
13373
+ * @description Timestamp when the resource was created.
13374
+ */
13375
+ created_at: string;
13376
+ /**
13377
+ * Format: date-time
13378
+ * @description Timestamp when the resource was updated.
13379
+ */
13380
+ updated_at: string;
13381
+ };
13362
13382
  /**
13363
- * @description Enumeration of possible feature types
13383
+ * @description Enumeration of feature names that can be granted by a plan.
13364
13384
  * @enum {string}
13365
13385
  */
13366
13386
  FeatureName: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
13367
- Feature: {
13387
+ /** @description List of features. */
13388
+ FeaturesPage: {
13368
13389
  /**
13369
13390
  * Format: uuid
13370
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
13391
+ * @description Unique identifier for the feature.
13371
13392
  */
13372
13393
  id: string;
13373
13394
  /**
13374
13395
  * Format: uuid
13375
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
13396
+ * @description Identifier of the plan granting this feature.
13376
13397
  */
13377
13398
  plan_id: string;
13399
+ /** @description The plan granting this feature. Populated only when the association is explicitly loaded. */
13378
13400
  plan?: {
13379
13401
  /**
13380
13402
  * Format: uuid
13381
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
13403
+ * @description Unique identifier for the plan.
13382
13404
  */
13383
13405
  id: string;
13384
13406
  /**
13385
- * @description Name of the plan
13407
+ * @description Display name of the plan.
13386
13408
  * @enum {string}
13387
13409
  */
13388
13410
  name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
13389
- /** @enum {string} */
13390
- cadence: "monthly" | "yearly";
13391
- /** @enum {string} */
13411
+ /**
13412
+ * @description Billing cadence for the plan (monthly, annually, or none).
13413
+ * @enum {string}
13414
+ */
13415
+ cadence: "none" | "monthly" | "annually";
13416
+ /**
13417
+ * @description Unit of consumption this plan charges against (e.g. user).
13418
+ * @enum {string}
13419
+ */
13392
13420
  unit: "user" | "free";
13393
- /** @description Minimum number of units required for the plan */
13394
- minimum_units: number;
13395
- /** @description Price per unit of the plan */
13396
- price_per_unit: number;
13397
- /** @enum {string} */
13421
+ /** @description Minimum number of units required for the plan. */
13422
+ minimumUnits: number;
13423
+ /** @description Price per unit of the plan. */
13424
+ pricePerUnit: number;
13425
+ /**
13426
+ * @description Currency in which the plan is priced.
13427
+ * @enum {string}
13428
+ */
13398
13429
  currency: "usd";
13399
13430
  };
13400
13431
  /**
13401
- * @description Enumeration of possible feature types
13432
+ * @description Name of the entitled feature.
13402
13433
  * @enum {string}
13403
13434
  */
13404
13435
  name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
13405
- /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
13436
+ /**
13437
+ * Format: double
13438
+ * @description Quantity of the feature granted by the plan. The sentinel value 999999999999 denotes unlimited.
13439
+ */
13406
13440
  quantity: number;
13407
- /** Format: date-time */
13408
- created_at?: string;
13409
- /** Format: date-time */
13410
- updated_at?: string;
13441
+ /**
13442
+ * Format: date-time
13443
+ * @description Timestamp when the resource was created.
13444
+ */
13445
+ created_at: string;
13446
+ /**
13447
+ * Format: date-time
13448
+ * @description Timestamp when the resource was updated.
13449
+ */
13450
+ updated_at: string;
13451
+ }[];
13452
+ };
13453
+ responses: {
13454
+ /** @description Invalid request body or request param */
13455
+ 400: {
13456
+ headers: {
13457
+ [name: string]: unknown;
13458
+ };
13459
+ content: {
13460
+ "text/plain": string;
13461
+ };
13462
+ };
13463
+ /** @description Expired JWT token used or insufficient privilege */
13464
+ 401: {
13465
+ headers: {
13466
+ [name: string]: unknown;
13467
+ };
13468
+ content: {
13469
+ "text/plain": string;
13470
+ };
13471
+ };
13472
+ /** @description Result not found */
13473
+ 404: {
13474
+ headers: {
13475
+ [name: string]: unknown;
13476
+ };
13477
+ content: {
13478
+ "text/plain": string;
13479
+ };
13480
+ };
13481
+ /** @description Internal server error */
13482
+ 500: {
13483
+ headers: {
13484
+ [name: string]: unknown;
13485
+ };
13486
+ content: {
13487
+ "text/plain": string;
13488
+ };
13411
13489
  };
13412
13490
  };
13413
- responses: never;
13414
13491
  parameters: {
13415
13492
  /** @description The ID of the organization */
13416
- organization_id: string;
13493
+ orgId: string;
13494
+ /** @description Get responses by page */
13495
+ page: string;
13496
+ /** @description Get responses by pagesize */
13497
+ pagesize: string;
13417
13498
  };
13418
13499
  requestBodies: never;
13419
13500
  headers: never;
@@ -30801,6 +30882,23 @@ interface components$5 {
30801
30882
  DashboardPrefs: {
30802
30883
  [key: string]: unknown;
30803
30884
  };
30885
+ /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
30886
+ Links: {
30887
+ /**
30888
+ * Format: uri
30889
+ * @description URL of the organization's Terms of Service page.
30890
+ */
30891
+ termsOfService?: string;
30892
+ /**
30893
+ * Format: uri
30894
+ * @description URL of the organization's Privacy Policy page.
30895
+ */
30896
+ privacy?: string;
30897
+ /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
30898
+ support?: {
30899
+ [key: string]: string;
30900
+ };
30901
+ };
30804
30902
  /** @description Organization-level user experience preferences. */
30805
30903
  Preferences: {
30806
30904
  /** @description UI theme configured for an organization. */
@@ -30850,6 +30948,28 @@ interface components$5 {
30850
30948
  dashboard: {
30851
30949
  [key: string]: unknown;
30852
30950
  };
30951
+ /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
30952
+ links?: {
30953
+ /**
30954
+ * Format: uri
30955
+ * @description URL of the organization's Terms of Service page.
30956
+ */
30957
+ termsOfService?: string;
30958
+ /**
30959
+ * Format: uri
30960
+ * @description URL of the organization's Privacy Policy page.
30961
+ */
30962
+ privacy?: string;
30963
+ /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
30964
+ support?: {
30965
+ [key: string]: string;
30966
+ };
30967
+ };
30968
+ /**
30969
+ * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
30970
+ * @default true
30971
+ */
30972
+ showAuthCarousel: boolean;
30853
30973
  };
30854
30974
  /** @description Free-form metadata associated with an organization, including preferences. */
30855
30975
  OrgMetadata: {
@@ -30902,6 +31022,28 @@ interface components$5 {
30902
31022
  dashboard: {
30903
31023
  [key: string]: unknown;
30904
31024
  };
31025
+ /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
31026
+ links?: {
31027
+ /**
31028
+ * Format: uri
31029
+ * @description URL of the organization's Terms of Service page.
31030
+ */
31031
+ termsOfService?: string;
31032
+ /**
31033
+ * Format: uri
31034
+ * @description URL of the organization's Privacy Policy page.
31035
+ */
31036
+ privacy?: string;
31037
+ /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
31038
+ support?: {
31039
+ [key: string]: string;
31040
+ };
31041
+ };
31042
+ /**
31043
+ * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
31044
+ * @default true
31045
+ */
31046
+ showAuthCarousel: boolean;
30905
31047
  };
30906
31048
  };
30907
31049
  /** @description An organization in Meshery Cloud. Organizations are the top-level tenancy boundary and own teams, workspaces, environments, designs, and other resources. Learn more at https://docs.meshery.io/concepts/logical/organizations */
@@ -31012,6 +31154,28 @@ interface components$5 {
31012
31154
  dashboard: {
31013
31155
  [key: string]: unknown;
31014
31156
  };
31157
+ /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
31158
+ links?: {
31159
+ /**
31160
+ * Format: uri
31161
+ * @description URL of the organization's Terms of Service page.
31162
+ */
31163
+ termsOfService?: string;
31164
+ /**
31165
+ * Format: uri
31166
+ * @description URL of the organization's Privacy Policy page.
31167
+ */
31168
+ privacy?: string;
31169
+ /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
31170
+ support?: {
31171
+ [key: string]: string;
31172
+ };
31173
+ };
31174
+ /**
31175
+ * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
31176
+ * @default true
31177
+ */
31178
+ showAuthCarousel: boolean;
31015
31179
  };
31016
31180
  };
31017
31181
  /**
@@ -31106,6 +31270,28 @@ interface components$5 {
31106
31270
  dashboard: {
31107
31271
  [key: string]: unknown;
31108
31272
  };
31273
+ /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
31274
+ links?: {
31275
+ /**
31276
+ * Format: uri
31277
+ * @description URL of the organization's Terms of Service page.
31278
+ */
31279
+ termsOfService?: string;
31280
+ /**
31281
+ * Format: uri
31282
+ * @description URL of the organization's Privacy Policy page.
31283
+ */
31284
+ privacy?: string;
31285
+ /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
31286
+ support?: {
31287
+ [key: string]: string;
31288
+ };
31289
+ };
31290
+ /**
31291
+ * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
31292
+ * @default true
31293
+ */
31294
+ showAuthCarousel: boolean;
31109
31295
  };
31110
31296
  };
31111
31297
  /**
@@ -31201,6 +31387,28 @@ interface components$5 {
31201
31387
  dashboard: {
31202
31388
  [key: string]: unknown;
31203
31389
  };
31390
+ /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
31391
+ links?: {
31392
+ /**
31393
+ * Format: uri
31394
+ * @description URL of the organization's Terms of Service page.
31395
+ */
31396
+ termsOfService?: string;
31397
+ /**
31398
+ * Format: uri
31399
+ * @description URL of the organization's Privacy Policy page.
31400
+ */
31401
+ privacy?: string;
31402
+ /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
31403
+ support?: {
31404
+ [key: string]: string;
31405
+ };
31406
+ };
31407
+ /**
31408
+ * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
31409
+ * @default true
31410
+ */
31411
+ showAuthCarousel: boolean;
31204
31412
  };
31205
31413
  };
31206
31414
  /**
@@ -31281,6 +31489,28 @@ interface components$5 {
31281
31489
  dashboard: {
31282
31490
  [key: string]: unknown;
31283
31491
  };
31492
+ /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
31493
+ links?: {
31494
+ /**
31495
+ * Format: uri
31496
+ * @description URL of the organization's Terms of Service page.
31497
+ */
31498
+ termsOfService?: string;
31499
+ /**
31500
+ * Format: uri
31501
+ * @description URL of the organization's Privacy Policy page.
31502
+ */
31503
+ privacy?: string;
31504
+ /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
31505
+ support?: {
31506
+ [key: string]: string;
31507
+ };
31508
+ };
31509
+ /**
31510
+ * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
31511
+ * @default true
31512
+ */
31513
+ showAuthCarousel: boolean;
31284
31514
  };
31285
31515
  };
31286
31516
  /** @description Team listing record used in team listings associated with an organization. */
@@ -31554,6 +31784,28 @@ interface components$5 {
31554
31784
  dashboard: {
31555
31785
  [key: string]: unknown;
31556
31786
  };
31787
+ /** @description Per-organization overrides for the legal and support links shown on the auth pages and the error page. termsOfService and privacy are the named legal links; support is an open-ended set of named support contacts/links. Empty or omitted fields fall back to the platform defaults. */
31788
+ links?: {
31789
+ /**
31790
+ * Format: uri
31791
+ * @description URL of the organization's Terms of Service page.
31792
+ */
31793
+ termsOfService?: string;
31794
+ /**
31795
+ * Format: uri
31796
+ * @description URL of the organization's Privacy Policy page.
31797
+ */
31798
+ privacy?: string;
31799
+ /** @description Open-ended set of named support contacts/links rendered on the auth and error pages, keyed by display name with a value that is a URL, a mailto:/tel: link, or free text. For example a "slack" entry pointing at https://slack.meshery.io, a "discussion forum" entry, or a "support desk" entry holding a phone number. */
31800
+ support?: {
31801
+ [key: string]: string;
31802
+ };
31803
+ };
31804
+ /**
31805
+ * @description Whether the feature carousel renders on the organization's auth pages. Unset is treated as true (shown); set false to hide it.
31806
+ * @default true
31807
+ */
31808
+ showAuthCarousel?: boolean;
31557
31809
  };
31558
31810
  };
31559
31811
  };