@vrplatform/api 1.3.1-4502 → 1.3.1-4515

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-4502",
6
+ "version": "1.3.1-4515",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -26,7 +26,7 @@
26
26
  "license": "ISC",
27
27
  "dependencies": {
28
28
  "openapi-fetch": "0.15.0",
29
- "openapi-typescript": "^7.10.1",
29
+ "openapi-typescript": "^7.13.0",
30
30
  "openapi-typescript-helpers": "^0.0.15"
31
31
  },
32
32
  "peerDependencies": {
@@ -1560,7 +1560,7 @@ export interface paths {
1560
1560
  };
1561
1561
  get?: never;
1562
1562
  put?: never;
1563
- /** @description Create or update a platform user by email, optionally granting an initial team membership. Used by the identity provider signup hooks. */
1563
+ /** @description Create or update a platform user by email, optionally granting an initial team membership. Used by the identity provider signup hooks. A duplicate email belonging to another user is rejected as a user error. */
1564
1564
  post: operations["postInternalUsers"];
1565
1565
  delete?: never;
1566
1566
  options?: never;
@@ -1576,7 +1576,7 @@ export interface paths {
1576
1576
  cookie?: never;
1577
1577
  };
1578
1578
  get?: never;
1579
- /** @description Update a platform user by id. Used by the identity provider profile-update hooks. */
1579
+ /** @description Update a platform user by id. Used by the identity provider profile-update hooks. A duplicate email belonging to another user is rejected as a user error. */
1580
1580
  put: operations["putInternalUsersById"];
1581
1581
  post?: never;
1582
1582
  /** @description Delete a platform user and its team memberships/access rows. Used by identity provider and lifecycle cleanup flows. */
@@ -4195,6 +4195,23 @@ export interface paths {
4195
4195
  patch?: never;
4196
4196
  trace?: never;
4197
4197
  };
4198
+ "/transactions/{id}/pay": {
4199
+ parameters: {
4200
+ query?: never;
4201
+ header?: never;
4202
+ path?: never;
4203
+ cookie?: never;
4204
+ };
4205
+ get?: never;
4206
+ put?: never;
4207
+ /** @description Pay a vendor bill */
4208
+ post: operations["postTransactionsByIdPay"];
4209
+ delete?: never;
4210
+ options?: never;
4211
+ head?: never;
4212
+ patch?: never;
4213
+ trace?: never;
4214
+ };
4198
4215
  "/transactions/{transactionId}/lines/{id}": {
4199
4216
  parameters: {
4200
4217
  query?: never;
@@ -85796,6 +85813,179 @@ export interface operations {
85796
85813
  };
85797
85814
  };
85798
85815
  };
85816
+ postTransactionsByIdPay: {
85817
+ parameters: {
85818
+ query?: {
85819
+ /** @description Validate this request through the real write path, then roll back all changes. See https://docs.vrplatform.app/api/dry-run-mode. */
85820
+ dryRun?: boolean;
85821
+ };
85822
+ header?: never;
85823
+ path: {
85824
+ id: string;
85825
+ };
85826
+ cookie?: never;
85827
+ };
85828
+ requestBody?: {
85829
+ content: {
85830
+ "application/json": {
85831
+ ramp: boolean;
85832
+ date?: string | null;
85833
+ vendor?: {
85834
+ legalName?: string;
85835
+ accountNumber?: string;
85836
+ routingNumber?: string;
85837
+ };
85838
+ };
85839
+ };
85840
+ };
85841
+ responses: {
85842
+ /** @description Successful response */
85843
+ 200: {
85844
+ headers: {
85845
+ [name: string]: unknown;
85846
+ };
85847
+ content: {
85848
+ "application/json": {
85849
+ /** Format: uuid */
85850
+ id: string;
85851
+ paidStatus?: string | null;
85852
+ };
85853
+ };
85854
+ };
85855
+ /** @description Bad request */
85856
+ 400: {
85857
+ headers: {
85858
+ [name: string]: unknown;
85859
+ };
85860
+ content: {
85861
+ "application/json": {
85862
+ code: string;
85863
+ message: string;
85864
+ links?: {
85865
+ docs: string;
85866
+ schema: string;
85867
+ };
85868
+ issues?: {
85869
+ message: string;
85870
+ path?: (string | number)[];
85871
+ schema?: string;
85872
+ }[];
85873
+ context?: unknown;
85874
+ };
85875
+ };
85876
+ };
85877
+ /** @description Unauthorized */
85878
+ 401: {
85879
+ headers: {
85880
+ [name: string]: unknown;
85881
+ };
85882
+ content: {
85883
+ "application/json": {
85884
+ code: string;
85885
+ message: string;
85886
+ links?: {
85887
+ docs: string;
85888
+ schema: string;
85889
+ };
85890
+ issues?: {
85891
+ message: string;
85892
+ path?: (string | number)[];
85893
+ schema?: string;
85894
+ }[];
85895
+ context?: unknown;
85896
+ };
85897
+ };
85898
+ };
85899
+ /** @description Forbidden */
85900
+ 403: {
85901
+ headers: {
85902
+ [name: string]: unknown;
85903
+ };
85904
+ content: {
85905
+ "application/json": {
85906
+ code: string;
85907
+ message: string;
85908
+ links?: {
85909
+ docs: string;
85910
+ schema: string;
85911
+ };
85912
+ issues?: {
85913
+ message: string;
85914
+ path?: (string | number)[];
85915
+ schema?: string;
85916
+ }[];
85917
+ context?: unknown;
85918
+ };
85919
+ };
85920
+ };
85921
+ /** @description Not found */
85922
+ 404: {
85923
+ headers: {
85924
+ [name: string]: unknown;
85925
+ };
85926
+ content: {
85927
+ "application/json": {
85928
+ code: string;
85929
+ message: string;
85930
+ links?: {
85931
+ docs: string;
85932
+ schema: string;
85933
+ };
85934
+ issues?: {
85935
+ message: string;
85936
+ path?: (string | number)[];
85937
+ schema?: string;
85938
+ }[];
85939
+ context?: unknown;
85940
+ };
85941
+ };
85942
+ };
85943
+ /** @description Internal server error */
85944
+ 500: {
85945
+ headers: {
85946
+ [name: string]: unknown;
85947
+ };
85948
+ content: {
85949
+ "application/json": {
85950
+ code: string;
85951
+ message: string;
85952
+ links?: {
85953
+ docs: string;
85954
+ schema: string;
85955
+ };
85956
+ issues?: {
85957
+ message: string;
85958
+ path?: (string | number)[];
85959
+ schema?: string;
85960
+ }[];
85961
+ context?: unknown;
85962
+ };
85963
+ };
85964
+ };
85965
+ /** @description Service unavailable */
85966
+ 503: {
85967
+ headers: {
85968
+ [name: string]: unknown;
85969
+ };
85970
+ content: {
85971
+ "application/json": {
85972
+ code: string;
85973
+ message: string;
85974
+ links?: {
85975
+ docs: string;
85976
+ schema: string;
85977
+ };
85978
+ issues?: {
85979
+ message: string;
85980
+ path?: (string | number)[];
85981
+ schema?: string;
85982
+ }[];
85983
+ context?: unknown;
85984
+ };
85985
+ };
85986
+ };
85987
+ };
85988
+ };
85799
85989
  putTransactionsByTransactionIdLinesById: {
85800
85990
  parameters: {
85801
85991
  query?: {