rotacloud 1.4.4 → 1.4.5

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.
@@ -1,7 +1,7 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import { Options, RequirementsOf, Service } from './service';
3
- import { ToilAccrualsQueryParams } from '../interfaces/query-params/toil-accruals-query-params.interface';
4
- import { ToilAccrual } from '../interfaces/toil-accrual.interface';
2
+ import { Options, RequirementsOf, Service } from './service.js';
3
+ import { ToilAccrualsQueryParams } from '../interfaces/query-params/toil-accruals-query-params.interface.js';
4
+ import { ToilAccrual } from '../interfaces/toil-accrual.interface.js';
5
5
  type RequiredProps = 'duration_hours' | 'leave_year' | 'user_id';
6
6
  export declare class ToilAccrualsService extends Service {
7
7
  private apiPath;
@@ -35,8 +35,8 @@ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _ar
35
35
  };
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ToilAccrualsService = void 0;
38
- const service_1 = require("./service");
39
- class ToilAccrualsService extends service_1.Service {
38
+ const service_js_1 = require("./service.js");
39
+ class ToilAccrualsService extends service_js_1.Service {
40
40
  constructor() {
41
41
  super(...arguments);
42
42
  this.apiPath = '/toil_accruals';
@@ -1,6 +1,6 @@
1
- import { Options, Service } from './service';
2
- import { ToilAllowanceQueryParams } from '../interfaces/query-params/toil-allowance-query-params.interface';
3
- import { ToilAllowance } from '../interfaces/toil-allowance.interface';
1
+ import { Options, Service } from './service.js';
2
+ import { ToilAllowanceQueryParams } from '../interfaces/query-params/toil-allowance-query-params.interface.js';
3
+ import { ToilAllowance } from '../interfaces/toil-allowance.interface.js';
4
4
  export declare class ToilAllowanceService extends Service<ToilAllowance> {
5
5
  private apiPath;
6
6
  list(year: number, query: ToilAllowanceQueryParams, options?: Options): AsyncGenerator<ToilAllowance, void, undefined>;
@@ -35,8 +35,8 @@ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _ar
35
35
  };
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ToilAllowanceService = void 0;
38
- const service_1 = require("./service");
39
- class ToilAllowanceService extends service_1.Service {
38
+ const service_js_1 = require("./service.js");
39
+ class ToilAllowanceService extends service_js_1.Service {
40
40
  constructor() {
41
41
  super(...arguments);
42
42
  this.apiPath = '/toil_allowance';
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Version = void 0;
4
- exports.Version = { version: '1.4.4' };
4
+ exports.Version = { version: '1.4.5' };
@@ -1,7 +1,7 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import { Options, RequirementsOf, Service } from './service';
3
- import { ToilAccrualsQueryParams } from '../interfaces/query-params/toil-accruals-query-params.interface';
4
- import { ToilAccrual } from '../interfaces/toil-accrual.interface';
2
+ import { Options, RequirementsOf, Service } from './service.js';
3
+ import { ToilAccrualsQueryParams } from '../interfaces/query-params/toil-accruals-query-params.interface.js';
4
+ import { ToilAccrual } from '../interfaces/toil-accrual.interface.js';
5
5
  type RequiredProps = 'duration_hours' | 'leave_year' | 'user_id';
6
6
  export declare class ToilAccrualsService extends Service {
7
7
  private apiPath;
@@ -1,4 +1,4 @@
1
- import { Service } from './service';
1
+ import { Service } from './service.js';
2
2
  export class ToilAccrualsService extends Service {
3
3
  constructor() {
4
4
  super(...arguments);
@@ -1,6 +1,6 @@
1
- import { Options, Service } from './service';
2
- import { ToilAllowanceQueryParams } from '../interfaces/query-params/toil-allowance-query-params.interface';
3
- import { ToilAllowance } from '../interfaces/toil-allowance.interface';
1
+ import { Options, Service } from './service.js';
2
+ import { ToilAllowanceQueryParams } from '../interfaces/query-params/toil-allowance-query-params.interface.js';
3
+ import { ToilAllowance } from '../interfaces/toil-allowance.interface.js';
4
4
  export declare class ToilAllowanceService extends Service<ToilAllowance> {
5
5
  private apiPath;
6
6
  list(year: number, query: ToilAllowanceQueryParams, options?: Options): AsyncGenerator<ToilAllowance, void, undefined>;
@@ -1,4 +1,4 @@
1
- import { Service } from './service';
1
+ import { Service } from './service.js';
2
2
  export class ToilAllowanceService extends Service {
3
3
  constructor() {
4
4
  super(...arguments);
@@ -1 +1 @@
1
- export const Version = { version: '1.4.4' };
1
+ export const Version = { version: '1.4.5' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rotacloud",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "The RotaCloud SDK for the RotaCloud API",
5
5
  "engines": {
6
6
  "node": ">=16.10.0"
@@ -1,7 +1,7 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import { Options, RequirementsOf, Service } from './service';
3
- import { ToilAccrualsQueryParams } from '../interfaces/query-params/toil-accruals-query-params.interface';
4
- import { ToilAccrual } from '../interfaces/toil-accrual.interface';
2
+ import { Options, RequirementsOf, Service } from './service.js';
3
+ import { ToilAccrualsQueryParams } from '../interfaces/query-params/toil-accruals-query-params.interface.js';
4
+ import { ToilAccrual } from '../interfaces/toil-accrual.interface.js';
5
5
 
6
6
  type RequiredProps = 'duration_hours' | 'leave_year' | 'user_id';
7
7
 
@@ -1,6 +1,6 @@
1
- import { Options, Service } from './service';
2
- import { ToilAllowanceQueryParams } from '../interfaces/query-params/toil-allowance-query-params.interface';
3
- import { ToilAllowance } from '../interfaces/toil-allowance.interface';
1
+ import { Options, Service } from './service.js';
2
+ import { ToilAllowanceQueryParams } from '../interfaces/query-params/toil-allowance-query-params.interface.js';
3
+ import { ToilAllowance } from '../interfaces/toil-allowance.interface.js';
4
4
 
5
5
  export class ToilAllowanceService extends Service<ToilAllowance> {
6
6
  private apiPath = '/toil_allowance';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const Version = { version: '1.4.4' };
1
+ export const Version = { version: '1.4.5' };