@factorialco/api-client 3.0.0-beta.2026100100 → 3.0.0-beta.2026100102

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.
@@ -395,9 +395,9 @@ export declare const getApi20261001ResourcesAttendanceEstimatedTimes: <ThrowOnEr
395
395
  * Reads all Open shifts
396
396
  *
397
397
  * Returns the currently open shifts. If `employee_ids` is provided, results are
398
- * filtered to those employees. If `employee_ids` is omitted, admin-scoped tokens
399
- * (those carrying the SeeAttendancePeriods permission) receive every open shift
400
- * in the company; other tokens receive only the caller's own open shift.
398
+ * filtered to those employees. If `employee_ids` is omitted, callers holding the
399
+ * SeeAttendancePeriods permission (e.g. admin API keys) receive every open shift
400
+ * in the company; other callers receive only their own open shift.
401
401
  *
402
402
  */
403
403
  export declare const getApi20261001ResourcesAttendanceOpenShifts: <ThrowOnError extends boolean = false>(options?: Options<GetApi20261001ResourcesAttendanceOpenShiftsData, ThrowOnError>) => RequestResult<GetApi20261001ResourcesAttendanceOpenShiftsResponses, unknown, ThrowOnError>;
@@ -808,9 +808,9 @@ exports.getApi20261001ResourcesAttendanceEstimatedTimes = getApi20261001Resource
808
808
  * Reads all Open shifts
809
809
  *
810
810
  * Returns the currently open shifts. If `employee_ids` is provided, results are
811
- * filtered to those employees. If `employee_ids` is omitted, admin-scoped tokens
812
- * (those carrying the SeeAttendancePeriods permission) receive every open shift
813
- * in the company; other tokens receive only the caller's own open shift.
811
+ * filtered to those employees. If `employee_ids` is omitted, callers holding the
812
+ * SeeAttendancePeriods permission (e.g. admin API keys) receive every open shift
813
+ * in the company; other callers receive only their own open shift.
814
814
  *
815
815
  */
816
816
  const getApi20261001ResourcesAttendanceOpenShifts = (options) => (options?.client ?? client_gen_js_1.client).get({
@@ -8903,8 +8903,8 @@ export type GetApi20261001ResourcesAttendanceOpenShiftsData = {
8903
8903
  query?: {
8904
8904
  /**
8905
8905
  * Optional. Employee ids to filter the open shifts by. When omitted,
8906
- * admin-scoped tokens receive all open shifts in the company; other
8907
- * tokens receive only the caller's own open shift.
8906
+ * callers holding the SeeAttendancePeriods permission receive all open
8907
+ * shifts in the company; other callers receive only their own open shift.
8908
8908
  *
8909
8909
  */
8910
8910
  'employee_ids[]'?: Array<string>;
@@ -395,9 +395,9 @@ export declare const getApi20261001ResourcesAttendanceEstimatedTimes: <ThrowOnEr
395
395
  * Reads all Open shifts
396
396
  *
397
397
  * Returns the currently open shifts. If `employee_ids` is provided, results are
398
- * filtered to those employees. If `employee_ids` is omitted, admin-scoped tokens
399
- * (those carrying the SeeAttendancePeriods permission) receive every open shift
400
- * in the company; other tokens receive only the caller's own open shift.
398
+ * filtered to those employees. If `employee_ids` is omitted, callers holding the
399
+ * SeeAttendancePeriods permission (e.g. admin API keys) receive every open shift
400
+ * in the company; other callers receive only their own open shift.
401
401
  *
402
402
  */
403
403
  export declare const getApi20261001ResourcesAttendanceOpenShifts: <ThrowOnError extends boolean = false>(options?: Options<GetApi20261001ResourcesAttendanceOpenShiftsData, ThrowOnError>) => RequestResult<GetApi20261001ResourcesAttendanceOpenShiftsResponses, unknown, ThrowOnError>;
@@ -732,9 +732,9 @@ export const getApi20261001ResourcesAttendanceEstimatedTimes = (options) => (opt
732
732
  * Reads all Open shifts
733
733
  *
734
734
  * Returns the currently open shifts. If `employee_ids` is provided, results are
735
- * filtered to those employees. If `employee_ids` is omitted, admin-scoped tokens
736
- * (those carrying the SeeAttendancePeriods permission) receive every open shift
737
- * in the company; other tokens receive only the caller's own open shift.
735
+ * filtered to those employees. If `employee_ids` is omitted, callers holding the
736
+ * SeeAttendancePeriods permission (e.g. admin API keys) receive every open shift
737
+ * in the company; other callers receive only their own open shift.
738
738
  *
739
739
  */
740
740
  export const getApi20261001ResourcesAttendanceOpenShifts = (options) => (options?.client ?? client).get({
@@ -8903,8 +8903,8 @@ export type GetApi20261001ResourcesAttendanceOpenShiftsData = {
8903
8903
  query?: {
8904
8904
  /**
8905
8905
  * Optional. Employee ids to filter the open shifts by. When omitted,
8906
- * admin-scoped tokens receive all open shifts in the company; other
8907
- * tokens receive only the caller's own open shift.
8906
+ * callers holding the SeeAttendancePeriods permission receive all open
8907
+ * shifts in the company; other callers receive only their own open shift.
8908
8908
  *
8909
8909
  */
8910
8910
  'employee_ids[]'?: Array<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/api-client",
3
- "version": "3.0.0-beta.2026100100",
3
+ "version": "3.0.0-beta.2026100102",
4
4
  "description": "Official TypeScript SDK for the Factorial API",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",