@vrplatform/api 1.3.1-stage.4617 → 1.3.1-stage.4619

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.
@@ -1041,10 +1041,10 @@ export interface paths {
1041
1041
  path?: never;
1042
1042
  cookie?: never;
1043
1043
  };
1044
- /** @description List GL user-uploaded files for the current team. */
1044
+ /** @description List supported GL files for the current team. */
1045
1045
  get: operations["getFiles"];
1046
1046
  put?: never;
1047
- /** @description Upload a GL user file as multipart/form-data. Fields: file, optional filename, optional startDate, optional endDate, and optional contactId. The API derives team and user context from auth. */
1047
+ /** @description Upload a GL user file as multipart/form-data. Fields: file, optional filename, optional type (userUpload or ownerStatementExample), optional startDate, optional endDate, and optional contactId. Type defaults to userUpload. The API derives team and user context from auth. */
1048
1048
  post: operations["postFiles"];
1049
1049
  delete?: never;
1050
1050
  options?: never;
@@ -1077,7 +1077,7 @@ export interface paths {
1077
1077
  path?: never;
1078
1078
  cookie?: never;
1079
1079
  };
1080
- /** @description Download a GL user-uploaded file. */
1080
+ /** @description Download a supported GL file. */
1081
1081
  get: operations["getFilesByIdDownload"];
1082
1082
  put?: never;
1083
1083
  post?: never;
@@ -1628,6 +1628,42 @@ export interface paths {
1628
1628
  patch?: never;
1629
1629
  trace?: never;
1630
1630
  };
1631
+ "/internal/message-overwrites": {
1632
+ parameters: {
1633
+ query?: never;
1634
+ header?: never;
1635
+ path?: never;
1636
+ cookie?: never;
1637
+ };
1638
+ /** @description List global issue-message overwrites with case-insensitive search across patterns and replacement messages. VRP-admin only. */
1639
+ get: operations["getInternalMessageOverwrites"];
1640
+ put?: never;
1641
+ /** @description Create a global issue-message overwrite from a non-empty glob pattern and replacement message. VRP-admin only. */
1642
+ post: operations["postInternalMessageOverwrites"];
1643
+ delete?: never;
1644
+ options?: never;
1645
+ head?: never;
1646
+ patch?: never;
1647
+ trace?: never;
1648
+ };
1649
+ "/internal/message-overwrites/{id}": {
1650
+ parameters: {
1651
+ query?: never;
1652
+ header?: never;
1653
+ path?: never;
1654
+ cookie?: never;
1655
+ };
1656
+ get?: never;
1657
+ /** @description Replace the editable fields of a global issue-message overwrite. VRP-admin only. */
1658
+ put: operations["putInternalMessageOverwritesById"];
1659
+ post?: never;
1660
+ /** @description Delete a global issue-message overwrite. VRP-admin only. */
1661
+ delete: operations["deleteInternalMessageOverwritesById"];
1662
+ options?: never;
1663
+ head?: never;
1664
+ patch?: never;
1665
+ trace?: never;
1666
+ };
1631
1667
  "/internal/migrate-vri-to-vrt": {
1632
1668
  parameters: {
1633
1669
  query?: never;
@@ -20514,6 +20550,8 @@ export interface operations {
20514
20550
  query?: {
20515
20551
  /** @description Filter files by filename text match. */
20516
20552
  search?: string;
20553
+ /** @description Filter files by their upload purpose. */
20554
+ type?: "userUpload" | "ownerStatementExample";
20517
20555
  /** @description Field to sort files by. */
20518
20556
  sortBy?: "filename" | "startDate" | "endDate" | "createdAt" | "contactName";
20519
20557
  /** @description Sort direction. */
@@ -20539,8 +20577,8 @@ export interface operations {
20539
20577
  /** Format: uuid */
20540
20578
  id: string;
20541
20579
  filename: string;
20542
- /** @constant */
20543
- type: "userUpload";
20580
+ /** @enum {string} */
20581
+ type: "userUpload" | "ownerStatementExample";
20544
20582
  startDate: string | null;
20545
20583
  endDate: string | null;
20546
20584
  /**
@@ -20726,8 +20764,8 @@ export interface operations {
20726
20764
  /** Format: uuid */
20727
20765
  id: string;
20728
20766
  filename: string;
20729
- /** @constant */
20730
- type: "userUpload";
20767
+ /** @enum {string} */
20768
+ type: "userUpload" | "ownerStatementExample";
20731
20769
  startDate: string | null;
20732
20770
  endDate: string | null;
20733
20771
  /**
@@ -20914,8 +20952,8 @@ export interface operations {
20914
20952
  /** Format: uuid */
20915
20953
  id: string;
20916
20954
  filename: string;
20917
- /** @constant */
20918
- type: "userUpload";
20955
+ /** @enum {string} */
20956
+ type: "userUpload" | "ownerStatementExample";
20919
20957
  startDate: string | null;
20920
20958
  endDate: string | null;
20921
20959
  /**
@@ -29479,6 +29517,666 @@ export interface operations {
29479
29517
  };
29480
29518
  };
29481
29519
  };
29520
+ getInternalMessageOverwrites: {
29521
+ parameters: {
29522
+ query?: {
29523
+ search?: string;
29524
+ limit?: number;
29525
+ page?: number;
29526
+ offset?: number;
29527
+ };
29528
+ header?: never;
29529
+ path?: never;
29530
+ cookie?: never;
29531
+ };
29532
+ requestBody?: never;
29533
+ responses: {
29534
+ /** @description Successful response */
29535
+ 200: {
29536
+ headers: {
29537
+ [name: string]: unknown;
29538
+ };
29539
+ content: {
29540
+ "application/json": {
29541
+ data: {
29542
+ /** Format: uuid */
29543
+ id: string;
29544
+ pattern: string;
29545
+ message: string;
29546
+ }[];
29547
+ pagination: {
29548
+ /** @default 100 */
29549
+ limit: number;
29550
+ /** @default 1 */
29551
+ page: number;
29552
+ total: number;
29553
+ totalPage: number;
29554
+ nextPage?: number;
29555
+ };
29556
+ };
29557
+ };
29558
+ };
29559
+ /** @description Bad request */
29560
+ 400: {
29561
+ headers: {
29562
+ [name: string]: unknown;
29563
+ };
29564
+ content: {
29565
+ "application/json": {
29566
+ code: string;
29567
+ message: string;
29568
+ links?: {
29569
+ docs: string;
29570
+ schema: string;
29571
+ };
29572
+ issues?: {
29573
+ message: string;
29574
+ path?: (string | number)[];
29575
+ schema?: string;
29576
+ }[];
29577
+ context?: unknown;
29578
+ };
29579
+ };
29580
+ };
29581
+ /** @description Unauthorized */
29582
+ 401: {
29583
+ headers: {
29584
+ [name: string]: unknown;
29585
+ };
29586
+ content: {
29587
+ "application/json": {
29588
+ code: string;
29589
+ message: string;
29590
+ links?: {
29591
+ docs: string;
29592
+ schema: string;
29593
+ };
29594
+ issues?: {
29595
+ message: string;
29596
+ path?: (string | number)[];
29597
+ schema?: string;
29598
+ }[];
29599
+ context?: unknown;
29600
+ };
29601
+ };
29602
+ };
29603
+ /** @description Forbidden */
29604
+ 403: {
29605
+ headers: {
29606
+ [name: string]: unknown;
29607
+ };
29608
+ content: {
29609
+ "application/json": {
29610
+ code: string;
29611
+ message: string;
29612
+ links?: {
29613
+ docs: string;
29614
+ schema: string;
29615
+ };
29616
+ issues?: {
29617
+ message: string;
29618
+ path?: (string | number)[];
29619
+ schema?: string;
29620
+ }[];
29621
+ context?: unknown;
29622
+ };
29623
+ };
29624
+ };
29625
+ /** @description Not found */
29626
+ 404: {
29627
+ headers: {
29628
+ [name: string]: unknown;
29629
+ };
29630
+ content: {
29631
+ "application/json": {
29632
+ code: string;
29633
+ message: string;
29634
+ links?: {
29635
+ docs: string;
29636
+ schema: string;
29637
+ };
29638
+ issues?: {
29639
+ message: string;
29640
+ path?: (string | number)[];
29641
+ schema?: string;
29642
+ }[];
29643
+ context?: unknown;
29644
+ };
29645
+ };
29646
+ };
29647
+ /** @description Internal server error */
29648
+ 500: {
29649
+ headers: {
29650
+ [name: string]: unknown;
29651
+ };
29652
+ content: {
29653
+ "application/json": {
29654
+ code: string;
29655
+ message: string;
29656
+ links?: {
29657
+ docs: string;
29658
+ schema: string;
29659
+ };
29660
+ issues?: {
29661
+ message: string;
29662
+ path?: (string | number)[];
29663
+ schema?: string;
29664
+ }[];
29665
+ context?: unknown;
29666
+ };
29667
+ };
29668
+ };
29669
+ /** @description Service unavailable */
29670
+ 503: {
29671
+ headers: {
29672
+ [name: string]: unknown;
29673
+ };
29674
+ content: {
29675
+ "application/json": {
29676
+ code: string;
29677
+ message: string;
29678
+ links?: {
29679
+ docs: string;
29680
+ schema: string;
29681
+ };
29682
+ issues?: {
29683
+ message: string;
29684
+ path?: (string | number)[];
29685
+ schema?: string;
29686
+ }[];
29687
+ context?: unknown;
29688
+ };
29689
+ };
29690
+ };
29691
+ };
29692
+ };
29693
+ postInternalMessageOverwrites: {
29694
+ parameters: {
29695
+ query?: never;
29696
+ header?: never;
29697
+ path?: never;
29698
+ cookie?: never;
29699
+ };
29700
+ requestBody?: {
29701
+ content: {
29702
+ "application/json": {
29703
+ pattern: string;
29704
+ message: string;
29705
+ };
29706
+ };
29707
+ };
29708
+ responses: {
29709
+ /** @description Successful response */
29710
+ 200: {
29711
+ headers: {
29712
+ [name: string]: unknown;
29713
+ };
29714
+ content: {
29715
+ "application/json": {
29716
+ /** Format: uuid */
29717
+ id: string;
29718
+ pattern: string;
29719
+ message: string;
29720
+ };
29721
+ };
29722
+ };
29723
+ /** @description Bad request */
29724
+ 400: {
29725
+ headers: {
29726
+ [name: string]: unknown;
29727
+ };
29728
+ content: {
29729
+ "application/json": {
29730
+ code: string;
29731
+ message: string;
29732
+ links?: {
29733
+ docs: string;
29734
+ schema: string;
29735
+ };
29736
+ issues?: {
29737
+ message: string;
29738
+ path?: (string | number)[];
29739
+ schema?: string;
29740
+ }[];
29741
+ context?: unknown;
29742
+ };
29743
+ };
29744
+ };
29745
+ /** @description Unauthorized */
29746
+ 401: {
29747
+ headers: {
29748
+ [name: string]: unknown;
29749
+ };
29750
+ content: {
29751
+ "application/json": {
29752
+ code: string;
29753
+ message: string;
29754
+ links?: {
29755
+ docs: string;
29756
+ schema: string;
29757
+ };
29758
+ issues?: {
29759
+ message: string;
29760
+ path?: (string | number)[];
29761
+ schema?: string;
29762
+ }[];
29763
+ context?: unknown;
29764
+ };
29765
+ };
29766
+ };
29767
+ /** @description Forbidden */
29768
+ 403: {
29769
+ headers: {
29770
+ [name: string]: unknown;
29771
+ };
29772
+ content: {
29773
+ "application/json": {
29774
+ code: string;
29775
+ message: string;
29776
+ links?: {
29777
+ docs: string;
29778
+ schema: string;
29779
+ };
29780
+ issues?: {
29781
+ message: string;
29782
+ path?: (string | number)[];
29783
+ schema?: string;
29784
+ }[];
29785
+ context?: unknown;
29786
+ };
29787
+ };
29788
+ };
29789
+ /** @description Not found */
29790
+ 404: {
29791
+ headers: {
29792
+ [name: string]: unknown;
29793
+ };
29794
+ content: {
29795
+ "application/json": {
29796
+ code: string;
29797
+ message: string;
29798
+ links?: {
29799
+ docs: string;
29800
+ schema: string;
29801
+ };
29802
+ issues?: {
29803
+ message: string;
29804
+ path?: (string | number)[];
29805
+ schema?: string;
29806
+ }[];
29807
+ context?: unknown;
29808
+ };
29809
+ };
29810
+ };
29811
+ /** @description Internal server error */
29812
+ 500: {
29813
+ headers: {
29814
+ [name: string]: unknown;
29815
+ };
29816
+ content: {
29817
+ "application/json": {
29818
+ code: string;
29819
+ message: string;
29820
+ links?: {
29821
+ docs: string;
29822
+ schema: string;
29823
+ };
29824
+ issues?: {
29825
+ message: string;
29826
+ path?: (string | number)[];
29827
+ schema?: string;
29828
+ }[];
29829
+ context?: unknown;
29830
+ };
29831
+ };
29832
+ };
29833
+ /** @description Service unavailable */
29834
+ 503: {
29835
+ headers: {
29836
+ [name: string]: unknown;
29837
+ };
29838
+ content: {
29839
+ "application/json": {
29840
+ code: string;
29841
+ message: string;
29842
+ links?: {
29843
+ docs: string;
29844
+ schema: string;
29845
+ };
29846
+ issues?: {
29847
+ message: string;
29848
+ path?: (string | number)[];
29849
+ schema?: string;
29850
+ }[];
29851
+ context?: unknown;
29852
+ };
29853
+ };
29854
+ };
29855
+ };
29856
+ };
29857
+ putInternalMessageOverwritesById: {
29858
+ parameters: {
29859
+ query?: never;
29860
+ header?: never;
29861
+ path: {
29862
+ id: string;
29863
+ };
29864
+ cookie?: never;
29865
+ };
29866
+ requestBody?: {
29867
+ content: {
29868
+ "application/json": {
29869
+ pattern: string;
29870
+ message: string;
29871
+ };
29872
+ };
29873
+ };
29874
+ responses: {
29875
+ /** @description Successful response */
29876
+ 200: {
29877
+ headers: {
29878
+ [name: string]: unknown;
29879
+ };
29880
+ content: {
29881
+ "application/json": {
29882
+ /** Format: uuid */
29883
+ id: string;
29884
+ pattern: string;
29885
+ message: string;
29886
+ };
29887
+ };
29888
+ };
29889
+ /** @description Bad request */
29890
+ 400: {
29891
+ headers: {
29892
+ [name: string]: unknown;
29893
+ };
29894
+ content: {
29895
+ "application/json": {
29896
+ code: string;
29897
+ message: string;
29898
+ links?: {
29899
+ docs: string;
29900
+ schema: string;
29901
+ };
29902
+ issues?: {
29903
+ message: string;
29904
+ path?: (string | number)[];
29905
+ schema?: string;
29906
+ }[];
29907
+ context?: unknown;
29908
+ };
29909
+ };
29910
+ };
29911
+ /** @description Unauthorized */
29912
+ 401: {
29913
+ headers: {
29914
+ [name: string]: unknown;
29915
+ };
29916
+ content: {
29917
+ "application/json": {
29918
+ code: string;
29919
+ message: string;
29920
+ links?: {
29921
+ docs: string;
29922
+ schema: string;
29923
+ };
29924
+ issues?: {
29925
+ message: string;
29926
+ path?: (string | number)[];
29927
+ schema?: string;
29928
+ }[];
29929
+ context?: unknown;
29930
+ };
29931
+ };
29932
+ };
29933
+ /** @description Forbidden */
29934
+ 403: {
29935
+ headers: {
29936
+ [name: string]: unknown;
29937
+ };
29938
+ content: {
29939
+ "application/json": {
29940
+ code: string;
29941
+ message: string;
29942
+ links?: {
29943
+ docs: string;
29944
+ schema: string;
29945
+ };
29946
+ issues?: {
29947
+ message: string;
29948
+ path?: (string | number)[];
29949
+ schema?: string;
29950
+ }[];
29951
+ context?: unknown;
29952
+ };
29953
+ };
29954
+ };
29955
+ /** @description Not found */
29956
+ 404: {
29957
+ headers: {
29958
+ [name: string]: unknown;
29959
+ };
29960
+ content: {
29961
+ "application/json": {
29962
+ code: string;
29963
+ message: string;
29964
+ links?: {
29965
+ docs: string;
29966
+ schema: string;
29967
+ };
29968
+ issues?: {
29969
+ message: string;
29970
+ path?: (string | number)[];
29971
+ schema?: string;
29972
+ }[];
29973
+ context?: unknown;
29974
+ };
29975
+ };
29976
+ };
29977
+ /** @description Internal server error */
29978
+ 500: {
29979
+ headers: {
29980
+ [name: string]: unknown;
29981
+ };
29982
+ content: {
29983
+ "application/json": {
29984
+ code: string;
29985
+ message: string;
29986
+ links?: {
29987
+ docs: string;
29988
+ schema: string;
29989
+ };
29990
+ issues?: {
29991
+ message: string;
29992
+ path?: (string | number)[];
29993
+ schema?: string;
29994
+ }[];
29995
+ context?: unknown;
29996
+ };
29997
+ };
29998
+ };
29999
+ /** @description Service unavailable */
30000
+ 503: {
30001
+ headers: {
30002
+ [name: string]: unknown;
30003
+ };
30004
+ content: {
30005
+ "application/json": {
30006
+ code: string;
30007
+ message: string;
30008
+ links?: {
30009
+ docs: string;
30010
+ schema: string;
30011
+ };
30012
+ issues?: {
30013
+ message: string;
30014
+ path?: (string | number)[];
30015
+ schema?: string;
30016
+ }[];
30017
+ context?: unknown;
30018
+ };
30019
+ };
30020
+ };
30021
+ };
30022
+ };
30023
+ deleteInternalMessageOverwritesById: {
30024
+ parameters: {
30025
+ query?: never;
30026
+ header?: never;
30027
+ path: {
30028
+ id: string;
30029
+ };
30030
+ cookie?: never;
30031
+ };
30032
+ requestBody?: never;
30033
+ responses: {
30034
+ /** @description Successful response */
30035
+ 200: {
30036
+ headers: {
30037
+ [name: string]: unknown;
30038
+ };
30039
+ content: {
30040
+ "application/json": {
30041
+ /** @constant */
30042
+ status: "deleted";
30043
+ };
30044
+ };
30045
+ };
30046
+ /** @description Bad request */
30047
+ 400: {
30048
+ headers: {
30049
+ [name: string]: unknown;
30050
+ };
30051
+ content: {
30052
+ "application/json": {
30053
+ code: string;
30054
+ message: string;
30055
+ links?: {
30056
+ docs: string;
30057
+ schema: string;
30058
+ };
30059
+ issues?: {
30060
+ message: string;
30061
+ path?: (string | number)[];
30062
+ schema?: string;
30063
+ }[];
30064
+ context?: unknown;
30065
+ };
30066
+ };
30067
+ };
30068
+ /** @description Unauthorized */
30069
+ 401: {
30070
+ headers: {
30071
+ [name: string]: unknown;
30072
+ };
30073
+ content: {
30074
+ "application/json": {
30075
+ code: string;
30076
+ message: string;
30077
+ links?: {
30078
+ docs: string;
30079
+ schema: string;
30080
+ };
30081
+ issues?: {
30082
+ message: string;
30083
+ path?: (string | number)[];
30084
+ schema?: string;
30085
+ }[];
30086
+ context?: unknown;
30087
+ };
30088
+ };
30089
+ };
30090
+ /** @description Forbidden */
30091
+ 403: {
30092
+ headers: {
30093
+ [name: string]: unknown;
30094
+ };
30095
+ content: {
30096
+ "application/json": {
30097
+ code: string;
30098
+ message: string;
30099
+ links?: {
30100
+ docs: string;
30101
+ schema: string;
30102
+ };
30103
+ issues?: {
30104
+ message: string;
30105
+ path?: (string | number)[];
30106
+ schema?: string;
30107
+ }[];
30108
+ context?: unknown;
30109
+ };
30110
+ };
30111
+ };
30112
+ /** @description Not found */
30113
+ 404: {
30114
+ headers: {
30115
+ [name: string]: unknown;
30116
+ };
30117
+ content: {
30118
+ "application/json": {
30119
+ code: string;
30120
+ message: string;
30121
+ links?: {
30122
+ docs: string;
30123
+ schema: string;
30124
+ };
30125
+ issues?: {
30126
+ message: string;
30127
+ path?: (string | number)[];
30128
+ schema?: string;
30129
+ }[];
30130
+ context?: unknown;
30131
+ };
30132
+ };
30133
+ };
30134
+ /** @description Internal server error */
30135
+ 500: {
30136
+ headers: {
30137
+ [name: string]: unknown;
30138
+ };
30139
+ content: {
30140
+ "application/json": {
30141
+ code: string;
30142
+ message: string;
30143
+ links?: {
30144
+ docs: string;
30145
+ schema: string;
30146
+ };
30147
+ issues?: {
30148
+ message: string;
30149
+ path?: (string | number)[];
30150
+ schema?: string;
30151
+ }[];
30152
+ context?: unknown;
30153
+ };
30154
+ };
30155
+ };
30156
+ /** @description Service unavailable */
30157
+ 503: {
30158
+ headers: {
30159
+ [name: string]: unknown;
30160
+ };
30161
+ content: {
30162
+ "application/json": {
30163
+ code: string;
30164
+ message: string;
30165
+ links?: {
30166
+ docs: string;
30167
+ schema: string;
30168
+ };
30169
+ issues?: {
30170
+ message: string;
30171
+ path?: (string | number)[];
30172
+ schema?: string;
30173
+ }[];
30174
+ context?: unknown;
30175
+ };
30176
+ };
30177
+ };
30178
+ };
30179
+ };
29482
30180
  postInternalMigrateVriToVrt: {
29483
30181
  parameters: {
29484
30182
  query?: never;