@tourmalinecore/inner-circle-time-api-js-client 1.14.1 → 1.14.2-403cd7b8f08fc98dca4484801bf792c29d95d2ee
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/index.d.ts +41 -1
- package/dist/index.js +12 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
export interface AdjustmentTime {
|
|
2
|
+
/** @format date-time */
|
|
3
|
+
startTime: string;
|
|
4
|
+
/** @format date-time */
|
|
5
|
+
endTime: string;
|
|
6
|
+
}
|
|
7
|
+
export type AvailabilityNotificationStatus = number;
|
|
1
8
|
export interface AwayWithMakeUpTimeEntryDto {
|
|
2
9
|
/** @format int64 */
|
|
3
10
|
id: number;
|
|
@@ -85,6 +92,23 @@ export interface GetAllEmployeesResponse {
|
|
|
85
92
|
export interface GetAllProjectsResponse {
|
|
86
93
|
projects: ProjectDto[];
|
|
87
94
|
}
|
|
95
|
+
export interface GetAvailabilityNotificationsResponse {
|
|
96
|
+
/** @format int64 */
|
|
97
|
+
id: number;
|
|
98
|
+
/** @format int64 */
|
|
99
|
+
entryId: number;
|
|
100
|
+
employeeFullName: string;
|
|
101
|
+
entryType: EntryType;
|
|
102
|
+
/** @format date-time */
|
|
103
|
+
startTime: string;
|
|
104
|
+
/** @format date-time */
|
|
105
|
+
endTime: string;
|
|
106
|
+
description?: string | null;
|
|
107
|
+
adjustmentTimeList?: AdjustmentTime[] | null;
|
|
108
|
+
status?: AvailabilityNotificationStatus;
|
|
109
|
+
/** @format date-time */
|
|
110
|
+
createdAtUtc?: string;
|
|
111
|
+
}
|
|
88
112
|
export interface GetAwayWithMakeUpTimeEntryResponse {
|
|
89
113
|
/** @format int64 */
|
|
90
114
|
id: number;
|
|
@@ -323,7 +347,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
323
347
|
}
|
|
324
348
|
/**
|
|
325
349
|
* @title inner-circle-time-api
|
|
326
|
-
* @version 1.14.
|
|
350
|
+
* @version 1.14.2
|
|
327
351
|
* @baseUrl http://localhost:6507/
|
|
328
352
|
*/
|
|
329
353
|
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
@@ -578,4 +602,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
578
602
|
*/
|
|
579
603
|
getAllProjects: (params?: RequestParams) => Promise<AxiosResponse<GetAllProjectsResponse, any, {}>>;
|
|
580
604
|
};
|
|
605
|
+
availabilityNotifications: {
|
|
606
|
+
/**
|
|
607
|
+
* No description
|
|
608
|
+
*
|
|
609
|
+
* @tags AvailabilityNotifications
|
|
610
|
+
* @name GetAvailabilityNotifications
|
|
611
|
+
* @summary Get availability notifications by period
|
|
612
|
+
* @request GET:/availability-notifications
|
|
613
|
+
*/
|
|
614
|
+
getAvailabilityNotifications: (query: {
|
|
615
|
+
/** @format date */
|
|
616
|
+
startDate: string;
|
|
617
|
+
/** @format date */
|
|
618
|
+
endDate: string;
|
|
619
|
+
}, params?: RequestParams) => Promise<AxiosResponse<GetAvailabilityNotificationsResponse, any, {}>>;
|
|
620
|
+
};
|
|
581
621
|
}
|
package/dist/index.js
CHANGED
|
@@ -110,7 +110,7 @@ class HttpClient {
|
|
|
110
110
|
exports.HttpClient = HttpClient;
|
|
111
111
|
/**
|
|
112
112
|
* @title inner-circle-time-api
|
|
113
|
-
* @version 1.14.
|
|
113
|
+
* @version 1.14.2
|
|
114
114
|
* @baseUrl http://localhost:6507/
|
|
115
115
|
*/
|
|
116
116
|
class Api extends HttpClient {
|
|
@@ -338,6 +338,17 @@ class Api extends HttpClient {
|
|
|
338
338
|
*/
|
|
339
339
|
getAllProjects: (params = {}) => this.request(Object.assign({ path: `/internal/projects`, method: "GET", format: "json" }, params)),
|
|
340
340
|
};
|
|
341
|
+
this.availabilityNotifications = {
|
|
342
|
+
/**
|
|
343
|
+
* No description
|
|
344
|
+
*
|
|
345
|
+
* @tags AvailabilityNotifications
|
|
346
|
+
* @name GetAvailabilityNotifications
|
|
347
|
+
* @summary Get availability notifications by period
|
|
348
|
+
* @request GET:/availability-notifications
|
|
349
|
+
*/
|
|
350
|
+
getAvailabilityNotifications: (query, params = {}) => this.request(Object.assign({ path: `/availability-notifications`, method: "GET", query: query, format: "json" }, params)),
|
|
351
|
+
};
|
|
341
352
|
}
|
|
342
353
|
}
|
|
343
354
|
exports.Api = Api;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tourmalinecore/inner-circle-time-api-js-client",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2-403cd7b8f08fc98dca4484801bf792c29d95d2ee",
|
|
4
4
|
"description": "Client for inner-circle-time-api that provides TypeScript types and client to make network calls from JavaScript.",
|
|
5
5
|
"homepage": "https://github.com/TourmalineCore/inner-circle-time-api#readme",
|
|
6
6
|
"bugs": {
|