@worknice/utils 0.4.6-rc.5 → 0.5.0-rc.1
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/webhooks.d.ts +20 -2
- package/package.json +1 -1
package/dist/webhooks.d.ts
CHANGED
|
@@ -213,6 +213,9 @@ type GetLeaveBalancesResponsePayload = Array<{
|
|
|
213
213
|
};
|
|
214
214
|
}>;
|
|
215
215
|
type GetLeaveCategoriesRequestPayload = {
|
|
216
|
+
/**
|
|
217
|
+
* @deprecated Use `personConnection.integration` instead.
|
|
218
|
+
*/
|
|
216
219
|
integration: {
|
|
217
220
|
id: string;
|
|
218
221
|
org: {
|
|
@@ -220,13 +223,28 @@ type GetLeaveCategoriesRequestPayload = {
|
|
|
220
223
|
};
|
|
221
224
|
};
|
|
222
225
|
/**
|
|
223
|
-
* @deprecated Use `integration.id` instead.
|
|
226
|
+
* @deprecated Use `personConnection.integration.id` instead.
|
|
224
227
|
*/
|
|
225
228
|
integrationId: string;
|
|
226
229
|
/**
|
|
227
|
-
* @deprecated Use `integration.org.id` instead.
|
|
230
|
+
* @deprecated Use `personConnection.integration.org.id` instead.
|
|
228
231
|
*/
|
|
229
232
|
orgId: string;
|
|
233
|
+
personConnection: {
|
|
234
|
+
id: string;
|
|
235
|
+
integration: {
|
|
236
|
+
id: string;
|
|
237
|
+
org: {
|
|
238
|
+
id: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
person: {
|
|
242
|
+
id: string;
|
|
243
|
+
};
|
|
244
|
+
remote: {
|
|
245
|
+
id: string;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
230
248
|
};
|
|
231
249
|
type GetLeaveCategoriesResponsePayload = {
|
|
232
250
|
leaveCategories: Array<{
|