@hed-hog/core 0.0.355 → 0.0.358
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/dist/ai/ai.service.d.ts +3 -12
- package/dist/ai/ai.service.d.ts.map +1 -1
- package/dist/ai/ai.service.js +34 -125
- package/dist/ai/ai.service.js.map +1 -1
- package/dist/auth/guards/auth.guard.d.ts +6 -1
- package/dist/auth/guards/auth.guard.d.ts.map +1 -1
- package/dist/auth/guards/auth.guard.js +33 -2
- package/dist/auth/guards/auth.guard.js.map +1 -1
- package/dist/core.module.d.ts.map +1 -1
- package/dist/core.module.js +3 -3
- package/dist/core.module.js.map +1 -1
- package/dist/file/file.controller.d.ts +4 -2
- package/dist/file/file.controller.d.ts.map +1 -1
- package/dist/file/file.controller.js +44 -38
- package/dist/file/file.controller.js.map +1 -1
- package/dist/file/file.service.d.ts +2 -2
- package/dist/file/file.service.d.ts.map +1 -1
- package/dist/file/file.service.js +58 -89
- package/dist/file/file.service.js.map +1 -1
- package/dist/file/provider/azure.provider.d.ts.map +1 -1
- package/dist/file/provider/azure.provider.js +10 -15
- package/dist/file/provider/azure.provider.js.map +1 -1
- package/dist/file/provider/gcs.provider.d.ts.map +1 -1
- package/dist/file/provider/gcs.provider.js +8 -9
- package/dist/file/provider/gcs.provider.js.map +1 -1
- package/dist/file/provider/local.provider.d.ts.map +1 -1
- package/dist/file/provider/local.provider.js +11 -10
- package/dist/file/provider/local.provider.js.map +1 -1
- package/dist/file/provider/provider.enum.d.ts +2 -1
- package/dist/file/provider/provider.enum.d.ts.map +1 -1
- package/dist/file/provider/provider.enum.js +1 -0
- package/dist/file/provider/provider.enum.js.map +1 -1
- package/dist/file/provider/provider.factory.d.ts +1 -1
- package/dist/file/provider/provider.factory.d.ts.map +1 -1
- package/dist/file/provider/provider.factory.js +18 -5
- package/dist/file/provider/provider.factory.js.map +1 -1
- package/dist/file/provider/s3.provider.d.ts.map +1 -1
- package/dist/file/provider/s3.provider.js +4 -20
- package/dist/file/provider/s3.provider.js.map +1 -1
- package/dist/file/provider/spaces.provider.d.ts +27 -0
- package/dist/file/provider/spaces.provider.d.ts.map +1 -0
- package/dist/file/provider/spaces.provider.js +203 -0
- package/dist/file/provider/spaces.provider.js.map +1 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/integration-profile/dto/create.dto.d.ts +9 -0
- package/dist/integration-profile/dto/create.dto.d.ts.map +1 -0
- package/dist/integration-profile/dto/create.dto.js +54 -0
- package/dist/integration-profile/dto/create.dto.js.map +1 -0
- package/dist/integration-profile/dto/export.dto.d.ts +5 -0
- package/dist/integration-profile/dto/export.dto.d.ts.map +1 -0
- package/dist/integration-profile/dto/export.dto.js +29 -0
- package/dist/integration-profile/dto/export.dto.js.map +1 -0
- package/dist/integration-profile/dto/import-confirm.dto.d.ts +17 -0
- package/dist/integration-profile/dto/import-confirm.dto.d.ts.map +1 -0
- package/dist/integration-profile/dto/import-confirm.dto.js +77 -0
- package/dist/integration-profile/dto/import-confirm.dto.js.map +1 -0
- package/dist/integration-profile/dto/update.dto.d.ts.map +1 -0
- package/dist/integration-profile/dto/update.dto.js.map +1 -0
- package/dist/integration-profile/integration-profile.controller.d.ts +142 -0
- package/dist/integration-profile/integration-profile.controller.d.ts.map +1 -0
- package/dist/integration-profile/integration-profile.controller.js +166 -0
- package/dist/integration-profile/integration-profile.controller.js.map +1 -0
- package/dist/integration-profile/integration-profile.module.d.ts +3 -0
- package/dist/integration-profile/integration-profile.module.d.ts.map +1 -0
- package/dist/{mail-profile/mail-profile.module.js → integration-profile/integration-profile.module.js} +11 -13
- package/dist/integration-profile/integration-profile.module.js.map +1 -0
- package/dist/integration-profile/integration-profile.service.d.ts +160 -0
- package/dist/integration-profile/integration-profile.service.d.ts.map +1 -0
- package/dist/integration-profile/integration-profile.service.js +609 -0
- package/dist/integration-profile/integration-profile.service.js.map +1 -0
- package/dist/integration-profile/integration-profile.utils.d.ts +30 -0
- package/dist/integration-profile/integration-profile.utils.d.ts.map +1 -0
- package/dist/integration-profile/integration-profile.utils.js +156 -0
- package/dist/integration-profile/integration-profile.utils.js.map +1 -0
- package/dist/mail/mail.module.d.ts.map +1 -1
- package/dist/mail/mail.module.js +36 -23
- package/dist/mail/mail.module.js.map +1 -1
- package/dist/mail/mail.service.d.ts +4 -2
- package/dist/mail/mail.service.d.ts.map +1 -1
- package/dist/mail/mail.service.js +33 -51
- package/dist/mail/mail.service.js.map +1 -1
- package/dist/mcp/guards/mcp-auth.guard.js +1 -1
- package/dist/mcp/guards/mcp-auth.guard.js.map +1 -1
- package/dist/mcp/mcp-api-key.controller.d.ts +2 -0
- package/dist/mcp/mcp-api-key.controller.d.ts.map +1 -1
- package/dist/mcp/mcp-api-key.controller.js +1 -1
- package/dist/mcp/mcp-api-key.controller.js.map +1 -1
- package/dist/mcp/mcp-api-key.service.d.ts +2 -1
- package/dist/mcp/mcp-api-key.service.d.ts.map +1 -1
- package/dist/mcp/mcp-api-key.service.js +6 -2
- package/dist/mcp/mcp-api-key.service.js.map +1 -1
- package/dist/mcp/mcp.module.d.ts.map +1 -1
- package/dist/mcp/mcp.module.js +3 -5
- package/dist/mcp/mcp.module.js.map +1 -1
- package/dist/mcp-chat/mcp-chat.service.d.ts.map +1 -1
- package/dist/mcp-chat/mcp-chat.service.js +17 -16
- package/dist/mcp-chat/mcp-chat.service.js.map +1 -1
- package/dist/oauth/interfaces/OAuthProvider.d.ts +1 -1
- package/dist/oauth/interfaces/OAuthProvider.d.ts.map +1 -1
- package/dist/oauth/oauth.controller.d.ts +4 -1
- package/dist/oauth/oauth.controller.d.ts.map +1 -1
- package/dist/oauth/oauth.controller.js +31 -5
- package/dist/oauth/oauth.controller.js.map +1 -1
- package/dist/oauth/oauth.service.d.ts +12 -1
- package/dist/oauth/oauth.service.d.ts.map +1 -1
- package/dist/oauth/oauth.service.js +125 -23
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/oauth/providers/abstract.provider.d.ts +1 -1
- package/dist/oauth/providers/abstract.provider.d.ts.map +1 -1
- package/dist/oauth/providers/facebook.provider.d.ts +5 -2
- package/dist/oauth/providers/facebook.provider.d.ts.map +1 -1
- package/dist/oauth/providers/facebook.provider.js +34 -19
- package/dist/oauth/providers/facebook.provider.js.map +1 -1
- package/dist/oauth/providers/github.provider.d.ts +6 -2
- package/dist/oauth/providers/github.provider.d.ts.map +1 -1
- package/dist/oauth/providers/github.provider.js +43 -20
- package/dist/oauth/providers/github.provider.js.map +1 -1
- package/dist/oauth/providers/google.provider.d.ts +5 -2
- package/dist/oauth/providers/google.provider.d.ts.map +1 -1
- package/dist/oauth/providers/google.provider.js +34 -19
- package/dist/oauth/providers/google.provider.js.map +1 -1
- package/dist/oauth/providers/microsoft-entra-id.provider.d.ts +5 -2
- package/dist/oauth/providers/microsoft-entra-id.provider.d.ts.map +1 -1
- package/dist/oauth/providers/microsoft-entra-id.provider.js +43 -40
- package/dist/oauth/providers/microsoft-entra-id.provider.js.map +1 -1
- package/dist/oauth/providers/microsoft.provider.d.ts +5 -2
- package/dist/oauth/providers/microsoft.provider.d.ts.map +1 -1
- package/dist/oauth/providers/microsoft.provider.js +34 -19
- package/dist/oauth/providers/microsoft.provider.js.map +1 -1
- package/dist/profile/profile.controller.js +1 -1
- package/dist/profile/profile.controller.js.map +1 -1
- package/dist/security/security.service.d.ts +2 -0
- package/dist/security/security.service.d.ts.map +1 -1
- package/dist/security/security.service.js +21 -0
- package/dist/security/security.service.js.map +1 -1
- package/dist/setting/setting.service.d.ts +26 -1
- package/dist/setting/setting.service.d.ts.map +1 -1
- package/dist/setting/setting.service.js +240 -7
- package/dist/setting/setting.service.js.map +1 -1
- package/dist/user/user.controller.d.ts +2 -1
- package/dist/user/user.controller.d.ts.map +1 -1
- package/dist/user/user.controller.js +5 -4
- package/dist/user/user.controller.js.map +1 -1
- package/dist/user/user.service.d.ts +4 -2
- package/dist/user/user.service.d.ts.map +1 -1
- package/dist/user/user.service.js +19 -4
- package/dist/user/user.service.js.map +1 -1
- package/dist/webhook-integration/dto/webhook-action.dto.d.ts +17 -2
- package/dist/webhook-integration/dto/webhook-action.dto.d.ts.map +1 -1
- package/dist/webhook-integration/dto/webhook-action.dto.js +93 -2
- package/dist/webhook-integration/dto/webhook-action.dto.js.map +1 -1
- package/dist/webhook-integration/event-webhook.controller.d.ts +1 -0
- package/dist/webhook-integration/event-webhook.controller.d.ts.map +1 -1
- package/dist/webhook-integration/event-webhook.controller.js +10 -0
- package/dist/webhook-integration/event-webhook.controller.js.map +1 -1
- package/dist/webhook-integration/event-webhook.service.d.ts +2 -0
- package/dist/webhook-integration/event-webhook.service.d.ts.map +1 -1
- package/dist/webhook-integration/event-webhook.service.js +30 -0
- package/dist/webhook-integration/event-webhook.service.js.map +1 -1
- package/dist/webhook-integration/webhook-command.registry.d.ts +15 -0
- package/dist/webhook-integration/webhook-command.registry.d.ts.map +1 -0
- package/dist/webhook-integration/webhook-command.registry.js +36 -0
- package/dist/webhook-integration/webhook-command.registry.js.map +1 -0
- package/dist/webhook-integration/webhook-integration.controller.d.ts +20 -0
- package/dist/webhook-integration/webhook-integration.controller.d.ts.map +1 -1
- package/dist/webhook-integration/webhook-integration.controller.js +48 -0
- package/dist/webhook-integration/webhook-integration.controller.js.map +1 -1
- package/dist/webhook-integration/webhook-integration.module.d.ts.map +1 -1
- package/dist/webhook-integration/webhook-integration.module.js +5 -0
- package/dist/webhook-integration/webhook-integration.module.js.map +1 -1
- package/dist/webhook-integration/webhook-integration.service.d.ts +27 -2
- package/dist/webhook-integration/webhook-integration.service.d.ts.map +1 -1
- package/dist/webhook-integration/webhook-integration.service.js +377 -50
- package/dist/webhook-integration/webhook-integration.service.js.map +1 -1
- package/hedhog/data/file_provider.yaml +9 -1
- package/hedhog/data/integration_provider.yaml +148 -0
- package/hedhog/data/integration_type.yaml +29 -0
- package/hedhog/data/menu.yaml +6 -21
- package/hedhog/data/role.yaml +8 -0
- package/hedhog/data/route.yaml +73 -373
- package/hedhog/data/setting_group.yaml +209 -365
- package/hedhog/data/setting_subgroup.yaml +21 -13
- package/hedhog/frontend/app/account/components/connected-accounts.tsx.ejs +25 -20
- package/hedhog/frontend/app/account/components/tokens.tsx.ejs +421 -0
- package/hedhog/frontend/app/account/layout.tsx.ejs +6 -3
- package/hedhog/frontend/app/account/mcp-tokens/page.tsx.ejs +2 -2
- package/hedhog/frontend/app/account/tokens/page.tsx.ejs +5 -0
- package/hedhog/frontend/app/configurations/[slug]/components/setting-field.tsx.ejs +938 -225
- package/hedhog/frontend/app/configurations/layout.tsx.ejs +1 -1
- package/hedhog/frontend/app/dashboard/dashboard-home-tabs.tsx.ejs +3 -1
- package/hedhog/frontend/app/integration/profiles/page.tsx.ejs +1830 -0
- package/hedhog/frontend/app/integrations-webhooks/page.tsx.ejs +829 -128
- package/hedhog/frontend/app/mail/profiles/page.tsx.ejs +1 -820
- package/hedhog/frontend/app/setting-list/page.tsx.ejs +229 -395
- package/hedhog/frontend/app/users/permissions.tsx.ejs +79 -2
- package/hedhog/frontend/app/users/user-sheet.tsx.ejs +7 -2
- package/hedhog/frontend/messages/en.json +239 -3
- package/hedhog/frontend/messages/pt.json +239 -3
- package/hedhog/table/file.yaml +1 -1
- package/hedhog/table/integration_profile.yaml +34 -0
- package/hedhog/table/integration_provider.yaml +23 -0
- package/hedhog/table/integration_type.yaml +19 -0
- package/hedhog/table/mcp_api_key.yaml +4 -0
- package/hedhog/table/webhook_action.yaml +141 -85
- package/package.json +4 -3
- package/src/ai/ai.service.ts +35 -153
- package/src/auth/guards/auth.guard.ts +32 -0
- package/src/core.module.ts +3 -3
- package/src/file/file.controller.ts +51 -42
- package/src/file/file.service.ts +67 -104
- package/src/file/provider/azure.provider.ts +14 -28
- package/src/file/provider/gcs.provider.ts +9 -9
- package/src/file/provider/local.provider.ts +10 -13
- package/src/file/provider/provider.enum.ts +1 -0
- package/src/file/provider/provider.factory.ts +21 -6
- package/src/file/provider/s3.provider.ts +4 -20
- package/src/file/provider/spaces.provider.ts +246 -0
- package/src/index.ts +6 -3
- package/src/integration-profile/dto/create.dto.ts +44 -0
- package/src/integration-profile/dto/export.dto.ts +15 -0
- package/src/integration-profile/dto/import-confirm.dto.ts +61 -0
- package/src/integration-profile/integration-profile.controller.ts +131 -0
- package/src/integration-profile/integration-profile.module.ts +16 -0
- package/src/integration-profile/integration-profile.service.ts +793 -0
- package/src/integration-profile/integration-profile.utils.ts +173 -0
- package/src/mail/mail.module.ts +41 -22
- package/src/mail/mail.service.ts +40 -64
- package/src/mcp/guards/mcp-auth.guard.ts +1 -1
- package/src/mcp/mcp-api-key.controller.ts +2 -2
- package/src/mcp/mcp-api-key.service.ts +6 -2
- package/src/mcp/mcp.module.ts +3 -5
- package/src/mcp-chat/mcp-chat.service.ts +23 -20
- package/src/oauth/interfaces/OAuthProvider.ts +1 -1
- package/src/oauth/oauth.controller.ts +30 -2
- package/src/oauth/oauth.service.ts +194 -35
- package/src/oauth/providers/abstract.provider.ts +1 -1
- package/src/oauth/providers/facebook.provider.ts +36 -20
- package/src/oauth/providers/github.provider.ts +46 -23
- package/src/oauth/providers/google.provider.ts +36 -20
- package/src/oauth/providers/microsoft-entra-id.provider.ts +42 -46
- package/src/oauth/providers/microsoft.provider.ts +36 -21
- package/src/profile/profile.controller.ts +2 -2
- package/src/security/security.service.ts +34 -1
- package/src/setting/setting.service.ts +307 -9
- package/src/user/user.controller.ts +4 -1
- package/src/user/user.service.ts +20 -2
- package/src/webhook-integration/dto/webhook-action.dto.ts +85 -4
- package/src/webhook-integration/event-webhook.controller.ts +55 -50
- package/src/webhook-integration/event-webhook.service.ts +422 -384
- package/src/webhook-integration/webhook-command.registry.ts +42 -0
- package/src/webhook-integration/webhook-integration.controller.ts +25 -0
- package/src/webhook-integration/webhook-integration.module.ts +50 -45
- package/src/webhook-integration/webhook-integration.service.ts +444 -53
- package/dist/mail-profile/dto/create.dto.d.ts +0 -23
- package/dist/mail-profile/dto/create.dto.d.ts.map +0 -1
- package/dist/mail-profile/dto/create.dto.js +0 -139
- package/dist/mail-profile/dto/create.dto.js.map +0 -1
- package/dist/mail-profile/dto/update.dto.d.ts.map +0 -1
- package/dist/mail-profile/dto/update.dto.js.map +0 -1
- package/dist/mail-profile/mail-profile.controller.d.ts +0 -94
- package/dist/mail-profile/mail-profile.controller.d.ts.map +0 -1
- package/dist/mail-profile/mail-profile.controller.js +0 -95
- package/dist/mail-profile/mail-profile.controller.js.map +0 -1
- package/dist/mail-profile/mail-profile.module.d.ts +0 -3
- package/dist/mail-profile/mail-profile.module.d.ts.map +0 -1
- package/dist/mail-profile/mail-profile.module.js.map +0 -1
- package/dist/mail-profile/mail-profile.service.d.ts +0 -109
- package/dist/mail-profile/mail-profile.service.d.ts.map +0 -1
- package/dist/mail-profile/mail-profile.service.js +0 -278
- package/dist/mail-profile/mail-profile.service.js.map +0 -1
- package/dist/mcp/tools/core-mail-profile.mcp-tools.d.ts +0 -32
- package/dist/mcp/tools/core-mail-profile.mcp-tools.d.ts.map +0 -1
- package/dist/mcp/tools/core-mail-profile.mcp-tools.js +0 -178
- package/dist/mcp/tools/core-mail-profile.mcp-tools.js.map +0 -1
- package/hedhog/data/mail_profile.yaml +0 -18
- package/hedhog/table/mail_profile.yaml +0 -75
- package/src/mail-profile/dto/create.dto.ts +0 -145
- package/src/mail-profile/mail-profile.controller.ts +0 -56
- package/src/mail-profile/mail-profile.module.ts +0 -18
- package/src/mail-profile/mail-profile.service.ts +0 -308
- package/src/mcp/tools/core-mail-profile.mcp-tools.ts +0 -128
- /package/dist/{mail-profile → integration-profile}/dto/update.dto.d.ts +0 -0
- /package/dist/{mail-profile → integration-profile}/dto/update.dto.js +0 -0
- /package/src/{mail-profile → integration-profile}/dto/update.dto.ts +0 -0
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAA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;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,qBAAqB,CAAC;AAGpC,cAAc,+CAA+C,CAAC;AAC9D,cAAc,iDAAiD,CAAC;AAChE,cAAc,yDAAyD,CAAC;AAGxE,cAAc,qCAAqC,CAAC;AACpD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAG7C,cAAc,wBAAwB,CAAC;AAIvC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -29,10 +29,11 @@ __exportStar(require("./screen/screen.service"), exports);
|
|
|
29
29
|
// User Module
|
|
30
30
|
__exportStar(require("./user/constants/user.constants"), exports);
|
|
31
31
|
__exportStar(require("./user/user.service"), exports);
|
|
32
|
-
__exportStar(require("./mail-profile/mail-profile.module"), exports);
|
|
33
|
-
__exportStar(require("./mail-profile/mail-profile.service"), exports);
|
|
34
32
|
__exportStar(require("./mail/mail.module"), exports);
|
|
35
33
|
__exportStar(require("./mail/mail.service"), exports);
|
|
34
|
+
__exportStar(require("./integration-profile/integration-profile.module"), exports);
|
|
35
|
+
__exportStar(require("./integration-profile/integration-profile.service"), exports);
|
|
36
|
+
__exportStar(require("./integration-profile/integration-profile.utils"), exports);
|
|
36
37
|
__exportStar(require("./file/file.module"), exports);
|
|
37
38
|
__exportStar(require("./file/file.service"), exports);
|
|
38
39
|
__exportStar(require("./pdf/pdf.module"), exports);
|
|
@@ -72,7 +73,7 @@ __exportStar(require("./mcp/types/mcp-context.type"), exports);
|
|
|
72
73
|
// Utilities
|
|
73
74
|
__exportStar(require("./utils/locale-context"), exports);
|
|
74
75
|
// Notification Module
|
|
76
|
+
__exportStar(require("./notification/dto/create-notification.dto"), exports);
|
|
75
77
|
__exportStar(require("./notification/notification.module"), exports);
|
|
76
78
|
__exportStar(require("./notification/notification.service"), exports);
|
|
77
|
-
__exportStar(require("./notification/dto/create-notification.dto"), exports);
|
|
78
79
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,cAAc;AACd,gDAA8B;AAE9B,cAAc;AACd,sDAAoC;AACpC,2DAAyC;AAEzC,cAAc;AACd,sDAAoC;AAEpC,oBAAoB;AACpB,2DAAyC;AACzC,sDAAoC;AAEpC,gBAAgB;AAChB,0DAAwC;AAExC,cAAc;AACd,kEAAgD;AAChD,sDAAoC;AAEpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,cAAc;AACd,gDAA8B;AAE9B,cAAc;AACd,sDAAoC;AACpC,2DAAyC;AAEzC,cAAc;AACd,sDAAoC;AAEpC,oBAAoB;AACpB,2DAAyC;AACzC,sDAAoC;AAEpC,gBAAgB;AAChB,0DAAwC;AAExC,cAAc;AACd,kEAAgD;AAChD,sDAAoC;AAEpC,qDAAmC;AACnC,sDAAoC;AAEpC,mFAAiE;AACjE,oFAAkE;AAClE,kFAAgE;AAEhE,qDAAmC;AACnC,sDAAoC;AAEpC,mDAAiC;AACjC,oDAAkC;AAClC,2DAAyC;AACzC,4DAA0C;AAE1C,iDAA+B;AAC/B,kDAAgC;AAEhC,8EAA4D;AAC5D,0FAAwE;AACxE,mFAAiE;AACjE,oFAAkE;AAElE,qBAAqB;AACrB,mEAAiD;AACjD,gFAA8D;AAC9D,mFAAiE;AACjE,uEAAqD;AACrD,2FAAyE;AACzE,kFAAgE;AAChE,sFAAoE;AACpE,oFAAkE;AAClE,yEAAuD;AACvD,0EAAwD;AACxD,8EAA4D;AAC5D,wEAAsD;AACtD,sDAAoC;AAEpC,aAAa;AACb,gFAA8D;AAC9D,kFAAgE;AAChE,0FAAwE;AAExE,aAAa;AACb,sEAAoD;AACpD,iFAA+D;AAC/D,6DAA2C;AAC3C,mDAAiC;AACjC,+DAA6C;AAE7C,YAAY;AACZ,yDAAuC;AAGvC,sBAAsB;AACtB,6EAA2D;AAC3D,qEAAmD;AACnD,sEAAoD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../src/integration-profile/dto/create.dto.ts"],"names":[],"mappings":"AAYA,qBAAa,SAAS;IAIpB,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,EAAE,MAAM,CAAC;IAKhB,WAAW,EAAE,MAAM,CAAC;IAIpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAOxC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateDTO = void 0;
|
|
13
|
+
const api_locale_1 = require("@hed-hog/api-locale");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class CreateDTO {
|
|
17
|
+
}
|
|
18
|
+
exports.CreateDTO = CreateDTO;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
21
|
+
(0, class_validator_1.MaxLength)(255),
|
|
22
|
+
(0, class_transformer_1.Transform)(({ value }) => String(value !== null && value !== void 0 ? value : '').trim()),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateDTO.prototype, "slug", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
27
|
+
(0, class_validator_1.MaxLength)(127),
|
|
28
|
+
(0, class_transformer_1.Transform)(({ value }) => String(value !== null && value !== void 0 ? value : '').trim()),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreateDTO.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsInt)(),
|
|
33
|
+
(0, class_validator_1.Min)(1),
|
|
34
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], CreateDTO.prototype, "type_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsInt)(),
|
|
39
|
+
(0, class_validator_1.Min)(1),
|
|
40
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], CreateDTO.prototype, "provider_id", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsObject)(),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], CreateDTO.prototype, "config", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_validator_1.IsBoolean)(),
|
|
51
|
+
(0, class_transformer_1.Transform)(({ value }) => value === true || value === 'true' || value === 1 || value === '1'),
|
|
52
|
+
__metadata("design:type", Boolean)
|
|
53
|
+
], CreateDTO.prototype, "is_active", void 0);
|
|
54
|
+
//# sourceMappingURL=create.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../src/integration-profile/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,yDAAoD;AACpD,qDAQyB;AAEzB,MAAa,SAAS;CA+BrB;AA/BD,8BA+BC;AA3BC;IAHC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,2BAAS,EAAC,GAAG,CAAC;IACd,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;;uCACxC;AAKb;IAHC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,2BAA2B,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvF,IAAA,2BAAS,EAAC,GAAG,CAAC;IACd,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;;uCACxC;AAKb;IAHC,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACH;AAKhB;IAHC,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;8CACC;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCAC6B;AAOxC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACvB,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,GAAG,CACnE;;4CACmB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.dto.d.ts","sourceRoot":"","sources":["../../../src/integration-profile/dto/export.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,SAAS;IAGpB,GAAG,CAAC,EAAE,MAAM,CAAC;IAOb,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ExportDTO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class ExportDTO {
|
|
16
|
+
}
|
|
17
|
+
exports.ExportDTO = ExportDTO;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ExportDTO.prototype, "ids", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsBoolean)(),
|
|
26
|
+
(0, class_transformer_1.Transform)(({ value }) => value === true || value === 'true' || value === 1 || value === '1'),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], ExportDTO.prototype, "include_secrets", void 0);
|
|
29
|
+
//# sourceMappingURL=export.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.dto.js","sourceRoot":"","sources":["../../../src/integration-profile/dto/export.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAkE;AAElE,MAAa,SAAS;CAWrB;AAXD,8BAWC;AARC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sCACE;AAOb;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACvB,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,GAAG,CACnE;;kDACyB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class ImportProfileItemDTO {
|
|
2
|
+
slug: string;
|
|
3
|
+
name: string;
|
|
4
|
+
type_slug: string;
|
|
5
|
+
provider_slug: string;
|
|
6
|
+
config?: Record<string, unknown> | null;
|
|
7
|
+
is_active?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class ConflictResolutionDTO {
|
|
10
|
+
slug: string;
|
|
11
|
+
action: 'ignore' | 'replace' | 'rename_auto';
|
|
12
|
+
}
|
|
13
|
+
export declare class ImportConfirmDTO {
|
|
14
|
+
profiles: ImportProfileItemDTO[];
|
|
15
|
+
conflict_resolutions?: ConflictResolutionDTO[];
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=import-confirm.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-confirm.dto.d.ts","sourceRoot":"","sources":["../../../src/integration-profile/dto/import-confirm.dto.ts"],"names":[],"mappings":"AAaA,qBAAa,oBAAoB;IAG/B,IAAI,EAAE,MAAM,CAAC;IAIb,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,MAAM,CAAC;IAIlB,aAAa,EAAE,MAAM,CAAC;IAItB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAIxC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,qBAAqB;IAGhC,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAC;CAC9C;AAED,qBAAa,gBAAgB;IAK3B,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IAMjC,oBAAoB,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAChD"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ImportConfirmDTO = exports.ConflictResolutionDTO = exports.ImportProfileItemDTO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class ImportProfileItemDTO {
|
|
16
|
+
}
|
|
17
|
+
exports.ImportProfileItemDTO = ImportProfileItemDTO;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.MaxLength)(255),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ImportProfileItemDTO.prototype, "slug", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.MaxLength)(127),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ImportProfileItemDTO.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.MaxLength)(255),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ImportProfileItemDTO.prototype, "type_slug", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.MaxLength)(255),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ImportProfileItemDTO.prototype, "provider_slug", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsObject)(),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], ImportProfileItemDTO.prototype, "config", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsBoolean)(),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], ImportProfileItemDTO.prototype, "is_active", void 0);
|
|
48
|
+
class ConflictResolutionDTO {
|
|
49
|
+
}
|
|
50
|
+
exports.ConflictResolutionDTO = ConflictResolutionDTO;
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
(0, class_validator_1.MaxLength)(255),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], ConflictResolutionDTO.prototype, "slug", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsIn)(['ignore', 'replace', 'rename_auto']),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], ConflictResolutionDTO.prototype, "action", void 0);
|
|
60
|
+
class ImportConfirmDTO {
|
|
61
|
+
}
|
|
62
|
+
exports.ImportConfirmDTO = ImportConfirmDTO;
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsArray)(),
|
|
65
|
+
(0, class_validator_1.ArrayNotEmpty)(),
|
|
66
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
67
|
+
(0, class_transformer_1.Type)(() => ImportProfileItemDTO),
|
|
68
|
+
__metadata("design:type", Array)
|
|
69
|
+
], ImportConfirmDTO.prototype, "profiles", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsOptional)(),
|
|
72
|
+
(0, class_validator_1.IsArray)(),
|
|
73
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
74
|
+
(0, class_transformer_1.Type)(() => ConflictResolutionDTO),
|
|
75
|
+
__metadata("design:type", Array)
|
|
76
|
+
], ImportConfirmDTO.prototype, "conflict_resolutions", void 0);
|
|
77
|
+
//# sourceMappingURL=import-confirm.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-confirm.dto.js","sourceRoot":"","sources":["../../../src/integration-profile/dto/import-confirm.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAUyB;AAEzB,MAAa,oBAAoB;CAwBhC;AAxBD,oDAwBC;AArBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;kDACF;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;kDACF;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;uDACG;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;2DACO;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDAC6B;AAIxC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uDACQ;AAGtB,MAAa,qBAAqB;CAOjC;AAPD,sDAOC;AAJC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;mDACF;AAGb;IADC,IAAA,sBAAI,EAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;;qDACE;AAG/C,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAPC;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,+BAAa,GAAE;IACf,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC;;kDACA;AAMjC;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;;8DACa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.dto.d.ts","sourceRoot":"","sources":["../../../src/integration-profile/dto/update.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;;AAEzC,qBAAa,SAAU,SAAQ,cAAsB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.dto.js","sourceRoot":"","sources":["../../../src/integration-profile/dto/update.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAmD;AACnD,6CAAyC;AAEzC,MAAa,SAAU,SAAQ,IAAA,0BAAW,EAAC,sBAAS,CAAC;CAAG;AAAxD,8BAAwD"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { DeleteDTO } from '@hed-hog/api';
|
|
2
|
+
import { Response } from 'express';
|
|
3
|
+
import { CreateDTO } from './dto/create.dto';
|
|
4
|
+
import { ExportDTO } from './dto/export.dto';
|
|
5
|
+
import { ImportConfirmDTO } from './dto/import-confirm.dto';
|
|
6
|
+
import { UpdateDTO } from './dto/update.dto';
|
|
7
|
+
import { IntegrationProfileService } from './integration-profile.service';
|
|
8
|
+
export declare class IntegrationProfileController {
|
|
9
|
+
private readonly integrationProfileService;
|
|
10
|
+
constructor(integrationProfileService: IntegrationProfileService);
|
|
11
|
+
listTypes(): Promise<{
|
|
12
|
+
id: number;
|
|
13
|
+
icon: string;
|
|
14
|
+
slug: string;
|
|
15
|
+
integration_type_locale: {
|
|
16
|
+
name: string;
|
|
17
|
+
locale: {
|
|
18
|
+
code: string;
|
|
19
|
+
};
|
|
20
|
+
}[];
|
|
21
|
+
}[]>;
|
|
22
|
+
listProviders(typeId?: string, typeSlug?: string): Promise<{
|
|
23
|
+
id: number;
|
|
24
|
+
slug: string;
|
|
25
|
+
type_id: number;
|
|
26
|
+
integration_provider_locale: {
|
|
27
|
+
name: string;
|
|
28
|
+
locale: {
|
|
29
|
+
code: string;
|
|
30
|
+
};
|
|
31
|
+
}[];
|
|
32
|
+
}[]>;
|
|
33
|
+
list(paginationParams: any, typeId?: string, typeSlug?: string, providerSlug?: string): Promise<{
|
|
34
|
+
total: any;
|
|
35
|
+
lastPage: number;
|
|
36
|
+
page: number;
|
|
37
|
+
pageSize: number;
|
|
38
|
+
prev: number;
|
|
39
|
+
next: number;
|
|
40
|
+
data: any[];
|
|
41
|
+
}>;
|
|
42
|
+
export({ ids, include_secrets }: ExportDTO, res: Response): Promise<void>;
|
|
43
|
+
get(id: number): Promise<{
|
|
44
|
+
integration_provider: {
|
|
45
|
+
slug: string;
|
|
46
|
+
integration_provider_locale: {
|
|
47
|
+
name: string;
|
|
48
|
+
locale: {
|
|
49
|
+
code: string;
|
|
50
|
+
};
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
integration_type: {
|
|
54
|
+
icon: string;
|
|
55
|
+
slug: string;
|
|
56
|
+
integration_type_locale: {
|
|
57
|
+
name: string;
|
|
58
|
+
locale: {
|
|
59
|
+
code: string;
|
|
60
|
+
};
|
|
61
|
+
}[];
|
|
62
|
+
};
|
|
63
|
+
} & {
|
|
64
|
+
name: string;
|
|
65
|
+
id: number;
|
|
66
|
+
created_at: Date;
|
|
67
|
+
updated_at: Date;
|
|
68
|
+
slug: string;
|
|
69
|
+
is_active: boolean;
|
|
70
|
+
provider_id: number;
|
|
71
|
+
type_id: number;
|
|
72
|
+
config: import("@prisma/client/runtime/library").JsonValue | null;
|
|
73
|
+
}>;
|
|
74
|
+
create(data: CreateDTO): Promise<{
|
|
75
|
+
name: string;
|
|
76
|
+
id: number;
|
|
77
|
+
created_at: Date;
|
|
78
|
+
updated_at: Date;
|
|
79
|
+
slug: string;
|
|
80
|
+
is_active: boolean;
|
|
81
|
+
provider_id: number;
|
|
82
|
+
type_id: number;
|
|
83
|
+
config: import("@prisma/client/runtime/library").JsonValue | null;
|
|
84
|
+
}>;
|
|
85
|
+
test(data: CreateDTO): Promise<{
|
|
86
|
+
success: boolean;
|
|
87
|
+
destination: string;
|
|
88
|
+
}>;
|
|
89
|
+
update(id: number, data: UpdateDTO): Promise<{
|
|
90
|
+
name: string;
|
|
91
|
+
id: number;
|
|
92
|
+
created_at: Date;
|
|
93
|
+
updated_at: Date;
|
|
94
|
+
slug: string;
|
|
95
|
+
is_active: boolean;
|
|
96
|
+
provider_id: number;
|
|
97
|
+
type_id: number;
|
|
98
|
+
config: import("@prisma/client/runtime/library").JsonValue | null;
|
|
99
|
+
}>;
|
|
100
|
+
delete(data: DeleteDTO): Promise<{
|
|
101
|
+
count: number;
|
|
102
|
+
}>;
|
|
103
|
+
validateImport(file: MulterFile): Promise<{
|
|
104
|
+
format: {
|
|
105
|
+
type: "integration-profile";
|
|
106
|
+
version: 1;
|
|
107
|
+
generated_at: string;
|
|
108
|
+
include_secrets: boolean;
|
|
109
|
+
};
|
|
110
|
+
total_profiles: number;
|
|
111
|
+
valid_profiles: number;
|
|
112
|
+
invalid_profiles: number;
|
|
113
|
+
conflict_profiles: number;
|
|
114
|
+
importable_profiles: number;
|
|
115
|
+
conflict_slugs: string[];
|
|
116
|
+
profiles: {
|
|
117
|
+
index: number;
|
|
118
|
+
slug: string;
|
|
119
|
+
name: string;
|
|
120
|
+
type_slug: string;
|
|
121
|
+
provider_slug: string;
|
|
122
|
+
config: Record<string, unknown> | null;
|
|
123
|
+
is_active: boolean;
|
|
124
|
+
has_conflict: boolean;
|
|
125
|
+
}[];
|
|
126
|
+
invalid_items: {
|
|
127
|
+
index: number;
|
|
128
|
+
slug?: string;
|
|
129
|
+
errors: string[];
|
|
130
|
+
}[];
|
|
131
|
+
}>;
|
|
132
|
+
confirmImport(data: ImportConfirmDTO): Promise<{
|
|
133
|
+
success: boolean;
|
|
134
|
+
total_received: number;
|
|
135
|
+
created: number;
|
|
136
|
+
replaced: number;
|
|
137
|
+
renamed: number;
|
|
138
|
+
ignored: number;
|
|
139
|
+
imported: number;
|
|
140
|
+
}>;
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=integration-profile.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-profile.controller.d.ts","sourceRoot":"","sources":["../../src/integration-profile/integration-profile.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAoB/C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,qBAEa,4BAA4B;IAGrC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;gBAAzB,yBAAyB,EAAE,yBAAyB;IAIjE,SAAS;;;;;;;;;;;IAKT,aAAa,CACA,MAAM,CAAC,EAAE,MAAM,EACb,QAAQ,CAAC,EAAE,MAAM;;;;;;;;;;;IAShC,IAAI,CACM,gBAAgB,KAAA,EACb,MAAM,CAAC,EAAE,MAAM,EACb,QAAQ,CAAC,EAAE,MAAM,EACb,YAAY,CAAC,EAAE,MAAM;;;;;;;;;IAgBxC,MAAM,CACD,EAAE,GAAG,EAAE,eAAuB,EAAE,EAAE,SAAS,EAC7C,GAAG,EAAE,QAAQ;IAgBhB,GAAG,CAA4B,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKzC,MAAM,CAAS,IAAI,EAAE,SAAS;;;;;;;;;;;IAK9B,IAAI,CAAS,IAAI,EAAE,SAAS;;;;IAK5B,MAAM,CACiB,EAAE,EAAE,MAAM,EAC7B,IAAI,EAAE,SAAS;;;;;;;;;;;IAMnB,MAAM,CAAS,IAAI,EAAE,SAAS;;;IAM9B,cAAc,CAAiB,IAAI,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK/C,aAAa,CAAS,IAAI,EAAE,gBAAgB;;;;;;;;;CAMnD"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.IntegrationProfileController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
18
|
+
const common_1 = require("@nestjs/common");
|
|
19
|
+
const platform_express_1 = require("@nestjs/platform-express");
|
|
20
|
+
const create_dto_1 = require("./dto/create.dto");
|
|
21
|
+
const export_dto_1 = require("./dto/export.dto");
|
|
22
|
+
const import_confirm_dto_1 = require("./dto/import-confirm.dto");
|
|
23
|
+
const update_dto_1 = require("./dto/update.dto");
|
|
24
|
+
const integration_profile_service_1 = require("./integration-profile.service");
|
|
25
|
+
let IntegrationProfileController = class IntegrationProfileController {
|
|
26
|
+
constructor(integrationProfileService) {
|
|
27
|
+
this.integrationProfileService = integrationProfileService;
|
|
28
|
+
}
|
|
29
|
+
async listTypes() {
|
|
30
|
+
return this.integrationProfileService.listTypes();
|
|
31
|
+
}
|
|
32
|
+
async listProviders(typeId, typeSlug) {
|
|
33
|
+
return this.integrationProfileService.listProviders(typeId ? parseInt(typeId, 10) : undefined, typeSlug);
|
|
34
|
+
}
|
|
35
|
+
async list(paginationParams, typeId, typeSlug, providerSlug) {
|
|
36
|
+
return this.integrationProfileService.list(paginationParams, typeId ? parseInt(typeId, 10) : undefined, typeSlug, providerSlug);
|
|
37
|
+
}
|
|
38
|
+
async export({ ids, include_secrets = false }, res) {
|
|
39
|
+
const parsedIds = String(ids !== null && ids !== void 0 ? ids : '')
|
|
40
|
+
.split(',')
|
|
41
|
+
.map((value) => Number(value.trim()))
|
|
42
|
+
.filter((value) => Number.isInteger(value) && value > 0);
|
|
43
|
+
const file = await this.integrationProfileService.exportProfiles({
|
|
44
|
+
ids: parsedIds.length > 0 ? parsedIds : undefined,
|
|
45
|
+
includeSecrets: include_secrets,
|
|
46
|
+
});
|
|
47
|
+
res.send(file);
|
|
48
|
+
}
|
|
49
|
+
async get(id) {
|
|
50
|
+
return this.integrationProfileService.get(id);
|
|
51
|
+
}
|
|
52
|
+
async create(data) {
|
|
53
|
+
return this.integrationProfileService.create(data);
|
|
54
|
+
}
|
|
55
|
+
async test(data) {
|
|
56
|
+
return this.integrationProfileService.test(data);
|
|
57
|
+
}
|
|
58
|
+
async update(id, data) {
|
|
59
|
+
return this.integrationProfileService.update({ id, data });
|
|
60
|
+
}
|
|
61
|
+
async delete(data) {
|
|
62
|
+
return this.integrationProfileService.delete(data);
|
|
63
|
+
}
|
|
64
|
+
async validateImport(file) {
|
|
65
|
+
return this.integrationProfileService.validateImportFile(file);
|
|
66
|
+
}
|
|
67
|
+
async confirmImport(data) {
|
|
68
|
+
return this.integrationProfileService.confirmImport({
|
|
69
|
+
profiles: data.profiles,
|
|
70
|
+
conflictResolutions: data.conflict_resolutions,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
exports.IntegrationProfileController = IntegrationProfileController;
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, common_1.Get)('types'),
|
|
77
|
+
__metadata("design:type", Function),
|
|
78
|
+
__metadata("design:paramtypes", []),
|
|
79
|
+
__metadata("design:returntype", Promise)
|
|
80
|
+
], IntegrationProfileController.prototype, "listTypes", null);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, common_1.Get)('providers'),
|
|
83
|
+
__param(0, (0, common_1.Query)('typeId')),
|
|
84
|
+
__param(1, (0, common_1.Query)('typeSlug')),
|
|
85
|
+
__metadata("design:type", Function),
|
|
86
|
+
__metadata("design:paramtypes", [String, String]),
|
|
87
|
+
__metadata("design:returntype", Promise)
|
|
88
|
+
], IntegrationProfileController.prototype, "listProviders", null);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, common_1.Get)(),
|
|
91
|
+
__param(0, (0, api_pagination_1.Pagination)()),
|
|
92
|
+
__param(1, (0, common_1.Query)('typeId')),
|
|
93
|
+
__param(2, (0, common_1.Query)('typeSlug')),
|
|
94
|
+
__param(3, (0, common_1.Query)('providerSlug')),
|
|
95
|
+
__metadata("design:type", Function),
|
|
96
|
+
__metadata("design:paramtypes", [Object, String, String, String]),
|
|
97
|
+
__metadata("design:returntype", Promise)
|
|
98
|
+
], IntegrationProfileController.prototype, "list", null);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, common_1.Get)('export'),
|
|
101
|
+
(0, common_1.Header)('Content-Type', 'application/octet-stream'),
|
|
102
|
+
(0, common_1.Header)('Content-Disposition', 'attachment; filename="integration-profiles.hedhog"'),
|
|
103
|
+
__param(0, (0, common_1.Query)()),
|
|
104
|
+
__param(1, (0, common_1.Res)()),
|
|
105
|
+
__metadata("design:type", Function),
|
|
106
|
+
__metadata("design:paramtypes", [export_dto_1.ExportDTO, Object]),
|
|
107
|
+
__metadata("design:returntype", Promise)
|
|
108
|
+
], IntegrationProfileController.prototype, "export", null);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, common_1.Get)(':id'),
|
|
111
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
112
|
+
__metadata("design:type", Function),
|
|
113
|
+
__metadata("design:paramtypes", [Number]),
|
|
114
|
+
__metadata("design:returntype", Promise)
|
|
115
|
+
], IntegrationProfileController.prototype, "get", null);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, common_1.Post)(),
|
|
118
|
+
__param(0, (0, common_1.Body)()),
|
|
119
|
+
__metadata("design:type", Function),
|
|
120
|
+
__metadata("design:paramtypes", [create_dto_1.CreateDTO]),
|
|
121
|
+
__metadata("design:returntype", Promise)
|
|
122
|
+
], IntegrationProfileController.prototype, "create", null);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, common_1.Post)('test'),
|
|
125
|
+
__param(0, (0, common_1.Body)()),
|
|
126
|
+
__metadata("design:type", Function),
|
|
127
|
+
__metadata("design:paramtypes", [create_dto_1.CreateDTO]),
|
|
128
|
+
__metadata("design:returntype", Promise)
|
|
129
|
+
], IntegrationProfileController.prototype, "test", null);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, common_1.Patch)(':id'),
|
|
132
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
133
|
+
__param(1, (0, common_1.Body)()),
|
|
134
|
+
__metadata("design:type", Function),
|
|
135
|
+
__metadata("design:paramtypes", [Number, update_dto_1.UpdateDTO]),
|
|
136
|
+
__metadata("design:returntype", Promise)
|
|
137
|
+
], IntegrationProfileController.prototype, "update", null);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, common_1.Delete)(),
|
|
140
|
+
__param(0, (0, common_1.Body)()),
|
|
141
|
+
__metadata("design:type", Function),
|
|
142
|
+
__metadata("design:paramtypes", [api_1.DeleteDTO]),
|
|
143
|
+
__metadata("design:returntype", Promise)
|
|
144
|
+
], IntegrationProfileController.prototype, "delete", null);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, common_1.UseInterceptors)((0, platform_express_1.FileInterceptor)('file')),
|
|
147
|
+
(0, common_1.Post)('import/validate'),
|
|
148
|
+
__param(0, (0, common_1.UploadedFile)()),
|
|
149
|
+
__metadata("design:type", Function),
|
|
150
|
+
__metadata("design:paramtypes", [Object]),
|
|
151
|
+
__metadata("design:returntype", Promise)
|
|
152
|
+
], IntegrationProfileController.prototype, "validateImport", null);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, common_1.Post)('import/confirm'),
|
|
155
|
+
__param(0, (0, common_1.Body)()),
|
|
156
|
+
__metadata("design:type", Function),
|
|
157
|
+
__metadata("design:paramtypes", [import_confirm_dto_1.ImportConfirmDTO]),
|
|
158
|
+
__metadata("design:returntype", Promise)
|
|
159
|
+
], IntegrationProfileController.prototype, "confirmImport", null);
|
|
160
|
+
exports.IntegrationProfileController = IntegrationProfileController = __decorate([
|
|
161
|
+
(0, api_1.Role)(),
|
|
162
|
+
(0, common_1.Controller)('integration-profile'),
|
|
163
|
+
__param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => integration_profile_service_1.IntegrationProfileService))),
|
|
164
|
+
__metadata("design:paramtypes", [integration_profile_service_1.IntegrationProfileService])
|
|
165
|
+
], IntegrationProfileController);
|
|
166
|
+
//# sourceMappingURL=integration-profile.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-profile.controller.js","sourceRoot":"","sources":["../../src/integration-profile/integration-profile.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAA+C;AAC/C,4DAAqD;AACrD,2CAgBwB;AACxB,+DAA2D;AAE3D,iDAA6C;AAC7C,iDAA6C;AAC7C,iEAA4D;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C,IAAA,kCAAe,EAAC,MAAM,CAAC,CAAC;IACxC,IAAA,aAAI,EAAC,iBAAiB,CAAC;IACF,WAAA,IAAA,qBAAY,GAAE,CAAA;;;;kEAEnC;AAGK;IADL,IAAA,aAAI,EAAC,gBAAgB,CAAC;IACF,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,qCAAgB;;iEAKjD;uCApGU,4BAA4B;IAFxC,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,qBAAqB,CAAC;IAG7B,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,uDAAyB,CAAC,CAAC,CAAA;qCACR,uDAAyB;GAH5D,4BAA4B,CAqGxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-profile.module.d.ts","sourceRoot":"","sources":["../../src/integration-profile/integration-profile.module.ts"],"names":[],"mappings":"AAMA,qBASa,wBAAwB;CAAG"}
|
|
@@ -6,26 +6,24 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
9
|
+
exports.IntegrationProfileModule = void 0;
|
|
10
10
|
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
11
11
|
const api_prisma_1 = require("@hed-hog/api-prisma");
|
|
12
12
|
const common_1 = require("@nestjs/common");
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
let MailProfileModule = class MailProfileModule {
|
|
13
|
+
const integration_profile_controller_1 = require("./integration-profile.controller");
|
|
14
|
+
const integration_profile_service_1 = require("./integration-profile.service");
|
|
15
|
+
let IntegrationProfileModule = class IntegrationProfileModule {
|
|
17
16
|
};
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
17
|
+
exports.IntegrationProfileModule = IntegrationProfileModule;
|
|
18
|
+
exports.IntegrationProfileModule = IntegrationProfileModule = __decorate([
|
|
20
19
|
(0, common_1.Module)({
|
|
21
20
|
imports: [
|
|
22
21
|
(0, common_1.forwardRef)(() => api_prisma_1.PrismaModule),
|
|
23
22
|
(0, common_1.forwardRef)(() => api_pagination_1.PaginationModule),
|
|
24
|
-
(0, common_1.forwardRef)(() => mail_module_1.MailModule),
|
|
25
23
|
],
|
|
26
|
-
controllers: [
|
|
27
|
-
providers: [
|
|
28
|
-
exports: [
|
|
24
|
+
controllers: [integration_profile_controller_1.IntegrationProfileController],
|
|
25
|
+
providers: [integration_profile_service_1.IntegrationProfileService],
|
|
26
|
+
exports: [integration_profile_service_1.IntegrationProfileService],
|
|
29
27
|
})
|
|
30
|
-
],
|
|
31
|
-
//# sourceMappingURL=
|
|
28
|
+
], IntegrationProfileModule);
|
|
29
|
+
//# sourceMappingURL=integration-profile.module.js.map
|