@worknice/js-sdk 0.3.5-rc.2 → 0.4.0-rc.2

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.
@@ -1156,6 +1156,7 @@ type DocumentTemplate = Template & {
1156
1156
  };
1157
1157
  type EmailNotificationSettings = {
1158
1158
  approvalRequested: Scalars['Boolean']['output'];
1159
+ assignmentApproved: Scalars['Boolean']['output'];
1159
1160
  assignmentAssigned: Scalars['Boolean']['output'];
1160
1161
  assignmentExpired: Scalars['Boolean']['output'];
1161
1162
  assignmentExpiringSoon: Scalars['Boolean']['output'];
@@ -1167,6 +1168,7 @@ type EmailNotificationSettings = {
1167
1168
  };
1168
1169
  type EmailNotificationSettingsInput = {
1169
1170
  approvalRequested?: InputMaybe<Scalars['Boolean']['input']>;
1171
+ assignmentApproved?: InputMaybe<Scalars['Boolean']['input']>;
1170
1172
  assignmentAssigned?: InputMaybe<Scalars['Boolean']['input']>;
1171
1173
  assignmentExpired?: InputMaybe<Scalars['Boolean']['input']>;
1172
1174
  assignmentExpiringSoon?: InputMaybe<Scalars['Boolean']['input']>;
@@ -3494,6 +3496,8 @@ type Notification = {
3494
3496
  declare enum NotificationType {
3495
3497
  /** Sent to the approver when the approval is requested by an admin. */
3496
3498
  ApprovalRequested = "APPROVAL_REQUESTED",
3499
+ /** Sent to the person responsible for an assignment when all it's approvals have been approved. */
3500
+ AssignmentApproved = "ASSIGNMENT_APPROVED",
3497
3501
  /** Sent to the owner of a assignment when it's assigned (transitions from a 'draft' to an 'assigned' status). */
3498
3502
  AssignmentAssigned = "ASSIGNMENT_ASSIGNED",
3499
3503
  /** Sent to the person responsible for an assignment (i.e. an admin) when it has expired. */
@@ -198,6 +198,7 @@ var LeaveRequestStatus = /* @__PURE__ */ ((LeaveRequestStatus2) => {
198
198
  })(LeaveRequestStatus || {});
199
199
  var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
200
200
  NotificationType2["ApprovalRequested"] = "APPROVAL_REQUESTED";
201
+ NotificationType2["AssignmentApproved"] = "ASSIGNMENT_APPROVED";
201
202
  NotificationType2["AssignmentAssigned"] = "ASSIGNMENT_ASSIGNED";
202
203
  NotificationType2["AssignmentExpired"] = "ASSIGNMENT_EXPIRED";
203
204
  NotificationType2["AssignmentExpiringSoon"] = "ASSIGNMENT_EXPIRING_SOON";