@maple-app/sdk-node
Advanced tools
Comparing version 0.3.3 to 0.3.4
57
api.d.ts
@@ -503,2 +503,15 @@ /** | ||
* @export | ||
* @interface ShiftAssignmentListApiResponseDto | ||
*/ | ||
export interface ShiftAssignmentListApiResponseDto { | ||
/** | ||
* | ||
* @type {Array<ShiftAssignmentApiResponseDataDto>} | ||
* @memberof ShiftAssignmentListApiResponseDto | ||
*/ | ||
data: Array<ShiftAssignmentApiResponseDataDto>; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface ShiftIntegrationApiResponseDataDto | ||
@@ -648,2 +661,34 @@ */ | ||
* @export | ||
* @interface TimecardApiResponseDataDto | ||
*/ | ||
export interface TimecardApiResponseDataDto { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof TimecardApiResponseDataDto | ||
*/ | ||
id: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof TimecardApiResponseDataDto | ||
*/ | ||
type: string; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface TimecardApiResponseDto | ||
*/ | ||
export interface TimecardApiResponseDto { | ||
/** | ||
* | ||
* @type {TimecardApiResponseDataDto} | ||
* @memberof TimecardApiResponseDto | ||
*/ | ||
data: TimecardApiResponseDataDto; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
@@ -927,3 +972,3 @@ */ | ||
*/ | ||
createShiftCompletion(shiftId: string, completeShiftApiRequestDto: CompleteShiftApiRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShiftIntegrationApiResponseDto>>; | ||
createShiftCompletion(shiftId: string, completeShiftApiRequestDto: CompleteShiftApiRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TimecardApiResponseDto>>; | ||
/** | ||
@@ -961,3 +1006,3 @@ * Delete a shift. | ||
*/ | ||
getShiftAssignments(shiftId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ShiftAssignmentApiResponseDto>>>; | ||
getShiftAssignments(shiftId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShiftAssignmentListApiResponseDto>>; | ||
/** | ||
@@ -1011,3 +1056,3 @@ * Update a shift. | ||
*/ | ||
createShiftCompletion(requestParameters: DefaultApiCreateShiftCompletionRequest, options?: AxiosRequestConfig): AxiosPromise<ShiftIntegrationApiResponseDto>; | ||
createShiftCompletion(requestParameters: DefaultApiCreateShiftCompletionRequest, options?: AxiosRequestConfig): AxiosPromise<TimecardApiResponseDto>; | ||
/** | ||
@@ -1044,3 +1089,3 @@ * Delete a shift. | ||
*/ | ||
getShiftAssignments(requestParameters: DefaultApiGetShiftAssignmentsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<ShiftAssignmentApiResponseDto>>; | ||
getShiftAssignments(requestParameters: DefaultApiGetShiftAssignmentsRequest, options?: AxiosRequestConfig): AxiosPromise<ShiftAssignmentListApiResponseDto>; | ||
/** | ||
@@ -1249,3 +1294,3 @@ * Update a shift. | ||
*/ | ||
createShiftCompletion(requestParameters: DefaultApiCreateShiftCompletionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ShiftIntegrationApiResponseDto, any>>; | ||
createShiftCompletion(requestParameters: DefaultApiCreateShiftCompletionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TimecardApiResponseDto, any>>; | ||
/** | ||
@@ -1286,3 +1331,3 @@ * Delete a shift. | ||
*/ | ||
getShiftAssignments(requestParameters: DefaultApiGetShiftAssignmentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ShiftAssignmentApiResponseDto[], any>>; | ||
getShiftAssignments(requestParameters: DefaultApiGetShiftAssignmentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ShiftAssignmentListApiResponseDto, any>>; | ||
/** | ||
@@ -1289,0 +1334,0 @@ * Update a shift. |
{ | ||
"name": "@maple-app/sdk-node", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "The Maple REST API SDK for Node.js.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
137162
2689