@robosystems/client 2.13.0 → 2.13.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/client",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "description": "TypeScript client library for the RoboSystems financial intelligence platform",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/sdk/sdk.gen.d.ts CHANGED
@@ -910,7 +910,7 @@ export declare const createTaxonomyBlock: <ThrowOnError extends boolean = false>
910
910
  /**
911
911
  * Update Taxonomy Block
912
912
  *
913
- * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first.
913
+ * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first. An envelope that removes an account's arc and adds one on the same primary statement moves it: a reclassification, allowed.
914
914
  *
915
915
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
916
916
  */
@@ -934,7 +934,7 @@ export declare const linkEntityTaxonomy: <ThrowOnError extends boolean = false>(
934
934
  /**
935
935
  * Create Mapping Association
936
936
  *
937
- * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: an account with landed history in a closed month cannot be re-mapped (422) — the closed month's stamped statements were computed through the old arcs. Reopen latest-first down to the earliest month named, map, then close forward.
937
+ * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: a new arc for an account with landed history in a closed month is refused (422), since the month's stamped statements were computed through the arcs as they stood. To move such an account, pass `replaces_association_id` (its current arc, removed in the same write). A move within the same primary statement is a reclassification and goes through: the stamped statements keep the answer as closed, live renders follow the new arc, and `reclassified_periods` names the months. A move across statements restates net income and is refused, naming the months to reopen latest-first.
938
938
  *
939
939
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
940
940
  */
@@ -942,7 +942,7 @@ export declare const createMappingAssociation: <ThrowOnError extends boolean = f
942
942
  /**
943
943
  * Delete Mapping Association
944
944
  *
945
- * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed (422) until those months are reopened, latest-first.
945
+ * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed on its own (422): move the account with `create-mapping-association` and `replaces_association_id` instead.
946
946
  *
947
947
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
948
948
  */
package/sdk/sdk.gen.js CHANGED
@@ -1858,7 +1858,7 @@ exports.createTaxonomyBlock = createTaxonomyBlock;
1858
1858
  /**
1859
1859
  * Update Taxonomy Block
1860
1860
  *
1861
- * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first.
1861
+ * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first. An envelope that removes an account's arc and adds one on the same primary statement moves it: a reclassification, allowed.
1862
1862
  *
1863
1863
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1864
1864
  */
@@ -1909,7 +1909,7 @@ exports.linkEntityTaxonomy = linkEntityTaxonomy;
1909
1909
  /**
1910
1910
  * Create Mapping Association
1911
1911
  *
1912
- * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: an account with landed history in a closed month cannot be re-mapped (422) — the closed month's stamped statements were computed through the old arcs. Reopen latest-first down to the earliest month named, map, then close forward.
1912
+ * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: a new arc for an account with landed history in a closed month is refused (422), since the month's stamped statements were computed through the arcs as they stood. To move such an account, pass `replaces_association_id` (its current arc, removed in the same write). A move within the same primary statement is a reclassification and goes through: the stamped statements keep the answer as closed, live renders follow the new arc, and `reclassified_periods` names the months. A move across statements restates net income and is refused, naming the months to reopen latest-first.
1913
1913
  *
1914
1914
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1915
1915
  */
@@ -1926,7 +1926,7 @@ exports.createMappingAssociation = createMappingAssociation;
1926
1926
  /**
1927
1927
  * Delete Mapping Association
1928
1928
  *
1929
- * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed (422) until those months are reopened, latest-first.
1929
+ * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed on its own (422): move the account with `create-mapping-association` and `replaces_association_id` instead.
1930
1930
  *
1931
1931
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1932
1932
  */
package/sdk/sdk.gen.ts CHANGED
@@ -1869,7 +1869,7 @@ export const createTaxonomyBlock = <ThrowOnError extends boolean = false>(option
1869
1869
  /**
1870
1870
  * Update Taxonomy Block
1871
1871
  *
1872
- * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first.
1872
+ * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first. An envelope that removes an account's arc and adds one on the same primary statement moves it: a reclassification, allowed.
1873
1873
  *
1874
1874
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1875
1875
  */
@@ -1920,7 +1920,7 @@ export const linkEntityTaxonomy = <ThrowOnError extends boolean = false>(options
1920
1920
  /**
1921
1921
  * Create Mapping Association
1922
1922
  *
1923
- * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: an account with landed history in a closed month cannot be re-mapped (422) — the closed month's stamped statements were computed through the old arcs. Reopen latest-first down to the earliest month named, map, then close forward.
1923
+ * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: a new arc for an account with landed history in a closed month is refused (422), since the month's stamped statements were computed through the arcs as they stood. To move such an account, pass `replaces_association_id` (its current arc, removed in the same write). A move within the same primary statement is a reclassification and goes through: the stamped statements keep the answer as closed, live renders follow the new arc, and `reclassified_periods` names the months. A move across statements restates net income and is refused, naming the months to reopen latest-first.
1924
1924
  *
1925
1925
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1926
1926
  */
@@ -1937,7 +1937,7 @@ export const createMappingAssociation = <ThrowOnError extends boolean = false>(o
1937
1937
  /**
1938
1938
  * Delete Mapping Association
1939
1939
  *
1940
- * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed (422) until those months are reopened, latest-first.
1940
+ * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed on its own (422): move the account with `create-mapping-association` and `replaces_association_id` instead.
1941
1941
  *
1942
1942
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1943
1943
  */
@@ -653,6 +653,18 @@ export type AssociationResponse = {
653
653
  * Approved By
654
654
  */
655
655
  approved_by?: string | null;
656
+ /**
657
+ * Replaced Association Id
658
+ *
659
+ * The arc this write removed in the same transaction, when the call named one in `replaces_association_id`.
660
+ */
661
+ replaced_association_id?: string | null;
662
+ /**
663
+ * Reclassified Periods
664
+ *
665
+ * Closed months whose live statements now read through this arc while their stamped sets keep the answer as closed. Empty unless the write replaced an arc on an account with landed history in a closed month.
666
+ */
667
+ reclassified_periods?: Array<string>;
656
668
  };
657
669
  /**
658
670
  * AttributionFilter
@@ -3378,6 +3390,18 @@ export type CreateMappingAssociationOperation = {
3378
3390
  * Target mapping structure ID.
3379
3391
  */
3380
3392
  mapping_id: string;
3393
+ /**
3394
+ * Replaces Association Id
3395
+ *
3396
+ * The account's current mapping arc in this structure, removed in the same write: a remap in one call. When the account has landed history in a closed month the move is judged as a reclassification: allowed when the new concept sits on the same primary statement as the old one (the stamped statements keep the answer as closed; live renders follow the new arc; `reclassified_periods` names the months), refused when it crosses one.
3397
+ */
3398
+ replaces_association_id?: string | null;
3399
+ /**
3400
+ * Reason
3401
+ *
3402
+ * Why the account is reclassified. Recorded on the new arc beside the months it reaches.
3403
+ */
3404
+ reason?: string | null;
3381
3405
  };
3382
3406
  /**
3383
3407
  * CreatePortfolioBlockRequest
@@ -6294,6 +6318,12 @@ export type FactSetLite = {
6294
6318
  provenance?: {
6295
6319
  [key: string]: unknown;
6296
6320
  } | null;
6321
+ /**
6322
+ * Created At
6323
+ *
6324
+ * When the set was computed. For a close-stamped canonical set (`report_id` null, type `report`) this is the month as closed on this date: its facts keep that answer while a live render reads through the mapping arcs as they stand now.
6325
+ */
6326
+ created_at?: string | null;
6297
6327
  };
6298
6328
  /**
6299
6329
  * FileInfo
package/sdk/types.gen.ts CHANGED
@@ -670,6 +670,18 @@ export type AssociationResponse = {
670
670
  * Approved By
671
671
  */
672
672
  approved_by?: string | null;
673
+ /**
674
+ * Replaced Association Id
675
+ *
676
+ * The arc this write removed in the same transaction, when the call named one in `replaces_association_id`.
677
+ */
678
+ replaced_association_id?: string | null;
679
+ /**
680
+ * Reclassified Periods
681
+ *
682
+ * Closed months whose live statements now read through this arc while their stamped sets keep the answer as closed. Empty unless the write replaced an arc on an account with landed history in a closed month.
683
+ */
684
+ reclassified_periods?: Array<string>;
673
685
  };
674
686
 
675
687
  /**
@@ -3458,6 +3470,18 @@ export type CreateMappingAssociationOperation = {
3458
3470
  * Target mapping structure ID.
3459
3471
  */
3460
3472
  mapping_id: string;
3473
+ /**
3474
+ * Replaces Association Id
3475
+ *
3476
+ * The account's current mapping arc in this structure, removed in the same write: a remap in one call. When the account has landed history in a closed month the move is judged as a reclassification: allowed when the new concept sits on the same primary statement as the old one (the stamped statements keep the answer as closed; live renders follow the new arc; `reclassified_periods` names the months), refused when it crosses one.
3477
+ */
3478
+ replaces_association_id?: string | null;
3479
+ /**
3480
+ * Reason
3481
+ *
3482
+ * Why the account is reclassified. Recorded on the new arc beside the months it reaches.
3483
+ */
3484
+ reason?: string | null;
3461
3485
  };
3462
3486
 
3463
3487
  /**
@@ -6447,6 +6471,12 @@ export type FactSetLite = {
6447
6471
  provenance?: {
6448
6472
  [key: string]: unknown;
6449
6473
  } | null;
6474
+ /**
6475
+ * Created At
6476
+ *
6477
+ * When the set was computed. For a close-stamped canonical set (`report_id` null, type `report`) this is the month as closed on this date: its facts keep that answer while a live render reads through the mapping arcs as they stand now.
6478
+ */
6479
+ created_at?: string | null;
6450
6480
  };
6451
6481
 
6452
6482
  /**
package/sdk.gen.d.ts CHANGED
@@ -910,7 +910,7 @@ export declare const createTaxonomyBlock: <ThrowOnError extends boolean = false>
910
910
  /**
911
911
  * Update Taxonomy Block
912
912
  *
913
- * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first.
913
+ * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first. An envelope that removes an account's arc and adds one on the same primary statement moves it: a reclassification, allowed.
914
914
  *
915
915
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
916
916
  */
@@ -934,7 +934,7 @@ export declare const linkEntityTaxonomy: <ThrowOnError extends boolean = false>(
934
934
  /**
935
935
  * Create Mapping Association
936
936
  *
937
- * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: an account with landed history in a closed month cannot be re-mapped (422) — the closed month's stamped statements were computed through the old arcs. Reopen latest-first down to the earliest month named, map, then close forward.
937
+ * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: a new arc for an account with landed history in a closed month is refused (422), since the month's stamped statements were computed through the arcs as they stood. To move such an account, pass `replaces_association_id` (its current arc, removed in the same write). A move within the same primary statement is a reclassification and goes through: the stamped statements keep the answer as closed, live renders follow the new arc, and `reclassified_periods` names the months. A move across statements restates net income and is refused, naming the months to reopen latest-first.
938
938
  *
939
939
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
940
940
  */
@@ -942,7 +942,7 @@ export declare const createMappingAssociation: <ThrowOnError extends boolean = f
942
942
  /**
943
943
  * Delete Mapping Association
944
944
  *
945
- * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed (422) until those months are reopened, latest-first.
945
+ * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed on its own (422): move the account with `create-mapping-association` and `replaces_association_id` instead.
946
946
  *
947
947
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
948
948
  */
package/sdk.gen.js CHANGED
@@ -1858,7 +1858,7 @@ exports.createTaxonomyBlock = createTaxonomyBlock;
1858
1858
  /**
1859
1859
  * Update Taxonomy Block
1860
1860
  *
1861
- * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first.
1861
+ * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first. An envelope that removes an account's arc and adds one on the same primary statement moves it: a reclassification, allowed.
1862
1862
  *
1863
1863
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1864
1864
  */
@@ -1909,7 +1909,7 @@ exports.linkEntityTaxonomy = linkEntityTaxonomy;
1909
1909
  /**
1910
1910
  * Create Mapping Association
1911
1911
  *
1912
- * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: an account with landed history in a closed month cannot be re-mapped (422) — the closed month's stamped statements were computed through the old arcs. Reopen latest-first down to the earliest month named, map, then close forward.
1912
+ * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: a new arc for an account with landed history in a closed month is refused (422), since the month's stamped statements were computed through the arcs as they stood. To move such an account, pass `replaces_association_id` (its current arc, removed in the same write). A move within the same primary statement is a reclassification and goes through: the stamped statements keep the answer as closed, live renders follow the new arc, and `reclassified_periods` names the months. A move across statements restates net income and is refused, naming the months to reopen latest-first.
1913
1913
  *
1914
1914
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1915
1915
  */
@@ -1926,7 +1926,7 @@ exports.createMappingAssociation = createMappingAssociation;
1926
1926
  /**
1927
1927
  * Delete Mapping Association
1928
1928
  *
1929
- * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed (422) until those months are reopened, latest-first.
1929
+ * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed on its own (422): move the account with `create-mapping-association` and `replaces_association_id` instead.
1930
1930
  *
1931
1931
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1932
1932
  */
package/sdk.gen.ts CHANGED
@@ -1869,7 +1869,7 @@ export const createTaxonomyBlock = <ThrowOnError extends boolean = false>(option
1869
1869
  /**
1870
1870
  * Update Taxonomy Block
1871
1871
  *
1872
- * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first.
1872
+ * Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. For a chart of accounts: add, rename and reclassify accounts freely; an account with facts or line items is never removed — retire it with `elements_to_update[].is_active=false` (history stays, new postings are refused, pickers hide it; `true` reactivates). Removal and whole-chart delete work only with no activity. Library-origin block types (`reporting_standard`) surface 501. `reporting_extension` / `custom_ontology` authoring may be disabled per environment (TAXONOMY_AUTHORING_ENABLED) — disabled surfaces 403. Closed months are immutable against curation: a mapping arc added or removed for an account with landed history in a closed month, or a `balance_type` / `period_type` / `trait` change on such an account, is refused (422, `protected_facts`) naming the months to reopen first. An envelope that removes an account's arc and adds one on the same primary statement moves it: a reclassification, allowed.
1873
1873
  *
1874
1874
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1875
1875
  */
@@ -1920,7 +1920,7 @@ export const linkEntityTaxonomy = <ThrowOnError extends boolean = false>(options
1920
1920
  /**
1921
1921
  * Create Mapping Association
1922
1922
  *
1923
- * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: an account with landed history in a closed month cannot be re-mapped (422) — the closed month's stamped statements were computed through the old arcs. Reopen latest-first down to the earliest month named, map, then close forward.
1923
+ * Link a chart-of-accounts element to a US GAAP reporting concept. One mapping edge per call — use `auto-map-elements` for bulk AI-assisted mapping. Duplicate (from, to, type) tuples return 409. The target must be a leaf concept: a subtotal the statement sums from its children is refused (422). Map before you close: a new arc for an account with landed history in a closed month is refused (422), since the month's stamped statements were computed through the arcs as they stood. To move such an account, pass `replaces_association_id` (its current arc, removed in the same write). A move within the same primary statement is a reclassification and goes through: the stamped statements keep the answer as closed, live renders follow the new arc, and `reclassified_periods` names the months. A move across statements restates net income and is refused, naming the months to reopen latest-first.
1924
1924
  *
1925
1925
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1926
1926
  */
@@ -1937,7 +1937,7 @@ export const createMappingAssociation = <ThrowOnError extends boolean = false>(o
1937
1937
  /**
1938
1938
  * Delete Mapping Association
1939
1939
  *
1940
- * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed (422) until those months are reopened, latest-first.
1940
+ * Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then `create-mapping-association` the right one. Find the association id via the `library_element_arcs` GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed on its own (422): move the account with `create-mapping-association` and `replaces_association_id` instead.
1941
1941
  *
1942
1942
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1943
1943
  */
package/types.gen.d.ts CHANGED
@@ -653,6 +653,18 @@ export type AssociationResponse = {
653
653
  * Approved By
654
654
  */
655
655
  approved_by?: string | null;
656
+ /**
657
+ * Replaced Association Id
658
+ *
659
+ * The arc this write removed in the same transaction, when the call named one in `replaces_association_id`.
660
+ */
661
+ replaced_association_id?: string | null;
662
+ /**
663
+ * Reclassified Periods
664
+ *
665
+ * Closed months whose live statements now read through this arc while their stamped sets keep the answer as closed. Empty unless the write replaced an arc on an account with landed history in a closed month.
666
+ */
667
+ reclassified_periods?: Array<string>;
656
668
  };
657
669
  /**
658
670
  * AttributionFilter
@@ -3378,6 +3390,18 @@ export type CreateMappingAssociationOperation = {
3378
3390
  * Target mapping structure ID.
3379
3391
  */
3380
3392
  mapping_id: string;
3393
+ /**
3394
+ * Replaces Association Id
3395
+ *
3396
+ * The account's current mapping arc in this structure, removed in the same write: a remap in one call. When the account has landed history in a closed month the move is judged as a reclassification: allowed when the new concept sits on the same primary statement as the old one (the stamped statements keep the answer as closed; live renders follow the new arc; `reclassified_periods` names the months), refused when it crosses one.
3397
+ */
3398
+ replaces_association_id?: string | null;
3399
+ /**
3400
+ * Reason
3401
+ *
3402
+ * Why the account is reclassified. Recorded on the new arc beside the months it reaches.
3403
+ */
3404
+ reason?: string | null;
3381
3405
  };
3382
3406
  /**
3383
3407
  * CreatePortfolioBlockRequest
@@ -6294,6 +6318,12 @@ export type FactSetLite = {
6294
6318
  provenance?: {
6295
6319
  [key: string]: unknown;
6296
6320
  } | null;
6321
+ /**
6322
+ * Created At
6323
+ *
6324
+ * When the set was computed. For a close-stamped canonical set (`report_id` null, type `report`) this is the month as closed on this date: its facts keep that answer while a live render reads through the mapping arcs as they stand now.
6325
+ */
6326
+ created_at?: string | null;
6297
6327
  };
6298
6328
  /**
6299
6329
  * FileInfo
package/types.gen.ts CHANGED
@@ -670,6 +670,18 @@ export type AssociationResponse = {
670
670
  * Approved By
671
671
  */
672
672
  approved_by?: string | null;
673
+ /**
674
+ * Replaced Association Id
675
+ *
676
+ * The arc this write removed in the same transaction, when the call named one in `replaces_association_id`.
677
+ */
678
+ replaced_association_id?: string | null;
679
+ /**
680
+ * Reclassified Periods
681
+ *
682
+ * Closed months whose live statements now read through this arc while their stamped sets keep the answer as closed. Empty unless the write replaced an arc on an account with landed history in a closed month.
683
+ */
684
+ reclassified_periods?: Array<string>;
673
685
  };
674
686
 
675
687
  /**
@@ -3458,6 +3470,18 @@ export type CreateMappingAssociationOperation = {
3458
3470
  * Target mapping structure ID.
3459
3471
  */
3460
3472
  mapping_id: string;
3473
+ /**
3474
+ * Replaces Association Id
3475
+ *
3476
+ * The account's current mapping arc in this structure, removed in the same write: a remap in one call. When the account has landed history in a closed month the move is judged as a reclassification: allowed when the new concept sits on the same primary statement as the old one (the stamped statements keep the answer as closed; live renders follow the new arc; `reclassified_periods` names the months), refused when it crosses one.
3477
+ */
3478
+ replaces_association_id?: string | null;
3479
+ /**
3480
+ * Reason
3481
+ *
3482
+ * Why the account is reclassified. Recorded on the new arc beside the months it reaches.
3483
+ */
3484
+ reason?: string | null;
3461
3485
  };
3462
3486
 
3463
3487
  /**
@@ -6447,6 +6471,12 @@ export type FactSetLite = {
6447
6471
  provenance?: {
6448
6472
  [key: string]: unknown;
6449
6473
  } | null;
6474
+ /**
6475
+ * Created At
6476
+ *
6477
+ * When the set was computed. For a close-stamped canonical set (`report_id` null, type `report`) this is the month as closed on this date: its facts keep that answer while a live render reads through the mapping arcs as they stand now.
6478
+ */
6479
+ created_at?: string | null;
6450
6480
  };
6451
6481
 
6452
6482
  /**