@worknice/js-sdk 0.4.2-rc.2 → 0.4.2-rc.3
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/api/_generated.d.ts
CHANGED
|
@@ -1161,7 +1161,10 @@ type EmailNotificationSettings = {
|
|
|
1161
1161
|
assignmentExpired: Scalars['Boolean']['output'];
|
|
1162
1162
|
assignmentExpiringSoon: Scalars['Boolean']['output'];
|
|
1163
1163
|
assignmentSubmitted: Scalars['Boolean']['output'];
|
|
1164
|
+
leaveRequestApproved: Scalars['Boolean']['output'];
|
|
1165
|
+
leaveRequestCancelled: Scalars['Boolean']['output'];
|
|
1164
1166
|
leaveRequestCreated: Scalars['Boolean']['output'];
|
|
1167
|
+
leaveRequestDenied: Scalars['Boolean']['output'];
|
|
1165
1168
|
reviewAssigned: Scalars['Boolean']['output'];
|
|
1166
1169
|
reviewScheduled: Scalars['Boolean']['output'];
|
|
1167
1170
|
reviewSubmitted: Scalars['Boolean']['output'];
|
|
@@ -1173,7 +1176,10 @@ type EmailNotificationSettingsInput = {
|
|
|
1173
1176
|
assignmentExpired?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1174
1177
|
assignmentExpiringSoon?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1175
1178
|
assignmentSubmitted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1179
|
+
leaveRequestApproved?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1180
|
+
leaveRequestCancelled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1176
1181
|
leaveRequestCreated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1182
|
+
leaveRequestDenied?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1177
1183
|
reviewAssigned?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1178
1184
|
reviewScheduled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1179
1185
|
reviewSubmitted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -3506,8 +3512,14 @@ declare enum NotificationType {
|
|
|
3506
3512
|
AssignmentExpiringSoon = "ASSIGNMENT_EXPIRING_SOON",
|
|
3507
3513
|
/** Sent to the person responsible for an assignment (i.e. an admin) when it has expired. */
|
|
3508
3514
|
AssignmentSubmitted = "ASSIGNMENT_SUBMITTED",
|
|
3515
|
+
/** Sent to the owner when a leave request is approved. */
|
|
3516
|
+
LeaveRequestApproved = "LEAVE_REQUEST_APPROVED",
|
|
3517
|
+
/** Sent to the owner when a leave request is cancelled. */
|
|
3518
|
+
LeaveRequestCancelled = "LEAVE_REQUEST_CANCELLED",
|
|
3509
3519
|
/** Sent to the approver when a leave request is made. */
|
|
3510
3520
|
LeaveRequestCreated = "LEAVE_REQUEST_CREATED",
|
|
3521
|
+
/** Sent to the owner when a leave request is denied. */
|
|
3522
|
+
LeaveRequestDenied = "LEAVE_REQUEST_DENIED",
|
|
3511
3523
|
/** Sent to the reviewer when a review they are required to conduct has been assigned to them. */
|
|
3512
3524
|
ReviewAssigned = "REVIEW_ASSIGNED",
|
|
3513
3525
|
/** Sent to the subject of a review when a time for the review to take place has been set. */
|
package/dist/api/_generated.js
CHANGED
|
@@ -203,7 +203,10 @@ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
|
203
203
|
NotificationType2["AssignmentExpired"] = "ASSIGNMENT_EXPIRED";
|
|
204
204
|
NotificationType2["AssignmentExpiringSoon"] = "ASSIGNMENT_EXPIRING_SOON";
|
|
205
205
|
NotificationType2["AssignmentSubmitted"] = "ASSIGNMENT_SUBMITTED";
|
|
206
|
+
NotificationType2["LeaveRequestApproved"] = "LEAVE_REQUEST_APPROVED";
|
|
207
|
+
NotificationType2["LeaveRequestCancelled"] = "LEAVE_REQUEST_CANCELLED";
|
|
206
208
|
NotificationType2["LeaveRequestCreated"] = "LEAVE_REQUEST_CREATED";
|
|
209
|
+
NotificationType2["LeaveRequestDenied"] = "LEAVE_REQUEST_DENIED";
|
|
207
210
|
NotificationType2["ReviewAssigned"] = "REVIEW_ASSIGNED";
|
|
208
211
|
NotificationType2["ReviewScheduled"] = "REVIEW_SCHEDULED";
|
|
209
212
|
NotificationType2["ReviewSubmitted"] = "REVIEW_SUBMITTED";
|