@pipeline-builder/api-core 5.2.2 → 5.2.4
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/lib/constants/ai-providers.d.ts +3 -22
- package/lib/constants/ai-providers.js +6 -56
- package/lib/errors/app-errors.d.ts +14 -0
- package/lib/errors/app-errors.js +21 -1
- package/lib/helpers/index.d.ts +1 -0
- package/lib/helpers/index.js +2 -1
- package/lib/helpers/sse-helpers.d.ts +33 -3
- package/lib/helpers/sse-helpers.js +91 -19
- package/lib/helpers/support-calendar.d.ts +69 -0
- package/lib/helpers/support-calendar.js +179 -0
- package/lib/middleware/auth.js +6 -3
- package/lib/middleware/deferred-quota-check.d.ts +5 -0
- package/lib/middleware/deferred-quota-check.js +33 -0
- package/lib/middleware/ecosystem-guard.d.ts +3 -3
- package/lib/middleware/ecosystem-guard.js +5 -5
- package/lib/middleware/index.d.ts +5 -2
- package/lib/middleware/index.js +6 -3
- package/lib/middleware/on-behalf.d.ts +37 -0
- package/lib/middleware/on-behalf.js +143 -0
- package/lib/middleware/permission-gates.d.ts +11 -0
- package/lib/middleware/permission-gates.js +7 -1
- package/lib/middleware/quota-exempt-routes.d.ts +36 -0
- package/lib/middleware/quota-exempt-routes.js +47 -0
- package/lib/middleware/route-table.d.ts +104 -0
- package/lib/middleware/route-table.js +72 -2
- package/lib/middleware/service-tokens.d.ts +8 -0
- package/lib/middleware/service-tokens.js +5 -3
- package/lib/middleware/step-up.js +11 -1
- package/lib/services/ai-call-weight.d.ts +24 -0
- package/lib/services/ai-call-weight.js +77 -0
- package/lib/services/alert-delivery.d.ts +99 -0
- package/lib/services/alert-delivery.js +132 -0
- package/lib/services/audit-context.d.ts +105 -0
- package/lib/services/audit-context.js +134 -0
- package/lib/services/index.d.ts +10 -2
- package/lib/services/index.js +10 -2
- package/lib/services/org-ai-client.d.ts +61 -0
- package/lib/services/org-ai-client.js +112 -0
- package/lib/services/pagerduty-inbound.d.ts +101 -0
- package/lib/services/pagerduty-inbound.js +195 -0
- package/lib/services/pagerduty.d.ts +109 -0
- package/lib/services/pagerduty.js +186 -0
- package/lib/services/quota-increment-batcher.d.ts +81 -0
- package/lib/services/quota-increment-batcher.js +166 -0
- package/lib/services/quota.d.ts +158 -14
- package/lib/services/quota.js +252 -22
- package/lib/services/remote-audit-client.d.ts +44 -1
- package/lib/services/remote-audit-client.js +106 -20
- package/lib/services/version-vuln-policy.d.ts +174 -0
- package/lib/services/version-vuln-policy.js +242 -0
- package/lib/types/ai-catalog.d.ts +63 -0
- package/lib/types/ai-catalog.js +82 -0
- package/lib/types/ask-proposals.js +6 -6
- package/lib/types/build-catalog.d.ts +154 -0
- package/lib/types/build-catalog.js +158 -0
- package/lib/types/common.d.ts +37 -3
- package/lib/types/common.js +20 -2
- package/lib/types/ecosystem-notifications.d.ts +5 -5
- package/lib/types/ecosystem-notifications.js +9 -3
- package/lib/types/error-codes.d.ts +13 -6
- package/lib/types/error-codes.js +18 -8
- package/lib/types/feature-flags.d.ts +71 -1
- package/lib/types/feature-flags.js +131 -11
- package/lib/types/index.d.ts +6 -4
- package/lib/types/index.js +12 -5
- package/lib/types/metadata-keys.d.ts +6 -0
- package/lib/types/metadata-keys.js +4 -1
- package/lib/types/permissions.d.ts +351 -3
- package/lib/types/permissions.js +610 -21
- package/lib/types/pipeline.d.ts +39 -0
- package/lib/types/pipeline.js +57 -1
- package/lib/types/plugin-health.d.ts +0 -2
- package/lib/types/plugin-health.js +1 -11
- package/lib/types/plugin-scan.d.ts +192 -42
- package/lib/types/plugin-scan.js +159 -43
- package/lib/types/quota-catalog.d.ts +247 -0
- package/lib/types/quota-catalog.js +122 -0
- package/lib/types/quota-tiers.d.ts +150 -0
- package/lib/types/quota-tiers.js +167 -2
- package/lib/types/remote-audit-actions.d.ts +1 -1
- package/lib/types/remote-audit-actions.js +217 -4
- package/lib/types/wire-vocabulary.js +8 -1
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/index.js +2 -2
- package/lib/utils/response.d.ts +35 -2
- package/lib/utils/response.js +42 -3
- package/lib/validation/ai-schemas.d.ts +27 -0
- package/lib/validation/ai-schemas.js +31 -5
- package/lib/validation/plugin-schemas.d.ts +15 -0
- package/lib/validation/plugin-schemas.js +28 -1
- package/package.json +31 -2
package/package.json
CHANGED
|
@@ -87,7 +87,8 @@
|
|
|
87
87
|
"homepage": "https://mwashburn160.github.io/pipeline-builder/",
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public",
|
|
90
|
-
"registry": "https://registry.npmjs.org/"
|
|
90
|
+
"registry": "https://registry.npmjs.org/",
|
|
91
|
+
"provenance": true
|
|
91
92
|
},
|
|
92
93
|
"typesVersions": {
|
|
93
94
|
"*": {
|
|
@@ -105,10 +106,22 @@
|
|
|
105
106
|
],
|
|
106
107
|
"ask-proposals": [
|
|
107
108
|
"lib/types/ask-proposals.d.ts"
|
|
109
|
+
],
|
|
110
|
+
"ai-catalog": [
|
|
111
|
+
"lib/types/ai-catalog.d.ts"
|
|
112
|
+
],
|
|
113
|
+
"plugin-scan": [
|
|
114
|
+
"lib/types/plugin-scan.d.ts"
|
|
115
|
+
],
|
|
116
|
+
"quota-catalog": [
|
|
117
|
+
"lib/types/quota-catalog.d.ts"
|
|
118
|
+
],
|
|
119
|
+
"build-catalog": [
|
|
120
|
+
"lib/types/build-catalog.d.ts"
|
|
108
121
|
]
|
|
109
122
|
}
|
|
110
123
|
},
|
|
111
|
-
"version": "5.2.
|
|
124
|
+
"version": "5.2.4",
|
|
112
125
|
"bugs": {
|
|
113
126
|
"url": "https://github.com/mwashburn160/pipeline-builder/issues"
|
|
114
127
|
},
|
|
@@ -235,6 +248,22 @@
|
|
|
235
248
|
"types": "./lib/types/ask-proposals.d.ts",
|
|
236
249
|
"default": "./lib/types/ask-proposals.js"
|
|
237
250
|
},
|
|
251
|
+
"./ai-catalog": {
|
|
252
|
+
"types": "./lib/types/ai-catalog.d.ts",
|
|
253
|
+
"default": "./lib/types/ai-catalog.js"
|
|
254
|
+
},
|
|
255
|
+
"./plugin-scan": {
|
|
256
|
+
"types": "./lib/types/plugin-scan.d.ts",
|
|
257
|
+
"default": "./lib/types/plugin-scan.js"
|
|
258
|
+
},
|
|
259
|
+
"./quota-catalog": {
|
|
260
|
+
"types": "./lib/types/quota-catalog.d.ts",
|
|
261
|
+
"default": "./lib/types/quota-catalog.js"
|
|
262
|
+
},
|
|
263
|
+
"./build-catalog": {
|
|
264
|
+
"types": "./lib/types/build-catalog.d.ts",
|
|
265
|
+
"default": "./lib/types/build-catalog.js"
|
|
266
|
+
},
|
|
238
267
|
"./testing": {
|
|
239
268
|
"types": "./lib/testing/index.d.ts",
|
|
240
269
|
"default": "./lib/testing/index.js"
|