@vrplatform/api 1.3.1-5840 → 1.3.1-5850

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.
@@ -180,7 +180,7 @@ export interface paths {
180
180
  get?: never;
181
181
  put?: never;
182
182
  /**
183
- * @description Atomically initialize banking and return the complete opening-balance transaction and feed checkpoint. Credit cards store a negative feed balance while the journal credits the liability.
183
+ * @description Atomically initialize banking and return the complete opening-balance transaction and feed checkpoint. Credit cards store a negative feed balance while the journal credits the liability. Initialization can run before the team has selected its statement start date.
184
184
  *
185
185
  * Required scope: bank-accounts:write
186
186
  */
@@ -1917,7 +1917,8 @@ export interface paths {
1917
1917
  get: operations["getInternalBlobsByStore"];
1918
1918
  put?: never;
1919
1919
  post?: never;
1920
- delete?: never;
1920
+ /** @description Delete stored blobs by their self-describing r2:// refs. Every ref must belong to the store in the path and to the authenticated tenant. Missing objects are treated as deleted. */
1921
+ delete: operations["deleteInternalBlobsByStore"];
1921
1922
  options?: never;
1922
1923
  head?: never;
1923
1924
  patch?: never;
@@ -3549,7 +3550,7 @@ export interface paths {
3549
3550
  get?: never;
3550
3551
  put?: never;
3551
3552
  /**
3552
- * @description Apply every required bank-account configuration for a Plaid connect session in one mutation, then create exactly one durable initial transaction sync. Connect decisions can reference an eligible existing GL bank account or create one using the normal account schema. Selecting an eligible GL account may transfer it from inactive predecessor feeds only while preserving historical bank-record ownership. Archive decisions make the external feed inactive. The earliest selected startDate controls history ingestion. Repeating a completed connectId returns the same sync. If eligibility or the active feed mapping changed after completion, a PLAID_CONNECT_CONFIGURATION_CHANGED conflict returns the refreshed screen model in context.result. See https://docs.vrplatform.app/guides/build/banking.
3553
+ * @description Apply every required bank-account configuration for a Plaid connect session in one mutation, then create exactly one durable initial transaction sync. Connect decisions can reference an eligible existing GL bank account or create one using the normal account schema. An explicit opening balance can be initialized before the team has selected its statement start date. Selecting an eligible GL account may transfer it from inactive predecessor feeds only while preserving historical bank-record ownership. Archive decisions make the external feed inactive. The earliest selected startDate controls history ingestion. Repeating a completed connectId returns the same sync. If eligibility or the active feed mapping changed after completion, a PLAID_CONNECT_CONFIGURATION_CHANGED conflict returns the refreshed screen model in context.result. See https://docs.vrplatform.app/guides/build/banking.
3553
3554
  *
3554
3555
  * Required scope: bank-connections:manage
3555
3556
  */
@@ -4461,7 +4462,7 @@ export interface paths {
4461
4462
  get?: never;
4462
4463
  put?: never;
4463
4464
  /**
4464
- * @description Regenerate reservation journal entries. Recomputes postings from the current reservation financials for the given ids (or the whole portfolio) and rewrites unlocked entries; lockPolicy controls how lock-flagged reservations are handled, while books-closed and owner-statement attachment locks always apply. bypassStatementPeriod is only supported for a single-reservation refresh. Generic dry run is unavailable because this operation needs a dedicated consequence preview for projected posting changes. See https://docs.vrplatform.app/guides/build/reservations.
4465
+ * @description Regenerate reservation journal entries. Recomputes postings from the current reservation financials for the given ids (or the whole portfolio) and rewrites unlocked entries; lockPolicy controls how lock-flagged reservations are handled, while books-closed and owner-statement attachment locks always apply. If applying only unlocked changes would split an otherwise balanced journal group, the refresh returns a structured journalEntries lock and writes nothing. bypassStatementPeriod is only supported for a single-reservation refresh. Generic dry run is unavailable because this operation needs a dedicated consequence preview for projected posting changes. See https://docs.vrplatform.app/guides/build/reservations.
4465
4466
  *
4466
4467
  * Required scope: reservations:post-journals
4467
4468
  */
@@ -41470,6 +41471,262 @@ export interface operations {
41470
41471
  };
41471
41472
  };
41472
41473
  };
41474
+ deleteInternalBlobsByStore: {
41475
+ parameters: {
41476
+ query?: never;
41477
+ header?: never;
41478
+ path: {
41479
+ store: "api-attachments";
41480
+ };
41481
+ cookie?: never;
41482
+ };
41483
+ requestBody?: {
41484
+ content: {
41485
+ "application/json": {
41486
+ refs: string[];
41487
+ };
41488
+ };
41489
+ };
41490
+ responses: {
41491
+ /** @description Successful response */
41492
+ 200: {
41493
+ headers: {
41494
+ [name: string]: unknown;
41495
+ };
41496
+ content: {
41497
+ "application/json": {
41498
+ /** @constant */
41499
+ status: "deleted";
41500
+ };
41501
+ };
41502
+ };
41503
+ /** @description Bad request */
41504
+ 400: {
41505
+ headers: {
41506
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41507
+ "Retry-After"?: number;
41508
+ [name: string]: unknown;
41509
+ };
41510
+ content: {
41511
+ "application/json": {
41512
+ code: string;
41513
+ message: string;
41514
+ links?: {
41515
+ docs: string;
41516
+ schema: string;
41517
+ };
41518
+ issues?: {
41519
+ message: string;
41520
+ path?: (string | number)[];
41521
+ schema?: string;
41522
+ }[];
41523
+ retryable?: boolean;
41524
+ context?: unknown;
41525
+ };
41526
+ };
41527
+ };
41528
+ /** @description Unauthorized */
41529
+ 401: {
41530
+ headers: {
41531
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41532
+ "Retry-After"?: number;
41533
+ [name: string]: unknown;
41534
+ };
41535
+ content: {
41536
+ "application/json": {
41537
+ code: string;
41538
+ message: string;
41539
+ links?: {
41540
+ docs: string;
41541
+ schema: string;
41542
+ };
41543
+ issues?: {
41544
+ message: string;
41545
+ path?: (string | number)[];
41546
+ schema?: string;
41547
+ }[];
41548
+ retryable?: boolean;
41549
+ context?: unknown;
41550
+ };
41551
+ };
41552
+ };
41553
+ /** @description Forbidden */
41554
+ 403: {
41555
+ headers: {
41556
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41557
+ "Retry-After"?: number;
41558
+ [name: string]: unknown;
41559
+ };
41560
+ content: {
41561
+ "application/json": {
41562
+ code: string;
41563
+ message: string;
41564
+ links?: {
41565
+ docs: string;
41566
+ schema: string;
41567
+ };
41568
+ issues?: {
41569
+ message: string;
41570
+ path?: (string | number)[];
41571
+ schema?: string;
41572
+ }[];
41573
+ retryable?: boolean;
41574
+ context?: unknown;
41575
+ };
41576
+ };
41577
+ };
41578
+ /** @description Not found */
41579
+ 404: {
41580
+ headers: {
41581
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41582
+ "Retry-After"?: number;
41583
+ [name: string]: unknown;
41584
+ };
41585
+ content: {
41586
+ "application/json": {
41587
+ code: string;
41588
+ message: string;
41589
+ links?: {
41590
+ docs: string;
41591
+ schema: string;
41592
+ };
41593
+ issues?: {
41594
+ message: string;
41595
+ path?: (string | number)[];
41596
+ schema?: string;
41597
+ }[];
41598
+ retryable?: boolean;
41599
+ context?: unknown;
41600
+ };
41601
+ };
41602
+ };
41603
+ /** @description Conflict */
41604
+ 409: {
41605
+ headers: {
41606
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41607
+ "Retry-After"?: number;
41608
+ [name: string]: unknown;
41609
+ };
41610
+ content: {
41611
+ "application/json": {
41612
+ code: string;
41613
+ message: string;
41614
+ links?: {
41615
+ docs: string;
41616
+ schema: string;
41617
+ };
41618
+ issues?: {
41619
+ message: string;
41620
+ path?: (string | number)[];
41621
+ schema?: string;
41622
+ }[];
41623
+ retryable?: boolean;
41624
+ context?: unknown;
41625
+ };
41626
+ };
41627
+ };
41628
+ /** @description Gone */
41629
+ 410: {
41630
+ headers: {
41631
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41632
+ "Retry-After"?: number;
41633
+ [name: string]: unknown;
41634
+ };
41635
+ content: {
41636
+ "application/json": {
41637
+ code: string;
41638
+ message: string;
41639
+ links?: {
41640
+ docs: string;
41641
+ schema: string;
41642
+ };
41643
+ issues?: {
41644
+ message: string;
41645
+ path?: (string | number)[];
41646
+ schema?: string;
41647
+ }[];
41648
+ retryable?: boolean;
41649
+ context?: unknown;
41650
+ };
41651
+ };
41652
+ };
41653
+ /** @description Unprocessable content */
41654
+ 422: {
41655
+ headers: {
41656
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41657
+ "Retry-After"?: number;
41658
+ [name: string]: unknown;
41659
+ };
41660
+ content: {
41661
+ "application/json": {
41662
+ code: string;
41663
+ message: string;
41664
+ links?: {
41665
+ docs: string;
41666
+ schema: string;
41667
+ };
41668
+ issues?: {
41669
+ message: string;
41670
+ path?: (string | number)[];
41671
+ schema?: string;
41672
+ }[];
41673
+ retryable?: boolean;
41674
+ context?: unknown;
41675
+ };
41676
+ };
41677
+ };
41678
+ /** @description Internal server error */
41679
+ 500: {
41680
+ headers: {
41681
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41682
+ "Retry-After"?: number;
41683
+ [name: string]: unknown;
41684
+ };
41685
+ content: {
41686
+ "application/json": {
41687
+ code: string;
41688
+ message: string;
41689
+ links?: {
41690
+ docs: string;
41691
+ schema: string;
41692
+ };
41693
+ issues?: {
41694
+ message: string;
41695
+ path?: (string | number)[];
41696
+ schema?: string;
41697
+ }[];
41698
+ retryable?: boolean;
41699
+ context?: unknown;
41700
+ };
41701
+ };
41702
+ };
41703
+ /** @description Service unavailable */
41704
+ 503: {
41705
+ headers: {
41706
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41707
+ "Retry-After"?: number;
41708
+ [name: string]: unknown;
41709
+ };
41710
+ content: {
41711
+ "application/json": {
41712
+ code: string;
41713
+ message: string;
41714
+ links?: {
41715
+ docs: string;
41716
+ schema: string;
41717
+ };
41718
+ issues?: {
41719
+ message: string;
41720
+ path?: (string | number)[];
41721
+ schema?: string;
41722
+ }[];
41723
+ retryable?: boolean;
41724
+ context?: unknown;
41725
+ };
41726
+ };
41727
+ };
41728
+ };
41729
+ };
41473
41730
  getInternalBookingChannels: {
41474
41731
  parameters: {
41475
41732
  query?: {