@vrplatform/api 1.3.1-5840 → 1.3.1-5846

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-5840",
6
+ "version": "1.3.1-5846",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1918,7 +1918,8 @@ export interface paths {
1918
1918
  get: operations["getInternalBlobsByStore"];
1919
1919
  put?: never;
1920
1920
  post?: never;
1921
- delete?: never;
1921
+ /** @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. */
1922
+ delete: operations["deleteInternalBlobsByStore"];
1922
1923
  options?: never;
1923
1924
  head?: never;
1924
1925
  patch?: never;
@@ -4462,7 +4463,7 @@ export interface paths {
4462
4463
  get?: never;
4463
4464
  put?: never;
4464
4465
  /**
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. 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.
4466
+ * @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.
4466
4467
  *
4467
4468
  * Required scope: reservations:post-journals
4468
4469
  */
@@ -41471,6 +41472,262 @@ export interface operations {
41471
41472
  };
41472
41473
  };
41473
41474
  };
41475
+ deleteInternalBlobsByStore: {
41476
+ parameters: {
41477
+ query?: never;
41478
+ header?: never;
41479
+ path: {
41480
+ store: "api-attachments";
41481
+ };
41482
+ cookie?: never;
41483
+ };
41484
+ requestBody?: {
41485
+ content: {
41486
+ "application/json": {
41487
+ refs: string[];
41488
+ };
41489
+ };
41490
+ };
41491
+ responses: {
41492
+ /** @description Successful response */
41493
+ 200: {
41494
+ headers: {
41495
+ [name: string]: unknown;
41496
+ };
41497
+ content: {
41498
+ "application/json": {
41499
+ /** @constant */
41500
+ status: "deleted";
41501
+ };
41502
+ };
41503
+ };
41504
+ /** @description Bad request */
41505
+ 400: {
41506
+ headers: {
41507
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41508
+ "Retry-After"?: number;
41509
+ [name: string]: unknown;
41510
+ };
41511
+ content: {
41512
+ "application/json": {
41513
+ code: string;
41514
+ message: string;
41515
+ links?: {
41516
+ docs: string;
41517
+ schema: string;
41518
+ };
41519
+ issues?: {
41520
+ message: string;
41521
+ path?: (string | number)[];
41522
+ schema?: string;
41523
+ }[];
41524
+ retryable?: boolean;
41525
+ context?: unknown;
41526
+ };
41527
+ };
41528
+ };
41529
+ /** @description Unauthorized */
41530
+ 401: {
41531
+ headers: {
41532
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41533
+ "Retry-After"?: number;
41534
+ [name: string]: unknown;
41535
+ };
41536
+ content: {
41537
+ "application/json": {
41538
+ code: string;
41539
+ message: string;
41540
+ links?: {
41541
+ docs: string;
41542
+ schema: string;
41543
+ };
41544
+ issues?: {
41545
+ message: string;
41546
+ path?: (string | number)[];
41547
+ schema?: string;
41548
+ }[];
41549
+ retryable?: boolean;
41550
+ context?: unknown;
41551
+ };
41552
+ };
41553
+ };
41554
+ /** @description Forbidden */
41555
+ 403: {
41556
+ headers: {
41557
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41558
+ "Retry-After"?: number;
41559
+ [name: string]: unknown;
41560
+ };
41561
+ content: {
41562
+ "application/json": {
41563
+ code: string;
41564
+ message: string;
41565
+ links?: {
41566
+ docs: string;
41567
+ schema: string;
41568
+ };
41569
+ issues?: {
41570
+ message: string;
41571
+ path?: (string | number)[];
41572
+ schema?: string;
41573
+ }[];
41574
+ retryable?: boolean;
41575
+ context?: unknown;
41576
+ };
41577
+ };
41578
+ };
41579
+ /** @description Not found */
41580
+ 404: {
41581
+ headers: {
41582
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41583
+ "Retry-After"?: number;
41584
+ [name: string]: unknown;
41585
+ };
41586
+ content: {
41587
+ "application/json": {
41588
+ code: string;
41589
+ message: string;
41590
+ links?: {
41591
+ docs: string;
41592
+ schema: string;
41593
+ };
41594
+ issues?: {
41595
+ message: string;
41596
+ path?: (string | number)[];
41597
+ schema?: string;
41598
+ }[];
41599
+ retryable?: boolean;
41600
+ context?: unknown;
41601
+ };
41602
+ };
41603
+ };
41604
+ /** @description Conflict */
41605
+ 409: {
41606
+ headers: {
41607
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41608
+ "Retry-After"?: number;
41609
+ [name: string]: unknown;
41610
+ };
41611
+ content: {
41612
+ "application/json": {
41613
+ code: string;
41614
+ message: string;
41615
+ links?: {
41616
+ docs: string;
41617
+ schema: string;
41618
+ };
41619
+ issues?: {
41620
+ message: string;
41621
+ path?: (string | number)[];
41622
+ schema?: string;
41623
+ }[];
41624
+ retryable?: boolean;
41625
+ context?: unknown;
41626
+ };
41627
+ };
41628
+ };
41629
+ /** @description Gone */
41630
+ 410: {
41631
+ headers: {
41632
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41633
+ "Retry-After"?: number;
41634
+ [name: string]: unknown;
41635
+ };
41636
+ content: {
41637
+ "application/json": {
41638
+ code: string;
41639
+ message: string;
41640
+ links?: {
41641
+ docs: string;
41642
+ schema: string;
41643
+ };
41644
+ issues?: {
41645
+ message: string;
41646
+ path?: (string | number)[];
41647
+ schema?: string;
41648
+ }[];
41649
+ retryable?: boolean;
41650
+ context?: unknown;
41651
+ };
41652
+ };
41653
+ };
41654
+ /** @description Unprocessable content */
41655
+ 422: {
41656
+ headers: {
41657
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41658
+ "Retry-After"?: number;
41659
+ [name: string]: unknown;
41660
+ };
41661
+ content: {
41662
+ "application/json": {
41663
+ code: string;
41664
+ message: string;
41665
+ links?: {
41666
+ docs: string;
41667
+ schema: string;
41668
+ };
41669
+ issues?: {
41670
+ message: string;
41671
+ path?: (string | number)[];
41672
+ schema?: string;
41673
+ }[];
41674
+ retryable?: boolean;
41675
+ context?: unknown;
41676
+ };
41677
+ };
41678
+ };
41679
+ /** @description Internal server error */
41680
+ 500: {
41681
+ headers: {
41682
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41683
+ "Retry-After"?: number;
41684
+ [name: string]: unknown;
41685
+ };
41686
+ content: {
41687
+ "application/json": {
41688
+ code: string;
41689
+ message: string;
41690
+ links?: {
41691
+ docs: string;
41692
+ schema: string;
41693
+ };
41694
+ issues?: {
41695
+ message: string;
41696
+ path?: (string | number)[];
41697
+ schema?: string;
41698
+ }[];
41699
+ retryable?: boolean;
41700
+ context?: unknown;
41701
+ };
41702
+ };
41703
+ };
41704
+ /** @description Service unavailable */
41705
+ 503: {
41706
+ headers: {
41707
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
41708
+ "Retry-After"?: number;
41709
+ [name: string]: unknown;
41710
+ };
41711
+ content: {
41712
+ "application/json": {
41713
+ code: string;
41714
+ message: string;
41715
+ links?: {
41716
+ docs: string;
41717
+ schema: string;
41718
+ };
41719
+ issues?: {
41720
+ message: string;
41721
+ path?: (string | number)[];
41722
+ schema?: string;
41723
+ }[];
41724
+ retryable?: boolean;
41725
+ context?: unknown;
41726
+ };
41727
+ };
41728
+ };
41729
+ };
41730
+ };
41474
41731
  getInternalBookingChannels: {
41475
41732
  parameters: {
41476
41733
  query?: {