@meshery/schemas 0.8.133 → 0.8.134

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.
Files changed (80) hide show
  1. package/README.md +119 -0
  2. package/dist/cloudApi.d.mts +5011 -2369
  3. package/dist/cloudApi.d.ts +5011 -2369
  4. package/dist/cloudApi.js +1 -1
  5. package/dist/cloudApi.mjs +1 -1
  6. package/dist/constructs/v1beta1/badge/Badge.d.mts +37 -18
  7. package/dist/constructs/v1beta1/badge/Badge.d.ts +37 -18
  8. package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
  9. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
  10. package/dist/constructs/v1beta1/category/Category.d.mts +1 -0
  11. package/dist/constructs/v1beta1/category/Category.d.ts +1 -0
  12. package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
  13. package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
  14. package/dist/constructs/v1beta1/component/Component.d.mts +12 -4
  15. package/dist/constructs/v1beta1/component/Component.d.ts +12 -4
  16. package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
  17. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
  18. package/dist/constructs/v1beta1/connection/Connection.d.mts +84 -42
  19. package/dist/constructs/v1beta1/connection/Connection.d.ts +84 -42
  20. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  21. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  22. package/dist/constructs/v1beta1/environment/Environment.d.mts +65 -22
  23. package/dist/constructs/v1beta1/environment/Environment.d.ts +65 -22
  24. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  25. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  26. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +48 -16
  27. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +48 -16
  28. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +8 -8
  29. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +8 -8
  30. package/dist/constructs/v1beta1/event/Event.d.mts +5 -3
  31. package/dist/constructs/v1beta1/event/Event.d.ts +5 -3
  32. package/dist/constructs/v1beta1/event/EventSchema.js +1 -1
  33. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -1
  34. package/dist/constructs/v1beta1/invitation/Invitation.d.mts +56 -54
  35. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +56 -54
  36. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -1
  37. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -1
  38. package/dist/constructs/v1beta1/key/Key.d.mts +3 -3
  39. package/dist/constructs/v1beta1/key/Key.d.ts +3 -3
  40. package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
  41. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
  42. package/dist/constructs/v1beta1/keychain/Keychain.d.mts +12 -36
  43. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +12 -36
  44. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
  45. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
  46. package/dist/constructs/v1beta1/model/Model.d.mts +14 -6
  47. package/dist/constructs/v1beta1/model/Model.d.ts +14 -6
  48. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  49. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  50. package/dist/constructs/v1beta1/organization/Organization.d.mts +884 -9
  51. package/dist/constructs/v1beta1/organization/Organization.d.ts +884 -9
  52. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -1
  53. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -1
  54. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +113 -39
  55. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +113 -39
  56. package/dist/constructs/v1beta1/pattern/PatternSchema.js +18 -18
  57. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +18 -18
  58. package/dist/constructs/v1beta1/role/Role.d.mts +17 -17
  59. package/dist/constructs/v1beta1/role/Role.d.ts +17 -17
  60. package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
  61. package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
  62. package/dist/constructs/v1beta1/team/Team.d.mts +16 -16
  63. package/dist/constructs/v1beta1/team/Team.d.ts +16 -16
  64. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  65. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  66. package/dist/constructs/v1beta1/user/User.d.mts +1238 -169
  67. package/dist/constructs/v1beta1/user/User.d.ts +1238 -169
  68. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  69. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  70. package/dist/constructs/v1beta1/workspace/Workspace.d.mts +35 -12
  71. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +35 -12
  72. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +4 -4
  73. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +4 -4
  74. package/dist/index.js +25 -25
  75. package/dist/index.mjs +25 -25
  76. package/dist/mesheryApi.d.mts +4226 -1565
  77. package/dist/mesheryApi.d.ts +4226 -1565
  78. package/dist/mesheryApi.js +1 -1
  79. package/dist/mesheryApi.mjs +1 -1
  80. package/package.json +1 -1
@@ -3,14 +3,34 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
  interface paths {
6
+ "/api/identity/orgs": {
7
+ /** Returns organizations for the current user. */
8
+ get: operations["getOrgs"];
9
+ /** Creates a new organization. */
10
+ post: operations["createOrg"];
11
+ };
6
12
  "/api/identity/orgs/by-domain": {
7
13
  get: operations["getOrgByDomain"];
8
14
  };
9
- "/api/identity/orgs/{orgID}/teams/{teamId}": {
15
+ "/api/identity/orgs/{orgId}": {
16
+ /** Returns the organization in the single-item page wrapper currently emitted by meshery-cloud. */
17
+ get: operations["getOrg"];
18
+ /** Updates the organization. */
19
+ put: operations["handleUpdateOrg"];
20
+ /** Deletes the organization. */
21
+ delete: operations["deleteOrg"];
22
+ };
23
+ "/api/identity/orgs/{orgId}/preferences": {
24
+ /** Returns preferences for the specified organization. */
25
+ get: operations["getOrgPreferences"];
26
+ };
27
+ "/api/identity/orgs/{orgId}/teams/{teamId}": {
10
28
  /** Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact. */
11
- post: operations["AddTeamToOrg"];
29
+ post: operations["addTeamToOrg"];
30
+ };
31
+ "/api/identity/orgs/{orgId}/teams/{teamId}/remove": {
12
32
  /** Removes (unassigns) a team from an organization. */
13
- delete: operations["RemoveTeamFromOrg"];
33
+ post: operations["removeTeamFromOrg"];
14
34
  };
15
35
  }
16
36
  interface components {
@@ -28,7 +48,7 @@ interface components {
28
48
  MapObject: {
29
49
  [key: string]: string;
30
50
  };
31
- /** @description Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}. */
51
+ /** @description Optional action payload for POST on /api/identity/orgs/{orgId}/teams/{teamId}. */
32
52
  OrgTeamActionPayload: {
33
53
  /**
34
54
  * @description Internal action to perform on the team resource.
@@ -203,6 +223,204 @@ interface components {
203
223
  deleted_at?: string;
204
224
  domain?: string | null;
205
225
  };
226
+ AvailableOrganization: {
227
+ /**
228
+ * Format: uuid
229
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
230
+ */
231
+ id?: string;
232
+ name?: string;
233
+ description?: string;
234
+ country?: string;
235
+ region?: string;
236
+ owner?: string;
237
+ metadata?: {
238
+ preferences: {
239
+ theme: {
240
+ id: string;
241
+ logo: {
242
+ desktop_view: {
243
+ svg: string;
244
+ location: string;
245
+ };
246
+ mobile_view: {
247
+ svg: string;
248
+ location: string;
249
+ };
250
+ dark_desktop_view: {
251
+ svg: string;
252
+ location: string;
253
+ };
254
+ dark_mobile_view: {
255
+ svg: string;
256
+ location: string;
257
+ };
258
+ };
259
+ vars?: {
260
+ [key: string]: unknown;
261
+ };
262
+ };
263
+ /** @description Preferences specific to dashboard behavior */
264
+ dashboard: {
265
+ [key: string]: unknown;
266
+ };
267
+ };
268
+ };
269
+ /** Format: date-time */
270
+ created_at?: string;
271
+ /** Format: date-time */
272
+ updated_at?: string;
273
+ /** Format: date-time */
274
+ deleted_at?: string;
275
+ };
276
+ OrganizationsPage: {
277
+ page?: number;
278
+ page_size?: number;
279
+ total_count?: number;
280
+ organizations?: {
281
+ /**
282
+ * Format: uuid
283
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
284
+ */
285
+ id?: string;
286
+ name?: string;
287
+ description?: string;
288
+ country?: string;
289
+ region?: string;
290
+ owner?: string;
291
+ metadata?: {
292
+ preferences: {
293
+ theme: {
294
+ id: string;
295
+ logo: {
296
+ desktop_view: {
297
+ svg: string;
298
+ location: string;
299
+ };
300
+ mobile_view: {
301
+ svg: string;
302
+ location: string;
303
+ };
304
+ dark_desktop_view: {
305
+ svg: string;
306
+ location: string;
307
+ };
308
+ dark_mobile_view: {
309
+ svg: string;
310
+ location: string;
311
+ };
312
+ };
313
+ vars?: {
314
+ [key: string]: unknown;
315
+ };
316
+ };
317
+ /** @description Preferences specific to dashboard behavior */
318
+ dashboard: {
319
+ [key: string]: unknown;
320
+ };
321
+ };
322
+ };
323
+ /** Format: date-time */
324
+ created_at?: string;
325
+ /** Format: date-time */
326
+ updated_at?: string;
327
+ /** Format: date-time */
328
+ deleted_at?: string;
329
+ }[];
330
+ };
331
+ /** @description Single-organization wrapper used by current meshery-cloud organization handlers. */
332
+ OrganizationPage: {
333
+ page?: number;
334
+ page_size?: number;
335
+ total_count?: number;
336
+ organizations?: {
337
+ /**
338
+ * Format: uuid
339
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
340
+ */
341
+ id?: string;
342
+ name?: string;
343
+ description?: string;
344
+ country?: string;
345
+ region?: string;
346
+ owner?: string;
347
+ metadata?: {
348
+ preferences: {
349
+ theme: {
350
+ id: string;
351
+ logo: {
352
+ desktop_view: {
353
+ svg: string;
354
+ location: string;
355
+ };
356
+ mobile_view: {
357
+ svg: string;
358
+ location: string;
359
+ };
360
+ dark_desktop_view: {
361
+ svg: string;
362
+ location: string;
363
+ };
364
+ dark_mobile_view: {
365
+ svg: string;
366
+ location: string;
367
+ };
368
+ };
369
+ vars?: {
370
+ [key: string]: unknown;
371
+ };
372
+ };
373
+ /** @description Preferences specific to dashboard behavior */
374
+ dashboard: {
375
+ [key: string]: unknown;
376
+ };
377
+ };
378
+ };
379
+ /** Format: date-time */
380
+ created_at?: string;
381
+ /** Format: date-time */
382
+ updated_at?: string;
383
+ /** Format: date-time */
384
+ deleted_at?: string;
385
+ }[];
386
+ };
387
+ OrganizationPayload: {
388
+ name?: string;
389
+ country?: string;
390
+ region?: string;
391
+ description?: string;
392
+ notify_org_update?: boolean;
393
+ preferences?: {
394
+ theme: {
395
+ id: string;
396
+ logo: {
397
+ desktop_view: {
398
+ svg: string;
399
+ location: string;
400
+ };
401
+ mobile_view: {
402
+ svg: string;
403
+ location: string;
404
+ };
405
+ dark_desktop_view: {
406
+ svg: string;
407
+ location: string;
408
+ };
409
+ dark_mobile_view: {
410
+ svg: string;
411
+ location: string;
412
+ };
413
+ };
414
+ vars?: {
415
+ [key: string]: unknown;
416
+ };
417
+ };
418
+ /** @description Preferences specific to dashboard behavior */
419
+ dashboard: {
420
+ [key: string]: unknown;
421
+ };
422
+ };
423
+ };
206
424
  AvailableTeam: {
207
425
  /** Format: uuid */
208
426
  ID?: string;
@@ -274,12 +492,304 @@ interface components {
274
492
  }[];
275
493
  };
276
494
  };
495
+ responses: {
496
+ /** Invalid request body or request param */
497
+ 400: {
498
+ content: {
499
+ "text/plain": string;
500
+ };
501
+ };
502
+ /** Expired JWT token used or insufficient privilege */
503
+ 401: {
504
+ content: {
505
+ "text/plain": string;
506
+ };
507
+ };
508
+ /** Result not found */
509
+ 404: {
510
+ content: {
511
+ "text/plain": string;
512
+ };
513
+ };
514
+ /** Internal server error */
515
+ 500: {
516
+ content: {
517
+ "text/plain": string;
518
+ };
519
+ };
520
+ };
277
521
  parameters: {
278
- orgID: string;
522
+ orgId: string;
523
+ /** @description Get responses by page */
524
+ page: string;
525
+ /** @description Get responses by pagesize */
526
+ pagesize: string;
527
+ /** @description Get responses that match search param value */
528
+ search: string;
529
+ /** @description Get ordered responses */
530
+ order: string;
531
+ /** @description Get all possible entries */
532
+ all: boolean;
279
533
  teamId: string;
280
534
  };
535
+ requestBodies: {
536
+ /** Body for creating or updating an organization */
537
+ organizationPayload: {
538
+ content: {
539
+ "application/json": {
540
+ name?: string;
541
+ country?: string;
542
+ region?: string;
543
+ description?: string;
544
+ notify_org_update?: boolean;
545
+ preferences?: {
546
+ theme: {
547
+ id: string;
548
+ logo: {
549
+ desktop_view: {
550
+ svg: string;
551
+ location: string;
552
+ };
553
+ mobile_view: {
554
+ svg: string;
555
+ location: string;
556
+ };
557
+ dark_desktop_view: {
558
+ svg: string;
559
+ location: string;
560
+ };
561
+ dark_mobile_view: {
562
+ svg: string;
563
+ location: string;
564
+ };
565
+ };
566
+ vars?: {
567
+ [key: string]: unknown;
568
+ };
569
+ };
570
+ /** @description Preferences specific to dashboard behavior */
571
+ dashboard: {
572
+ [key: string]: unknown;
573
+ };
574
+ };
575
+ };
576
+ };
577
+ };
578
+ };
281
579
  }
282
580
  interface operations {
581
+ /** Returns organizations for the current user. */
582
+ getOrgs: {
583
+ parameters: {
584
+ query: {
585
+ /** Get responses by page */
586
+ page?: string;
587
+ /** Get responses by pagesize */
588
+ pagesize?: string;
589
+ /** Get responses that match search param value */
590
+ search?: string;
591
+ /** Get ordered responses */
592
+ order?: string;
593
+ /** Get all possible entries */
594
+ all?: boolean;
595
+ };
596
+ };
597
+ responses: {
598
+ /** Organizations response */
599
+ 200: {
600
+ content: {
601
+ "application/json": {
602
+ page?: number;
603
+ page_size?: number;
604
+ total_count?: number;
605
+ organizations?: {
606
+ /**
607
+ * Format: uuid
608
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
609
+ */
610
+ id?: string;
611
+ name?: string;
612
+ description?: string;
613
+ country?: string;
614
+ region?: string;
615
+ owner?: string;
616
+ metadata?: {
617
+ preferences: {
618
+ theme: {
619
+ id: string;
620
+ logo: {
621
+ desktop_view: {
622
+ svg: string;
623
+ location: string;
624
+ };
625
+ mobile_view: {
626
+ svg: string;
627
+ location: string;
628
+ };
629
+ dark_desktop_view: {
630
+ svg: string;
631
+ location: string;
632
+ };
633
+ dark_mobile_view: {
634
+ svg: string;
635
+ location: string;
636
+ };
637
+ };
638
+ vars?: {
639
+ [key: string]: unknown;
640
+ };
641
+ };
642
+ /** @description Preferences specific to dashboard behavior */
643
+ dashboard: {
644
+ [key: string]: unknown;
645
+ };
646
+ };
647
+ };
648
+ /** Format: date-time */
649
+ created_at?: string;
650
+ /** Format: date-time */
651
+ updated_at?: string;
652
+ /** Format: date-time */
653
+ deleted_at?: string;
654
+ }[];
655
+ };
656
+ };
657
+ };
658
+ /** No content */
659
+ 204: never;
660
+ /** Expired JWT token used or insufficient privilege */
661
+ 401: {
662
+ content: {
663
+ "text/plain": string;
664
+ };
665
+ };
666
+ /** Internal server error */
667
+ 500: {
668
+ content: {
669
+ "text/plain": string;
670
+ };
671
+ };
672
+ };
673
+ };
674
+ /** Creates a new organization. */
675
+ createOrg: {
676
+ responses: {
677
+ /** Single-organization page response */
678
+ 201: {
679
+ content: {
680
+ "application/json": {
681
+ page?: number;
682
+ page_size?: number;
683
+ total_count?: number;
684
+ organizations?: {
685
+ /**
686
+ * Format: uuid
687
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
688
+ */
689
+ id?: string;
690
+ name?: string;
691
+ description?: string;
692
+ country?: string;
693
+ region?: string;
694
+ owner?: string;
695
+ metadata?: {
696
+ preferences: {
697
+ theme: {
698
+ id: string;
699
+ logo: {
700
+ desktop_view: {
701
+ svg: string;
702
+ location: string;
703
+ };
704
+ mobile_view: {
705
+ svg: string;
706
+ location: string;
707
+ };
708
+ dark_desktop_view: {
709
+ svg: string;
710
+ location: string;
711
+ };
712
+ dark_mobile_view: {
713
+ svg: string;
714
+ location: string;
715
+ };
716
+ };
717
+ vars?: {
718
+ [key: string]: unknown;
719
+ };
720
+ };
721
+ /** @description Preferences specific to dashboard behavior */
722
+ dashboard: {
723
+ [key: string]: unknown;
724
+ };
725
+ };
726
+ };
727
+ /** Format: date-time */
728
+ created_at?: string;
729
+ /** Format: date-time */
730
+ updated_at?: string;
731
+ /** Format: date-time */
732
+ deleted_at?: string;
733
+ }[];
734
+ };
735
+ };
736
+ };
737
+ /** Expired JWT token used or insufficient privilege */
738
+ 401: {
739
+ content: {
740
+ "text/plain": string;
741
+ };
742
+ };
743
+ /** Internal server error */
744
+ 500: {
745
+ content: {
746
+ "text/plain": string;
747
+ };
748
+ };
749
+ };
750
+ /** Body for creating or updating an organization */
751
+ requestBody: {
752
+ content: {
753
+ "application/json": {
754
+ name?: string;
755
+ country?: string;
756
+ region?: string;
757
+ description?: string;
758
+ notify_org_update?: boolean;
759
+ preferences?: {
760
+ theme: {
761
+ id: string;
762
+ logo: {
763
+ desktop_view: {
764
+ svg: string;
765
+ location: string;
766
+ };
767
+ mobile_view: {
768
+ svg: string;
769
+ location: string;
770
+ };
771
+ dark_desktop_view: {
772
+ svg: string;
773
+ location: string;
774
+ };
775
+ dark_mobile_view: {
776
+ svg: string;
777
+ location: string;
778
+ };
779
+ };
780
+ vars?: {
781
+ [key: string]: unknown;
782
+ };
783
+ };
784
+ /** @description Preferences specific to dashboard behavior */
785
+ dashboard: {
786
+ [key: string]: unknown;
787
+ };
788
+ };
789
+ };
790
+ };
791
+ };
792
+ };
283
793
  getOrgByDomain: {
284
794
  parameters: {
285
795
  query: {
@@ -353,11 +863,376 @@ interface operations {
353
863
  500: unknown;
354
864
  };
355
865
  };
866
+ /** Returns the organization in the single-item page wrapper currently emitted by meshery-cloud. */
867
+ getOrg: {
868
+ parameters: {
869
+ path: {
870
+ orgId: string;
871
+ };
872
+ };
873
+ responses: {
874
+ /** Single-organization page response */
875
+ 200: {
876
+ content: {
877
+ "application/json": {
878
+ page?: number;
879
+ page_size?: number;
880
+ total_count?: number;
881
+ organizations?: {
882
+ /**
883
+ * Format: uuid
884
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
885
+ */
886
+ id?: string;
887
+ name?: string;
888
+ description?: string;
889
+ country?: string;
890
+ region?: string;
891
+ owner?: string;
892
+ metadata?: {
893
+ preferences: {
894
+ theme: {
895
+ id: string;
896
+ logo: {
897
+ desktop_view: {
898
+ svg: string;
899
+ location: string;
900
+ };
901
+ mobile_view: {
902
+ svg: string;
903
+ location: string;
904
+ };
905
+ dark_desktop_view: {
906
+ svg: string;
907
+ location: string;
908
+ };
909
+ dark_mobile_view: {
910
+ svg: string;
911
+ location: string;
912
+ };
913
+ };
914
+ vars?: {
915
+ [key: string]: unknown;
916
+ };
917
+ };
918
+ /** @description Preferences specific to dashboard behavior */
919
+ dashboard: {
920
+ [key: string]: unknown;
921
+ };
922
+ };
923
+ };
924
+ /** Format: date-time */
925
+ created_at?: string;
926
+ /** Format: date-time */
927
+ updated_at?: string;
928
+ /** Format: date-time */
929
+ deleted_at?: string;
930
+ }[];
931
+ };
932
+ };
933
+ };
934
+ /** Expired JWT token used or insufficient privilege */
935
+ 401: {
936
+ content: {
937
+ "text/plain": string;
938
+ };
939
+ };
940
+ /** Internal server error */
941
+ 500: {
942
+ content: {
943
+ "text/plain": string;
944
+ };
945
+ };
946
+ };
947
+ };
948
+ /** Updates the organization. */
949
+ handleUpdateOrg: {
950
+ parameters: {
951
+ path: {
952
+ orgId: string;
953
+ };
954
+ };
955
+ responses: {
956
+ /** Single-organization page response for the updated organization */
957
+ 200: {
958
+ content: {
959
+ "application/json": {
960
+ page?: number;
961
+ page_size?: number;
962
+ total_count?: number;
963
+ organizations?: {
964
+ /**
965
+ * Format: uuid
966
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
967
+ */
968
+ id?: string;
969
+ name?: string;
970
+ description?: string;
971
+ country?: string;
972
+ region?: string;
973
+ owner?: string;
974
+ metadata?: {
975
+ preferences: {
976
+ theme: {
977
+ id: string;
978
+ logo: {
979
+ desktop_view: {
980
+ svg: string;
981
+ location: string;
982
+ };
983
+ mobile_view: {
984
+ svg: string;
985
+ location: string;
986
+ };
987
+ dark_desktop_view: {
988
+ svg: string;
989
+ location: string;
990
+ };
991
+ dark_mobile_view: {
992
+ svg: string;
993
+ location: string;
994
+ };
995
+ };
996
+ vars?: {
997
+ [key: string]: unknown;
998
+ };
999
+ };
1000
+ /** @description Preferences specific to dashboard behavior */
1001
+ dashboard: {
1002
+ [key: string]: unknown;
1003
+ };
1004
+ };
1005
+ };
1006
+ /** Format: date-time */
1007
+ created_at?: string;
1008
+ /** Format: date-time */
1009
+ updated_at?: string;
1010
+ /** Format: date-time */
1011
+ deleted_at?: string;
1012
+ }[];
1013
+ };
1014
+ };
1015
+ };
1016
+ /** Invalid request body or request param */
1017
+ 400: {
1018
+ content: {
1019
+ "text/plain": string;
1020
+ };
1021
+ };
1022
+ /** Expired JWT token used or insufficient privilege */
1023
+ 401: {
1024
+ content: {
1025
+ "text/plain": string;
1026
+ };
1027
+ };
1028
+ /** Internal server error */
1029
+ 500: {
1030
+ content: {
1031
+ "text/plain": string;
1032
+ };
1033
+ };
1034
+ };
1035
+ /** Body for creating or updating an organization */
1036
+ requestBody: {
1037
+ content: {
1038
+ "application/json": {
1039
+ name?: string;
1040
+ country?: string;
1041
+ region?: string;
1042
+ description?: string;
1043
+ notify_org_update?: boolean;
1044
+ preferences?: {
1045
+ theme: {
1046
+ id: string;
1047
+ logo: {
1048
+ desktop_view: {
1049
+ svg: string;
1050
+ location: string;
1051
+ };
1052
+ mobile_view: {
1053
+ svg: string;
1054
+ location: string;
1055
+ };
1056
+ dark_desktop_view: {
1057
+ svg: string;
1058
+ location: string;
1059
+ };
1060
+ dark_mobile_view: {
1061
+ svg: string;
1062
+ location: string;
1063
+ };
1064
+ };
1065
+ vars?: {
1066
+ [key: string]: unknown;
1067
+ };
1068
+ };
1069
+ /** @description Preferences specific to dashboard behavior */
1070
+ dashboard: {
1071
+ [key: string]: unknown;
1072
+ };
1073
+ };
1074
+ };
1075
+ };
1076
+ };
1077
+ };
1078
+ /** Deletes the organization. */
1079
+ deleteOrg: {
1080
+ parameters: {
1081
+ path: {
1082
+ orgId: string;
1083
+ };
1084
+ };
1085
+ responses: {
1086
+ /** Single-organization page response for the deleted organization */
1087
+ 200: {
1088
+ content: {
1089
+ "application/json": {
1090
+ page?: number;
1091
+ page_size?: number;
1092
+ total_count?: number;
1093
+ organizations?: {
1094
+ /**
1095
+ * Format: uuid
1096
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1097
+ */
1098
+ id?: string;
1099
+ name?: string;
1100
+ description?: string;
1101
+ country?: string;
1102
+ region?: string;
1103
+ owner?: string;
1104
+ metadata?: {
1105
+ preferences: {
1106
+ theme: {
1107
+ id: string;
1108
+ logo: {
1109
+ desktop_view: {
1110
+ svg: string;
1111
+ location: string;
1112
+ };
1113
+ mobile_view: {
1114
+ svg: string;
1115
+ location: string;
1116
+ };
1117
+ dark_desktop_view: {
1118
+ svg: string;
1119
+ location: string;
1120
+ };
1121
+ dark_mobile_view: {
1122
+ svg: string;
1123
+ location: string;
1124
+ };
1125
+ };
1126
+ vars?: {
1127
+ [key: string]: unknown;
1128
+ };
1129
+ };
1130
+ /** @description Preferences specific to dashboard behavior */
1131
+ dashboard: {
1132
+ [key: string]: unknown;
1133
+ };
1134
+ };
1135
+ };
1136
+ /** Format: date-time */
1137
+ created_at?: string;
1138
+ /** Format: date-time */
1139
+ updated_at?: string;
1140
+ /** Format: date-time */
1141
+ deleted_at?: string;
1142
+ }[];
1143
+ };
1144
+ };
1145
+ };
1146
+ /** Invalid request body or request param */
1147
+ 400: {
1148
+ content: {
1149
+ "text/plain": string;
1150
+ };
1151
+ };
1152
+ /** Expired JWT token used or insufficient privilege */
1153
+ 401: {
1154
+ content: {
1155
+ "text/plain": string;
1156
+ };
1157
+ };
1158
+ /** Result not found */
1159
+ 404: {
1160
+ content: {
1161
+ "text/plain": string;
1162
+ };
1163
+ };
1164
+ /** Internal server error */
1165
+ 500: {
1166
+ content: {
1167
+ "text/plain": string;
1168
+ };
1169
+ };
1170
+ };
1171
+ };
1172
+ /** Returns preferences for the specified organization. */
1173
+ getOrgPreferences: {
1174
+ parameters: {
1175
+ path: {
1176
+ orgId: string;
1177
+ };
1178
+ };
1179
+ responses: {
1180
+ /** Organization metadata, including preferences */
1181
+ 200: {
1182
+ content: {
1183
+ "application/json": {
1184
+ preferences: {
1185
+ theme: {
1186
+ id: string;
1187
+ logo: {
1188
+ desktop_view: {
1189
+ svg: string;
1190
+ location: string;
1191
+ };
1192
+ mobile_view: {
1193
+ svg: string;
1194
+ location: string;
1195
+ };
1196
+ dark_desktop_view: {
1197
+ svg: string;
1198
+ location: string;
1199
+ };
1200
+ dark_mobile_view: {
1201
+ svg: string;
1202
+ location: string;
1203
+ };
1204
+ };
1205
+ vars?: {
1206
+ [key: string]: unknown;
1207
+ };
1208
+ };
1209
+ /** @description Preferences specific to dashboard behavior */
1210
+ dashboard: {
1211
+ [key: string]: unknown;
1212
+ };
1213
+ };
1214
+ };
1215
+ };
1216
+ };
1217
+ /** Expired JWT token used or insufficient privilege */
1218
+ 401: {
1219
+ content: {
1220
+ "text/plain": string;
1221
+ };
1222
+ };
1223
+ /** Internal server error */
1224
+ 500: {
1225
+ content: {
1226
+ "text/plain": string;
1227
+ };
1228
+ };
1229
+ };
1230
+ };
356
1231
  /** Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact. */
357
- AddTeamToOrg: {
1232
+ addTeamToOrg: {
358
1233
  parameters: {
359
1234
  path: {
360
- orgID: string;
1235
+ orgId: string;
361
1236
  teamId: string;
362
1237
  };
363
1238
  };
@@ -428,10 +1303,10 @@ interface operations {
428
1303
  };
429
1304
  };
430
1305
  /** Removes (unassigns) a team from an organization. */
431
- RemoveTeamFromOrg: {
1306
+ removeTeamFromOrg: {
432
1307
  parameters: {
433
1308
  path: {
434
- orgID: string;
1309
+ orgId: string;
435
1310
  teamId: string;
436
1311
  };
437
1312
  };