@worknice/js-sdk 0.6.6 → 0.7.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.
Files changed (46) hide show
  1. package/dist/{_types-CuxiubzE.d.ts → _types-CDzL45iD.d.ts} +3 -3
  2. package/dist/api/WorkniceIntegrationLogger.d.ts +1 -1
  3. package/dist/api/_generated.d.ts +8 -8
  4. package/dist/api/_generated.js.map +1 -1
  5. package/dist/api/_types.d.ts +1 -1
  6. package/dist/api/createApiOperation.d.ts +1 -1
  7. package/dist/api/createWorkniceClient.d.ts +1 -1
  8. package/dist/api/operations/activateIntegration.d.ts +1 -1
  9. package/dist/api/operations/authorizeIntegration.d.ts +1 -1
  10. package/dist/api/operations/completeSync.d.ts +1 -1
  11. package/dist/api/operations/createApiToken.d.ts +1 -1
  12. package/dist/api/operations/createDataImport.d.ts +1 -1
  13. package/dist/api/operations/createLeaveRequest.d.ts +2 -2
  14. package/dist/api/operations/createPerson.d.ts +1 -1
  15. package/dist/api/operations/createPersonConnection.d.ts +1 -1
  16. package/dist/api/operations/createPersonDataImportLine.d.ts +1 -1
  17. package/dist/api/operations/deleteApiToken.d.ts +1 -1
  18. package/dist/api/operations/deletePersonConnection.d.ts +1 -1
  19. package/dist/api/operations/getApiTokens.d.ts +1 -1
  20. package/dist/api/operations/getIntegration.d.ts +1 -1
  21. package/dist/api/operations/getLeaveRequests.d.ts +2 -2
  22. package/dist/api/operations/getMyApps.d.ts +1 -1
  23. package/dist/api/operations/getPeople.d.ts +1 -1
  24. package/dist/api/operations/getPersonConnections.d.ts +1 -1
  25. package/dist/api/operations/initializeIntegration.d.ts +1 -1
  26. package/dist/api/operations/updateLeaveRequest.d.ts +2 -2
  27. package/dist/api/operations/updatePerson.d.ts +1 -1
  28. package/dist/api/operations/updatePersonConnection.d.ts +1 -1
  29. package/dist/helpers/_types.d.ts +1 -1
  30. package/dist/helpers/handleApproveLeaveRequestWebhook.d.ts +1 -1
  31. package/dist/helpers/handleCancelLeaveRequestWebhook.d.ts +1 -1
  32. package/dist/helpers/handleCreateIntegrationWebhook.d.ts +1 -1
  33. package/dist/helpers/handleCreateLeaveRequestWebhook.d.ts +1 -1
  34. package/dist/helpers/handleDenyLeaveRequestWebhook.d.ts +1 -1
  35. package/dist/helpers/handleGetAuthorizationUrlWebhook.d.ts +1 -1
  36. package/dist/helpers/handleGetLeaveBalancesWebhook.d.ts +1 -1
  37. package/dist/helpers/handleGetLeaveCategoriesWebhook.d.ts +1 -1
  38. package/dist/helpers/handleGetLeaveRequestHoursWebhook.d.ts +1 -1
  39. package/dist/helpers/handleProcessLeaveRequestWebhook.d.ts +1 -1
  40. package/dist/helpers/handleRequest.d.ts +1 -1
  41. package/dist/helpers/handleRequestWithWorknice.d.ts +1 -1
  42. package/dist/helpers/handleTriggerIntegrationSyncWebhook.d.ts +1 -1
  43. package/dist/helpers/handleTriggerIntegrationSyncWebhook.js +3 -1
  44. package/dist/helpers/handleTriggerIntegrationSyncWebhook.js.map +1 -1
  45. package/dist/helpers/index.d.ts +1 -1
  46. package/package.json +2 -2
@@ -79,7 +79,7 @@ declare const createWorkniceClient: (clientConfig?: ClientConfig) => {
79
79
  endTime?: string | null;
80
80
  id: string;
81
81
  notes?: string | null;
82
- remoteId?: string | null;
82
+ remoteId: string;
83
83
  startDate: string;
84
84
  startTime?: string | null;
85
85
  status: LeaveRequestStatus;
@@ -399,7 +399,7 @@ declare const createWorkniceClient: (clientConfig?: ClientConfig) => {
399
399
  endTime?: string | null;
400
400
  id: string;
401
401
  notes?: string | null;
402
- remoteId?: string | null;
402
+ remoteId: string;
403
403
  startDate: string;
404
404
  startTime?: string | null;
405
405
  status: LeaveRequestStatus;
@@ -604,7 +604,7 @@ declare const createWorkniceClient: (clientConfig?: ClientConfig) => {
604
604
  endTime?: string | null;
605
605
  id: string;
606
606
  notes?: string | null;
607
- remoteId?: string | null;
607
+ remoteId: string;
608
608
  startDate: string;
609
609
  startTime?: string | null;
610
610
  status: LeaveRequestStatus;
@@ -1,4 +1,4 @@
1
- import { W as WorkniceClient } from '../_types-CuxiubzE.js';
1
+ import { W as WorkniceClient } from '../_types-CDzL45iD.js';
2
2
  import './_generated.js';
3
3
 
4
4
  type Logger = Pick<Console, "debug" | "error" | "info" | "warn"> & Partial<Pick<Console, "group" | "groupEnd">>;
@@ -1906,7 +1906,7 @@ type LeaveRequest = SharedCalendarEvent & {
1906
1906
  personConnection: PersonConnection;
1907
1907
  processedAt?: Maybe<Scalars['DateTime']['output']>;
1908
1908
  processor?: Maybe<Person>;
1909
- remoteId?: Maybe<Scalars['String']['output']>;
1909
+ remoteId: Scalars['String']['output'];
1910
1910
  responsible?: Maybe<Person>;
1911
1911
  startDate: Scalars['Date']['output'];
1912
1912
  startTime?: Maybe<Scalars['PlainTime']['output']>;
@@ -5382,7 +5382,7 @@ type CreateLeaveRequestMutation = {
5382
5382
  endTime?: string | null;
5383
5383
  id: string;
5384
5384
  notes?: string | null;
5385
- remoteId?: string | null;
5385
+ remoteId: string;
5386
5386
  startDate: string;
5387
5387
  startTime?: string | null;
5388
5388
  status: LeaveRequestStatus;
@@ -5554,7 +5554,7 @@ type GetLeaveRequestsQuery = {
5554
5554
  endTime?: string | null;
5555
5555
  id: string;
5556
5556
  notes?: string | null;
5557
- remoteId?: string | null;
5557
+ remoteId: string;
5558
5558
  startDate: string;
5559
5559
  startTime?: string | null;
5560
5560
  status: LeaveRequestStatus;
@@ -5577,7 +5577,7 @@ type GetLeaveRequestsQuery = {
5577
5577
  endTime?: string | null;
5578
5578
  id: string;
5579
5579
  notes?: string | null;
5580
- remoteId?: string | null;
5580
+ remoteId: string;
5581
5581
  startDate: string;
5582
5582
  startTime?: string | null;
5583
5583
  status: LeaveRequestStatus;
@@ -5600,7 +5600,7 @@ type GetLeaveRequestsQuery = {
5600
5600
  endTime?: string | null;
5601
5601
  id: string;
5602
5602
  notes?: string | null;
5603
- remoteId?: string | null;
5603
+ remoteId: string;
5604
5604
  startDate: string;
5605
5605
  startTime?: string | null;
5606
5606
  status: LeaveRequestStatus;
@@ -5623,7 +5623,7 @@ type GetLeaveRequestsQuery = {
5623
5623
  endTime?: string | null;
5624
5624
  id: string;
5625
5625
  notes?: string | null;
5626
- remoteId?: string | null;
5626
+ remoteId: string;
5627
5627
  startDate: string;
5628
5628
  startTime?: string | null;
5629
5629
  status: LeaveRequestStatus;
@@ -5646,7 +5646,7 @@ type GetLeaveRequestsQuery = {
5646
5646
  endTime?: string | null;
5647
5647
  id: string;
5648
5648
  notes?: string | null;
5649
- remoteId?: string | null;
5649
+ remoteId: string;
5650
5650
  startDate: string;
5651
5651
  startTime?: string | null;
5652
5652
  status: LeaveRequestStatus;
@@ -5903,7 +5903,7 @@ type UpdateLeaveRequestMutation = {
5903
5903
  endTime?: string | null;
5904
5904
  id: string;
5905
5905
  notes?: string | null;
5906
- remoteId?: string | null;
5906
+ remoteId: string;
5907
5907
  startDate: string;
5908
5908
  startTime?: string | null;
5909
5909
  status: LeaveRequestStatus;