@ogcio/building-blocks-sdk 0.2.70 → 0.2.71
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/client/clients/audit/index.d.ts +132 -0
- package/dist/client/clients/audit/index.d.ts.map +1 -0
- package/dist/client/clients/audit/index.js +14 -0
- package/dist/client/clients/audit/index.js.map +1 -0
- package/dist/client/clients/audit/schema.d.ts +246 -0
- package/dist/client/clients/audit/schema.d.ts.map +1 -0
- package/dist/client/clients/audit/schema.js +2 -0
- package/dist/client/clients/audit/schema.js.map +1 -0
- package/dist/clients-configurations/clients-configuration.json +9 -1
- package/dist/types/index.d.ts +9 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/src/client/clients/audit/index.ts +25 -0
- package/src/client/clients/audit/open-api-definition.json +433 -0
- package/src/client/clients/audit/schema.ts +245 -0
- package/src/clients-configurations/clients-configuration.json +9 -1
- package/src/types/index.ts +10 -2
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"payments:payment_request.public:read",
|
|
49
49
|
"payments:transaction:*"
|
|
50
50
|
],
|
|
51
|
-
"updateDefinitions":
|
|
51
|
+
"updateDefinitions": false
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"name": "scheduler",
|
|
@@ -92,6 +92,14 @@
|
|
|
92
92
|
"integrator:run:read"
|
|
93
93
|
],
|
|
94
94
|
"updateDefinitions": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "audit",
|
|
98
|
+
"openApiDefinitionUrl": "https://raw.githubusercontent.com/ogcio/govie-services-audit-collector/refs/heads/dev/openapi-definition.yml",
|
|
99
|
+
"openApiDefinitionFormat": "yaml",
|
|
100
|
+
"citizenPermissions": [],
|
|
101
|
+
"publicServantPermissions": [],
|
|
102
|
+
"updateDefinitions": true
|
|
95
103
|
}
|
|
96
104
|
]
|
|
97
105
|
}
|
package/src/types/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Analytics, AnalyticsOptions } from "@ogcio/analytics-sdk";
|
|
2
|
-
|
|
2
|
+
import type { AuditCollector } from "../client/clients/audit/index.js";
|
|
3
3
|
import type { FeatureFlags } from "../client/clients/featureFlags/index.js";
|
|
4
4
|
import type { Journey } from "../client/clients/journey/index.js";
|
|
5
5
|
import type { Messaging } from "../client/clients/messaging/index.js";
|
|
@@ -16,6 +16,7 @@ const SCHEDULER = "scheduler" as const;
|
|
|
16
16
|
const UPLOAD = "upload" as const;
|
|
17
17
|
const FEATURE_FLAGS = "featureFlags" as const;
|
|
18
18
|
const JOURNEY = "journey" as const;
|
|
19
|
+
const AUDIT_COLLECTOR = "auditCollector" as const;
|
|
19
20
|
|
|
20
21
|
type SERVICE_NAME =
|
|
21
22
|
| typeof ANALYTICS
|
|
@@ -25,7 +26,8 @@ type SERVICE_NAME =
|
|
|
25
26
|
| typeof SCHEDULER
|
|
26
27
|
| typeof UPLOAD
|
|
27
28
|
| typeof FEATURE_FLAGS
|
|
28
|
-
| typeof JOURNEY
|
|
29
|
+
| typeof JOURNEY
|
|
30
|
+
| typeof AUDIT_COLLECTOR;
|
|
29
31
|
|
|
30
32
|
interface AnalyticsConfig extends AnalyticsOptions {}
|
|
31
33
|
|
|
@@ -40,6 +42,7 @@ interface SchedulerConfig extends ServiceBaseConfig {}
|
|
|
40
42
|
interface UploadConfig extends ServiceBaseConfig {}
|
|
41
43
|
interface FeatureFlagsConfig extends ServiceBaseConfig {}
|
|
42
44
|
interface JourneyConfig extends ServiceBaseConfig {}
|
|
45
|
+
interface AuditCollectorConfig extends ServiceBaseConfig {}
|
|
43
46
|
|
|
44
47
|
interface Services {
|
|
45
48
|
analytics?: AnalyticsConfig;
|
|
@@ -50,6 +53,7 @@ interface Services {
|
|
|
50
53
|
upload?: UploadConfig;
|
|
51
54
|
featureFlags?: FeatureFlagsConfig;
|
|
52
55
|
journey?: JourneyConfig;
|
|
56
|
+
auditCollector?: AuditCollectorConfig;
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
type TokenFunction = (serviceName: SERVICE_NAME) => Promise<string>;
|
|
@@ -118,6 +122,7 @@ interface BuildingBlocksSDK {
|
|
|
118
122
|
upload: Upload;
|
|
119
123
|
featureFlags: FeatureFlags;
|
|
120
124
|
journey: Journey;
|
|
125
|
+
auditCollector: AuditCollector;
|
|
121
126
|
}
|
|
122
127
|
|
|
123
128
|
export {
|
|
@@ -129,6 +134,7 @@ export {
|
|
|
129
134
|
UPLOAD,
|
|
130
135
|
FEATURE_FLAGS,
|
|
131
136
|
JOURNEY,
|
|
137
|
+
AUDIT_COLLECTOR,
|
|
132
138
|
};
|
|
133
139
|
|
|
134
140
|
export type {
|
|
@@ -159,6 +165,8 @@ export type {
|
|
|
159
165
|
GetOrganizationTokenParams,
|
|
160
166
|
M2MParams,
|
|
161
167
|
M2MTokenFnConfig,
|
|
168
|
+
AuditCollectorConfig,
|
|
169
|
+
AuditCollector,
|
|
162
170
|
};
|
|
163
171
|
|
|
164
172
|
export type GenericError = {
|