@owox/backend 0.30.0-next-20260723073557 → 0.30.0
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.
|
@@ -91,6 +91,7 @@ __decorate([
|
|
|
91
91
|
], ConnectorController.prototype, "getConnectorFields", null);
|
|
92
92
|
__decorate([
|
|
93
93
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
94
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
94
95
|
(0, common_1.Get)(':connectorName/oauth/settings'),
|
|
95
96
|
(0, connector_api_1.GetConnectorOAuthSettingsSpec)(),
|
|
96
97
|
__param(0, (0, common_1.Param)('connectorName')),
|
|
@@ -101,6 +102,7 @@ __decorate([
|
|
|
101
102
|
], ConnectorController.prototype, "getConnectorOAuthSettings", null);
|
|
102
103
|
__decorate([
|
|
103
104
|
(0, idp_1.Auth)(role_config_types_1.Role.editor()),
|
|
105
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
104
106
|
(0, common_1.Post)(':connectorName/oauth/exchange'),
|
|
105
107
|
(0, connector_api_1.ExchangeOAuthCredentialsSpec)(),
|
|
106
108
|
__param(0, (0, idp_1.AuthContext)()),
|
|
@@ -112,6 +114,7 @@ __decorate([
|
|
|
112
114
|
], ConnectorController.prototype, "handleOAuthCallback", null);
|
|
113
115
|
__decorate([
|
|
114
116
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
117
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
115
118
|
(0, common_1.Get)(':connectorName/oauth/status/:credentialId'),
|
|
116
119
|
(0, connector_api_1.GetConnectorOAuthStatusSpec)(),
|
|
117
120
|
__param(0, (0, idp_1.AuthContext)()),
|
|
@@ -198,6 +198,7 @@ __decorate([
|
|
|
198
198
|
], DataDestinationController.prototype, "create", null);
|
|
199
199
|
__decorate([
|
|
200
200
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer(role_config_types_1.Strategy.INTROSPECT)),
|
|
201
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
201
202
|
(0, common_1.Post)('connect/google-sheets'),
|
|
202
203
|
(0, data_destination_api_1.CreateConnectGoogleSheetsDestinationSpec)(),
|
|
203
204
|
__param(0, (0, idp_1.AuthContext)()),
|
|
@@ -239,6 +240,7 @@ __decorate([
|
|
|
239
240
|
], DataDestinationController.prototype, "getAll", null);
|
|
240
241
|
__decorate([
|
|
241
242
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
243
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
242
244
|
(0, common_1.Get)('oauth/settings'),
|
|
243
245
|
(0, data_destination_api_1.OAuthSettingsSpec)(),
|
|
244
246
|
__metadata("design:type", Function),
|
|
@@ -247,6 +249,7 @@ __decorate([
|
|
|
247
249
|
], DataDestinationController.prototype, "getOAuthSettings", null);
|
|
248
250
|
__decorate([
|
|
249
251
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
252
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
250
253
|
(0, common_1.Get)('oauth/credential-status/:credentialId'),
|
|
251
254
|
(0, data_destination_api_1.OAuthCredentialStatusSpec)(),
|
|
252
255
|
__param(0, (0, idp_1.AuthContext)()),
|
|
@@ -257,6 +260,7 @@ __decorate([
|
|
|
257
260
|
], DataDestinationController.prototype, "getOAuthCredentialStatus", null);
|
|
258
261
|
__decorate([
|
|
259
262
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
263
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
260
264
|
(0, common_1.Post)('oauth/authorize'),
|
|
261
265
|
(0, common_1.HttpCode)(200),
|
|
262
266
|
(0, data_destination_api_1.OAuthAuthorizeSpec)(),
|
|
@@ -268,6 +272,7 @@ __decorate([
|
|
|
268
272
|
], DataDestinationController.prototype, "generateOAuthAuthorizationUrlStandalone", null);
|
|
269
273
|
__decorate([
|
|
270
274
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
275
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
271
276
|
(0, common_1.Post)('oauth/exchange'),
|
|
272
277
|
(0, common_1.HttpCode)(200),
|
|
273
278
|
(0, data_destination_api_1.OAuthExchangeSpec)(),
|
|
@@ -319,6 +324,7 @@ __decorate([
|
|
|
319
324
|
], DataDestinationController.prototype, "rotateSecretKey", null);
|
|
320
325
|
__decorate([
|
|
321
326
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
327
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
322
328
|
(0, common_1.Post)(':id/oauth/authorize'),
|
|
323
329
|
(0, common_1.HttpCode)(200),
|
|
324
330
|
(0, data_destination_api_1.OAuthAuthorizeSpec)(true),
|
|
@@ -331,6 +337,7 @@ __decorate([
|
|
|
331
337
|
], DataDestinationController.prototype, "generateOAuthAuthorizationUrl", null);
|
|
332
338
|
__decorate([
|
|
333
339
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
340
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
334
341
|
(0, common_1.Get)(':id/oauth/status'),
|
|
335
342
|
(0, data_destination_api_1.OAuthStatusSpec)(),
|
|
336
343
|
__param(0, (0, idp_1.AuthContext)()),
|
|
@@ -341,6 +348,7 @@ __decorate([
|
|
|
341
348
|
], DataDestinationController.prototype, "getOAuthStatus", null);
|
|
342
349
|
__decorate([
|
|
343
350
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
351
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
344
352
|
(0, common_1.Delete)(':id/oauth'),
|
|
345
353
|
(0, common_1.HttpCode)(204),
|
|
346
354
|
(0, data_destination_api_1.OAuthRevokeSpec)(),
|
|
@@ -194,6 +194,7 @@ __decorate([
|
|
|
194
194
|
], DataStorageController.prototype, "getByType", null);
|
|
195
195
|
__decorate([
|
|
196
196
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
197
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
197
198
|
(0, common_1.Get)('oauth/settings'),
|
|
198
199
|
(0, data_storage_api_1.OAuthSettingsSpec)(),
|
|
199
200
|
__metadata("design:type", Function),
|
|
@@ -202,6 +203,7 @@ __decorate([
|
|
|
202
203
|
], DataStorageController.prototype, "getOAuthSettings", null);
|
|
203
204
|
__decorate([
|
|
204
205
|
(0, idp_1.Auth)(role_config_types_1.Role.editor()),
|
|
206
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
205
207
|
(0, common_1.Post)('oauth/exchange'),
|
|
206
208
|
(0, common_1.HttpCode)(200),
|
|
207
209
|
(0, data_storage_api_1.OAuthExchangeSpec)(),
|
|
@@ -255,6 +257,7 @@ __decorate([
|
|
|
255
257
|
], DataStorageController.prototype, "validate", null);
|
|
256
258
|
__decorate([
|
|
257
259
|
(0, idp_1.Auth)(role_config_types_1.Role.editor()),
|
|
260
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
258
261
|
(0, common_1.Post)(':id/oauth/authorize'),
|
|
259
262
|
(0, common_1.HttpCode)(200),
|
|
260
263
|
(0, data_storage_api_1.OAuthAuthorizeSpec)(),
|
|
@@ -267,6 +270,7 @@ __decorate([
|
|
|
267
270
|
], DataStorageController.prototype, "generateOAuthAuthorizationUrl", null);
|
|
268
271
|
__decorate([
|
|
269
272
|
(0, idp_1.Auth)(role_config_types_1.Role.viewer()),
|
|
273
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
270
274
|
(0, common_1.Get)(':id/oauth/status'),
|
|
271
275
|
(0, data_storage_api_1.OAuthStatusSpec)(),
|
|
272
276
|
__param(0, (0, idp_1.AuthContext)()),
|
|
@@ -277,6 +281,7 @@ __decorate([
|
|
|
277
281
|
], DataStorageController.prototype, "getOAuthStatus", null);
|
|
278
282
|
__decorate([
|
|
279
283
|
(0, idp_1.Auth)(role_config_types_1.Role.editor()),
|
|
284
|
+
(0, idp_1.RejectApiKeyAuth)(),
|
|
280
285
|
(0, common_1.Delete)(':id/oauth'),
|
|
281
286
|
(0, common_1.HttpCode)(204),
|
|
282
287
|
(0, data_storage_api_1.OAuthRevokeSpec)(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owox/backend",
|
|
3
|
-
"version": "0.30.0
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "OWOX Data Marts Backend - Full-stack data orchestration platform",
|
|
5
5
|
"author": "OWOX",
|
|
6
6
|
"license": "ELv2",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"@opentelemetry/exporter-trace-otlp-http": "^0.220.0",
|
|
87
87
|
"@opentelemetry/sdk-trace-base": "^2.9.0",
|
|
88
88
|
"@opentelemetry/sdk-trace-node": "^2.9.0",
|
|
89
|
-
"@owox/connectors": "0.30.0
|
|
90
|
-
"@owox/idp-protocol": "0.30.0
|
|
91
|
-
"@owox/internal-helpers": "0.30.0
|
|
89
|
+
"@owox/connectors": "0.30.0",
|
|
90
|
+
"@owox/idp-protocol": "0.30.0",
|
|
91
|
+
"@owox/internal-helpers": "0.30.0",
|
|
92
92
|
"better-sqlite3": "^12.2.0",
|
|
93
93
|
"class-transformer": "^0.5.1",
|
|
94
94
|
"class-validator": "^0.14.2",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@nestjs/testing": "^11.1.2",
|
|
128
128
|
"@owox/eslint-config": "*",
|
|
129
129
|
"@owox/prettier-config": "*",
|
|
130
|
-
"@owox/test-utils": "
|
|
130
|
+
"@owox/test-utils": "*",
|
|
131
131
|
"@swc/cli": "^0.6.0",
|
|
132
132
|
"@swc/core": "^1.10.7",
|
|
133
133
|
"@types/better-sqlite3": "^7.6.13",
|