@qelos/global-types 4.2.2 → 4.3.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.
Files changed (74) hide show
  1. package/LICENSE +20 -0
  2. package/package.json +5 -5
  3. package/payments.ts +18 -0
  4. package/dist/ai-models.d.ts +0 -32
  5. package/dist/ai-models.js +0 -279
  6. package/dist/ai-models.js.map +0 -1
  7. package/dist/app-configuration-metadata.d.ts +0 -18
  8. package/dist/app-configuration-metadata.js +0 -3
  9. package/dist/app-configuration-metadata.js.map +0 -1
  10. package/dist/auth-configuration-metadata.d.ts +0 -41
  11. package/dist/auth-configuration-metadata.js +0 -3
  12. package/dist/auth-configuration-metadata.js.map +0 -1
  13. package/dist/blueprint.d.ts +0 -74
  14. package/dist/blueprint.js +0 -33
  15. package/dist/blueprint.js.map +0 -1
  16. package/dist/event-subscriber.d.ts +0 -6
  17. package/dist/event-subscriber.js +0 -3
  18. package/dist/event-subscriber.js.map +0 -1
  19. package/dist/index.d.ts +0 -23
  20. package/dist/index.js.map +0 -1
  21. package/dist/injectable.d.ts +0 -6
  22. package/dist/injectable.js +0 -3
  23. package/dist/injectable.js.map +0 -1
  24. package/dist/integration-source-status.d.ts +0 -20
  25. package/dist/integration-source-status.js +0 -21
  26. package/dist/integration-source-status.js.map +0 -1
  27. package/dist/integration-sources.d.ts +0 -351
  28. package/dist/integration-sources.js +0 -141
  29. package/dist/integration-sources.js.map +0 -1
  30. package/dist/integration-targets.d.ts +0 -58
  31. package/dist/integration-targets.js +0 -3
  32. package/dist/integration-targets.js.map +0 -1
  33. package/dist/integration.d.ts +0 -39
  34. package/dist/integration.js +0 -12
  35. package/dist/integration.js.map +0 -1
  36. package/dist/mcp-configuration-metadata.d.ts +0 -19
  37. package/dist/mcp-configuration-metadata.js +0 -14
  38. package/dist/mcp-configuration-metadata.js.map +0 -1
  39. package/dist/mcp-endpoint.d.ts +0 -5
  40. package/dist/mcp-endpoint.js +0 -13
  41. package/dist/mcp-endpoint.js.map +0 -1
  42. package/dist/micro-frontend.d.ts +0 -43
  43. package/dist/micro-frontend.js +0 -3
  44. package/dist/micro-frontend.js.map +0 -1
  45. package/dist/navbar-group.d.ts +0 -7
  46. package/dist/navbar-group.js +0 -3
  47. package/dist/navbar-group.js.map +0 -1
  48. package/dist/no-code-components.d.ts +0 -34
  49. package/dist/no-code-components.js +0 -3
  50. package/dist/no-code-components.js.map +0 -1
  51. package/dist/payment-event-resolution.d.ts +0 -31
  52. package/dist/payment-event-resolution.js +0 -302
  53. package/dist/payment-event-resolution.js.map +0 -1
  54. package/dist/payments.d.ts +0 -165
  55. package/dist/payments.js +0 -3
  56. package/dist/payments.js.map +0 -1
  57. package/dist/plugin-crud.d.ts +0 -11
  58. package/dist/plugin-crud.js +0 -3
  59. package/dist/plugin-crud.js.map +0 -1
  60. package/dist/plugin.d.ts +0 -30
  61. package/dist/plugin.js +0 -3
  62. package/dist/plugin.js.map +0 -1
  63. package/dist/qelos-integrator.d.ts +0 -112
  64. package/dist/qelos-integrator.js +0 -14
  65. package/dist/qelos-integrator.js.map +0 -1
  66. package/dist/query-filters.d.ts +0 -7
  67. package/dist/query-filters.js +0 -3
  68. package/dist/query-filters.js.map +0 -1
  69. package/dist/screen-requirement.d.ts +0 -22
  70. package/dist/screen-requirement.js +0 -3
  71. package/dist/screen-requirement.js.map +0 -1
  72. package/dist/workspace-configuration-metadata.d.ts +0 -17
  73. package/dist/workspace-configuration-metadata.js +0 -3
  74. package/dist/workspace-configuration-metadata.js.map +0 -1
@@ -1,20 +0,0 @@
1
- import { IntegrationSourceKind } from './integration-sources';
2
- export type IntegrationSourceStatusKind = 'connected' | 'failed' | 'unsupported';
3
- /** Payload for draft status checks while creating or editing a connection. */
4
- export interface IIntegrationSourceStatusRequest {
5
- kind: IntegrationSourceKind;
6
- metadata: Record<string, unknown>;
7
- authentication?: Record<string, unknown>;
8
- }
9
- /** Result of a read-only integration source connection check. */
10
- export interface IIntegrationSourceStatusResult {
11
- status: IntegrationSourceStatusKind;
12
- message: string;
13
- kind: IntegrationSourceKind;
14
- checkedAt: string;
15
- /** Safe provider snippets (no secrets). */
16
- details?: Record<string, unknown>;
17
- }
18
- export declare const PAYMENT_INTEGRATION_SOURCE_KINDS: IntegrationSourceKind[];
19
- /** Integration source kinds with a real, implemented connection status check. */
20
- export declare const STATUS_CHECK_SUPPORTED_INTEGRATION_SOURCE_KINDS: IntegrationSourceKind[];
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.STATUS_CHECK_SUPPORTED_INTEGRATION_SOURCE_KINDS = exports.PAYMENT_INTEGRATION_SOURCE_KINDS = void 0;
4
- const integration_sources_1 = require("./integration-sources");
5
- exports.PAYMENT_INTEGRATION_SOURCE_KINDS = [
6
- integration_sources_1.IntegrationSourceKind.Sumit,
7
- integration_sources_1.IntegrationSourceKind.PayPal,
8
- integration_sources_1.IntegrationSourceKind.Paddle,
9
- integration_sources_1.IntegrationSourceKind.DodoPayments,
10
- ];
11
- /** Integration source kinds with a real, implemented connection status check. */
12
- exports.STATUS_CHECK_SUPPORTED_INTEGRATION_SOURCE_KINDS = [
13
- ...exports.PAYMENT_INTEGRATION_SOURCE_KINDS,
14
- integration_sources_1.IntegrationSourceKind.Http,
15
- integration_sources_1.IntegrationSourceKind.OpenAI,
16
- integration_sources_1.IntegrationSourceKind.Qelos,
17
- integration_sources_1.IntegrationSourceKind.Email,
18
- integration_sources_1.IntegrationSourceKind.AWS,
19
- integration_sources_1.IntegrationSourceKind.Cloudflare,
20
- ];
21
- //# sourceMappingURL=integration-source-status.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integration-source-status.js","sourceRoot":"","sources":["../integration-source-status.ts"],"names":[],"mappings":";;;AAAA,+DAA8D;AAqBjD,QAAA,gCAAgC,GAA4B;IACvE,2CAAqB,CAAC,KAAK;IAC3B,2CAAqB,CAAC,MAAM;IAC5B,2CAAqB,CAAC,MAAM;IAC5B,2CAAqB,CAAC,YAAY;CACnC,CAAC;AAEF,iFAAiF;AACpE,QAAA,+CAA+C,GAA4B;IACtF,GAAG,wCAAgC;IACnC,2CAAqB,CAAC,IAAI;IAC1B,2CAAqB,CAAC,MAAM;IAC5B,2CAAqB,CAAC,KAAK;IAC3B,2CAAqB,CAAC,KAAK;IAC3B,2CAAqB,CAAC,GAAG;IACzB,2CAAqB,CAAC,UAAU;CACjC,CAAC"}
@@ -1,351 +0,0 @@
1
- export declare enum IntegrationSourceKind {
2
- Qelos = "qelos",
3
- OpenAI = "openai",
4
- Email = "email",
5
- N8n = "n8n",
6
- Supabase = "supabase",
7
- LinkedIn = "linkedin",
8
- Http = "http",
9
- ClaudeAi = "claudeai",
10
- Facebook = "facebook",
11
- Google = "google",
12
- GitHub = "github",
13
- Gemini = "gemini",
14
- Sumit = "sumit",
15
- PayPal = "paypal",
16
- Paddle = "paddle",
17
- DodoPayments = "dodopayments",
18
- AWS = "aws",
19
- Cloudflare = "cloudflare"
20
- }
21
- export interface IIntegrationSource {
22
- _id?: string;
23
- tenant: string;
24
- plugin?: string;
25
- user: string;
26
- authentication: any;
27
- metadata: any;
28
- name: string;
29
- labels: string[];
30
- kind: IntegrationSourceKind;
31
- created: Date;
32
- }
33
- export declare enum HttpTargetOperation {
34
- makeRequest = "makeRequest"
35
- }
36
- export declare enum QelosTriggerOperation {
37
- webhook = "webhook",
38
- apiWebhook = "apiWebhook",
39
- chatCompletion = "chatCompletion",
40
- mcpTool = "mcpTool"
41
- }
42
- export declare enum QelosTargetOperation {
43
- webhook = "webhook",
44
- createBlueprintEntity = "createBlueprintEntity",
45
- createUser = "createUser",
46
- updateUser = "updateUser",
47
- setUserRoles = "setUserRoles",
48
- setWorkspaceLabels = "setWorkspaceLabels",
49
- updateBlueprintEntity = "updateBlueprintEntity",
50
- chatCompletion = "chatCompletion"
51
- }
52
- export declare enum OpenAITriggerOperation {
53
- functionCalling = "functionCalling"
54
- }
55
- export declare const OpenAITargetOperation: {
56
- readonly chatCompletion: "chatCompletion";
57
- readonly uploadContentToStorage: "uploadContentToStorage";
58
- readonly clearStorageFiles: "clearStorageFiles";
59
- };
60
- export declare const EmailTargetOperation: {
61
- readonly sendEmail: "sendEmail";
62
- };
63
- export declare const ClaudeAITargetOperation: {
64
- readonly chatCompletion: "chatCompletion";
65
- };
66
- export declare const SumitTargetOperation: {
67
- createCustomer: string;
68
- setPaymentDetails: string;
69
- listPaymentMethods: string;
70
- createPaymentMethod: string;
71
- getPaymentMethod: string;
72
- updatePaymentMethod: string;
73
- deletePaymentMethod: string;
74
- listPayments: string;
75
- createPayment: string;
76
- getPayment: string;
77
- updatePayment: string;
78
- listRecurringPayments: string;
79
- beginCheckoutRedirect: string;
80
- createRecurringPayment: string;
81
- getRecurringPayment: string;
82
- updateRecurringPayment: string;
83
- deleteRecurringPayment: string;
84
- };
85
- export declare const PayPalTargetOperation: {
86
- readonly createOrder: "createOrder";
87
- readonly captureOrder: "captureOrder";
88
- readonly refundPayment: "refundPayment";
89
- readonly createProduct: "createProduct";
90
- readonly createSubscription: "createSubscription";
91
- readonly listTransactions: "listTransactions";
92
- };
93
- export declare const PaddleTargetOperation: {
94
- readonly createProduct: "createProduct";
95
- readonly listProducts: "listProducts";
96
- readonly createPrice: "createPrice";
97
- readonly listPrices: "listPrices";
98
- readonly createSubscription: "createSubscription";
99
- readonly getSubscription: "getSubscription";
100
- readonly listSubscriptions: "listSubscriptions";
101
- readonly cancelSubscription: "cancelSubscription";
102
- readonly listTransactions: "listTransactions";
103
- readonly getTransaction: "getTransaction";
104
- readonly createCustomer: "createCustomer";
105
- readonly listCustomers: "listCustomers";
106
- };
107
- export declare const DodoPaymentsTargetOperation: {
108
- readonly createPayment: "createPayment";
109
- readonly getPayment: "getPayment";
110
- readonly listPayments: "listPayments";
111
- readonly createSubscription: "createSubscription";
112
- readonly getSubscription: "getSubscription";
113
- readonly updateSubscription: "updateSubscription";
114
- readonly cancelSubscription: "cancelSubscription";
115
- readonly listSubscriptions: "listSubscriptions";
116
- readonly createProduct: "createProduct";
117
- readonly getProduct: "getProduct";
118
- readonly listProducts: "listProducts";
119
- readonly createCustomer: "createCustomer";
120
- readonly getCustomer: "getCustomer";
121
- readonly listCustomers: "listCustomers";
122
- };
123
- export declare const AWSTargetOperation: {
124
- readonly callFunction: "callFunction";
125
- readonly getFunction: "getFunction";
126
- readonly createFunction: "createFunction";
127
- readonly listFunctions: "listFunctions";
128
- readonly updateFunction: "updateFunction";
129
- };
130
- export declare const CloudflareTargetOperation: {
131
- readonly callFunction: "callFunction";
132
- readonly getFunction: "getFunction";
133
- readonly createFunction: "createFunction";
134
- readonly listFunctions: "listFunctions";
135
- readonly updateFunction: "updateFunction";
136
- };
137
- export interface IAWSSource extends IIntegrationSource {
138
- _id?: string;
139
- kind: IntegrationSourceKind.AWS;
140
- authentication: {
141
- secretAccessKey: string;
142
- };
143
- metadata: {
144
- region: string;
145
- accessKeyId: string;
146
- };
147
- }
148
- export interface ICloudflareSource extends IIntegrationSource {
149
- _id?: string;
150
- kind: IntegrationSourceKind.Cloudflare;
151
- authentication: {
152
- apiToken: string;
153
- };
154
- metadata: {
155
- accountId: string;
156
- workersDevSubdomain: string;
157
- };
158
- }
159
- export interface ILinkedInSource extends IIntegrationSource {
160
- _id?: string;
161
- kind: IntegrationSourceKind.LinkedIn;
162
- authentication: {
163
- clientSecret?: string;
164
- };
165
- metadata: {
166
- clientId: string;
167
- scope: string;
168
- };
169
- }
170
- export interface ISumitSource extends IIntegrationSource {
171
- _id?: string;
172
- kind: IntegrationSourceKind.Sumit;
173
- authentication: {
174
- apiKey: string;
175
- };
176
- metadata: {
177
- companyId: string;
178
- };
179
- }
180
- export interface IPayPalSource extends IIntegrationSource {
181
- _id?: string;
182
- kind: IntegrationSourceKind.PayPal;
183
- authentication: {
184
- clientSecret: string;
185
- };
186
- metadata: {
187
- clientId: string;
188
- environment: 'sandbox' | 'live';
189
- };
190
- }
191
- export interface IPaddleSource extends IIntegrationSource {
192
- _id?: string;
193
- kind: IntegrationSourceKind.Paddle;
194
- authentication: {
195
- apiKey: string;
196
- };
197
- metadata: {
198
- environment: 'sandbox' | 'live';
199
- };
200
- }
201
- export interface IDodoPaymentsSource extends IIntegrationSource {
202
- _id?: string;
203
- kind: IntegrationSourceKind.DodoPayments;
204
- authentication: {
205
- apiKey: string;
206
- };
207
- metadata: {
208
- environment: 'test' | 'live';
209
- };
210
- }
211
- export interface IQelosSource extends IIntegrationSource {
212
- _id?: string;
213
- kind: IntegrationSourceKind.Qelos;
214
- authentication: {
215
- password: string;
216
- };
217
- metadata: {
218
- url: string;
219
- username: string;
220
- };
221
- }
222
- export interface ISupabaseSource extends IIntegrationSource {
223
- _id?: string;
224
- kind: IntegrationSourceKind.Supabase;
225
- metadata: {
226
- url: string;
227
- };
228
- }
229
- export interface IOpenAISource extends IIntegrationSource {
230
- _id?: string;
231
- kind: IntegrationSourceKind.OpenAI;
232
- authentication: {
233
- token: string;
234
- };
235
- metadata: {
236
- /** OpenAI organization id (optional). */
237
- organizationId?: string;
238
- /**
239
- * Custom base URL for OpenAI-compatible APIs. When omitted, the OpenAI client uses the default (api.openai.com).
240
- */
241
- apiUrl?: string;
242
- defaultModel?: string | null;
243
- defaultTemperature?: number;
244
- defaultTopP?: number;
245
- defaultFrequencyPenalty?: number;
246
- defaultPresencePenalty?: number;
247
- defaultMaxTokens?: number;
248
- defaultResponseFormat?: string;
249
- };
250
- }
251
- export interface IClaudeAiSource extends IIntegrationSource {
252
- _id?: string;
253
- kind: IntegrationSourceKind.ClaudeAi;
254
- authentication: {
255
- token: string;
256
- };
257
- metadata: {
258
- /** Custom API base URL when using a proxy or compatible endpoint. */
259
- apiUrl?: string;
260
- defaultModel?: string | null;
261
- initialMessages?: {
262
- role: string;
263
- content: string;
264
- }[];
265
- };
266
- }
267
- export interface IGeminiSource extends IIntegrationSource {
268
- _id?: string;
269
- kind: IntegrationSourceKind.Gemini;
270
- authentication: {
271
- token: string;
272
- };
273
- metadata: {
274
- /**
275
- * Custom API base URL when using a proxy or compatible endpoint. When omitted, the Gemini client uses the default Google endpoint.
276
- */
277
- apiUrl?: string;
278
- defaultModel?: string | null;
279
- initialMessages?: {
280
- role: string;
281
- content: string;
282
- }[];
283
- };
284
- }
285
- export interface IN8nSource extends IIntegrationSource {
286
- _id?: string;
287
- kind: IntegrationSourceKind.N8n;
288
- metadata: {
289
- url: string;
290
- };
291
- }
292
- export interface IEmailSource extends IIntegrationSource {
293
- _id?: string;
294
- kind: IntegrationSourceKind.Email;
295
- authentication: {
296
- password: string;
297
- };
298
- metadata: {
299
- username: string;
300
- email: string;
301
- pop3: string;
302
- smtp: string;
303
- senderName: string;
304
- };
305
- }
306
- export interface IFacebookSource extends IIntegrationSource {
307
- _id?: string;
308
- kind: IntegrationSourceKind.Facebook;
309
- authentication: {
310
- clientSecret: string;
311
- };
312
- metadata: {
313
- clientId: string;
314
- scope: string;
315
- };
316
- }
317
- export interface IHttpSource extends IIntegrationSource {
318
- _id?: string;
319
- kind: IntegrationSourceKind.Http;
320
- authentication: {
321
- securedHeaders: Record<string, string>;
322
- };
323
- metadata: {
324
- baseUrl: string;
325
- headers: Record<string, string>;
326
- method: string;
327
- query: Record<string, string>;
328
- };
329
- }
330
- export interface IGoogleSource extends IIntegrationSource {
331
- _id?: string;
332
- kind: IntegrationSourceKind.Google;
333
- authentication: {
334
- clientSecret: string;
335
- };
336
- metadata: {
337
- clientId: string;
338
- scope: string;
339
- };
340
- }
341
- export interface IGithubSource extends IIntegrationSource {
342
- _id?: string;
343
- kind: IntegrationSourceKind.GitHub;
344
- authentication: {
345
- clientSecret: string;
346
- };
347
- metadata: {
348
- clientId: string;
349
- scope: string;
350
- };
351
- }
@@ -1,141 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CloudflareTargetOperation = exports.AWSTargetOperation = exports.DodoPaymentsTargetOperation = exports.PaddleTargetOperation = exports.PayPalTargetOperation = exports.SumitTargetOperation = exports.ClaudeAITargetOperation = exports.EmailTargetOperation = exports.OpenAITargetOperation = exports.OpenAITriggerOperation = exports.QelosTargetOperation = exports.QelosTriggerOperation = exports.HttpTargetOperation = exports.IntegrationSourceKind = void 0;
4
- var IntegrationSourceKind;
5
- (function (IntegrationSourceKind) {
6
- IntegrationSourceKind["Qelos"] = "qelos";
7
- IntegrationSourceKind["OpenAI"] = "openai";
8
- IntegrationSourceKind["Email"] = "email";
9
- IntegrationSourceKind["N8n"] = "n8n";
10
- IntegrationSourceKind["Supabase"] = "supabase";
11
- IntegrationSourceKind["LinkedIn"] = "linkedin";
12
- IntegrationSourceKind["Http"] = "http";
13
- IntegrationSourceKind["ClaudeAi"] = "claudeai";
14
- IntegrationSourceKind["Facebook"] = "facebook";
15
- IntegrationSourceKind["Google"] = "google";
16
- IntegrationSourceKind["GitHub"] = "github";
17
- IntegrationSourceKind["Gemini"] = "gemini";
18
- IntegrationSourceKind["Sumit"] = "sumit";
19
- IntegrationSourceKind["PayPal"] = "paypal";
20
- IntegrationSourceKind["Paddle"] = "paddle";
21
- IntegrationSourceKind["DodoPayments"] = "dodopayments";
22
- IntegrationSourceKind["AWS"] = "aws";
23
- IntegrationSourceKind["Cloudflare"] = "cloudflare";
24
- })(IntegrationSourceKind || (exports.IntegrationSourceKind = IntegrationSourceKind = {}));
25
- var HttpTargetOperation;
26
- (function (HttpTargetOperation) {
27
- HttpTargetOperation["makeRequest"] = "makeRequest";
28
- })(HttpTargetOperation || (exports.HttpTargetOperation = HttpTargetOperation = {}));
29
- var QelosTriggerOperation;
30
- (function (QelosTriggerOperation) {
31
- QelosTriggerOperation["webhook"] = "webhook";
32
- QelosTriggerOperation["apiWebhook"] = "apiWebhook";
33
- QelosTriggerOperation["chatCompletion"] = "chatCompletion";
34
- QelosTriggerOperation["mcpTool"] = "mcpTool";
35
- })(QelosTriggerOperation || (exports.QelosTriggerOperation = QelosTriggerOperation = {}));
36
- var QelosTargetOperation;
37
- (function (QelosTargetOperation) {
38
- QelosTargetOperation["webhook"] = "webhook";
39
- QelosTargetOperation["createBlueprintEntity"] = "createBlueprintEntity";
40
- QelosTargetOperation["createUser"] = "createUser";
41
- QelosTargetOperation["updateUser"] = "updateUser";
42
- QelosTargetOperation["setUserRoles"] = "setUserRoles";
43
- QelosTargetOperation["setWorkspaceLabels"] = "setWorkspaceLabels";
44
- QelosTargetOperation["updateBlueprintEntity"] = "updateBlueprintEntity";
45
- QelosTargetOperation["chatCompletion"] = "chatCompletion";
46
- })(QelosTargetOperation || (exports.QelosTargetOperation = QelosTargetOperation = {}));
47
- var OpenAITriggerOperation;
48
- (function (OpenAITriggerOperation) {
49
- OpenAITriggerOperation["functionCalling"] = "functionCalling";
50
- })(OpenAITriggerOperation || (exports.OpenAITriggerOperation = OpenAITriggerOperation = {}));
51
- exports.OpenAITargetOperation = {
52
- chatCompletion: 'chatCompletion',
53
- // manage vector stores
54
- uploadContentToStorage: 'uploadContentToStorage',
55
- clearStorageFiles: 'clearStorageFiles'
56
- };
57
- exports.EmailTargetOperation = {
58
- sendEmail: 'sendEmail',
59
- };
60
- exports.ClaudeAITargetOperation = {
61
- chatCompletion: 'chatCompletion',
62
- };
63
- exports.SumitTargetOperation = {
64
- createCustomer: 'createCustomer',
65
- setPaymentDetails: 'setPaymentDetails',
66
- // Placeholder for payment methods
67
- listPaymentMethods: 'listPaymentMethods',
68
- createPaymentMethod: 'createPaymentMethod',
69
- getPaymentMethod: 'getPaymentMethod',
70
- updatePaymentMethod: 'updatePaymentMethod',
71
- deletePaymentMethod: 'deletePaymentMethod',
72
- // Placeholder for payments
73
- listPayments: 'listPayments',
74
- createPayment: 'createPayment',
75
- getPayment: 'getPayment',
76
- updatePayment: 'updatePayment',
77
- // Placeholder for recurring payments
78
- listRecurringPayments: 'listRecurringPayments',
79
- beginCheckoutRedirect: 'beginCheckoutRedirect',
80
- createRecurringPayment: 'createRecurringPayment',
81
- getRecurringPayment: 'getRecurringPayment',
82
- updateRecurringPayment: 'updateRecurringPayment',
83
- deleteRecurringPayment: 'deleteRecurringPayment',
84
- };
85
- exports.PayPalTargetOperation = {
86
- createOrder: 'createOrder',
87
- captureOrder: 'captureOrder',
88
- refundPayment: 'refundPayment',
89
- createProduct: 'createProduct',
90
- createSubscription: 'createSubscription',
91
- listTransactions: 'listTransactions',
92
- };
93
- exports.PaddleTargetOperation = {
94
- createProduct: 'createProduct',
95
- listProducts: 'listProducts',
96
- createPrice: 'createPrice',
97
- listPrices: 'listPrices',
98
- createSubscription: 'createSubscription',
99
- getSubscription: 'getSubscription',
100
- listSubscriptions: 'listSubscriptions',
101
- cancelSubscription: 'cancelSubscription',
102
- listTransactions: 'listTransactions',
103
- getTransaction: 'getTransaction',
104
- createCustomer: 'createCustomer',
105
- listCustomers: 'listCustomers',
106
- };
107
- exports.DodoPaymentsTargetOperation = {
108
- // Payments
109
- createPayment: 'createPayment',
110
- getPayment: 'getPayment',
111
- listPayments: 'listPayments',
112
- // Subscriptions
113
- createSubscription: 'createSubscription',
114
- getSubscription: 'getSubscription',
115
- updateSubscription: 'updateSubscription',
116
- cancelSubscription: 'cancelSubscription',
117
- listSubscriptions: 'listSubscriptions',
118
- // Products
119
- createProduct: 'createProduct',
120
- getProduct: 'getProduct',
121
- listProducts: 'listProducts',
122
- // Customers
123
- createCustomer: 'createCustomer',
124
- getCustomer: 'getCustomer',
125
- listCustomers: 'listCustomers',
126
- };
127
- exports.AWSTargetOperation = {
128
- callFunction: 'callFunction',
129
- getFunction: 'getFunction',
130
- createFunction: 'createFunction',
131
- listFunctions: 'listFunctions',
132
- updateFunction: 'updateFunction',
133
- };
134
- exports.CloudflareTargetOperation = {
135
- callFunction: 'callFunction',
136
- getFunction: 'getFunction',
137
- createFunction: 'createFunction',
138
- listFunctions: 'listFunctions',
139
- updateFunction: 'updateFunction',
140
- };
141
- //# sourceMappingURL=integration-sources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integration-sources.js","sourceRoot":"","sources":["../integration-sources.ts"],"names":[],"mappings":";;;AAAA,IAAY,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C;AAEE,QAAA,2BAA2B,GAAG;IACzC,WAAW;IACX,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,gBAAgB;IAChB,kBAAkB,EAAE,oBAAoB;IACxC,eAAe,EAAE,iBAAiB;IAClC,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,WAAW;IACX,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,YAAY;IACZ,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,aAAa,EAAE,eAAe;CACtB,CAAC;AAEE,QAAA,kBAAkB,GAAG;IAChC,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;CACxB,CAAC;AAEE,QAAA,yBAAyB,GAAG;IACvC,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;CACxB,CAAC"}
@@ -1,58 +0,0 @@
1
- export interface HttpTargetPayload {
2
- method?: string;
3
- url?: string;
4
- headers?: Record<string, string>;
5
- body?: Record<string, any>;
6
- query?: Record<string, string>;
7
- triggerResponse?: {
8
- source?: string;
9
- kind?: string;
10
- eventName?: string;
11
- description?: string;
12
- metadata?: Record<string, any>;
13
- };
14
- }
15
- export interface OpenAIChatCompletionPayload {
16
- messages?: (any & {
17
- role: string;
18
- content: string;
19
- })[];
20
- pre_messages?: (any & {
21
- role: string;
22
- content: string;
23
- })[];
24
- model?: string;
25
- temperature?: number;
26
- top_p?: number;
27
- frequency_penalty?: number;
28
- presence_penalty?: number;
29
- stream?: boolean;
30
- max_tokens?: number;
31
- response_format?: {
32
- type: "text" | "json_object";
33
- };
34
- system?: string;
35
- stop?: string | string[];
36
- embeddingType?: string;
37
- maxTools?: number;
38
- ingestedBlueprints?: string[];
39
- ingestedAgents?: string[];
40
- triggerResponse?: {
41
- source?: string;
42
- kind?: string;
43
- eventName?: string;
44
- description?: string;
45
- metadata?: Record<string, any>;
46
- };
47
- }
48
- export interface OpenAIUploadStoragePayload {
49
- vectorStoreId?: string;
50
- content: string | object;
51
- fileName?: string;
52
- metadata?: any;
53
- }
54
- export interface OpenAIClearStoragePayload {
55
- vectorStoreId?: string;
56
- fileIds?: string[];
57
- }
58
- export type OpenAITargetPayload = OpenAIChatCompletionPayload | OpenAIUploadStoragePayload | OpenAIClearStoragePayload;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=integration-targets.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integration-targets.js","sourceRoot":"","sources":["../integration-targets.ts"],"names":[],"mappings":""}
@@ -1,39 +0,0 @@
1
- export declare const PopulateSource: {
2
- readonly user: "user";
3
- readonly workspace: "workspace";
4
- readonly blueprintEntity: "blueprintEntity";
5
- readonly blueprintEntities: "blueprintEntities";
6
- readonly vectorStores: "vectorStores";
7
- readonly apiWebhook: "apiWebhook";
8
- };
9
- export type PopulateSource = typeof PopulateSource[keyof typeof PopulateSource];
10
- export interface IDataManipulationStep {
11
- map: Record<string, string>;
12
- populate: Record<string, {
13
- source: PopulateSource;
14
- blueprint?: string;
15
- scope?: string;
16
- subjectId?: string;
17
- integration?: string;
18
- }>;
19
- clean?: boolean;
20
- abort?: boolean | string;
21
- }
22
- export interface IIntegration {
23
- _id: string;
24
- tenant: string;
25
- plugin?: string;
26
- active?: boolean;
27
- user: string;
28
- kind: string[];
29
- trigger: IIntegrationEntity;
30
- target: IIntegrationEntity;
31
- dataManipulation: IDataManipulationStep[];
32
- targetManipulation: IDataManipulationStep[];
33
- created: Date;
34
- }
35
- export interface IIntegrationEntity {
36
- source: string;
37
- operation: string;
38
- details: any;
39
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PopulateSource = void 0;
4
- exports.PopulateSource = {
5
- user: 'user',
6
- workspace: 'workspace',
7
- blueprintEntity: 'blueprintEntity',
8
- blueprintEntities: 'blueprintEntities',
9
- vectorStores: 'vectorStores',
10
- apiWebhook: 'apiWebhook'
11
- };
12
- //# sourceMappingURL=integration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integration.js","sourceRoot":"","sources":["../integration.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;CAChB,CAAC"}
@@ -1,19 +0,0 @@
1
- /** Tool categories that must never be exposed via MCP (e.g. secrets vault). */
2
- export declare const MCP_FORBIDDEN_TOOL_IDS: readonly ["secrets"];
3
- export interface IMcpExposedTool {
4
- toolId: string;
5
- enabled: boolean;
6
- roles: string[];
7
- wsRoles: string[];
8
- wsLabels: string[];
9
- }
10
- export interface IMcpConfigurationMetadata {
11
- enabled: boolean;
12
- permittedCallbackUrls: string[];
13
- exposedTools: IMcpExposedTool[];
14
- adminOnly: boolean;
15
- serverName?: string;
16
- serverVersion?: string;
17
- loginUrl?: string;
18
- }
19
- export declare function sanitizeMcpConfigurationMetadata(configuration: IMcpConfigurationMetadata): IMcpConfigurationMetadata;