@firela/api-types 0.0.0-canary.a97b40c5 → 0.0.0-canary.a9a40e6

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/dist/index.js CHANGED
@@ -484,7 +484,7 @@ var BeanAccountsService = class {
484
484
  * @param data.type Filter by account type
485
485
  * @param data.status Filter by status
486
486
  * @param data.isCustom Filter by custom (user-created) accounts only
487
- * @param data.search Search term for account path
487
+ * @param data.search Search term matched against account path and user-set display name (case-insensitive)
488
488
  * @param data.limit Maximum number of results
489
489
  * @param data.offset Number of results to skip
490
490
  * @returns AccountListResponseDto Accounts retrieved successfully
@@ -750,6 +750,31 @@ var BeanTransactionsService = class {
750
750
  }
751
751
  });
752
752
  }
753
+ /**
754
+ * Batch void transactions
755
+ * Soft-deletes (VOIDED) a batch of the caller's ACTIVE transactions in one DB transaction. Voiding releases each row's importId dedup slot, so re-importing the same file after an undo batch-void imports every row again instead of skipping them as duplicates.
756
+ * @param data The data for the request.
757
+ * @param data.region Region code for tenant context
758
+ * @param data.requestBody Batch void request (1-500 unique transaction IDs)
759
+ * @returns BatchVoidResultDto Batch void result: count of rows voided plus ids not found / no longer ACTIVE
760
+ * @throws ApiError
761
+ */
762
+ static transactionControllerBatchVoid(data) {
763
+ return request(OpenAPI, {
764
+ method: "POST",
765
+ url: "/api/v1/{region}/bean/transactions/batch-void",
766
+ path: {
767
+ region: data.region
768
+ },
769
+ body: data.requestBody,
770
+ mediaType: "application/json",
771
+ errors: {
772
+ 400: "Validation failed (empty, over 500, duplicate or non-string ids)",
773
+ 401: "Authentication required",
774
+ 403: "Batch contains ids owned by another user \u2014 whole request rejected, nothing committed"
775
+ }
776
+ });
777
+ }
753
778
  /**
754
779
  * Correct (supersede) a transaction
755
780
  * Atomically voids the original (SUPERSEDED) and creates a replacement through the full validation pipeline.
package/dist/index.mjs CHANGED
@@ -452,7 +452,7 @@ var BeanAccountsService = class {
452
452
  * @param data.type Filter by account type
453
453
  * @param data.status Filter by status
454
454
  * @param data.isCustom Filter by custom (user-created) accounts only
455
- * @param data.search Search term for account path
455
+ * @param data.search Search term matched against account path and user-set display name (case-insensitive)
456
456
  * @param data.limit Maximum number of results
457
457
  * @param data.offset Number of results to skip
458
458
  * @returns AccountListResponseDto Accounts retrieved successfully
@@ -718,6 +718,31 @@ var BeanTransactionsService = class {
718
718
  }
719
719
  });
720
720
  }
721
+ /**
722
+ * Batch void transactions
723
+ * Soft-deletes (VOIDED) a batch of the caller's ACTIVE transactions in one DB transaction. Voiding releases each row's importId dedup slot, so re-importing the same file after an undo batch-void imports every row again instead of skipping them as duplicates.
724
+ * @param data The data for the request.
725
+ * @param data.region Region code for tenant context
726
+ * @param data.requestBody Batch void request (1-500 unique transaction IDs)
727
+ * @returns BatchVoidResultDto Batch void result: count of rows voided plus ids not found / no longer ACTIVE
728
+ * @throws ApiError
729
+ */
730
+ static transactionControllerBatchVoid(data) {
731
+ return request(OpenAPI, {
732
+ method: "POST",
733
+ url: "/api/v1/{region}/bean/transactions/batch-void",
734
+ path: {
735
+ region: data.region
736
+ },
737
+ body: data.requestBody,
738
+ mediaType: "application/json",
739
+ errors: {
740
+ 400: "Validation failed (empty, over 500, duplicate or non-string ids)",
741
+ 401: "Authentication required",
742
+ 403: "Batch contains ids owned by another user \u2014 whole request rejected, nothing committed"
743
+ }
744
+ });
745
+ }
721
746
  /**
722
747
  * Correct (supersede) a transaction
723
748
  * Atomically voids the original (SUPERSEDED) and creates a replacement through the full validation pipeline.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firela/api-types",
3
- "version": "0.0.0-canary.a97b40c5",
3
+ "version": "0.0.0-canary.a9a40e6",
4
4
  "description": "TypeScript types generated from IGN OpenAPI specification",
5
5
  "license": "MIT",
6
6
  "author": "FireLa Team",