@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.
- package/dist/cjs/generated/sdk.gen.d.ts +3 -3
- package/dist/cjs/generated/sdk.gen.js +3 -3
- package/dist/cjs/generated/types.gen.d.ts +2 -2
- package/dist/esm/generated/sdk.gen.d.ts +3 -3
- package/dist/esm/generated/sdk.gen.js +3 -3
- package/dist/esm/generated/types.gen.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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,
|
|
399
|
-
* (
|
|
400
|
-
* in the company; other
|
|
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,
|
|
812
|
-
* (
|
|
813
|
-
* in the company; other
|
|
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
|
-
*
|
|
8907
|
-
*
|
|
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,
|
|
399
|
-
* (
|
|
400
|
-
* in the company; other
|
|
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,
|
|
736
|
-
* (
|
|
737
|
-
* in the company; other
|
|
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
|
-
*
|
|
8907
|
-
*
|
|
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>;
|