@bluecopa/core 0.1.83 → 0.1.86
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/README.md +0 -23
- package/dist/api/index.d.ts +0 -1
- package/dist/api/metric/getData.d.ts +7 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.es.js +54 -444
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/api/webcron/executions.d.ts +0 -4
- package/dist/api/webcron/index.d.ts +0 -7
- package/dist/api/webcron/inspection.d.ts +0 -7
- package/dist/api/webcron/schedules.d.ts +0 -9
- package/dist/api/webcron/tasks.d.ts +0 -10
- package/dist/api/webcron/trigger.d.ts +0 -15
- package/dist/api/webcron/types.d.ts +0 -170
- package/dist/api/webcron/webhooks.d.ts +0 -12
package/README.md
CHANGED
|
@@ -31,7 +31,6 @@ The core package provides essential API utilities and functions for data managem
|
|
|
31
31
|
- [Templates Module](#templates-module)
|
|
32
32
|
- [Tcn Module](#tcn-module)
|
|
33
33
|
- [User Module](#user-module)
|
|
34
|
-
- [Webcron Module](#webcron-module)
|
|
35
34
|
- [Workbook Module](#workbook-module)
|
|
36
35
|
- [Workflow Module](#workflow-module)
|
|
37
36
|
- [Worksheet Module](#worksheet-module)
|
|
@@ -315,28 +314,6 @@ See: [`tcn/`](src/api/tcn:1)
|
|
|
315
314
|
|
|
316
315
|
See: [`user/getLoggedInUserDetails.ts`](src/api/user/getLoggedInUserDetails.ts), [`user/getAllUsers.ts`](src/api/user/getAllUsers.ts)
|
|
317
316
|
|
|
318
|
-
### Webcron Module
|
|
319
|
-
|
|
320
|
-
Webhook CRUD + execution helpers:
|
|
321
|
-
- `copaApi.webcron.listWebhooks()`, `getWebhook()`, `createWebhook()`, `updateWebhook()`, `deleteWebhook()`, `testWebhook()`, `getWebhookExecutions()`, `getWebhookSchedules()`, `createWebhookSchedule()`
|
|
322
|
-
|
|
323
|
-
Schedule controls:
|
|
324
|
-
- `copaApi.webcron.getSchedule()`, `updateSchedule()`, `deleteSchedule()`, `pauseSchedule()`, `resumeSchedule()`, `triggerSchedule()`
|
|
325
|
-
|
|
326
|
-
Execution history:
|
|
327
|
-
- `copaApi.webcron.listExecutions()`, `getExecution()`, `retryExecution()`
|
|
328
|
-
|
|
329
|
-
Task lifecycle:
|
|
330
|
-
- `copaApi.webcron.listTasks()`, `createTask()`, `getTask()`, `cancelTask()`, `retryTask()`, `progressTask()`, `signalTask()`
|
|
331
|
-
|
|
332
|
-
Inspection bins:
|
|
333
|
-
- `copaApi.webcron.listBins()`, `createBin()`, `getBin()`, `deleteBin()`, `getBinRequests()`, `clearBinRequests()`
|
|
334
|
-
|
|
335
|
-
Workflow trigger:
|
|
336
|
-
- `copaApi.webcron.triggerWorkflowById()`
|
|
337
|
-
|
|
338
|
-
See: [`webcron/`](src/api/webcron:1)
|
|
339
|
-
|
|
340
317
|
### Workbook Module
|
|
341
318
|
|
|
342
319
|
- `copaApi.workbook.getPublishedWorkbookById(id: string)`: Fetches a published workbook by ID
|
package/dist/api/index.d.ts
CHANGED
|
@@ -3,6 +3,13 @@ export declare const getData: (metricSheetId: string, options?: {
|
|
|
3
3
|
isKPI?: boolean;
|
|
4
4
|
plotAsTrend?: boolean;
|
|
5
5
|
stringValue?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Pre-fetched solution bindings map. When the caller (e.g. a React
|
|
8
|
+
* hook driving multiple metric reads in a row) has already fetched
|
|
9
|
+
* bindings, forward them here to skip the per-call `/solution/bindings`
|
|
10
|
+
* round-trip. Omit/undefined → getData fetches on its own.
|
|
11
|
+
*/
|
|
12
|
+
solutionBindings?: Record<string, unknown>;
|
|
6
13
|
}) => Promise<{
|
|
7
14
|
data?: undefined;
|
|
8
15
|
} | {
|
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,4 @@ export type { TcnProcessDialData } from './api/tcn/processManualDial';
|
|
|
47
47
|
export type { TcnConnectedParty } from './api/tcn/agentGetConnectedParty';
|
|
48
48
|
export type { TcnCallData } from './api/tcn/getCallData';
|
|
49
49
|
export type { FilterOnSenderId, EmailMessage, PageChunkEmailMessage, } from './api/emailEngine/getMessageBySenderId';
|
|
50
|
-
export type { Webhook, CreateWebhookRequest, UpdateWebhookRequest, Schedule, CreateScheduleRequest, UpdateScheduleRequest, Execution, ListExecutionsParams, Task, CreateTaskRequest, TaskProgressRequest, TaskSignalRequest, InspectionBin, CreateInspectionBinRequest, InspectionRequest, PaginationParams, WebcronHealth, } from './api/webcron/types';
|
|
51
|
-
export type { TriggerWorkflowRequest, TriggerWorkflowResponse, } from './api/webcron/trigger';
|
|
52
50
|
export type { RenderTemplateRequest, RenderTemplateResponse, RenderTemplateWarning, TemplateEngine, } from './api/templates/render';
|