@nomalism-com/types 0.27.41 → 0.27.42

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.
@@ -53,9 +53,18 @@ export interface ITicketUpdateResponse {
53
53
  remaining_today_tickets_to_call: IRemainingTodayTickets[];
54
54
  last_tickets_called_today_by_channel?: ILastTicketCalledTodayByChannel[];
55
55
  }
56
+ export interface ITicketUndoRequest {
57
+ id: string;
58
+ }
59
+ export interface ITicketUndoResponse {
60
+ last_ticket_called_today: ILastTicketCalledToday | null;
61
+ remaining_today_tickets_to_call: IRemainingTodayTickets[];
62
+ last_tickets_called_today_by_channel?: ILastTicketCalledTodayByChannel[];
63
+ }
56
64
  export interface IRepository {
57
65
  create(data: ITicketCreateRequest): Promise<ITicketCreateResponse>;
58
66
  findToday(): Promise<ITicketsFindTodayResponse>;
59
67
  update(data: ITicketUpdateRequest): Promise<ITicketUpdateResponse>;
68
+ undoLastCall(data: ITicketUndoRequest): Promise<ITicketUndoResponse>;
60
69
  }
61
70
  export type IController = IShared.IEntityWithUserToken<IRepository>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.27.41",
12
+ "version": "0.27.42",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [