@antcde/connect-ts 0.4.35-rc.1 → 0.4.35
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/build/AntConnect.d.ts +15 -2
- package/build/AntConnect.d.ts.map +1 -1
- package/build/AntConnect.js +14 -2
- package/build/index.d.ts +29 -29
- package/build/index.d.ts.map +1 -1
- package/build/index.js +7 -7
- package/build/service-runtime.d.ts +1 -1
- package/build/service-runtime.d.ts.map +1 -1
- package/build/service-runtime.js +1 -1
- package/build/service-types.d.ts +7 -7
- package/build/service-types.d.ts.map +1 -1
- package/build/services/AppService/types/resourceReleases.d.ts +1 -1
- package/build/services/AppService/types/seats.d.ts +0 -8
- package/build/services/AppService/types/seats.d.ts.map +1 -1
- package/build/services/AppService/types/sellableResources.d.ts +1 -1
- package/build/services/AppService/types/subscriptions.d.ts +0 -4
- package/build/services/AppService/types/subscriptions.d.ts.map +1 -1
- package/build/services/SecretSharing.types.d.ts +1 -1
- package/build/services/TaskRelation.types.d.ts +1 -1
- package/build/services/TaskService.types.d.ts +1 -1
- package/build/services/TaskService.types.d.ts.map +1 -1
- package/build/services/Webhook/ConfigService.d.ts +50 -2
- package/build/services/Webhook/ConfigService.d.ts.map +1 -1
- package/build/services/Webhook/ConfigService.js +5 -2
- package/build/services/Webhook/EventService.d.ts +145 -2
- package/build/services/Webhook/EventService.d.ts.map +1 -1
- package/build/services/Webhook/EventService.js +6 -2
- package/build/services/Webhook/TriggerCaller.types.d.ts +17 -2
- package/build/services/Webhook/TriggerCaller.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerCaller.types.js +1 -2
- package/build/services/Webhook/TriggerDataset.types.d.ts +167 -2
- package/build/services/Webhook/TriggerDataset.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerDataset.types.js +51 -2
- package/build/services/Webhook/TriggerDatasetColumns.d.ts +73 -2
- package/build/services/Webhook/TriggerDatasetColumns.d.ts.map +1 -1
- package/build/services/Webhook/TriggerDatasetColumns.js +118 -2
- package/build/services/Webhook/TriggerDatasetCsv.types.d.ts +6 -2
- package/build/services/Webhook/TriggerDatasetCsv.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerDatasetCsv.types.js +1 -2
- package/build/services/Webhook/TriggerDatasetResponses.types.d.ts +175 -2
- package/build/services/Webhook/TriggerDatasetResponses.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerDatasetResponses.types.js +99 -2
- package/build/services/Webhook/TriggerDatasetSourceService.d.ts +181 -2
- package/build/services/Webhook/TriggerDatasetSourceService.d.ts.map +1 -1
- package/build/services/Webhook/TriggerDatasetSourceService.js +23 -2
- package/build/services/Webhook/TriggerDispatch.types.d.ts +88 -2
- package/build/services/Webhook/TriggerDispatch.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerDispatch.types.js +24 -2
- package/build/services/Webhook/TriggerDispatchUrl.d.ts +8 -2
- package/build/services/Webhook/TriggerDispatchUrl.d.ts.map +1 -1
- package/build/services/Webhook/TriggerDispatchUrl.js +27 -2
- package/build/services/Webhook/TriggerDivergence.d.ts +29 -2
- package/build/services/Webhook/TriggerDivergence.d.ts.map +1 -1
- package/build/services/Webhook/TriggerDivergence.js +25 -2
- package/build/services/Webhook/TriggerFailedRuns.types.d.ts +32 -2
- package/build/services/Webhook/TriggerFailedRuns.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerFailedRuns.types.js +1 -2
- package/build/services/Webhook/TriggerHistoryService.d.ts +200 -2
- package/build/services/Webhook/TriggerHistoryService.d.ts.map +1 -1
- package/build/services/Webhook/TriggerHistoryService.js +13 -2
- package/build/services/Webhook/TriggerLastRun.types.d.ts +79 -2
- package/build/services/Webhook/TriggerLastRun.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerLastRun.types.js +1 -2
- package/build/services/Webhook/TriggerOwner.d.ts +4 -2
- package/build/services/Webhook/TriggerOwner.d.ts.map +1 -1
- package/build/services/Webhook/TriggerOwner.js +6 -2
- package/build/services/Webhook/TriggerRefresh.types.d.ts +14 -2
- package/build/services/Webhook/TriggerRefresh.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerRefresh.types.js +1 -2
- package/build/services/Webhook/TriggerRefusalDetail.types.d.ts +62 -2
- package/build/services/Webhook/TriggerRefusalDetail.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerRefusalDetail.types.js +12 -2
- package/build/services/Webhook/TriggerRequest.types.d.ts +57 -2
- package/build/services/Webhook/TriggerRequest.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerRequest.types.js +1 -2
- package/build/services/Webhook/TriggerSearch.types.d.ts +38 -2
- package/build/services/Webhook/TriggerSearch.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerSearch.types.js +1 -2
- package/build/services/Webhook/TriggerSecretService.d.ts +87 -2
- package/build/services/Webhook/TriggerSecretService.d.ts.map +1 -1
- package/build/services/Webhook/TriggerSecretService.js +9 -2
- package/build/services/Webhook/TriggerService.d.ts +190 -2
- package/build/services/Webhook/TriggerService.d.ts.map +1 -1
- package/build/services/Webhook/TriggerService.js +14 -2
- package/build/services/Webhook/TriggerStats.types.d.ts +45 -2
- package/build/services/Webhook/TriggerStats.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerStats.types.js +1 -2
- package/build/services/Webhook/TriggerTimeline.types.d.ts +41 -2
- package/build/services/Webhook/TriggerTimeline.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerTimeline.types.js +1 -2
- package/build/services/Webhook/TriggerVersion.types.d.ts +108 -2
- package/build/services/Webhook/TriggerVersion.types.d.ts.map +1 -1
- package/build/services/Webhook/TriggerVersion.types.js +1 -2
- package/build/services/Webhook/TriggerVersionService.d.ts +53 -2
- package/build/services/Webhook/TriggerVersionService.d.ts.map +1 -1
- package/build/services/Webhook/TriggerVersionService.js +20 -2
- package/package.json +1 -1
- package/build/services/Trigger/ConfigService.d.ts +0 -51
- package/build/services/Trigger/ConfigService.d.ts.map +0 -1
- package/build/services/Trigger/ConfigService.js +0 -5
- package/build/services/Trigger/EventService.d.ts +0 -146
- package/build/services/Trigger/EventService.d.ts.map +0 -1
- package/build/services/Trigger/EventService.js +0 -6
- package/build/services/Trigger/TriggerCaller.types.d.ts +0 -18
- package/build/services/Trigger/TriggerCaller.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerCaller.types.js +0 -1
- package/build/services/Trigger/TriggerDataset.types.d.ts +0 -168
- package/build/services/Trigger/TriggerDataset.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerDataset.types.js +0 -51
- package/build/services/Trigger/TriggerDatasetColumns.d.ts +0 -74
- package/build/services/Trigger/TriggerDatasetColumns.d.ts.map +0 -1
- package/build/services/Trigger/TriggerDatasetColumns.js +0 -118
- package/build/services/Trigger/TriggerDatasetCsv.types.d.ts +0 -7
- package/build/services/Trigger/TriggerDatasetCsv.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerDatasetCsv.types.js +0 -1
- package/build/services/Trigger/TriggerDatasetResponses.types.d.ts +0 -176
- package/build/services/Trigger/TriggerDatasetResponses.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerDatasetResponses.types.js +0 -99
- package/build/services/Trigger/TriggerDatasetSourceService.d.ts +0 -182
- package/build/services/Trigger/TriggerDatasetSourceService.d.ts.map +0 -1
- package/build/services/Trigger/TriggerDatasetSourceService.js +0 -23
- package/build/services/Trigger/TriggerDispatch.types.d.ts +0 -89
- package/build/services/Trigger/TriggerDispatch.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerDispatch.types.js +0 -24
- package/build/services/Trigger/TriggerDispatchUrl.d.ts +0 -9
- package/build/services/Trigger/TriggerDispatchUrl.d.ts.map +0 -1
- package/build/services/Trigger/TriggerDispatchUrl.js +0 -27
- package/build/services/Trigger/TriggerDivergence.d.ts +0 -30
- package/build/services/Trigger/TriggerDivergence.d.ts.map +0 -1
- package/build/services/Trigger/TriggerDivergence.js +0 -25
- package/build/services/Trigger/TriggerFailedRuns.types.d.ts +0 -33
- package/build/services/Trigger/TriggerFailedRuns.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerFailedRuns.types.js +0 -1
- package/build/services/Trigger/TriggerHistoryService.d.ts +0 -201
- package/build/services/Trigger/TriggerHistoryService.d.ts.map +0 -1
- package/build/services/Trigger/TriggerHistoryService.js +0 -13
- package/build/services/Trigger/TriggerLastRun.types.d.ts +0 -80
- package/build/services/Trigger/TriggerLastRun.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerLastRun.types.js +0 -1
- package/build/services/Trigger/TriggerOwner.d.ts +0 -5
- package/build/services/Trigger/TriggerOwner.d.ts.map +0 -1
- package/build/services/Trigger/TriggerOwner.js +0 -6
- package/build/services/Trigger/TriggerRefresh.types.d.ts +0 -15
- package/build/services/Trigger/TriggerRefresh.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerRefresh.types.js +0 -1
- package/build/services/Trigger/TriggerRefusalDetail.types.d.ts +0 -63
- package/build/services/Trigger/TriggerRefusalDetail.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerRefusalDetail.types.js +0 -12
- package/build/services/Trigger/TriggerRequest.types.d.ts +0 -58
- package/build/services/Trigger/TriggerRequest.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerRequest.types.js +0 -1
- package/build/services/Trigger/TriggerSearch.types.d.ts +0 -39
- package/build/services/Trigger/TriggerSearch.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerSearch.types.js +0 -1
- package/build/services/Trigger/TriggerSecretService.d.ts +0 -88
- package/build/services/Trigger/TriggerSecretService.d.ts.map +0 -1
- package/build/services/Trigger/TriggerSecretService.js +0 -9
- package/build/services/Trigger/TriggerService.d.ts +0 -191
- package/build/services/Trigger/TriggerService.d.ts.map +0 -1
- package/build/services/Trigger/TriggerService.js +0 -14
- package/build/services/Trigger/TriggerServices.d.ts +0 -33
- package/build/services/Trigger/TriggerServices.d.ts.map +0 -1
- package/build/services/Trigger/TriggerServices.js +0 -32
- package/build/services/Trigger/TriggerStats.types.d.ts +0 -46
- package/build/services/Trigger/TriggerStats.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerStats.types.js +0 -1
- package/build/services/Trigger/TriggerTimeline.types.d.ts +0 -42
- package/build/services/Trigger/TriggerTimeline.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerTimeline.types.js +0 -1
- package/build/services/Trigger/TriggerVersion.types.d.ts +0 -109
- package/build/services/Trigger/TriggerVersion.types.d.ts.map +0 -1
- package/build/services/Trigger/TriggerVersion.types.js +0 -1
- package/build/services/Trigger/TriggerVersionService.d.ts +0 -54
- package/build/services/Trigger/TriggerVersionService.d.ts.map +0 -1
- package/build/services/Trigger/TriggerVersionService.js +0 -20
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import type { DataWrapper } from '../../types';
|
|
2
|
-
import type { ResourceAccessReason } from '../AppService/types/resourceEntitlements';
|
|
3
|
-
import type { TriggerExecutionCaller } from './TriggerCaller.types';
|
|
4
|
-
import type { DatasetRefusalReason } from './TriggerDatasetResponses.types';
|
|
5
|
-
import type { TriggerResourceReason } from './TriggerDispatch.types';
|
|
6
|
-
import type { ExecutionHistoryResponse } from './TriggerFailedRuns.types';
|
|
7
|
-
import type { DatasetRefusalDetail } from './TriggerRefusalDetail.types';
|
|
8
|
-
import type { TriggerStats, TriggerStatsParams } from './TriggerStats.types';
|
|
9
|
-
import type { ExecutionTimelineItem } from './TriggerTimeline.types';
|
|
10
|
-
import type { AntHttpClient } from "../../AntHttpClient";
|
|
11
|
-
export type ExecutionStatus = 'success' | 'error' | 'pending' | 'authorization_required';
|
|
12
|
-
export type OverallExecutionStatus = 'success' | 'partial_success' | 'error';
|
|
13
|
-
export type ExecutionSourceType = 'api_request' | 'test_dispatch' | 'task_triggered' | 'system_event' | 'related_trigger' | 'unknown';
|
|
14
|
-
export interface RelatedTriggersSummary {
|
|
15
|
-
total_related: number;
|
|
16
|
-
successful: number;
|
|
17
|
-
failed: number;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* List view (index) item
|
|
21
|
-
* Root executions by default; may include related when filtered by trigger_id
|
|
22
|
-
*/
|
|
23
|
-
export interface TriggerExecutionHistory {
|
|
24
|
-
id: string;
|
|
25
|
-
trigger_id: string;
|
|
26
|
-
triggerable_type: string;
|
|
27
|
-
triggerable_id: string;
|
|
28
|
-
trigger_name: string;
|
|
29
|
-
trigger_event_name: string | null;
|
|
30
|
-
trigger_event_id: string | null;
|
|
31
|
-
trigger_auth_type: string | null;
|
|
32
|
-
trigger_http_method: string | null;
|
|
33
|
-
trigger_when: string | null;
|
|
34
|
-
execution_duration_ms: number | null;
|
|
35
|
-
source_type: ExecutionSourceType;
|
|
36
|
-
source_details: string | null;
|
|
37
|
-
/** Who started the run (AAD-1123). `null` on runs recorded before callers were — fall back to `source_type`. */
|
|
38
|
-
caller: TriggerExecutionCaller | null;
|
|
39
|
-
status: ExecutionStatus;
|
|
40
|
-
error_message: string | null;
|
|
41
|
-
payload: any;
|
|
42
|
-
response: any;
|
|
43
|
-
executed_at: string;
|
|
44
|
-
created_at: string;
|
|
45
|
-
updated_at: string;
|
|
46
|
-
event_display_name: string | null;
|
|
47
|
-
has_current_event: boolean;
|
|
48
|
-
has_event_name_changed: boolean;
|
|
49
|
-
has_trigger_name_changed: boolean;
|
|
50
|
-
related_triggers_summary: RelatedTriggersSummary;
|
|
51
|
-
overall_status: OverallExecutionStatus;
|
|
52
|
-
total_execution_duration_ms: number;
|
|
53
|
-
/**
|
|
54
|
-
* Read as a PAIR with {@link trigger_version_label}. Three cases, and the label
|
|
55
|
-
* alone flattens the last two:
|
|
56
|
-
*
|
|
57
|
-
* | `trigger_version_id` | `trigger_version_label` | Means |
|
|
58
|
-
* | -------------------- | ----------------------- | ---------------------------- |
|
|
59
|
-
* | `null` | `null` | the trigger's draft ran |
|
|
60
|
-
* | set | set | that version ran |
|
|
61
|
-
* | set | `null` | that version has been DELETED |
|
|
62
|
-
*/
|
|
63
|
-
trigger_version_id: string | null;
|
|
64
|
-
/**
|
|
65
|
-
* The publisher's own label, e.g. `"1.0.0"` — NOT an id.
|
|
66
|
-
*
|
|
67
|
-
* It exists because an id on its own is something a client cannot resolve: every
|
|
68
|
-
* per-version lookup needs the trigger too. Null when the run used the draft, and
|
|
69
|
-
* also null when the version has since been deleted; see the table above.
|
|
70
|
-
*/
|
|
71
|
-
trigger_version_label: string | null;
|
|
72
|
-
/**
|
|
73
|
-
* The machine-readable code when this run was REFUSED, rather than merely failed.
|
|
74
|
-
*
|
|
75
|
-
* Null for a success AND null for an ordinary exception — a refusal is a
|
|
76
|
-
* deliberate, categorised "no", so an uncaught error has no code. When it is set,
|
|
77
|
-
* `response.dataset_refused` / `response.resource_access_denied` tell you which of
|
|
78
|
-
* the two vocabularies applies.
|
|
79
|
-
*
|
|
80
|
-
* ⚠️ `snapshot_limits_misconfigured` is an OPERATOR fault, not a publisher one —
|
|
81
|
-
* the deployment's ceilings are unusable. It deliberately reads differently from
|
|
82
|
-
* "your dataset is too big", and the HTTP status alone cannot carry that
|
|
83
|
-
* difference. Branch on this field, never on the status.
|
|
84
|
-
*/
|
|
85
|
-
refusal_reason: DatasetRefusalReason | ResourceAccessReason | TriggerResourceReason | null;
|
|
86
|
-
/**
|
|
87
|
-
* The figures behind a CEILING refusal, or null.
|
|
88
|
-
*
|
|
89
|
-
* ⚠️ **Null is the common case.** Only a ceiling produces one — `limit` and
|
|
90
|
-
* `unit` have to mean a ceiling for the object to mean anything, so a shape or
|
|
91
|
-
* type mismatch deliberately reports null rather than inventing a limit nothing
|
|
92
|
-
* declared. Those refusals carry their specifics in `error_message`.
|
|
93
|
-
*
|
|
94
|
-
* Publisher-only: it is never part of what the caller received, so do not look
|
|
95
|
-
* for it in `response`.
|
|
96
|
-
*
|
|
97
|
-
* ⚠️ `actual` inside it is optional — see {@link DatasetRefusalDetail.actual}
|
|
98
|
-
* before defaulting it to anything.
|
|
99
|
-
*/
|
|
100
|
-
refusal_detail: DatasetRefusalDetail | null;
|
|
101
|
-
/**
|
|
102
|
-
* The STORED copy of the response was shrunk to save database space.
|
|
103
|
-
*
|
|
104
|
-
* A fact about this history row only — **the caller received everything.** Do not
|
|
105
|
-
* render this as "some rows were left out"; that is {@link dataset_truncated}.
|
|
106
|
-
*/
|
|
107
|
-
stored_response_truncated: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* A dataset action clamped its rows to the declared limit.
|
|
110
|
-
*
|
|
111
|
-
* This is what a UI means by "truncated": the run SUCCEEDED and returned fewer
|
|
112
|
-
* rows than the source holds. Not an error, and not a refusal — render it on a
|
|
113
|
-
* successful run.
|
|
114
|
-
*
|
|
115
|
-
* ⚠️ `null` means the question does not apply (the run was not a dataset action),
|
|
116
|
-
* which is NOT `false`. `?? false` would claim "no rows were left out" about a
|
|
117
|
-
* response that has no rows.
|
|
118
|
-
*
|
|
119
|
-
* These two can DISAGREE on the same row — a clamped dataset whose stored copy
|
|
120
|
-
* fitted reads `dataset_truncated: true, stored_response_truncated: false` — which
|
|
121
|
-
* is why they are two fields and not one.
|
|
122
|
-
*/
|
|
123
|
-
dataset_truncated: boolean | null;
|
|
124
|
-
}
|
|
125
|
-
export interface TriggerExecutionHistoryDetail {
|
|
126
|
-
id: string;
|
|
127
|
-
executed_at: string;
|
|
128
|
-
source_type: ExecutionSourceType;
|
|
129
|
-
source_details: string | null;
|
|
130
|
-
/** Same as on the index item. */
|
|
131
|
-
caller: TriggerExecutionCaller | null;
|
|
132
|
-
payload: any;
|
|
133
|
-
execution_context: 'main_trigger' | 'related_trigger';
|
|
134
|
-
overall_status: OverallExecutionStatus;
|
|
135
|
-
total_execution_duration_ms: number;
|
|
136
|
-
total_duration_ms: number;
|
|
137
|
-
total_executions: number;
|
|
138
|
-
has_current_event: boolean;
|
|
139
|
-
has_event_name_changed: boolean;
|
|
140
|
-
has_trigger_name_changed: boolean;
|
|
141
|
-
execution_timeline: ExecutionTimelineItem[];
|
|
142
|
-
/** Same meanings as on the index item — see {@link TriggerExecutionHistory}. */
|
|
143
|
-
trigger_version_id: string | null;
|
|
144
|
-
trigger_version_label: string | null;
|
|
145
|
-
refusal_reason: DatasetRefusalReason | ResourceAccessReason | TriggerResourceReason | null;
|
|
146
|
-
refusal_detail: DatasetRefusalDetail | null;
|
|
147
|
-
stored_response_truncated: boolean;
|
|
148
|
-
dataset_truncated: boolean | null;
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Index filters
|
|
152
|
-
*/
|
|
153
|
-
export interface ExecutionHistoryFilters {
|
|
154
|
-
search?: string;
|
|
155
|
-
trigger_id?: string;
|
|
156
|
-
/** The run's OVERALL status — the backend accepts `success`, `error`, `partial_success`. */
|
|
157
|
-
status?: OverallExecutionStatus;
|
|
158
|
-
from_date?: string;
|
|
159
|
-
to_date?: string;
|
|
160
|
-
per_page?: number;
|
|
161
|
-
page?: number;
|
|
162
|
-
filters?: any;
|
|
163
|
-
}
|
|
164
|
-
export interface TriggerHistoryService {
|
|
165
|
-
/**
|
|
166
|
-
* Fetch all execution history records with optional filters
|
|
167
|
-
* Returns only root executions with summary information about related triggers
|
|
168
|
-
*/
|
|
169
|
-
fetchExecutionHistory: (triggerableType: string, triggerableId: string, filters?: ExecutionHistoryFilters) => Promise<ExecutionHistoryResponse>;
|
|
170
|
-
/**
|
|
171
|
-
* Fetch a specific execution history record by ID with detailed execution chain
|
|
172
|
-
* Returns structure matching test dispatch format with triggersBefore, triggersAfter, mainTrigger
|
|
173
|
-
*/
|
|
174
|
-
fetchExecutionHistoryDetail: (triggerableType: string, triggerableId: string, executionHistoryId: string) => Promise<DataWrapper<TriggerExecutionHistoryDetail>>;
|
|
175
|
-
/**
|
|
176
|
-
* Fetch execution history records for a specific trigger
|
|
177
|
-
* Returns execution history with full chain structure for each record
|
|
178
|
-
*/
|
|
179
|
-
fetchTriggerExecutionHistory: (triggerableType: string, triggerableId: string, triggerId: string, filters?: Omit<ExecutionHistoryFilters, 'trigger_id'>) => Promise<ExecutionHistoryResponse>;
|
|
180
|
-
/**
|
|
181
|
-
* Clear all execution history for a specific context (license/project)
|
|
182
|
-
*/
|
|
183
|
-
clearAllExecutionHistory: (triggerableType: string, triggerableId: string) => Promise<DataWrapper<{
|
|
184
|
-
message: string;
|
|
185
|
-
deleted_count: number;
|
|
186
|
-
}>>;
|
|
187
|
-
/**
|
|
188
|
-
* Clear execution history for a specific trigger
|
|
189
|
-
*/
|
|
190
|
-
clearTriggerExecutionHistory: (triggerableType: string, triggerableId: string, triggerId: string) => Promise<DataWrapper<{
|
|
191
|
-
message: string;
|
|
192
|
-
deleted_count: number;
|
|
193
|
-
}>>;
|
|
194
|
-
/** Run stats for the trigger Overview (AAD-1123); same permission as the run list. */
|
|
195
|
-
fetchTriggerStats: (triggerableType: string, triggerableId: string, triggerId: string, params?: TriggerStatsParams) => Promise<DataWrapper<TriggerStats>>;
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Creates and returns an implementation of the TriggerHistoryService
|
|
199
|
-
*/
|
|
200
|
-
export declare function createTriggerHistoryService(httpClient: AntHttpClient): TriggerHistoryService;
|
|
201
|
-
//# sourceMappingURL=TriggerHistoryService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerHistoryService.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerHistoryService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AACpF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AACpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AACxE,OAAO,K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AAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,uBAAuB,EAAE,YAAY,CAAC,KAAK,OAAO,CAAC,wBAAwB,CAAC,CAAA;IAE7L;;OAEG;IACH,wBAAwB,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAA;IAE9I;;OAEG;IACH,4BAA4B,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAA;IAErK,sFAAsF;IACtF,iBAAiB,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,kBAAkB,KAAK,OAAO,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAA;CAC1J;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,aAAa,GAAG,qBAAqB,CAoB5F"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates and returns an implementation of the TriggerHistoryService
|
|
3
|
-
*/
|
|
4
|
-
export function createTriggerHistoryService(httpClient) {
|
|
5
|
-
return {
|
|
6
|
-
fetchExecutionHistory: (triggerableType, triggerableId, filters = {}) => httpClient.get(`/webhook/${triggerableType}/${triggerableId}/execution-history`, { params: filters }),
|
|
7
|
-
fetchExecutionHistoryDetail: (triggerableType, triggerableId, executionHistoryId) => httpClient.get(`/webhook/${triggerableType}/${triggerableId}/execution-history/${executionHistoryId}`),
|
|
8
|
-
fetchTriggerExecutionHistory: (triggerableType, triggerableId, triggerId, filters = {}) => httpClient.get(`/webhook/${triggerableType}/${triggerableId}/triggers/${triggerId}/execution-history`, { params: filters }),
|
|
9
|
-
clearAllExecutionHistory: (triggerableType, triggerableId) => httpClient.delete(`/webhook/${triggerableType}/${triggerableId}/execution-history`),
|
|
10
|
-
clearTriggerExecutionHistory: (triggerableType, triggerableId, triggerId) => httpClient.delete(`/webhook/${triggerableType}/${triggerableId}/triggers/${triggerId}/execution-history`),
|
|
11
|
-
fetchTriggerStats: (triggerableType, triggerableId, triggerId, params = {}) => httpClient.get(`/webhook/${triggerableType}/${triggerableId}/triggers/${triggerId}/stats`, { params }),
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { ResourceAccessReason } from '../AppService/types/resourceEntitlements';
|
|
2
|
-
import type { DatasetRefusalReason } from './TriggerDatasetResponses.types';
|
|
3
|
-
import type { TriggerResourceReason } from './TriggerDispatch.types';
|
|
4
|
-
import type { ExecutionStatus } from './TriggerHistoryService';
|
|
5
|
-
/**
|
|
6
|
-
* The most recent execution of a trigger, for the index's run-status column
|
|
7
|
-
* (AAD-961 §1).
|
|
8
|
-
*
|
|
9
|
-
* Split out of `TriggerService.ts`, which is at its size limit; re-exported from
|
|
10
|
-
* the package root, so no consumer import path changes.
|
|
11
|
-
*
|
|
12
|
-
* Backed server-side by `Trigger::latestExecution()` (`latestOfMany`) over a
|
|
13
|
-
* `(trigger_id, executed_at)` index, eager-loaded — so it costs one query per page
|
|
14
|
-
* rather than one per row.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* ⚠️ **`null` means the trigger has NEVER RUN. That is not a run that failed.**
|
|
18
|
-
*
|
|
19
|
-
* The distinction is the entire point of the column. Defaulting a missing value to
|
|
20
|
-
* a green "ran clean" would call an unmeasured trigger healthy and hide the broken
|
|
21
|
-
* row beside it, which is the worst answer this column can give. Render "never
|
|
22
|
-
* run" as its own state.
|
|
23
|
-
*
|
|
24
|
-
* Every key below is always present when the object exists — the nullable ones
|
|
25
|
-
* carry `null`, they are not omitted.
|
|
26
|
-
*/
|
|
27
|
-
export interface TriggerLastRun {
|
|
28
|
-
/**
|
|
29
|
-
* The execution id, so the row can link straight to the run.
|
|
30
|
-
*
|
|
31
|
-
* Present so a client need not search the history for the run it was just
|
|
32
|
-
* described.
|
|
33
|
-
*/
|
|
34
|
-
id: string;
|
|
35
|
-
/**
|
|
36
|
-
* This execution's OWN status — the same vocabulary as
|
|
37
|
-
* {@link TriggerExecutionHistory.status}, so there is only one set of values to
|
|
38
|
-
* learn.
|
|
39
|
-
*
|
|
40
|
-
* ⚠️ **It is NOT `overall_status`, and the two genuinely disagree.**
|
|
41
|
-
* `overall_status` is chain-aware and can report `partial_success` when a
|
|
42
|
-
* CHILD execution failed; this reports how *this* trigger's own run ended, so a
|
|
43
|
-
* chained trigger whose child failed shows `success` here. `overall_status` is
|
|
44
|
-
* deliberately absent from the index: computing it walks every child execution,
|
|
45
|
-
* which is a query per row.
|
|
46
|
-
*
|
|
47
|
-
* If the column needs to reflect chain failures, read `overall_status` from the
|
|
48
|
-
* run detail rather than inferring it from this.
|
|
49
|
-
*/
|
|
50
|
-
status: ExecutionStatus;
|
|
51
|
-
/** When it ran. ISO 8601; never null — the column is NOT NULL. */
|
|
52
|
-
at: string;
|
|
53
|
-
/** Wall-clock duration. Null when the run never recorded one. */
|
|
54
|
-
duration_ms: number | null;
|
|
55
|
-
/**
|
|
56
|
-
* The machine-readable code when the run was REFUSED, rather than merely failed.
|
|
57
|
-
*
|
|
58
|
-
* ⚠️ **`reason: null` does NOT mean the run succeeded.** A refusal is a
|
|
59
|
-
* deliberate, categorised "no"; an ordinary exception is not, and carries no
|
|
60
|
-
* code. So `status: 'error'` with `reason: null` is a real and common
|
|
61
|
-
* combination — an uncaught failure. Branch on `status` first and treat `reason`
|
|
62
|
-
* as extra detail when it is there, never as the presence test for failure.
|
|
63
|
-
*
|
|
64
|
-
* Values come from the same vocabulary as
|
|
65
|
-
* {@link TriggerExecutionHistory.refusal_reason}, covering both dataset refusals
|
|
66
|
-
* and entitlement refusals. The figures behind a ceiling refusal are not here —
|
|
67
|
-
* they are on the run itself, as `refusal_detail`.
|
|
68
|
-
*/
|
|
69
|
-
reason: DatasetRefusalReason | ResourceAccessReason | TriggerResourceReason | null;
|
|
70
|
-
/**
|
|
71
|
-
* The publisher's label for the version that ran, e.g. `"1.0.0"`.
|
|
72
|
-
*
|
|
73
|
-
* Null when the trigger's own draft ran, AND null when the version that ran has
|
|
74
|
-
* since been deleted. The run detail's `trigger_version_id` tells those two
|
|
75
|
-
* apart; on the index there is only the label, so treat null as "no version to
|
|
76
|
-
* name" rather than as "no version was involved".
|
|
77
|
-
*/
|
|
78
|
-
trigger_version_label: string | null;
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=TriggerLastRun.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerLastRun.types.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerLastRun.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AACpF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAE9D;;;;;;;;;;GAUG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;;;;;;;;;;OAcG;IACH,MAAM,EAAE,eAAe,CAAA;IAEvB,kEAAkE;IAClE,EAAE,EAAE,MAAM,CAAA;IAEV,iEAAiE;IACjE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;;;;;;;;;;;;OAaG;IACH,MAAM,EAAE,oBAAoB,GAAG,oBAAoB,GAAG,qBAAqB,GAAG,IAAI,CAAA;IAElF;;;;;;;OAOG;IACH,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;CACrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Trigger, TriggerableType } from './TriggerService';
|
|
2
|
-
/** Enough of a trigger to address it: its id and whichever licence or project owns it. */
|
|
3
|
-
export type TriggerRef = Pick<Trigger, 'id' | 'triggerable_type' | 'triggerable_id'>;
|
|
4
|
-
export declare function triggerableTypeOf(trigger: Pick<Trigger, 'triggerable_type'>): TriggerableType;
|
|
5
|
-
//# sourceMappingURL=TriggerOwner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerOwner.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerOwner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAEhE,0FAA0F;AAC1F,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,kBAAkB,GAAG,gBAAgB,CAAC,CAAA;AAIpF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,kBAAkB,CAAC,GAAG,eAAe,CAG7F"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// `triggerable_type` is the owner's morph (`project`, or a class name on older rows);
|
|
2
|
-
// its endpoints take the plural route segment instead.
|
|
3
|
-
export function triggerableTypeOf(trigger) {
|
|
4
|
-
const morph = trigger.triggerable_type.split('\\').pop()?.toLowerCase();
|
|
5
|
-
return morph === 'project' ? 'projects' : 'licenses';
|
|
6
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** AAD-1111: a rolling preset, or a calendar schedule of fixed refresh points. */
|
|
2
|
-
export type TriggerRefreshPolicy = {
|
|
3
|
-
kind: 'interval';
|
|
4
|
-
/** 300 (every 5 minutes), 86400 (daily) or 604800 (weekly). */
|
|
5
|
-
seconds: TriggerRefreshPreset;
|
|
6
|
-
} | {
|
|
7
|
-
kind: 'schedule';
|
|
8
|
-
/** RFC 5545: `DTSTART;TZID=Europe/Amsterdam:20261012T060000\nRRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO`. */
|
|
9
|
-
rule: string;
|
|
10
|
-
timezone: string | null;
|
|
11
|
-
/** Trigger detail only: the coming refresh point. */
|
|
12
|
-
next_refresh_at?: string | null;
|
|
13
|
-
};
|
|
14
|
-
export type TriggerRefreshPreset = 300 | 86400 | 604800;
|
|
15
|
-
//# sourceMappingURL=TriggerRefresh.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerRefresh.types.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerRefresh.types.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,MAAM,MAAM,oBAAoB,GAC1B;IACF,IAAI,EAAE,UAAU,CAAA;IAChB,+DAA+D;IAC/D,OAAO,EAAE,oBAAoB,CAAA;CAC9B,GACC;IACA,IAAI,EAAE,UAAU,CAAA;IAChB,wGAAwG;IACxG,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,qDAAqD;IACrD,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC,CAAA;AAEH,MAAM,MAAM,oBAAoB,GAAG,GAAG,GAAG,KAAK,GAAG,MAAM,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The numbers behind a ceiling refusal, for the run-diagnosis view (AAD-961 §4).
|
|
3
|
-
*
|
|
4
|
-
* Publisher-only, and it lives on the execution-history row rather than in a
|
|
5
|
-
* dispatch response — a caller never receives it. That is why this is its own file
|
|
6
|
-
* and not part of `TriggerDatasetResponses.types.ts`, which describes what a
|
|
7
|
-
* dispatch returns.
|
|
8
|
-
*
|
|
9
|
-
* It exists so a run view can offer "what would fix it" instead of only echoing a
|
|
10
|
-
* sentence. Parsing the prose for the figures works until somebody rewords it.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* A ceiling and, when it was actually measured, the value that exceeded it.
|
|
14
|
-
*
|
|
15
|
-
* `null` on the history row for every refusal that is not a ceiling — see
|
|
16
|
-
* {@link TriggerExecutionHistory.refusal_detail}.
|
|
17
|
-
*/
|
|
18
|
-
export interface DatasetRefusalDetail {
|
|
19
|
-
/** The ceiling that applied, in `unit`. */
|
|
20
|
-
limit: number;
|
|
21
|
-
/**
|
|
22
|
-
* ⚠️ **OPTIONAL, and ABSENT MEANS NEVER MEASURED — not zero.**
|
|
23
|
-
*
|
|
24
|
-
* Rendering a missing `actual` as `0` reproduces at this end exactly the
|
|
25
|
-
* fabrication the backend refuses to commit at the other: it would tell a
|
|
26
|
-
* publisher their file is 0 bytes. Show "over the limit" with no figure, and
|
|
27
|
-
* never substitute the ceiling — reporting the limit as though it were the
|
|
28
|
-
* measurement is the specific mistake this shape was built to prevent.
|
|
29
|
-
*
|
|
30
|
-
* On a trigger run it is normally PRESENT. `byte_limit_exceeded` here means the
|
|
31
|
-
* SOURCE FILE is too big, and the check compares the file's recorded size
|
|
32
|
-
* before opening anything — so the number is known.
|
|
33
|
-
*
|
|
34
|
-
* It is absent in one case: when the recorded size is not a canonical byte
|
|
35
|
-
* count. A malformed size is refused through the *same* reason so it cannot
|
|
36
|
-
* bypass the ceiling, which means `byte_limit_exceeded` covers both "too big"
|
|
37
|
-
* and "we do not trust the recorded size" — and only the first is a
|
|
38
|
-
* measurement. `Number("-1")` and `Number("1.5")` are not measurements of
|
|
39
|
-
* anything.
|
|
40
|
-
*
|
|
41
|
-
* (The Store's artifact writer is the caller that never knows the size, because
|
|
42
|
-
* it aborts the moment the ceiling is crossed. That path does not write trigger
|
|
43
|
-
* history, so you will not see it here — but it is why the field is optional in
|
|
44
|
-
* the shape at all.)
|
|
45
|
-
*/
|
|
46
|
-
actual?: number;
|
|
47
|
-
/**
|
|
48
|
-
* The unit `limit` and `actual` are counted in.
|
|
49
|
-
*
|
|
50
|
-
* Only `bytes` occurs on a trigger run, and the narrow type is deliberate so no
|
|
51
|
-
* one builds a branch that never fires. A row ceiling cannot produce a refusal
|
|
52
|
-
* here at all: a dataset action CLAMPS to the declared limit and reports
|
|
53
|
-
* `dataset_truncated: true` on a **successful** response, rather than refusing —
|
|
54
|
-
* which is why `row_limit_exceeded` is absent from
|
|
55
|
-
* {@link DatasetRefusalReason} too.
|
|
56
|
-
*
|
|
57
|
-
* If a row-based refusal ever becomes reachable, widening this to
|
|
58
|
-
* `'bytes' | 'rows'` is the deliberate change, and TypeScript will flag every
|
|
59
|
-
* exhaustive switch at that point. That is the right moment to find them.
|
|
60
|
-
*/
|
|
61
|
-
unit: 'bytes';
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=TriggerRefusalDetail.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerRefusalDetail.types.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerRefusalDetail.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;;;;;;;;;OAaG;IACH,IAAI,EAAE,OAAO,CAAA;CACd"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The numbers behind a ceiling refusal, for the run-diagnosis view (AAD-961 §4).
|
|
3
|
-
*
|
|
4
|
-
* Publisher-only, and it lives on the execution-history row rather than in a
|
|
5
|
-
* dispatch response — a caller never receives it. That is why this is its own file
|
|
6
|
-
* and not part of `TriggerDatasetResponses.types.ts`, which describes what a
|
|
7
|
-
* dispatch returns.
|
|
8
|
-
*
|
|
9
|
-
* It exists so a run view can offer "what would fix it" instead of only echoing a
|
|
10
|
-
* sentence. Parsing the prose for the figures works until somebody rewords it.
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { AuthType, HTTPMethod } from './ConfigService';
|
|
2
|
-
import type { TriggerRefreshPreset } from './TriggerRefresh.types';
|
|
3
|
-
import type { CreateTriggerSecretBindingBody } from './TriggerSecretService';
|
|
4
|
-
/**
|
|
5
|
-
* The WRITE shape for a trigger — what create and update accept.
|
|
6
|
-
*
|
|
7
|
-
* Split out of `TriggerService.ts`, which holds the read shape and was at its
|
|
8
|
-
* size limit. Re-exported from the package root, so no consumer import path
|
|
9
|
-
* changes.
|
|
10
|
-
*/
|
|
11
|
-
export interface TriggerRequestBody {
|
|
12
|
-
name?: string;
|
|
13
|
-
auth_type?: AuthType;
|
|
14
|
-
event_id?: string | null;
|
|
15
|
-
payload?: any;
|
|
16
|
-
when?: string | null;
|
|
17
|
-
http_method?: HTTPMethod | null;
|
|
18
|
-
secret_token?: string | null;
|
|
19
|
-
is_active?: boolean;
|
|
20
|
-
debug_mode?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* ⚠️ Added in AAD-980 because the triggers app had **always** sent this and the
|
|
23
|
-
* type had never listed it — the app's typecheck never surfaced it (its
|
|
24
|
-
* `@types/node` is missing, so `vue-tsc` bails before reporting). The backend
|
|
25
|
-
* accepts it, and `Trigger.close_task_after_execution` and
|
|
26
|
-
* `TriggerVersionLockedField` both carry it, so the omission was here.
|
|
27
|
-
*/
|
|
28
|
-
close_task_after_execution?: boolean;
|
|
29
|
-
custom_path?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* Optional Vault-secret bindings created atomically with the trigger (create
|
|
32
|
-
* only). Each references an existing secret by id plus placement metadata; the
|
|
33
|
-
* backend creates the trigger and all bindings in one transaction, so a
|
|
34
|
-
* rejected binding (out-of-context / missing `use`) rolls the whole create back.
|
|
35
|
-
*/
|
|
36
|
-
secret_bindings?: CreateTriggerSecretBindingBody[];
|
|
37
|
-
/**
|
|
38
|
-
* Check the declared resource targets against the trigger's own
|
|
39
|
-
* licence/project. New triggers default to `true`; older rows may be `false`
|
|
40
|
-
* and run the check in shadow mode.
|
|
41
|
-
*/
|
|
42
|
-
authorization_enforced?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* 1..65535. Null clears any per-trigger override, handing the field back to the
|
|
45
|
-
* server default — see `Trigger.rate_limit_per_second` for why that is not
|
|
46
|
-
* the same as "unlimited".
|
|
47
|
-
*/
|
|
48
|
-
rate_limit_per_second?: number | null;
|
|
49
|
-
/** 1..65535, or null. Must be >= `rate_limit_per_second` when both are set. */
|
|
50
|
-
rate_limit_per_minute?: number | null;
|
|
51
|
-
/** AAD-1111: a preset, clearing `refresh_schedule`; both null is live. */
|
|
52
|
-
refresh_interval_seconds?: TriggerRefreshPreset | null;
|
|
53
|
-
/** AAD-1111: `DTSTART;TZID=…` + `RRULE:…`, clearing the preset; a 422 says why it is refused. */
|
|
54
|
-
refresh_schedule?: string | null;
|
|
55
|
-
/** See `Trigger.payload_pins`. Null or `{}` clears every pin. */
|
|
56
|
-
payload_pins?: Record<string, any> | null;
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=TriggerRequest.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerRequest.types.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerRequest.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAClE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAA;AAE5E;;;;;;GAMG;AAEH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,QAAQ,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;;;;OAMG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAA;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,8BAA8B,EAAE,CAAA;IAKlD;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,+EAA+E;IAC/E,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,0EAA0E;IAC1E,wBAAwB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAA;IACtD,iGAAiG;IACjG,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { LabelFilterParams } from '../LabelService';
|
|
2
|
-
/**
|
|
3
|
-
* Query parameters for listing triggers.
|
|
4
|
-
*
|
|
5
|
-
* Split out of `TriggerService.ts`, which holds the entity shape and is at its size
|
|
6
|
-
* limit. Re-exported from the package root, so no consumer import path changes.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Search parameters for triggers
|
|
10
|
-
*/
|
|
11
|
-
export interface TriggerSearchParams {
|
|
12
|
-
search?: string;
|
|
13
|
-
page?: number;
|
|
14
|
-
per_page?: number;
|
|
15
|
-
/**
|
|
16
|
-
* AAD-1102, license index only: also list the triggers of every project in the
|
|
17
|
-
* license the caller may read. Rows then carry `Trigger.project_name`. Paginated
|
|
18
|
-
* as usual. Not `include` — that name is taken by the relation includes.
|
|
19
|
-
*/
|
|
20
|
-
include_projects?: boolean;
|
|
21
|
-
filters?: LabelFilterParams & {
|
|
22
|
-
name?: {
|
|
23
|
-
$contains?: string;
|
|
24
|
-
$eq?: string;
|
|
25
|
-
};
|
|
26
|
-
when?: {
|
|
27
|
-
$contains?: string;
|
|
28
|
-
$eq?: string;
|
|
29
|
-
};
|
|
30
|
-
is_active?: {
|
|
31
|
-
$eq?: boolean;
|
|
32
|
-
};
|
|
33
|
-
event_id?: {
|
|
34
|
-
$eq?: string;
|
|
35
|
-
};
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=TriggerSearch.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerSearch.types.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerSearch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAExD;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,OAAO,CAAC,EAAE,iBAAiB,GAAG;QAC5B,IAAI,CAAC,EAAE;YACL,SAAS,CAAC,EAAE,MAAM,CAAA;YAClB,GAAG,CAAC,EAAE,MAAM,CAAA;SACb,CAAA;QACD,IAAI,CAAC,EAAE;YACL,SAAS,CAAC,EAAE,MAAM,CAAA;YAClB,GAAG,CAAC,EAAE,MAAM,CAAA;SACb,CAAA;QACD,SAAS,CAAC,EAAE;YACV,GAAG,CAAC,EAAE,OAAO,CAAA;SACd,CAAA;QACD,QAAQ,CAAC,EAAE;YACT,GAAG,CAAC,EAAE,MAAM,CAAA;SACb,CAAA;QACD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KACnB,CAAA;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import type { DataWrapper } from '../../types';
|
|
2
|
-
import type { SecretType } from '../SecretService';
|
|
3
|
-
import type { TriggerableType } from './TriggerService';
|
|
4
|
-
import type { AntHttpClient } from "../../AntHttpClient";
|
|
5
|
-
/**
|
|
6
|
-
* Where a bound secret is injected into the outbound trigger request. Mirrors
|
|
7
|
-
* the backend `App\Modules\Vault\Enums\Placement` enum; the credential value is
|
|
8
|
-
* resolved at dispatch, never stored on — nor returned by — the binding.
|
|
9
|
-
*/
|
|
10
|
-
export type SecretPlacement = 'header' | 'bearer' | 'query' | 'body';
|
|
11
|
-
/**
|
|
12
|
-
* The safe projection of the bound secret that a binding exposes. Only the
|
|
13
|
-
* secret's identity and a non-reversible `masked_hint` (≤ last 4 chars) are
|
|
14
|
-
* surfaced when the relation is loaded — the credential is never serialized.
|
|
15
|
-
*/
|
|
16
|
-
export interface TriggerSecretBindingSecret {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
/** The secret's kind — lets a UI flag a per-user (`oauth2_authorization_code`) binding. */
|
|
20
|
-
type: SecretType;
|
|
21
|
-
masked_hint: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* A trigger ↔ secret binding (TriggerSecretResource). Carries only placement
|
|
25
|
-
* metadata plus a reference to the secret; no credential material.
|
|
26
|
-
*/
|
|
27
|
-
export interface TriggerSecretBinding {
|
|
28
|
-
id: string;
|
|
29
|
-
trigger_id: string;
|
|
30
|
-
secret_id: string;
|
|
31
|
-
placement: SecretPlacement;
|
|
32
|
-
/**
|
|
33
|
-
* The concrete key the placement targets: header name, query parameter, or
|
|
34
|
-
* body JSON-path. Unused for `bearer`.
|
|
35
|
-
*/
|
|
36
|
-
name: string;
|
|
37
|
-
/** Optional wrapping template applied to the resolved value, e.g. `Bearer {{value}}`. */
|
|
38
|
-
format: string | null;
|
|
39
|
-
/** Present only when the API loads the relation (index + store both do). */
|
|
40
|
-
secret?: TriggerSecretBindingSecret;
|
|
41
|
-
created_at: string | null;
|
|
42
|
-
updated_at: string | null;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* POST body — binds an existing Vault secret to a trigger by reference. The
|
|
46
|
-
* secret must live in the trigger's own context or its parent license (422 otherwise).
|
|
47
|
-
*/
|
|
48
|
-
export interface CreateTriggerSecretBindingBody {
|
|
49
|
-
secret_id: string;
|
|
50
|
-
placement: SecretPlacement;
|
|
51
|
-
name: string;
|
|
52
|
-
format?: string | null;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* The coarse failure category of a dry-run binding test. `null` in a result
|
|
56
|
-
* means the binding resolved and passed every gate. Mirrors the backend
|
|
57
|
-
* `App\Modules\Vault\Enums\BindingTestReason`; it never carries the credential
|
|
58
|
-
* nor the offending host.
|
|
59
|
-
*/
|
|
60
|
-
export type BindingTestReason = 'missing' | 'expired' | 'egress_disallowed' | 'oauth_failed' | 'external_failed' | 'undecryptable';
|
|
61
|
-
/**
|
|
62
|
-
* The per-binding outcome of the read-only resolvability dry-run (Vault v2,
|
|
63
|
-
* Phase 13). It exposes ONLY non-sensitive metadata — the secret's identity,
|
|
64
|
-
* the placement, an `ok` flag and a coarse `reason` — never any plaintext.
|
|
65
|
-
* `ok`/`reason` are a function of the secret and the trigger's target, so every
|
|
66
|
-
* binding of the same secret shares one result.
|
|
67
|
-
*/
|
|
68
|
-
export interface BindingTestResult {
|
|
69
|
-
/** Present even when the bound secret was deleted (the binding still holds it). */
|
|
70
|
-
secret_id: string | null;
|
|
71
|
-
/** Null only when the bound secret no longer exists. */
|
|
72
|
-
secret_name: string | null;
|
|
73
|
-
placement: SecretPlacement;
|
|
74
|
-
ok: boolean;
|
|
75
|
-
reason: BindingTestReason | null;
|
|
76
|
-
}
|
|
77
|
-
export interface TriggerSecretService {
|
|
78
|
-
listBindings: (triggerableType: TriggerableType, triggerableId: string, triggerId: string) => Promise<DataWrapper<TriggerSecretBinding[]>>;
|
|
79
|
-
bind: (triggerableType: TriggerableType, triggerableId: string, triggerId: string, body: CreateTriggerSecretBindingBody) => Promise<DataWrapper<TriggerSecretBinding>>;
|
|
80
|
-
unbind: (triggerableType: TriggerableType, triggerableId: string, triggerId: string, bindingId: string) => Promise<void>;
|
|
81
|
-
/**
|
|
82
|
-
* Read-only diagnostic: probes whether each binding's secret would resolve and
|
|
83
|
-
* inject cleanly at dispatch, without sending the real request or revealing any value.
|
|
84
|
-
*/
|
|
85
|
-
testBindings: (triggerableType: TriggerableType, triggerableId: string, triggerId: string) => Promise<DataWrapper<BindingTestResult[]>>;
|
|
86
|
-
}
|
|
87
|
-
export declare function createTriggerSecretService(httpClient: AntHttpClient): TriggerSecretService;
|
|
88
|
-
//# sourceMappingURL=TriggerSecretService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerSecretService.d.ts","sourceRoot":"","sources":["../../../src/services/Trigger/TriggerSecretService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,4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