@factorialco/api-client 3.0.0-beta.2026100138 → 3.0.0-beta.2026100139

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.
@@ -8709,6 +8709,32 @@ export type TimeSettingsBreakConfiguration = {
8709
8709
  paid: boolean;
8710
8710
  archived: boolean;
8711
8711
  };
8712
+ export type TimeSettingsSplitCustomTimeRangeCategory = {
8713
+ /**
8714
+ * Split custom time range category identifier.
8715
+ */
8716
+ id: string;
8717
+ /**
8718
+ * The parent custom time range category's name (the split has no name of its own); combine with time_type to label the split, e.g. "Night work (overtime)".
8719
+ */
8720
+ name: string;
8721
+ /**
8722
+ * Whether the split covers regular or overtime work.
8723
+ */
8724
+ time_type: 'regular' | 'overtime' | 'any_time';
8725
+ /**
8726
+ * Whether the split is active, i.e. its parent category is not archived.
8727
+ */
8728
+ active: boolean;
8729
+ /**
8730
+ * Company the category belongs to.
8731
+ */
8732
+ company_id: string;
8733
+ /**
8734
+ * Parent custom time range category this split belongs to.
8735
+ */
8736
+ custom_time_range_category_id: string;
8737
+ };
8712
8738
  export type TrainingsCategory = {
8713
8739
  id: string;
8714
8740
  name: string;
@@ -26814,6 +26840,53 @@ export type PutApi20261001ResourcesTimeSettingsBreakConfigurationsByIdResponses
26814
26840
  200: TimeSettingsBreakConfiguration;
26815
26841
  };
26816
26842
  export type PutApi20261001ResourcesTimeSettingsBreakConfigurationsByIdResponse = PutApi20261001ResourcesTimeSettingsBreakConfigurationsByIdResponses[keyof PutApi20261001ResourcesTimeSettingsBreakConfigurationsByIdResponses];
26843
+ export type GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesData = {
26844
+ body?: never;
26845
+ path?: never;
26846
+ query?: {
26847
+ /**
26848
+ * Split custom time range category IDs to filter by.
26849
+ */
26850
+ 'ids[]'?: Array<string>;
26851
+ /**
26852
+ * Company ID to scope the query to.
26853
+ */
26854
+ company_id?: string;
26855
+ /**
26856
+ * Filter by whether the category is active.
26857
+ */
26858
+ active?: boolean;
26859
+ };
26860
+ url: '/api/2026-10-01/resources/time_settings/split_custom_time_range_categories';
26861
+ };
26862
+ export type GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesResponses = {
26863
+ /**
26864
+ * OK
26865
+ */
26866
+ 200: {
26867
+ data?: Array<TimeSettingsSplitCustomTimeRangeCategory>;
26868
+ meta?: PagedIndexMeta;
26869
+ };
26870
+ };
26871
+ export type GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesResponse = GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesResponses[keyof GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesResponses];
26872
+ export type GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesByIdData = {
26873
+ body?: never;
26874
+ path: {
26875
+ /**
26876
+ * Split custom time range category IDs to filter by.
26877
+ */
26878
+ id: string;
26879
+ };
26880
+ query?: never;
26881
+ url: '/api/2026-10-01/resources/time_settings/split_custom_time_range_categories/{id}';
26882
+ };
26883
+ export type GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesByIdResponses = {
26884
+ /**
26885
+ * OK
26886
+ */
26887
+ 200: TimeSettingsSplitCustomTimeRangeCategory;
26888
+ };
26889
+ export type GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesByIdResponse = GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesByIdResponses[keyof GetApi20261001ResourcesTimeSettingsSplitCustomTimeRangeCategoriesByIdResponses];
26817
26890
  export type GetApi20261001ResourcesTrainingsCategoriesData = {
26818
26891
  body?: never;
26819
26892
  path?: never;