@worknice/js-sdk 0.7.2-rc.5 → 0.8.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.
Files changed (46) hide show
  1. package/dist/{_types-CDzL45iD.d.ts → _types-mREZ9_FT.d.ts} +1 -1
  2. package/dist/api/WorkniceIntegrationLogger.d.ts +1 -1
  3. package/dist/api/_generated.d.ts +9 -9
  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 +1 -1
  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 +1 -1
  22. package/dist/api/operations/getMyApps.d.ts +2 -2
  23. package/dist/api/operations/getMyApps.js +1 -1
  24. package/dist/api/operations/getMyApps.js.map +1 -1
  25. package/dist/api/operations/getPeople.d.ts +1 -1
  26. package/dist/api/operations/getPersonConnections.d.ts +1 -1
  27. package/dist/api/operations/initializeIntegration.d.ts +1 -1
  28. package/dist/api/operations/updateLeaveRequest.d.ts +1 -1
  29. package/dist/api/operations/updatePerson.d.ts +1 -1
  30. package/dist/api/operations/updatePersonConnection.d.ts +1 -1
  31. package/dist/helpers/_types.d.ts +1 -1
  32. package/dist/helpers/handleApproveLeaveRequestWebhook.d.ts +1 -1
  33. package/dist/helpers/handleCancelLeaveRequestWebhook.d.ts +1 -1
  34. package/dist/helpers/handleCreateIntegrationWebhook.d.ts +1 -1
  35. package/dist/helpers/handleCreateLeaveRequestWebhook.d.ts +1 -1
  36. package/dist/helpers/handleDenyLeaveRequestWebhook.d.ts +1 -1
  37. package/dist/helpers/handleGetAuthorizationUrlWebhook.d.ts +1 -1
  38. package/dist/helpers/handleGetLeaveBalancesWebhook.d.ts +1 -1
  39. package/dist/helpers/handleGetLeaveCategoriesWebhook.d.ts +1 -1
  40. package/dist/helpers/handleGetLeaveRequestHoursWebhook.d.ts +1 -1
  41. package/dist/helpers/handleProcessLeaveRequestWebhook.d.ts +1 -1
  42. package/dist/helpers/handleRequest.d.ts +1 -1
  43. package/dist/helpers/handleRequestWithWorknice.d.ts +1 -1
  44. package/dist/helpers/handleTriggerIntegrationSyncWebhook.d.ts +1 -1
  45. package/dist/helpers/index.d.ts +1 -1
  46. package/package.json +2 -2
@@ -327,7 +327,7 @@ declare const createWorkniceClient: (clientConfig?: ClientConfig) => {
327
327
  getLeaveBalances?: string | null;
328
328
  getLeaveCategories?: string | null;
329
329
  getLeaveRequestHours?: string | null;
330
- getReconfigurationUrl?: string | null;
330
+ getOpenUrl?: string | null;
331
331
  personConnected?: string | null;
332
332
  processLeaveRequest?: string | null;
333
333
  triggerIntegrationSync?: string | null;
@@ -1,4 +1,4 @@
1
- import { W as WorkniceClient } from '../_types-CDzL45iD.js';
1
+ import { W as WorkniceClient } from '../_types-mREZ9_FT.js';
2
2
  import './_generated.js';
3
3
 
4
4
  type Logger = Pick<Console, "debug" | "error" | "info" | "warn"> & Partial<Pick<Console, "group" | "groupEnd">>;
@@ -180,7 +180,7 @@ type AppConfigWebhooks = {
180
180
  getLeaveBalances?: Maybe<Scalars['String']['output']>;
181
181
  getLeaveCategories?: Maybe<Scalars['String']['output']>;
182
182
  getLeaveRequestHours?: Maybe<Scalars['String']['output']>;
183
- getReconfigurationUrl?: Maybe<Scalars['String']['output']>;
183
+ getOpenUrl?: Maybe<Scalars['String']['output']>;
184
184
  personConnected?: Maybe<Scalars['String']['output']>;
185
185
  processLeaveRequest?: Maybe<Scalars['String']['output']>;
186
186
  triggerIntegrationSync?: Maybe<Scalars['String']['output']>;
@@ -1261,9 +1261,9 @@ type GenericIntegration = Integration & {
1261
1261
  leaveCategories: Array<LeaveCategory>;
1262
1262
  logs: Array<IntegrationLog>;
1263
1263
  name: Scalars['String']['output'];
1264
+ openUrl?: Maybe<Scalars['String']['output']>;
1264
1265
  org: Org;
1265
1266
  person: Person;
1266
- reconfigurationUrl?: Maybe<Scalars['String']['output']>;
1267
1267
  status: IntegrationStatus;
1268
1268
  syncs: Array<IntegrationSync>;
1269
1269
  /** @deprecated Use the 'app.integrationType' field instead. */
@@ -1287,11 +1287,11 @@ type Integration = {
1287
1287
  leaveCategories: Array<LeaveCategory>;
1288
1288
  logs: Array<IntegrationLog>;
1289
1289
  name: Scalars['String']['output'];
1290
+ /** A URL that will grant users access to the integration. This URL is not guaranteed to be valid for long periods of time. */
1291
+ openUrl?: Maybe<Scalars['String']['output']>;
1290
1292
  org: Org;
1291
1293
  /** The bot person that acts on behalf of this integration. */
1292
1294
  person: Person;
1293
- /** A URL that users can visit to make changes to this integration's configuration. */
1294
- reconfigurationUrl?: Maybe<Scalars['String']['output']>;
1295
1295
  status: IntegrationStatus;
1296
1296
  syncs: Array<IntegrationSync>;
1297
1297
  /** @deprecated Use the 'app.integrationType' field instead. */
@@ -1817,9 +1817,9 @@ type KeypayIntegration = Integration & {
1817
1817
  leaveCategories: Array<LeaveCategory>;
1818
1818
  logs: Array<IntegrationLog>;
1819
1819
  name: Scalars['String']['output'];
1820
+ openUrl?: Maybe<Scalars['String']['output']>;
1820
1821
  org: Org;
1821
1822
  person: Person;
1822
- reconfigurationUrl?: Maybe<Scalars['String']['output']>;
1823
1823
  status: IntegrationStatus;
1824
1824
  syncs: Array<IntegrationSync>;
1825
1825
  /** @deprecated Use the 'app.integrationType' field instead. */
@@ -1857,9 +1857,9 @@ type KeypayLeaveIntegration = Integration & {
1857
1857
  leaveCategories: Array<LeaveCategory>;
1858
1858
  logs: Array<IntegrationLog>;
1859
1859
  name: Scalars['String']['output'];
1860
+ openUrl?: Maybe<Scalars['String']['output']>;
1860
1861
  org: Org;
1861
1862
  person: Person;
1862
- reconfigurationUrl?: Maybe<Scalars['String']['output']>;
1863
1863
  status: IntegrationStatus;
1864
1864
  syncs: Array<IntegrationSync>;
1865
1865
  /** @deprecated Use the 'app.integrationType' field instead. */
@@ -5186,9 +5186,9 @@ type XeroAuIntegration = Integration & {
5186
5186
  leaveCategories: Array<LeaveCategory>;
5187
5187
  logs: Array<IntegrationLog>;
5188
5188
  name: Scalars['String']['output'];
5189
+ openUrl?: Maybe<Scalars['String']['output']>;
5189
5190
  org: Org;
5190
5191
  person: Person;
5191
- reconfigurationUrl?: Maybe<Scalars['String']['output']>;
5192
5192
  status: IntegrationStatus;
5193
5193
  superFunds: Array<XeroAuSuperFund>;
5194
5194
  syncs: Array<IntegrationSync>;
@@ -5259,9 +5259,9 @@ type XeroLeaveIntegration = Integration & {
5259
5259
  leaveCategories: Array<LeaveCategory>;
5260
5260
  logs: Array<IntegrationLog>;
5261
5261
  name: Scalars['String']['output'];
5262
+ openUrl?: Maybe<Scalars['String']['output']>;
5262
5263
  org: Org;
5263
5264
  person: Person;
5264
- reconfigurationUrl?: Maybe<Scalars['String']['output']>;
5265
5265
  status: IntegrationStatus;
5266
5266
  syncs: Array<IntegrationSync>;
5267
5267
  /** @deprecated Use the 'app.integrationType' field instead. */
@@ -5692,7 +5692,7 @@ type GetMyAppsQuery = {
5692
5692
  getLeaveBalances?: string | null;
5693
5693
  getLeaveCategories?: string | null;
5694
5694
  getLeaveRequestHours?: string | null;
5695
- getReconfigurationUrl?: string | null;
5695
+ getOpenUrl?: string | null;
5696
5696
  personConnected?: string | null;
5697
5697
  processLeaveRequest?: string | null;
5698
5698
  triggerIntegrationSync?: string | null;