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