@factorialco/api-client 3.0.0-beta.2026100111 → 3.0.0-beta.2026100112

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.
@@ -4478,6 +4478,30 @@ export type IntegrationsSyncableSyncRun = {
4478
4478
  */
4479
4479
  company_id: string;
4480
4480
  };
4481
+ export type ItManagementAssetCategory = {
4482
+ /**
4483
+ * Asset category identifier
4484
+ */
4485
+ id: string;
4486
+ /**
4487
+ * Parent category identifier. NULL for top-level groups.
4488
+ */
4489
+ parent_id?: string;
4490
+ /**
4491
+ * Unique catalog key (e.g. 'it', 'it.laptop')
4492
+ */
4493
+ key: string;
4494
+ /**
4495
+ * Human-readable name
4496
+ */
4497
+ name: string;
4498
+ /**
4499
+ * Display order within its parent
4500
+ */
4501
+ position?: number;
4502
+ created_at: string;
4503
+ updated_at: string;
4504
+ };
4481
4505
  export type ItManagementItAsset = {
4482
4506
  /**
4483
4507
  * IT Asset identifier
@@ -4565,7 +4589,7 @@ export type ItManagementItAssetModel = {
4565
4589
  */
4566
4590
  id: string;
4567
4591
  /**
4568
- * Type name of the IT asset model. Possible values are 'laptop', 'desktop', 'tablet', 'phone', 'screen', 'mouse', 'keyboard', 'headset', 'other'
4592
+ * Deprecated: legacy IT-only type. Possible values are 'laptop', 'desktop', 'tablet', 'phone', 'screen', 'mouse', 'keyboard', 'headset', 'other'. Use `subtype`/`asset_category_id` instead, which cover the full catalog (IT and beyond).
4569
4593
  */
4570
4594
  type_name: string;
4571
4595
  /**
@@ -4580,6 +4604,10 @@ export type ItManagementItAssetModel = {
4580
4604
  * Name/model of the IT asset
4581
4605
  */
4582
4606
  name: string;
4607
+ /**
4608
+ * FK to the leaf AssetCategory (Subtype). NULL if not yet categorised.
4609
+ */
4610
+ asset_category_id?: string;
4583
4611
  /**
4584
4612
  * Creation date of the IT asset model
4585
4613
  */
@@ -15892,6 +15920,45 @@ export type PutApi20261001ResourcesIntegrationsSyncableSyncRunsByIdResponses = {
15892
15920
  200: IntegrationsSyncableSyncRun;
15893
15921
  };
15894
15922
  export type PutApi20261001ResourcesIntegrationsSyncableSyncRunsByIdResponse = PutApi20261001ResourcesIntegrationsSyncableSyncRunsByIdResponses[keyof PutApi20261001ResourcesIntegrationsSyncableSyncRunsByIdResponses];
15923
+ export type GetApi20261001ResourcesItManagementAssetCategoriesData = {
15924
+ body?: never;
15925
+ path?: never;
15926
+ query?: {
15927
+ /**
15928
+ * Asset category identifiers to retrieve
15929
+ */
15930
+ 'ids[]'?: Array<string>;
15931
+ };
15932
+ url: '/api/2026-10-01/resources/it_management/asset_categories';
15933
+ };
15934
+ export type GetApi20261001ResourcesItManagementAssetCategoriesResponses = {
15935
+ /**
15936
+ * OK
15937
+ */
15938
+ 200: {
15939
+ data?: Array<ItManagementAssetCategory>;
15940
+ meta?: PagedIndexMeta;
15941
+ };
15942
+ };
15943
+ export type GetApi20261001ResourcesItManagementAssetCategoriesResponse = GetApi20261001ResourcesItManagementAssetCategoriesResponses[keyof GetApi20261001ResourcesItManagementAssetCategoriesResponses];
15944
+ export type GetApi20261001ResourcesItManagementAssetCategoriesByIdData = {
15945
+ body?: never;
15946
+ path: {
15947
+ /**
15948
+ * Asset category identifiers to retrieve
15949
+ */
15950
+ id: string;
15951
+ };
15952
+ query?: never;
15953
+ url: '/api/2026-10-01/resources/it_management/asset_categories/{id}';
15954
+ };
15955
+ export type GetApi20261001ResourcesItManagementAssetCategoriesByIdResponses = {
15956
+ /**
15957
+ * OK
15958
+ */
15959
+ 200: ItManagementAssetCategory;
15960
+ };
15961
+ export type GetApi20261001ResourcesItManagementAssetCategoriesByIdResponse = GetApi20261001ResourcesItManagementAssetCategoriesByIdResponses[keyof GetApi20261001ResourcesItManagementAssetCategoriesByIdResponses];
15895
15962
  export type GetApi20261001ResourcesItManagementItAssetsData = {
15896
15963
  body?: never;
15897
15964
  path?: never;
@@ -15908,6 +15975,10 @@ export type GetApi20261001ResourcesItManagementItAssetsData = {
15908
15975
  * Type names of IT assets to filter
15909
15976
  */
15910
15977
  'type_names[]'?: Array<string>;
15978
+ /**
15979
+ * Asset category IDs to filter assets by group
15980
+ */
15981
+ 'asset_category_ids[]'?: Array<string>;
15911
15982
  /**
15912
15983
  * Owner (employee) identifiers to filter assets
15913
15984
  */
@@ -16149,9 +16220,13 @@ export type GetApi20261001ResourcesItManagementItAssetModelsResponse = GetApi202
16149
16220
  export type PostApi20261001ResourcesItManagementItAssetModelsData = {
16150
16221
  body?: {
16151
16222
  /**
16152
- * Type name of the IT asset model. Possible values are 'laptop', 'desktop', 'tablet', 'phone', 'screen', 'mouse', 'keyboard', 'headset', 'other'
16223
+ * Deprecated: legacy IT-only type. Possible values are 'laptop', 'desktop', 'tablet', 'phone', 'screen', 'mouse', 'keyboard', 'headset', 'other'. Prefer `asset_category_id`, which covers the full catalog (IT and beyond). Ignored when `asset_category_id` is also given.
16224
+ */
16225
+ type_name?: string;
16226
+ /**
16227
+ * ID of the asset subtype from the `it_management.asset_category` catalog (e.g. the id of 'vehicles.car'). Takes precedence over `type_name` when both are given.
16153
16228
  */
16154
- type_name: string;
16229
+ asset_category_id?: string;
16155
16230
  /**
16156
16231
  * Brand of the IT asset model
16157
16232
  */
@@ -16201,9 +16276,13 @@ export type PutApi20261001ResourcesItManagementItAssetModelsByIdData = {
16201
16276
  */
16202
16277
  id: string;
16203
16278
  /**
16204
- * Type name of the IT asset model. Possible values are 'laptop', 'desktop', 'tablet', 'phone', 'screen', 'mouse', 'keyboard', 'headset', 'other'
16279
+ * Deprecated: legacy IT-only type. Possible values are 'laptop', 'desktop', 'tablet', 'phone', 'screen', 'mouse', 'keyboard', 'headset', 'other'. Prefer `asset_category_id`, which covers the full catalog (IT and beyond). Ignored when `asset_category_id` is also given.
16280
+ */
16281
+ type_name?: string;
16282
+ /**
16283
+ * ID of the asset subtype from the `it_management.asset_category` catalog (e.g. the id of 'vehicles.car'). Takes precedence over `type_name` when both are given.
16205
16284
  */
16206
- type_name: string;
16285
+ asset_category_id?: string;
16207
16286
  /**
16208
16287
  * Brand of the IT asset model
16209
16288
  */