@uug-ai/models 1.6.13 → 1.7.1

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 (2) hide show
  1. package/dist/types.d.ts +1283 -141
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1719,7 +1719,7 @@ export interface paths {
1719
1719
  patch?: never;
1720
1720
  trace?: never;
1721
1721
  };
1722
- "/internal/auditcreate": {
1722
+ "/internal/auditevent": {
1723
1723
  parameters: {
1724
1724
  query?: never;
1725
1725
  header?: never;
@@ -1727,8 +1727,8 @@ export interface paths {
1727
1727
  cookie?: never;
1728
1728
  };
1729
1729
  /**
1730
- * Get AuditCreate (schema generation only)
1731
- * @description Internal endpoint used only to ensure AuditCreate schema is generated in OpenAPI spec
1730
+ * Get AuditEvent (schema generation only)
1731
+ * @description Internal endpoint used only to ensure AuditEvent schema is generated in OpenAPI spec
1732
1732
  */
1733
1733
  get: {
1734
1734
  parameters: {
@@ -1745,7 +1745,7 @@ export interface paths {
1745
1745
  [name: string]: unknown;
1746
1746
  };
1747
1747
  content: {
1748
- "application/json": components["schemas"]["models.AuditCreate"];
1748
+ "application/json": components["schemas"]["models.AuditEvent"];
1749
1749
  };
1750
1750
  };
1751
1751
  };
@@ -1758,7 +1758,7 @@ export interface paths {
1758
1758
  patch?: never;
1759
1759
  trace?: never;
1760
1760
  };
1761
- "/internal/auditupdate": {
1761
+ "/internal/auditfieldchange": {
1762
1762
  parameters: {
1763
1763
  query?: never;
1764
1764
  header?: never;
@@ -1766,8 +1766,8 @@ export interface paths {
1766
1766
  cookie?: never;
1767
1767
  };
1768
1768
  /**
1769
- * Get AuditUpdate (schema generation only)
1770
- * @description Internal endpoint used only to ensure AuditUpdate schema is generated in OpenAPI spec
1769
+ * Get AuditFieldChange (schema generation only)
1770
+ * @description Internal endpoint used only to ensure AuditFieldChange schema is generated in OpenAPI spec
1771
1771
  */
1772
1772
  get: {
1773
1773
  parameters: {
@@ -1784,7 +1784,7 @@ export interface paths {
1784
1784
  [name: string]: unknown;
1785
1785
  };
1786
1786
  content: {
1787
- "application/json": components["schemas"]["models.AuditUpdate"];
1787
+ "application/json": components["schemas"]["models.AuditFieldChange"];
1788
1788
  };
1789
1789
  };
1790
1790
  };
@@ -3552,6 +3552,240 @@ export interface paths {
3552
3552
  patch?: never;
3553
3553
  trace?: never;
3554
3554
  };
3555
+ "/internal/createorganisationerrorresponse": {
3556
+ parameters: {
3557
+ query?: never;
3558
+ header?: never;
3559
+ path?: never;
3560
+ cookie?: never;
3561
+ };
3562
+ /**
3563
+ * Get CreateOrganisationErrorResponse (schema generation only)
3564
+ * @description Internal endpoint used only to ensure CreateOrganisationErrorResponse schema is generated in OpenAPI spec
3565
+ */
3566
+ get: {
3567
+ parameters: {
3568
+ query?: never;
3569
+ header?: never;
3570
+ path?: never;
3571
+ cookie?: never;
3572
+ };
3573
+ requestBody?: never;
3574
+ responses: {
3575
+ /** @description OK */
3576
+ 200: {
3577
+ headers: {
3578
+ [name: string]: unknown;
3579
+ };
3580
+ content: {
3581
+ "application/json": components["schemas"]["api.CreateOrganisationErrorResponse"];
3582
+ };
3583
+ };
3584
+ };
3585
+ };
3586
+ put?: never;
3587
+ post?: never;
3588
+ delete?: never;
3589
+ options?: never;
3590
+ head?: never;
3591
+ patch?: never;
3592
+ trace?: never;
3593
+ };
3594
+ "/internal/createorganisationinput": {
3595
+ parameters: {
3596
+ query?: never;
3597
+ header?: never;
3598
+ path?: never;
3599
+ cookie?: never;
3600
+ };
3601
+ /**
3602
+ * Get CreateOrganisationInput (schema generation only)
3603
+ * @description Internal endpoint used only to ensure CreateOrganisationInput schema is generated in OpenAPI spec
3604
+ */
3605
+ get: {
3606
+ parameters: {
3607
+ query?: never;
3608
+ header?: never;
3609
+ path?: never;
3610
+ cookie?: never;
3611
+ };
3612
+ requestBody?: never;
3613
+ responses: {
3614
+ /** @description OK */
3615
+ 200: {
3616
+ headers: {
3617
+ [name: string]: unknown;
3618
+ };
3619
+ content: {
3620
+ "application/json": components["schemas"]["models.CreateOrganisationInput"];
3621
+ };
3622
+ };
3623
+ };
3624
+ };
3625
+ put?: never;
3626
+ post?: never;
3627
+ delete?: never;
3628
+ options?: never;
3629
+ head?: never;
3630
+ patch?: never;
3631
+ trace?: never;
3632
+ };
3633
+ "/internal/createorganisationoutput": {
3634
+ parameters: {
3635
+ query?: never;
3636
+ header?: never;
3637
+ path?: never;
3638
+ cookie?: never;
3639
+ };
3640
+ /**
3641
+ * Get CreateOrganisationOutput (schema generation only)
3642
+ * @description Internal endpoint used only to ensure CreateOrganisationOutput schema is generated in OpenAPI spec
3643
+ */
3644
+ get: {
3645
+ parameters: {
3646
+ query?: never;
3647
+ header?: never;
3648
+ path?: never;
3649
+ cookie?: never;
3650
+ };
3651
+ requestBody?: never;
3652
+ responses: {
3653
+ /** @description OK */
3654
+ 200: {
3655
+ headers: {
3656
+ [name: string]: unknown;
3657
+ };
3658
+ content: {
3659
+ "application/json": components["schemas"]["models.CreateOrganisationOutput"];
3660
+ };
3661
+ };
3662
+ };
3663
+ };
3664
+ put?: never;
3665
+ post?: never;
3666
+ delete?: never;
3667
+ options?: never;
3668
+ head?: never;
3669
+ patch?: never;
3670
+ trace?: never;
3671
+ };
3672
+ "/internal/createorganisationrequest": {
3673
+ parameters: {
3674
+ query?: never;
3675
+ header?: never;
3676
+ path?: never;
3677
+ cookie?: never;
3678
+ };
3679
+ /**
3680
+ * Get CreateOrganisationRequest (schema generation only)
3681
+ * @description Internal endpoint used only to ensure CreateOrganisationRequest schema is generated in OpenAPI spec
3682
+ */
3683
+ get: {
3684
+ parameters: {
3685
+ query?: never;
3686
+ header?: never;
3687
+ path?: never;
3688
+ cookie?: never;
3689
+ };
3690
+ requestBody?: never;
3691
+ responses: {
3692
+ /** @description OK */
3693
+ 200: {
3694
+ headers: {
3695
+ [name: string]: unknown;
3696
+ };
3697
+ content: {
3698
+ "application/json": components["schemas"]["api.CreateOrganisationRequest"];
3699
+ };
3700
+ };
3701
+ };
3702
+ };
3703
+ put?: never;
3704
+ post?: never;
3705
+ delete?: never;
3706
+ options?: never;
3707
+ head?: never;
3708
+ patch?: never;
3709
+ trace?: never;
3710
+ };
3711
+ "/internal/createorganisationresponse": {
3712
+ parameters: {
3713
+ query?: never;
3714
+ header?: never;
3715
+ path?: never;
3716
+ cookie?: never;
3717
+ };
3718
+ /**
3719
+ * Get CreateOrganisationResponse (schema generation only)
3720
+ * @description Internal endpoint used only to ensure CreateOrganisationResponse schema is generated in OpenAPI spec
3721
+ */
3722
+ get: {
3723
+ parameters: {
3724
+ query?: never;
3725
+ header?: never;
3726
+ path?: never;
3727
+ cookie?: never;
3728
+ };
3729
+ requestBody?: never;
3730
+ responses: {
3731
+ /** @description OK */
3732
+ 200: {
3733
+ headers: {
3734
+ [name: string]: unknown;
3735
+ };
3736
+ content: {
3737
+ "application/json": components["schemas"]["api.CreateOrganisationResponse"];
3738
+ };
3739
+ };
3740
+ };
3741
+ };
3742
+ put?: never;
3743
+ post?: never;
3744
+ delete?: never;
3745
+ options?: never;
3746
+ head?: never;
3747
+ patch?: never;
3748
+ trace?: never;
3749
+ };
3750
+ "/internal/createorganisationsuccessresponse": {
3751
+ parameters: {
3752
+ query?: never;
3753
+ header?: never;
3754
+ path?: never;
3755
+ cookie?: never;
3756
+ };
3757
+ /**
3758
+ * Get CreateOrganisationSuccessResponse (schema generation only)
3759
+ * @description Internal endpoint used only to ensure CreateOrganisationSuccessResponse schema is generated in OpenAPI spec
3760
+ */
3761
+ get: {
3762
+ parameters: {
3763
+ query?: never;
3764
+ header?: never;
3765
+ path?: never;
3766
+ cookie?: never;
3767
+ };
3768
+ requestBody?: never;
3769
+ responses: {
3770
+ /** @description OK */
3771
+ 200: {
3772
+ headers: {
3773
+ [name: string]: unknown;
3774
+ };
3775
+ content: {
3776
+ "application/json": components["schemas"]["api.CreateOrganisationSuccessResponse"];
3777
+ };
3778
+ };
3779
+ };
3780
+ };
3781
+ put?: never;
3782
+ post?: never;
3783
+ delete?: never;
3784
+ options?: never;
3785
+ head?: never;
3786
+ patch?: never;
3787
+ trace?: never;
3788
+ };
3555
3789
  "/internal/createvideowallerrorresponse": {
3556
3790
  parameters: {
3557
3791
  query?: never;
@@ -9714,6 +9948,84 @@ export interface paths {
9714
9948
  patch?: never;
9715
9949
  trace?: never;
9716
9950
  };
9951
+ "/internal/getcurrentorganisationinput": {
9952
+ parameters: {
9953
+ query?: never;
9954
+ header?: never;
9955
+ path?: never;
9956
+ cookie?: never;
9957
+ };
9958
+ /**
9959
+ * Get GetCurrentOrganisationInput (schema generation only)
9960
+ * @description Internal endpoint used only to ensure GetCurrentOrganisationInput schema is generated in OpenAPI spec
9961
+ */
9962
+ get: {
9963
+ parameters: {
9964
+ query?: never;
9965
+ header?: never;
9966
+ path?: never;
9967
+ cookie?: never;
9968
+ };
9969
+ requestBody?: never;
9970
+ responses: {
9971
+ /** @description OK */
9972
+ 200: {
9973
+ headers: {
9974
+ [name: string]: unknown;
9975
+ };
9976
+ content: {
9977
+ "application/json": components["schemas"]["models.GetCurrentOrganisationInput"];
9978
+ };
9979
+ };
9980
+ };
9981
+ };
9982
+ put?: never;
9983
+ post?: never;
9984
+ delete?: never;
9985
+ options?: never;
9986
+ head?: never;
9987
+ patch?: never;
9988
+ trace?: never;
9989
+ };
9990
+ "/internal/getcurrentorganisationoutput": {
9991
+ parameters: {
9992
+ query?: never;
9993
+ header?: never;
9994
+ path?: never;
9995
+ cookie?: never;
9996
+ };
9997
+ /**
9998
+ * Get GetCurrentOrganisationOutput (schema generation only)
9999
+ * @description Internal endpoint used only to ensure GetCurrentOrganisationOutput schema is generated in OpenAPI spec
10000
+ */
10001
+ get: {
10002
+ parameters: {
10003
+ query?: never;
10004
+ header?: never;
10005
+ path?: never;
10006
+ cookie?: never;
10007
+ };
10008
+ requestBody?: never;
10009
+ responses: {
10010
+ /** @description OK */
10011
+ 200: {
10012
+ headers: {
10013
+ [name: string]: unknown;
10014
+ };
10015
+ content: {
10016
+ "application/json": components["schemas"]["models.GetCurrentOrganisationOutput"];
10017
+ };
10018
+ };
10019
+ };
10020
+ };
10021
+ put?: never;
10022
+ post?: never;
10023
+ delete?: never;
10024
+ options?: never;
10025
+ head?: never;
10026
+ patch?: never;
10027
+ trace?: never;
10028
+ };
9717
10029
  "/internal/getcustomalertserrorresponse": {
9718
10030
  parameters: {
9719
10031
  query?: never;
@@ -12132,6 +12444,396 @@ export interface paths {
12132
12444
  patch?: never;
12133
12445
  trace?: never;
12134
12446
  };
12447
+ "/internal/getorganisationerrorresponse": {
12448
+ parameters: {
12449
+ query?: never;
12450
+ header?: never;
12451
+ path?: never;
12452
+ cookie?: never;
12453
+ };
12454
+ /**
12455
+ * Get GetOrganisationErrorResponse (schema generation only)
12456
+ * @description Internal endpoint used only to ensure GetOrganisationErrorResponse schema is generated in OpenAPI spec
12457
+ */
12458
+ get: {
12459
+ parameters: {
12460
+ query?: never;
12461
+ header?: never;
12462
+ path?: never;
12463
+ cookie?: never;
12464
+ };
12465
+ requestBody?: never;
12466
+ responses: {
12467
+ /** @description OK */
12468
+ 200: {
12469
+ headers: {
12470
+ [name: string]: unknown;
12471
+ };
12472
+ content: {
12473
+ "application/json": components["schemas"]["api.GetOrganisationErrorResponse"];
12474
+ };
12475
+ };
12476
+ };
12477
+ };
12478
+ put?: never;
12479
+ post?: never;
12480
+ delete?: never;
12481
+ options?: never;
12482
+ head?: never;
12483
+ patch?: never;
12484
+ trace?: never;
12485
+ };
12486
+ "/internal/getorganisationinput": {
12487
+ parameters: {
12488
+ query?: never;
12489
+ header?: never;
12490
+ path?: never;
12491
+ cookie?: never;
12492
+ };
12493
+ /**
12494
+ * Get GetOrganisationInput (schema generation only)
12495
+ * @description Internal endpoint used only to ensure GetOrganisationInput schema is generated in OpenAPI spec
12496
+ */
12497
+ get: {
12498
+ parameters: {
12499
+ query?: never;
12500
+ header?: never;
12501
+ path?: never;
12502
+ cookie?: never;
12503
+ };
12504
+ requestBody?: never;
12505
+ responses: {
12506
+ /** @description OK */
12507
+ 200: {
12508
+ headers: {
12509
+ [name: string]: unknown;
12510
+ };
12511
+ content: {
12512
+ "application/json": components["schemas"]["models.GetOrganisationInput"];
12513
+ };
12514
+ };
12515
+ };
12516
+ };
12517
+ put?: never;
12518
+ post?: never;
12519
+ delete?: never;
12520
+ options?: never;
12521
+ head?: never;
12522
+ patch?: never;
12523
+ trace?: never;
12524
+ };
12525
+ "/internal/getorganisationoutput": {
12526
+ parameters: {
12527
+ query?: never;
12528
+ header?: never;
12529
+ path?: never;
12530
+ cookie?: never;
12531
+ };
12532
+ /**
12533
+ * Get GetOrganisationOutput (schema generation only)
12534
+ * @description Internal endpoint used only to ensure GetOrganisationOutput schema is generated in OpenAPI spec
12535
+ */
12536
+ get: {
12537
+ parameters: {
12538
+ query?: never;
12539
+ header?: never;
12540
+ path?: never;
12541
+ cookie?: never;
12542
+ };
12543
+ requestBody?: never;
12544
+ responses: {
12545
+ /** @description OK */
12546
+ 200: {
12547
+ headers: {
12548
+ [name: string]: unknown;
12549
+ };
12550
+ content: {
12551
+ "application/json": components["schemas"]["models.GetOrganisationOutput"];
12552
+ };
12553
+ };
12554
+ };
12555
+ };
12556
+ put?: never;
12557
+ post?: never;
12558
+ delete?: never;
12559
+ options?: never;
12560
+ head?: never;
12561
+ patch?: never;
12562
+ trace?: never;
12563
+ };
12564
+ "/internal/getorganisationresponse": {
12565
+ parameters: {
12566
+ query?: never;
12567
+ header?: never;
12568
+ path?: never;
12569
+ cookie?: never;
12570
+ };
12571
+ /**
12572
+ * Get GetOrganisationResponse (schema generation only)
12573
+ * @description Internal endpoint used only to ensure GetOrganisationResponse schema is generated in OpenAPI spec
12574
+ */
12575
+ get: {
12576
+ parameters: {
12577
+ query?: never;
12578
+ header?: never;
12579
+ path?: never;
12580
+ cookie?: never;
12581
+ };
12582
+ requestBody?: never;
12583
+ responses: {
12584
+ /** @description OK */
12585
+ 200: {
12586
+ headers: {
12587
+ [name: string]: unknown;
12588
+ };
12589
+ content: {
12590
+ "application/json": components["schemas"]["api.GetOrganisationResponse"];
12591
+ };
12592
+ };
12593
+ };
12594
+ };
12595
+ put?: never;
12596
+ post?: never;
12597
+ delete?: never;
12598
+ options?: never;
12599
+ head?: never;
12600
+ patch?: never;
12601
+ trace?: never;
12602
+ };
12603
+ "/internal/getorganisationserrorresponse": {
12604
+ parameters: {
12605
+ query?: never;
12606
+ header?: never;
12607
+ path?: never;
12608
+ cookie?: never;
12609
+ };
12610
+ /**
12611
+ * Get GetOrganisationsErrorResponse (schema generation only)
12612
+ * @description Internal endpoint used only to ensure GetOrganisationsErrorResponse schema is generated in OpenAPI spec
12613
+ */
12614
+ get: {
12615
+ parameters: {
12616
+ query?: never;
12617
+ header?: never;
12618
+ path?: never;
12619
+ cookie?: never;
12620
+ };
12621
+ requestBody?: never;
12622
+ responses: {
12623
+ /** @description OK */
12624
+ 200: {
12625
+ headers: {
12626
+ [name: string]: unknown;
12627
+ };
12628
+ content: {
12629
+ "application/json": components["schemas"]["api.GetOrganisationsErrorResponse"];
12630
+ };
12631
+ };
12632
+ };
12633
+ };
12634
+ put?: never;
12635
+ post?: never;
12636
+ delete?: never;
12637
+ options?: never;
12638
+ head?: never;
12639
+ patch?: never;
12640
+ trace?: never;
12641
+ };
12642
+ "/internal/getorganisationsinput": {
12643
+ parameters: {
12644
+ query?: never;
12645
+ header?: never;
12646
+ path?: never;
12647
+ cookie?: never;
12648
+ };
12649
+ /**
12650
+ * Get GetOrganisationsInput (schema generation only)
12651
+ * @description Internal endpoint used only to ensure GetOrganisationsInput schema is generated in OpenAPI spec
12652
+ */
12653
+ get: {
12654
+ parameters: {
12655
+ query?: never;
12656
+ header?: never;
12657
+ path?: never;
12658
+ cookie?: never;
12659
+ };
12660
+ requestBody?: never;
12661
+ responses: {
12662
+ /** @description OK */
12663
+ 200: {
12664
+ headers: {
12665
+ [name: string]: unknown;
12666
+ };
12667
+ content: {
12668
+ "application/json": components["schemas"]["models.GetOrganisationsInput"];
12669
+ };
12670
+ };
12671
+ };
12672
+ };
12673
+ put?: never;
12674
+ post?: never;
12675
+ delete?: never;
12676
+ options?: never;
12677
+ head?: never;
12678
+ patch?: never;
12679
+ trace?: never;
12680
+ };
12681
+ "/internal/getorganisationsoutput": {
12682
+ parameters: {
12683
+ query?: never;
12684
+ header?: never;
12685
+ path?: never;
12686
+ cookie?: never;
12687
+ };
12688
+ /**
12689
+ * Get GetOrganisationsOutput (schema generation only)
12690
+ * @description Internal endpoint used only to ensure GetOrganisationsOutput schema is generated in OpenAPI spec
12691
+ */
12692
+ get: {
12693
+ parameters: {
12694
+ query?: never;
12695
+ header?: never;
12696
+ path?: never;
12697
+ cookie?: never;
12698
+ };
12699
+ requestBody?: never;
12700
+ responses: {
12701
+ /** @description OK */
12702
+ 200: {
12703
+ headers: {
12704
+ [name: string]: unknown;
12705
+ };
12706
+ content: {
12707
+ "application/json": components["schemas"]["models.GetOrganisationsOutput"];
12708
+ };
12709
+ };
12710
+ };
12711
+ };
12712
+ put?: never;
12713
+ post?: never;
12714
+ delete?: never;
12715
+ options?: never;
12716
+ head?: never;
12717
+ patch?: never;
12718
+ trace?: never;
12719
+ };
12720
+ "/internal/getorganisationsresponse": {
12721
+ parameters: {
12722
+ query?: never;
12723
+ header?: never;
12724
+ path?: never;
12725
+ cookie?: never;
12726
+ };
12727
+ /**
12728
+ * Get GetOrganisationsResponse (schema generation only)
12729
+ * @description Internal endpoint used only to ensure GetOrganisationsResponse schema is generated in OpenAPI spec
12730
+ */
12731
+ get: {
12732
+ parameters: {
12733
+ query?: never;
12734
+ header?: never;
12735
+ path?: never;
12736
+ cookie?: never;
12737
+ };
12738
+ requestBody?: never;
12739
+ responses: {
12740
+ /** @description OK */
12741
+ 200: {
12742
+ headers: {
12743
+ [name: string]: unknown;
12744
+ };
12745
+ content: {
12746
+ "application/json": components["schemas"]["api.GetOrganisationsResponse"];
12747
+ };
12748
+ };
12749
+ };
12750
+ };
12751
+ put?: never;
12752
+ post?: never;
12753
+ delete?: never;
12754
+ options?: never;
12755
+ head?: never;
12756
+ patch?: never;
12757
+ trace?: never;
12758
+ };
12759
+ "/internal/getorganisationssuccessresponse": {
12760
+ parameters: {
12761
+ query?: never;
12762
+ header?: never;
12763
+ path?: never;
12764
+ cookie?: never;
12765
+ };
12766
+ /**
12767
+ * Get GetOrganisationsSuccessResponse (schema generation only)
12768
+ * @description Internal endpoint used only to ensure GetOrganisationsSuccessResponse schema is generated in OpenAPI spec
12769
+ */
12770
+ get: {
12771
+ parameters: {
12772
+ query?: never;
12773
+ header?: never;
12774
+ path?: never;
12775
+ cookie?: never;
12776
+ };
12777
+ requestBody?: never;
12778
+ responses: {
12779
+ /** @description OK */
12780
+ 200: {
12781
+ headers: {
12782
+ [name: string]: unknown;
12783
+ };
12784
+ content: {
12785
+ "application/json": components["schemas"]["api.GetOrganisationsSuccessResponse"];
12786
+ };
12787
+ };
12788
+ };
12789
+ };
12790
+ put?: never;
12791
+ post?: never;
12792
+ delete?: never;
12793
+ options?: never;
12794
+ head?: never;
12795
+ patch?: never;
12796
+ trace?: never;
12797
+ };
12798
+ "/internal/getorganisationsuccessresponse": {
12799
+ parameters: {
12800
+ query?: never;
12801
+ header?: never;
12802
+ path?: never;
12803
+ cookie?: never;
12804
+ };
12805
+ /**
12806
+ * Get GetOrganisationSuccessResponse (schema generation only)
12807
+ * @description Internal endpoint used only to ensure GetOrganisationSuccessResponse schema is generated in OpenAPI spec
12808
+ */
12809
+ get: {
12810
+ parameters: {
12811
+ query?: never;
12812
+ header?: never;
12813
+ path?: never;
12814
+ cookie?: never;
12815
+ };
12816
+ requestBody?: never;
12817
+ responses: {
12818
+ /** @description OK */
12819
+ 200: {
12820
+ headers: {
12821
+ [name: string]: unknown;
12822
+ };
12823
+ content: {
12824
+ "application/json": components["schemas"]["api.GetOrganisationSuccessResponse"];
12825
+ };
12826
+ };
12827
+ };
12828
+ };
12829
+ put?: never;
12830
+ post?: never;
12831
+ delete?: never;
12832
+ options?: never;
12833
+ head?: never;
12834
+ patch?: never;
12835
+ trace?: never;
12836
+ };
12135
12837
  "/internal/getruntimeconfigerrorresponse": {
12136
12838
  parameters: {
12137
12839
  query?: never;
@@ -20088,7 +20790,7 @@ export interface paths {
20088
20790
  patch?: never;
20089
20791
  trace?: never;
20090
20792
  };
20091
- "/internal/rolescope": {
20793
+ "/internal/roleassignmentscope": {
20092
20794
  parameters: {
20093
20795
  query?: never;
20094
20796
  header?: never;
@@ -20096,8 +20798,8 @@ export interface paths {
20096
20798
  cookie?: never;
20097
20799
  };
20098
20800
  /**
20099
- * Get RoleScope (schema generation only)
20100
- * @description Internal endpoint used only to ensure RoleScope schema is generated in OpenAPI spec
20801
+ * Get RoleAssignmentScope (schema generation only)
20802
+ * @description Internal endpoint used only to ensure RoleAssignmentScope schema is generated in OpenAPI spec
20101
20803
  */
20102
20804
  get: {
20103
20805
  parameters: {
@@ -20114,7 +20816,7 @@ export interface paths {
20114
20816
  [name: string]: unknown;
20115
20817
  };
20116
20818
  content: {
20117
- "application/json": components["schemas"]["models.RoleScope"];
20819
+ "application/json": components["schemas"]["models.RoleAssignmentScope"];
20118
20820
  };
20119
20821
  };
20120
20822
  };
@@ -24066,6 +24768,240 @@ export interface paths {
24066
24768
  patch?: never;
24067
24769
  trace?: never;
24068
24770
  };
24771
+ "/internal/updateorganisationerrorresponse": {
24772
+ parameters: {
24773
+ query?: never;
24774
+ header?: never;
24775
+ path?: never;
24776
+ cookie?: never;
24777
+ };
24778
+ /**
24779
+ * Get UpdateOrganisationErrorResponse (schema generation only)
24780
+ * @description Internal endpoint used only to ensure UpdateOrganisationErrorResponse schema is generated in OpenAPI spec
24781
+ */
24782
+ get: {
24783
+ parameters: {
24784
+ query?: never;
24785
+ header?: never;
24786
+ path?: never;
24787
+ cookie?: never;
24788
+ };
24789
+ requestBody?: never;
24790
+ responses: {
24791
+ /** @description OK */
24792
+ 200: {
24793
+ headers: {
24794
+ [name: string]: unknown;
24795
+ };
24796
+ content: {
24797
+ "application/json": components["schemas"]["api.UpdateOrganisationErrorResponse"];
24798
+ };
24799
+ };
24800
+ };
24801
+ };
24802
+ put?: never;
24803
+ post?: never;
24804
+ delete?: never;
24805
+ options?: never;
24806
+ head?: never;
24807
+ patch?: never;
24808
+ trace?: never;
24809
+ };
24810
+ "/internal/updateorganisationinput": {
24811
+ parameters: {
24812
+ query?: never;
24813
+ header?: never;
24814
+ path?: never;
24815
+ cookie?: never;
24816
+ };
24817
+ /**
24818
+ * Get UpdateOrganisationInput (schema generation only)
24819
+ * @description Internal endpoint used only to ensure UpdateOrganisationInput schema is generated in OpenAPI spec
24820
+ */
24821
+ get: {
24822
+ parameters: {
24823
+ query?: never;
24824
+ header?: never;
24825
+ path?: never;
24826
+ cookie?: never;
24827
+ };
24828
+ requestBody?: never;
24829
+ responses: {
24830
+ /** @description OK */
24831
+ 200: {
24832
+ headers: {
24833
+ [name: string]: unknown;
24834
+ };
24835
+ content: {
24836
+ "application/json": components["schemas"]["models.UpdateOrganisationInput"];
24837
+ };
24838
+ };
24839
+ };
24840
+ };
24841
+ put?: never;
24842
+ post?: never;
24843
+ delete?: never;
24844
+ options?: never;
24845
+ head?: never;
24846
+ patch?: never;
24847
+ trace?: never;
24848
+ };
24849
+ "/internal/updateorganisationoutput": {
24850
+ parameters: {
24851
+ query?: never;
24852
+ header?: never;
24853
+ path?: never;
24854
+ cookie?: never;
24855
+ };
24856
+ /**
24857
+ * Get UpdateOrganisationOutput (schema generation only)
24858
+ * @description Internal endpoint used only to ensure UpdateOrganisationOutput schema is generated in OpenAPI spec
24859
+ */
24860
+ get: {
24861
+ parameters: {
24862
+ query?: never;
24863
+ header?: never;
24864
+ path?: never;
24865
+ cookie?: never;
24866
+ };
24867
+ requestBody?: never;
24868
+ responses: {
24869
+ /** @description OK */
24870
+ 200: {
24871
+ headers: {
24872
+ [name: string]: unknown;
24873
+ };
24874
+ content: {
24875
+ "application/json": components["schemas"]["models.UpdateOrganisationOutput"];
24876
+ };
24877
+ };
24878
+ };
24879
+ };
24880
+ put?: never;
24881
+ post?: never;
24882
+ delete?: never;
24883
+ options?: never;
24884
+ head?: never;
24885
+ patch?: never;
24886
+ trace?: never;
24887
+ };
24888
+ "/internal/updateorganisationrequest": {
24889
+ parameters: {
24890
+ query?: never;
24891
+ header?: never;
24892
+ path?: never;
24893
+ cookie?: never;
24894
+ };
24895
+ /**
24896
+ * Get UpdateOrganisationRequest (schema generation only)
24897
+ * @description Internal endpoint used only to ensure UpdateOrganisationRequest schema is generated in OpenAPI spec
24898
+ */
24899
+ get: {
24900
+ parameters: {
24901
+ query?: never;
24902
+ header?: never;
24903
+ path?: never;
24904
+ cookie?: never;
24905
+ };
24906
+ requestBody?: never;
24907
+ responses: {
24908
+ /** @description OK */
24909
+ 200: {
24910
+ headers: {
24911
+ [name: string]: unknown;
24912
+ };
24913
+ content: {
24914
+ "application/json": components["schemas"]["api.UpdateOrganisationRequest"];
24915
+ };
24916
+ };
24917
+ };
24918
+ };
24919
+ put?: never;
24920
+ post?: never;
24921
+ delete?: never;
24922
+ options?: never;
24923
+ head?: never;
24924
+ patch?: never;
24925
+ trace?: never;
24926
+ };
24927
+ "/internal/updateorganisationresponse": {
24928
+ parameters: {
24929
+ query?: never;
24930
+ header?: never;
24931
+ path?: never;
24932
+ cookie?: never;
24933
+ };
24934
+ /**
24935
+ * Get UpdateOrganisationResponse (schema generation only)
24936
+ * @description Internal endpoint used only to ensure UpdateOrganisationResponse schema is generated in OpenAPI spec
24937
+ */
24938
+ get: {
24939
+ parameters: {
24940
+ query?: never;
24941
+ header?: never;
24942
+ path?: never;
24943
+ cookie?: never;
24944
+ };
24945
+ requestBody?: never;
24946
+ responses: {
24947
+ /** @description OK */
24948
+ 200: {
24949
+ headers: {
24950
+ [name: string]: unknown;
24951
+ };
24952
+ content: {
24953
+ "application/json": components["schemas"]["api.UpdateOrganisationResponse"];
24954
+ };
24955
+ };
24956
+ };
24957
+ };
24958
+ put?: never;
24959
+ post?: never;
24960
+ delete?: never;
24961
+ options?: never;
24962
+ head?: never;
24963
+ patch?: never;
24964
+ trace?: never;
24965
+ };
24966
+ "/internal/updateorganisationsuccessresponse": {
24967
+ parameters: {
24968
+ query?: never;
24969
+ header?: never;
24970
+ path?: never;
24971
+ cookie?: never;
24972
+ };
24973
+ /**
24974
+ * Get UpdateOrganisationSuccessResponse (schema generation only)
24975
+ * @description Internal endpoint used only to ensure UpdateOrganisationSuccessResponse schema is generated in OpenAPI spec
24976
+ */
24977
+ get: {
24978
+ parameters: {
24979
+ query?: never;
24980
+ header?: never;
24981
+ path?: never;
24982
+ cookie?: never;
24983
+ };
24984
+ requestBody?: never;
24985
+ responses: {
24986
+ /** @description OK */
24987
+ 200: {
24988
+ headers: {
24989
+ [name: string]: unknown;
24990
+ };
24991
+ content: {
24992
+ "application/json": components["schemas"]["api.UpdateOrganisationSuccessResponse"];
24993
+ };
24994
+ };
24995
+ };
24996
+ };
24997
+ put?: never;
24998
+ post?: never;
24999
+ delete?: never;
25000
+ options?: never;
25001
+ head?: never;
25002
+ patch?: never;
25003
+ trace?: never;
25004
+ };
24069
25005
  "/internal/updateuserprofileerrorresponse": {
24070
25006
  parameters: {
24071
25007
  query?: never;
@@ -25080,45 +26016,6 @@ export interface paths {
25080
26016
  patch?: never;
25081
26017
  trace?: never;
25082
26018
  };
25083
- "/internal/userorgpermissions": {
25084
- parameters: {
25085
- query?: never;
25086
- header?: never;
25087
- path?: never;
25088
- cookie?: never;
25089
- };
25090
- /**
25091
- * Get UserOrgPermissions (schema generation only)
25092
- * @description Internal endpoint used only to ensure UserOrgPermissions schema is generated in OpenAPI spec
25093
- */
25094
- get: {
25095
- parameters: {
25096
- query?: never;
25097
- header?: never;
25098
- path?: never;
25099
- cookie?: never;
25100
- };
25101
- requestBody?: never;
25102
- responses: {
25103
- /** @description OK */
25104
- 200: {
25105
- headers: {
25106
- [name: string]: unknown;
25107
- };
25108
- content: {
25109
- "application/json": components["schemas"]["models.UserOrgPermissions"];
25110
- };
25111
- };
25112
- };
25113
- };
25114
- put?: never;
25115
- post?: never;
25116
- delete?: never;
25117
- options?: never;
25118
- head?: never;
25119
- patch?: never;
25120
- trace?: never;
25121
- };
25122
26019
  "/internal/userprofile": {
25123
26020
  parameters: {
25124
26021
  query?: never;
@@ -26750,6 +27647,37 @@ export interface components {
26750
27647
  /** @description Additional metadata about the response, such as timestamps and request IDs */
26751
27648
  metadata?: components["schemas"]["api.Metadata"];
26752
27649
  };
27650
+ "api.CreateOrganisationErrorResponse": {
27651
+ /** @description Application-specific error code */
27652
+ applicationStatusCode?: string;
27653
+ /** @description Entity-specific error code */
27654
+ entityStatusCode?: string;
27655
+ /** @description HTTP status code for the error */
27656
+ httpStatusCode?: number;
27657
+ /** @description Error message describing the issue */
27658
+ message?: string;
27659
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
27660
+ metadata?: components["schemas"]["api.Metadata"];
27661
+ };
27662
+ "api.CreateOrganisationRequest": {
27663
+ organisation?: components["schemas"]["models.Organisation"];
27664
+ };
27665
+ "api.CreateOrganisationResponse": {
27666
+ organisation?: components["schemas"]["models.Organisation"];
27667
+ };
27668
+ "api.CreateOrganisationSuccessResponse": {
27669
+ /** @description Application-specific status code */
27670
+ applicationStatusCode?: string;
27671
+ data?: components["schemas"]["api.CreateOrganisationResponse"];
27672
+ /** @description Entity-specific status code */
27673
+ entityStatusCode?: string;
27674
+ /** @description HTTP status code for the response */
27675
+ httpStatusCode?: number;
27676
+ /** @description Success message describing the operation */
27677
+ message?: string;
27678
+ /** @description Additional metadata about the response, such as timestamps and request IDs */
27679
+ metadata?: components["schemas"]["api.Metadata"];
27680
+ };
26753
27681
  "api.CreateVideowallErrorResponse": {
26754
27682
  /** @description Application-specific error code */
26755
27683
  applicationStatusCode?: string;
@@ -28183,6 +29111,62 @@ export interface components {
28183
29111
  /** @description Additional metadata about the response, such as timestamps and request IDs */
28184
29112
  metadata?: components["schemas"]["api.Metadata"];
28185
29113
  };
29114
+ "api.GetOrganisationErrorResponse": {
29115
+ /** @description Application-specific error code */
29116
+ applicationStatusCode?: string;
29117
+ /** @description Entity-specific error code */
29118
+ entityStatusCode?: string;
29119
+ /** @description HTTP status code for the error */
29120
+ httpStatusCode?: number;
29121
+ /** @description Error message describing the issue */
29122
+ message?: string;
29123
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
29124
+ metadata?: components["schemas"]["api.Metadata"];
29125
+ };
29126
+ "api.GetOrganisationResponse": {
29127
+ organisation?: components["schemas"]["models.Organisation"];
29128
+ };
29129
+ "api.GetOrganisationSuccessResponse": {
29130
+ /** @description Application-specific status code */
29131
+ applicationStatusCode?: string;
29132
+ data?: components["schemas"]["api.GetOrganisationResponse"];
29133
+ /** @description Entity-specific status code */
29134
+ entityStatusCode?: string;
29135
+ /** @description HTTP status code for the response */
29136
+ httpStatusCode?: number;
29137
+ /** @description Success message describing the operation */
29138
+ message?: string;
29139
+ /** @description Additional metadata about the response, such as timestamps and request IDs */
29140
+ metadata?: components["schemas"]["api.Metadata"];
29141
+ };
29142
+ "api.GetOrganisationsErrorResponse": {
29143
+ /** @description Application-specific error code */
29144
+ applicationStatusCode?: string;
29145
+ /** @description Entity-specific error code */
29146
+ entityStatusCode?: string;
29147
+ /** @description HTTP status code for the error */
29148
+ httpStatusCode?: number;
29149
+ /** @description Error message describing the issue */
29150
+ message?: string;
29151
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
29152
+ metadata?: components["schemas"]["api.Metadata"];
29153
+ };
29154
+ "api.GetOrganisationsResponse": {
29155
+ organisations?: components["schemas"]["models.Organisation"][];
29156
+ };
29157
+ "api.GetOrganisationsSuccessResponse": {
29158
+ /** @description Application-specific status code */
29159
+ applicationStatusCode?: string;
29160
+ data?: components["schemas"]["api.GetOrganisationsResponse"];
29161
+ /** @description Entity-specific status code */
29162
+ entityStatusCode?: string;
29163
+ /** @description HTTP status code for the response */
29164
+ httpStatusCode?: number;
29165
+ /** @description Success message describing the operation */
29166
+ message?: string;
29167
+ /** @description Additional metadata about the response, such as timestamps and request IDs */
29168
+ metadata?: components["schemas"]["api.Metadata"];
29169
+ };
28186
29170
  "api.GetRuntimeConfigErrorResponse": {
28187
29171
  /** @description Application-specific error code */
28188
29172
  applicationStatusCode?: string;
@@ -29790,6 +30774,37 @@ export interface components {
29790
30774
  /** @description Additional metadata about the response, such as timestamps and request IDs */
29791
30775
  metadata?: components["schemas"]["api.Metadata"];
29792
30776
  };
30777
+ "api.UpdateOrganisationErrorResponse": {
30778
+ /** @description Application-specific error code */
30779
+ applicationStatusCode?: string;
30780
+ /** @description Entity-specific error code */
30781
+ entityStatusCode?: string;
30782
+ /** @description HTTP status code for the error */
30783
+ httpStatusCode?: number;
30784
+ /** @description Error message describing the issue */
30785
+ message?: string;
30786
+ /** @description Additional metadata about the error, such as timestamps and request IDs */
30787
+ metadata?: components["schemas"]["api.Metadata"];
30788
+ };
30789
+ "api.UpdateOrganisationRequest": {
30790
+ organisation?: components["schemas"]["models.Organisation"];
30791
+ };
30792
+ "api.UpdateOrganisationResponse": {
30793
+ organisation?: components["schemas"]["models.Organisation"];
30794
+ };
30795
+ "api.UpdateOrganisationSuccessResponse": {
30796
+ /** @description Application-specific status code */
30797
+ applicationStatusCode?: string;
30798
+ data?: components["schemas"]["api.UpdateOrganisationResponse"];
30799
+ /** @description Entity-specific status code */
30800
+ entityStatusCode?: string;
30801
+ /** @description HTTP status code for the response */
30802
+ httpStatusCode?: number;
30803
+ /** @description Success message describing the operation */
30804
+ message?: string;
30805
+ /** @description Additional metadata about the response, such as timestamps and request IDs */
30806
+ metadata?: components["schemas"]["api.Metadata"];
30807
+ };
29793
30808
  "api.UpdateUserProfileErrorResponse": {
29794
30809
  /** @description Application-specific error code */
29795
30810
  applicationStatusCode?: string;
@@ -30058,14 +31073,14 @@ export interface components {
30058
31073
  /** @description ISO country code */
30059
31074
  country?: string;
30060
31075
  /** @description Full country name */
30061
- country_name?: string;
30062
- postal_code?: string;
31076
+ countryName?: string;
31077
+ postalCode?: string;
30063
31078
  /** @description State/Province/Region */
30064
31079
  region?: string;
30065
31080
  street?: string;
30066
- street_number?: string;
30067
31081
  /** @description Additional address line */
30068
31082
  street2?: string;
31083
+ streetNumber?: string;
30069
31084
  };
30070
31085
  "models.AlertFeatures": {
30071
31086
  createMarker?: boolean;
@@ -30232,18 +31247,56 @@ export interface components {
30232
31247
  totalRegions?: number;
30233
31248
  };
30234
31249
  "models.Audit": {
30235
- create?: components["schemas"]["models.AuditCreate"];
30236
- /** @description UpdateHistory is a chronological list of updates, ordered by UpdatedAt. */
30237
- updateHistory?: components["schemas"]["models.AuditUpdate"][];
30238
- };
30239
- "models.AuditCreate": {
30240
- createdAt?: number;
31250
+ createdAt?: string;
30241
31251
  createdBy?: string;
30242
- };
30243
- "models.AuditUpdate": {
30244
- updatedAt?: number;
31252
+ /**
31253
+ * @description LastAction is a short semantic label describing the most recent change
31254
+ * (e.g. "role.assigned", "member.suspended", "device.renamed"). For the
31255
+ * complete history, query AuditEvent by TargetType/TargetId.
31256
+ */
31257
+ lastAction?: string;
31258
+ updatedAt?: string;
30245
31259
  updatedBy?: string;
30246
31260
  };
31261
+ "models.AuditEvent": {
31262
+ /**
31263
+ * @description Action is a short semantic label, e.g. "case.commented", "device.renamed",
31264
+ * "member.suspended".
31265
+ */
31266
+ action?: string;
31267
+ /**
31268
+ * @description ActorId is the user who performed the action; ActorName is denormalised so
31269
+ * history can be rendered without a lookup.
31270
+ */
31271
+ actorId?: string;
31272
+ actorName?: string;
31273
+ /** @description Changes optionally captures the field-level diff for this event. */
31274
+ changes?: components["schemas"]["models.AuditFieldChange"][];
31275
+ id?: string;
31276
+ /** @description Metadata holds contextual key/value pairs (ip, userAgent, requestId, ...). */
31277
+ metadata?: {
31278
+ [key: string]: string;
31279
+ };
31280
+ /** @description OrganisationId scopes the event to a tenant for org-wide audit queries. */
31281
+ organisationId?: string;
31282
+ targetId?: string;
31283
+ /**
31284
+ * @description TargetType and TargetId identify the entity the action was performed on
31285
+ * (e.g. TargetType "case" with the case id). Query these to render an
31286
+ * entity's audit history. TargetId is a string so it can hold either an
31287
+ * ObjectID hex or a non-ObjectID key (such as a media key).
31288
+ */
31289
+ targetType?: string;
31290
+ /** @description Timestamp is when the action occurred. */
31291
+ timestamp?: string;
31292
+ };
31293
+ "models.AuditFieldChange": {
31294
+ field?: string;
31295
+ newValue?: string;
31296
+ oldValue?: string;
31297
+ };
31298
+ /** @enum {string} */
31299
+ "models.BaseRole": "guest" | "editor" | "admin" | "owner" | "application";
30247
31300
  "models.CameraMetadata": {
30248
31301
  /** @description Bitrate in kbps */
30249
31302
  bitrate?: number;
@@ -30685,19 +31738,19 @@ export interface components {
30685
31738
  /** @description Industry/sector */
30686
31739
  industry?: string;
30687
31740
  /** @description Official registered company name */
30688
- legal_name?: string;
31741
+ legalName?: string;
30689
31742
  /** @description Company logo URL */
30690
31743
  logo?: string;
30691
31744
  /** @description Main company phone */
30692
31745
  phone?: string;
30693
31746
  /** @description Company registration number */
30694
- registration_number?: string;
31747
+ registrationNumber?: string;
30695
31748
  /** @description Alternative tax identifier */
30696
- tax_id?: string;
31749
+ taxId?: string;
30697
31750
  /** @description Trading/DBA name if different */
30698
- trading_name?: string;
31751
+ tradingName?: string;
30699
31752
  /** @description VAT/Tax ID number */
30700
- vat_number?: string;
31753
+ vatNumber?: string;
30701
31754
  /** @description Company website */
30702
31755
  website?: string;
30703
31756
  };
@@ -30755,6 +31808,13 @@ export interface components {
30755
31808
  "models.CreateCaseShareOutput": {
30756
31809
  share?: components["schemas"]["models.CaseShare"];
30757
31810
  };
31811
+ "models.CreateOrganisationInput": {
31812
+ organisation?: components["schemas"]["models.Organisation"];
31813
+ user?: components["schemas"]["models.User"];
31814
+ };
31815
+ "models.CreateOrganisationOutput": {
31816
+ organisation?: components["schemas"]["models.Organisation"];
31817
+ };
30758
31818
  "models.CreateVideowallInput": {
30759
31819
  user?: components["schemas"]["models.User"];
30760
31820
  videowall?: components["schemas"]["models.Videowall"];
@@ -31283,7 +32343,7 @@ export interface components {
31283
32343
  /** @description 0=none, 1=read, 2=write, 3=admin */
31284
32344
  devices?: components["schemas"]["models.AccessLevel"];
31285
32345
  /** @description 0=none, 1=read, 2=write, 3=admin */
31286
- download_recordings?: components["schemas"]["models.AccessLevel"];
32346
+ downloadRecordings?: components["schemas"]["models.AccessLevel"];
31287
32347
  /** @description 0=none, 1=read, 2=write, 3=admin */
31288
32348
  export?: components["schemas"]["models.AccessLevel"];
31289
32349
  /** @description 0=none, 1=read, 2=write, 3=admin */
@@ -31301,7 +32361,7 @@ export interface components {
31301
32361
  /** @description 0=none, 1=read, 2=write, 3=admin */
31302
32362
  ptz?: components["schemas"]["models.AccessLevel"];
31303
32363
  /** @description 0=none, 1=read, 2=write, 3=admin */
31304
- remote_config?: components["schemas"]["models.AccessLevel"];
32364
+ remoteConfig?: components["schemas"]["models.AccessLevel"];
31305
32365
  /** @description 0=none, 1=read, 2=write, 3=admin */
31306
32366
  roles?: components["schemas"]["models.AccessLevel"];
31307
32367
  /** @description 0=none, 1=read, 2=write, 3=admin */
@@ -31366,6 +32426,25 @@ export interface components {
31366
32426
  "models.GetCaseSharesForTaskOutput": {
31367
32427
  shares?: components["schemas"]["models.CaseShare"][];
31368
32428
  };
32429
+ "models.GetCurrentOrganisationInput": {
32430
+ user?: components["schemas"]["models.User"];
32431
+ };
32432
+ "models.GetCurrentOrganisationOutput": {
32433
+ organisation?: components["schemas"]["models.Organisation"];
32434
+ };
32435
+ "models.GetOrganisationInput": {
32436
+ organisationId?: string;
32437
+ user?: components["schemas"]["models.User"];
32438
+ };
32439
+ "models.GetOrganisationOutput": {
32440
+ organisation?: components["schemas"]["models.Organisation"];
32441
+ };
32442
+ "models.GetOrganisationsInput": {
32443
+ user?: components["schemas"]["models.User"];
32444
+ };
32445
+ "models.GetOrganisationsOutput": {
32446
+ organisations?: components["schemas"]["models.Organisation"][];
32447
+ };
31369
32448
  "models.GetVideowallInput": {
31370
32449
  user?: components["schemas"]["models.User"];
31371
32450
  videowall_id?: string;
@@ -31528,6 +32607,8 @@ export interface components {
31528
32607
  token?: string;
31529
32608
  valid?: boolean;
31530
32609
  };
32610
+ /** @enum {string} */
32611
+ "models.InvitationStatus": "pending" | "accepted" | "expired" | "revoked";
31531
32612
  "models.KeyPair": {
31532
32613
  amazon_access_key_id?: string;
31533
32614
  amazon_secret_access_key?: string;
@@ -32028,6 +33109,8 @@ export interface components {
32028
33109
  type?: string;
32029
33110
  vault?: boolean;
32030
33111
  };
33112
+ /** @enum {string} */
33113
+ "models.MembershipStatus": "pending" | "active" | "suspended" | "revoked";
32031
33114
  "models.Message": {
32032
33115
  alert_id?: string;
32033
33116
  alert_master_user?: string;
@@ -32133,80 +33216,103 @@ export interface components {
32133
33216
  };
32134
33217
  "models.Organisation": {
32135
33218
  audit?: components["schemas"]["models.Audit"];
32136
- billing_address?: components["schemas"]["models.Address"];
33219
+ billingAddress?: components["schemas"]["models.Address"];
32137
33220
  /** @description Company Details */
32138
33221
  company?: components["schemas"]["models.CompanyDetails"];
32139
33222
  description?: string;
32140
33223
  domain?: string;
32141
33224
  id?: string;
32142
- is_active?: number;
33225
+ isActive?: boolean;
32143
33226
  name?: string;
32144
33227
  /** @description The user who owns this organisation */
32145
- owner_id?: string;
33228
+ ownerId?: string;
32146
33229
  settings?: components["schemas"]["models.OrganisationSettings"];
33230
+ /**
33231
+ * @description Slug is a stable, URL-friendly handle for the organisation (e.g. "acme-corp").
33232
+ * It is unique and decoupled from the display Name so it can be used in URLs
33233
+ * and references without breaking when the name changes.
33234
+ */
33235
+ slug?: string;
32147
33236
  /** @description Billing & Subscription */
32148
33237
  subscription?: components["schemas"]["models.Subscription"];
32149
33238
  };
32150
33239
  "models.OrganisationInvitation": {
32151
33240
  audit?: components["schemas"]["models.Audit"];
32152
33241
  email?: string;
32153
- expires_at?: string;
33242
+ expiresAt?: string;
32154
33243
  id?: string;
32155
- invited_by?: string;
32156
- organisation_id?: string;
33244
+ invitedBy?: string;
33245
+ organisationId?: string;
32157
33246
  /** @description Roles to assign upon acceptance */
32158
- role_ids?: string[];
32159
- /** @description "pending", "accepted", "expired", "revoked" */
32160
- status?: string;
33247
+ roleIds?: string[];
33248
+ /**
33249
+ * @description Scope is the granular scope applied to every role in RoleIds when the
33250
+ * invitation is accepted, i.e. it seeds the Scope of each resulting
33251
+ * RoleAssignment. Following the RoleAssignmentScope convention, a zero value
33252
+ * grants the roles organisation-wide; populate a dimension to restrict the
33253
+ * resulting assignments to specific resources (see RoleAssignmentScope).
33254
+ */
33255
+ scope?: components["schemas"]["models.RoleAssignmentScope"];
33256
+ status?: components["schemas"]["models.InvitationStatus"];
32161
33257
  token?: string;
32162
33258
  };
32163
33259
  "models.OrganisationMember": {
32164
33260
  membership?: components["schemas"]["models.OrganisationUser"];
32165
- organisation_id?: string;
33261
+ organisationId?: string;
32166
33262
  /** @description Member's role assignments */
32167
- role_assignments?: components["schemas"]["models.RoleAssignment"][];
33263
+ roleAssignments?: components["schemas"]["models.RoleAssignment"][];
32168
33264
  /** @description Populated role details */
32169
33265
  roles?: components["schemas"]["models.Role"][];
32170
33266
  user?: components["schemas"]["models.User"];
32171
33267
  };
32172
33268
  "models.OrganisationSettings": {
32173
- allow_invitations?: boolean;
33269
+ allowInvitations?: boolean;
32174
33270
  /** @description Email domains allowed for membership */
32175
- allowed_domains?: string[];
33271
+ allowedDomains?: string[];
33272
+ /** @description ISO 4217 currency code, e.g. "EUR" */
33273
+ currency?: string;
32176
33274
  /** @description Default role for new members */
32177
- default_role_id?: string;
33275
+ defaultRoleId?: string;
32178
33276
  /** @description Contacts for different purposes */
32179
- financial_contact?: components["schemas"]["models.Contact"];
32180
- force_mfa?: boolean;
32181
- max_members?: number;
33277
+ financialContact?: components["schemas"]["models.Contact"];
33278
+ forceMFA?: boolean;
33279
+ /** @description BCP-47 locale tag, e.g. "en-US" */
33280
+ locale?: string;
33281
+ maxMembers?: number;
32182
33282
  /** @description Main point of contact */
32183
- primary_contact?: components["schemas"]["models.Contact"];
33283
+ primaryContact?: components["schemas"]["models.Contact"];
32184
33284
  /** @description Technical/support contact */
32185
- technical_contact?: components["schemas"]["models.Contact"];
33285
+ technicalContact?: components["schemas"]["models.Contact"];
33286
+ /**
33287
+ * @description Regional defaults applied across the organisation for display, scheduling
33288
+ * and billing.
33289
+ */
33290
+ timezone?: string;
32186
33291
  };
32187
33292
  "models.OrganisationUser": {
32188
33293
  audit?: components["schemas"]["models.Audit"];
32189
- /** @description Optional expiration for temporary access */
32190
- expires_at?: string;
33294
+ /**
33295
+ * @description ExpiresAt optionally bounds the membership in time. It is an overlay on
33296
+ * Status: a membership is only effectively active when Status is
33297
+ * MembershipStatusActive AND ExpiresAt is unset or in the future.
33298
+ */
33299
+ expiresAt?: string;
32191
33300
  id?: string;
32192
- invited_at?: string;
32193
- invited_by?: string;
32194
- joined_at?: string;
32195
- organisation_id?: string;
32196
- /** @description Additional permissions specific to this membership */
32197
- permissions?: components["schemas"]["models.UserOrgPermissions"];
32198
- /** @description "pending", "active", "suspended", "revoked" */
32199
- status?: string;
32200
- user_id?: string;
33301
+ invitedAt?: string;
33302
+ invitedBy?: string;
33303
+ joinedAt?: string;
33304
+ organisationId?: string;
33305
+ status?: components["schemas"]["models.MembershipStatus"];
33306
+ userId?: string;
32201
33307
  };
32202
33308
  "models.OrganisationUserDetails": {
32203
33309
  membership?: components["schemas"]["models.OrganisationUser"];
32204
33310
  organisation?: components["schemas"]["models.Organisation"];
32205
33311
  /** @description User's role assignments in this organisation */
32206
- role_assignments?: components["schemas"]["models.RoleAssignment"][];
33312
+ roleAssignments?: components["schemas"]["models.RoleAssignment"][];
32207
33313
  /** @description Populated role details */
32208
33314
  roles?: components["schemas"]["models.Role"][];
32209
- user_id?: string;
33315
+ userId?: string;
32210
33316
  };
32211
33317
  "models.PatchVideowallInput": {
32212
33318
  updates?: {
@@ -32350,38 +33456,56 @@ export interface components {
32350
33456
  description?: string;
32351
33457
  featurePermissions?: components["schemas"]["models.FeaturePermissions"];
32352
33458
  id?: string;
32353
- isActive?: number;
33459
+ isActive?: boolean;
32354
33460
  /** @description Organisation this role belongs to */
32355
- organisation_id?: string;
33461
+ organisationId?: string;
33462
+ /**
33463
+ * @description Pages and FeaturePermissions are two orthogonal authorization axes:
33464
+ * - Pages controls which UI/nav pages are visible (coarse allow-list).
33465
+ * - FeaturePermissions controls the CRUD AccessLevel per feature.
33466
+ * Some names appear in both (e.g. sites/groups/roles/settings); that overlap
33467
+ * is intentional - visibility and capability are decided independently, and
33468
+ * the consuming service resolves them together (page hidden => not shown;
33469
+ * feature level => what may be done once on the page).
33470
+ */
32356
33471
  pages?: string[];
32357
- role?: string;
33472
+ /**
33473
+ * @description ParentRole is the built-in BaseRole tier this custom role extends. It is a
33474
+ * live tier identifier (NOT an ObjectID reference to another Role document):
33475
+ * it sets the effective tier/RoleLevel for coarse gating and bounds which
33476
+ * pages the role may grant. See BaseRole.
33477
+ */
33478
+ role?: components["schemas"]["models.BaseRole"];
32358
33479
  roleName?: string;
32359
33480
  timeWindow?: components["schemas"]["models.TimeWindow"];
32360
- timeWindowActive?: number;
33481
+ timeWindowActive?: boolean;
32361
33482
  };
32362
33483
  "models.RoleAssignment": {
32363
33484
  audit?: components["schemas"]["models.Audit"];
32364
- /** @description Optional expiration for temporary assignments */
32365
- expires_at?: string;
33485
+ /**
33486
+ * @description ExpiresAt optionally bounds the assignment in time. It is an overlay on
33487
+ * IsActive: an assignment is only effectively active when IsActive is true
33488
+ * AND ExpiresAt is unset or in the future. Use IsEffectivelyActive().
33489
+ */
33490
+ expiresAt?: string;
32366
33491
  id?: string;
32367
- is_active?: number;
33492
+ /** @description Administrative enable/disable switch (independent of expiry) */
33493
+ isActive?: boolean;
32368
33494
  /** @description Organisation context for this assignment */
32369
- organisation_id?: string;
33495
+ organisationId?: string;
32370
33496
  /** @description Reference to the organisation-specific Role */
32371
- role_id?: string;
33497
+ roleId?: string;
32372
33498
  /** @description Optional granular scope within organisation */
32373
- scope?: components["schemas"]["models.RoleScope"];
32374
- user_id?: string;
33499
+ scope?: components["schemas"]["models.RoleAssignmentScope"];
33500
+ userId?: string;
32375
33501
  };
32376
- "models.RoleScope": {
32377
- /** @description Devices where the role applies */
32378
- device_ids?: string[];
32379
- /** @description Groups where the role applies */
32380
- group_ids?: string[];
32381
- /** @description Sites where the role applies */
32382
- site_ids?: string[];
32383
- /** @description e.g., "global", "site", "group", "device" */
32384
- type?: string;
33502
+ "models.RoleAssignmentScope": {
33503
+ /** @description Restrict to these devices (empty = all devices) */
33504
+ deviceIds?: string[];
33505
+ /** @description Restrict to these groups (empty = all groups) */
33506
+ groupIds?: string[];
33507
+ /** @description Restrict to these sites (empty = all sites) */
33508
+ siteIds?: string[];
32385
33509
  };
32386
33510
  "models.RuntimeConfig": {
32387
33511
  mqttPassword?: string;
@@ -32961,6 +34085,14 @@ export interface components {
32961
34085
  token?: string;
32962
34086
  };
32963
34087
  "models.UpdateCaseShareOTPOutput": Record<string, never>;
34088
+ "models.UpdateOrganisationInput": {
34089
+ organisation?: components["schemas"]["models.Organisation"];
34090
+ organisationId?: string;
34091
+ user?: components["schemas"]["models.User"];
34092
+ };
34093
+ "models.UpdateOrganisationOutput": {
34094
+ organisation?: components["schemas"]["models.Organisation"];
34095
+ };
32964
34096
  "models.UpdateVideowallInput": {
32965
34097
  user?: components["schemas"]["models.User"];
32966
34098
  videowall?: components["schemas"]["models.Videowall"];
@@ -32991,7 +34123,7 @@ export interface components {
32991
34123
  amazon_access_key_id?: string;
32992
34124
  amazon_secret_access_key?: string;
32993
34125
  archive_storage?: components["schemas"]["models.Storage"];
32994
- audit?: components["schemas"]["models.Audit"][];
34126
+ audit?: components["schemas"]["models.Audit"];
32995
34127
  bucket?: string;
32996
34128
  camera_brands?: components["schemas"]["models.Settings"];
32997
34129
  cameras?: string[];
@@ -33074,19 +34206,6 @@ export interface components {
33074
34206
  user_id?: string;
33075
34207
  username?: string;
33076
34208
  };
33077
- "models.UserOrgPermissions": {
33078
- can_invite_users?: boolean;
33079
- can_manage_devices?: boolean;
33080
- can_manage_groups?: boolean;
33081
- can_manage_roles?: boolean;
33082
- can_manage_sites?: boolean;
33083
- /** @description Specific devices user has access to */
33084
- device_ids?: string[];
33085
- /** @description Specific groups user has access to */
33086
- group_ids?: string[];
33087
- /** @description Specific sites user has access to */
33088
- site_ids?: string[];
33089
- };
33090
34209
  "models.UserProfile": {
33091
34210
  card?: components["schemas"]["models.Card"];
33092
34211
  user?: components["schemas"]["models.User"];
@@ -33118,7 +34237,7 @@ export interface components {
33118
34237
  assignments?: components["schemas"]["models.RoleAssignment"][];
33119
34238
  /** @description Populated role details */
33120
34239
  roles?: components["schemas"]["models.Role"][];
33121
- user_id?: string;
34240
+ userId?: string;
33122
34241
  };
33123
34242
  "models.UserSettings": {
33124
34243
  hls_callback_url?: string;
@@ -33727,8 +34846,8 @@ export declare namespace models {
33727
34846
  type AnalyticsLists = components['schemas']['models.AnalyticsLists'];
33728
34847
  type AnalyticsSummary = components['schemas']['models.AnalyticsSummary'];
33729
34848
  type Audit = components['schemas']['models.Audit'];
33730
- type AuditCreate = components['schemas']['models.AuditCreate'];
33731
- type AuditUpdate = components['schemas']['models.AuditUpdate'];
34849
+ type AuditEvent = components['schemas']['models.AuditEvent'];
34850
+ type AuditFieldChange = components['schemas']['models.AuditFieldChange'];
33732
34851
  type CameraMetadata = components['schemas']['models.CameraMetadata'];
33733
34852
  type CameraPreset = components['schemas']['models.CameraPreset'];
33734
34853
  type CameraTour = components['schemas']['models.CameraTour'];
@@ -33758,6 +34877,8 @@ export declare namespace models {
33758
34877
  type CreateAlertOutput = components['schemas']['models.CreateAlertOutput'];
33759
34878
  type CreateCaseShareInput = components['schemas']['models.CreateCaseShareInput'];
33760
34879
  type CreateCaseShareOutput = components['schemas']['models.CreateCaseShareOutput'];
34880
+ type CreateOrganisationInput = components['schemas']['models.CreateOrganisationInput'];
34881
+ type CreateOrganisationOutput = components['schemas']['models.CreateOrganisationOutput'];
33761
34882
  type CreateVideowallInput = components['schemas']['models.CreateVideowallInput'];
33762
34883
  type CreateVideowallOutput = components['schemas']['models.CreateVideowallOutput'];
33763
34884
  type CreateWorkflowInput = components['schemas']['models.CreateWorkflowInput'];
@@ -33808,6 +34929,12 @@ export declare namespace models {
33808
34929
  type GetCaseShareByTokenOutput = components['schemas']['models.GetCaseShareByTokenOutput'];
33809
34930
  type GetCaseSharesForTaskInput = components['schemas']['models.GetCaseSharesForTaskInput'];
33810
34931
  type GetCaseSharesForTaskOutput = components['schemas']['models.GetCaseSharesForTaskOutput'];
34932
+ type GetCurrentOrganisationInput = components['schemas']['models.GetCurrentOrganisationInput'];
34933
+ type GetCurrentOrganisationOutput = components['schemas']['models.GetCurrentOrganisationOutput'];
34934
+ type GetOrganisationInput = components['schemas']['models.GetOrganisationInput'];
34935
+ type GetOrganisationOutput = components['schemas']['models.GetOrganisationOutput'];
34936
+ type GetOrganisationsInput = components['schemas']['models.GetOrganisationsInput'];
34937
+ type GetOrganisationsOutput = components['schemas']['models.GetOrganisationsOutput'];
33811
34938
  type GetVideowallInput = components['schemas']['models.GetVideowallInput'];
33812
34939
  type GetVideowallOutput = components['schemas']['models.GetVideowallOutput'];
33813
34940
  type GetVideowallsInput = components['schemas']['models.GetVideowallsInput'];
@@ -33891,7 +35018,7 @@ export declare namespace models {
33891
35018
  type RemoveAlertInput = components['schemas']['models.RemoveAlertInput'];
33892
35019
  type Role = components['schemas']['models.Role'];
33893
35020
  type RoleAssignment = components['schemas']['models.RoleAssignment'];
33894
- type RoleScope = components['schemas']['models.RoleScope'];
35021
+ type RoleAssignmentScope = components['schemas']['models.RoleAssignmentScope'];
33895
35022
  type RuntimeConfig = components['schemas']['models.RuntimeConfig'];
33896
35023
  type Sequence = components['schemas']['models.Sequence'];
33897
35024
  type SequenceStage = components['schemas']['models.SequenceStage'];
@@ -33931,6 +35058,8 @@ export declare namespace models {
33931
35058
  type UpdateAlertInput = components['schemas']['models.UpdateAlertInput'];
33932
35059
  type UpdateAlertOutput = components['schemas']['models.UpdateAlertOutput'];
33933
35060
  type UpdateCaseShareOTPInput = components['schemas']['models.UpdateCaseShareOTPInput'];
35061
+ type UpdateOrganisationInput = components['schemas']['models.UpdateOrganisationInput'];
35062
+ type UpdateOrganisationOutput = components['schemas']['models.UpdateOrganisationOutput'];
33934
35063
  type UpdateVideowallInput = components['schemas']['models.UpdateVideowallInput'];
33935
35064
  type UpdateVideowallOutput = components['schemas']['models.UpdateVideowallOutput'];
33936
35065
  type UpdateWorkflowInput = components['schemas']['models.UpdateWorkflowInput'];
@@ -33938,7 +35067,6 @@ export declare namespace models {
33938
35067
  type UpdateWorkflowStageInput = components['schemas']['models.UpdateWorkflowStageInput'];
33939
35068
  type UpdateWorkflowStageOutput = components['schemas']['models.UpdateWorkflowStageOutput'];
33940
35069
  type User = components['schemas']['models.User'];
33941
- type UserOrgPermissions = components['schemas']['models.UserOrgPermissions'];
33942
35070
  type UserProfile = components['schemas']['models.UserProfile'];
33943
35071
  type UserProfileSettings = components['schemas']['models.UserProfileSettings'];
33944
35072
  type UserRoleAssignments = components['schemas']['models.UserRoleAssignments'];
@@ -34002,6 +35130,10 @@ export declare namespace api {
34002
35130
  type CreateMediaEditRequest = components['schemas']['api.CreateMediaEditRequest'];
34003
35131
  type CreateMediaEditResponse = components['schemas']['api.CreateMediaEditResponse'];
34004
35132
  type CreateMediaEditSuccessResponse = components['schemas']['api.CreateMediaEditSuccessResponse'];
35133
+ type CreateOrganisationErrorResponse = components['schemas']['api.CreateOrganisationErrorResponse'];
35134
+ type CreateOrganisationRequest = components['schemas']['api.CreateOrganisationRequest'];
35135
+ type CreateOrganisationResponse = components['schemas']['api.CreateOrganisationResponse'];
35136
+ type CreateOrganisationSuccessResponse = components['schemas']['api.CreateOrganisationSuccessResponse'];
34005
35137
  type CreateVideowallErrorResponse = components['schemas']['api.CreateVideowallErrorResponse'];
34006
35138
  type CreateVideowallRequest = components['schemas']['api.CreateVideowallRequest'];
34007
35139
  type CreateVideowallResponse = components['schemas']['api.CreateVideowallResponse'];
@@ -34157,6 +35289,12 @@ export declare namespace api {
34157
35289
  type GetMediaRequest = components['schemas']['api.GetMediaRequest'];
34158
35290
  type GetMediaResponse = components['schemas']['api.GetMediaResponse'];
34159
35291
  type GetMediaSuccessResponse = components['schemas']['api.GetMediaSuccessResponse'];
35292
+ type GetOrganisationErrorResponse = components['schemas']['api.GetOrganisationErrorResponse'];
35293
+ type GetOrganisationResponse = components['schemas']['api.GetOrganisationResponse'];
35294
+ type GetOrganisationSuccessResponse = components['schemas']['api.GetOrganisationSuccessResponse'];
35295
+ type GetOrganisationsErrorResponse = components['schemas']['api.GetOrganisationsErrorResponse'];
35296
+ type GetOrganisationsResponse = components['schemas']['api.GetOrganisationsResponse'];
35297
+ type GetOrganisationsSuccessResponse = components['schemas']['api.GetOrganisationsSuccessResponse'];
34160
35298
  type GetRuntimeConfigErrorResponse = components['schemas']['api.GetRuntimeConfigErrorResponse'];
34161
35299
  type GetRuntimeConfigResponse = components['schemas']['api.GetRuntimeConfigResponse'];
34162
35300
  type GetRuntimeConfigSuccessResponse = components['schemas']['api.GetRuntimeConfigSuccessResponse'];
@@ -34329,6 +35467,10 @@ export declare namespace api {
34329
35467
  type UpdateMediaRequest = components['schemas']['api.UpdateMediaRequest'];
34330
35468
  type UpdateMediaResponse = components['schemas']['api.UpdateMediaResponse'];
34331
35469
  type UpdateMediaSuccessResponse = components['schemas']['api.UpdateMediaSuccessResponse'];
35470
+ type UpdateOrganisationErrorResponse = components['schemas']['api.UpdateOrganisationErrorResponse'];
35471
+ type UpdateOrganisationRequest = components['schemas']['api.UpdateOrganisationRequest'];
35472
+ type UpdateOrganisationResponse = components['schemas']['api.UpdateOrganisationResponse'];
35473
+ type UpdateOrganisationSuccessResponse = components['schemas']['api.UpdateOrganisationSuccessResponse'];
34332
35474
  type UpdateUserProfileErrorResponse = components['schemas']['api.UpdateUserProfileErrorResponse'];
34333
35475
  type UpdateUserProfileResponse = components['schemas']['api.UpdateUserProfileResponse'];
34334
35476
  type UpdateUserProfileSuccessResponse = components['schemas']['api.UpdateUserProfileSuccessResponse'];