@apteva/integrations 0.3.3 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apteva/integrations",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Local integrations, connections, and webhooks for Apteva. Self-contained app templates, OAuth engine, and trigger provider.",
5
5
  "author": "Apteva <hello@apteva.com>",
6
6
  "license": "Elastic-2.0",
@@ -17,15 +17,16 @@
17
17
  "base_url": "https://api.omnikit.co",
18
18
  "auth": {
19
19
  "types": [
20
- "bearer"
20
+ "api_key"
21
21
  ],
22
22
  "headers": {
23
- "Authorization": "Bearer {{token}}"
23
+ "X-API-Key": "{{api_key}}"
24
24
  },
25
25
  "credential_fields": [
26
26
  {
27
- "name": "token",
28
- "label": "API Key"
27
+ "name": "api_key",
28
+ "label": "OmniKit API Key",
29
+ "description": "Your OmniKit API key (starts with 'okt_')"
29
30
  }
30
31
  ]
31
32
  },
@@ -14,15 +14,16 @@
14
14
  "base_url": "https://api.omnikit.co",
15
15
  "auth": {
16
16
  "types": [
17
- "bearer"
17
+ "api_key"
18
18
  ],
19
19
  "headers": {
20
- "Authorization": "Bearer {{token}}"
20
+ "X-API-Key": "{{api_key}}"
21
21
  },
22
22
  "credential_fields": [
23
23
  {
24
- "name": "token",
25
- "label": "API Key"
24
+ "name": "api_key",
25
+ "label": "OmniKit API Key",
26
+ "description": "Your OmniKit API key (starts with 'okt_')"
26
27
  }
27
28
  ]
28
29
  },
@@ -18,15 +18,16 @@
18
18
  "base_url": "https://api.omnikit.co",
19
19
  "auth": {
20
20
  "types": [
21
- "bearer"
21
+ "api_key"
22
22
  ],
23
23
  "headers": {
24
- "Authorization": "Bearer {{token}}"
24
+ "X-API-Key": "{{api_key}}"
25
25
  },
26
26
  "credential_fields": [
27
27
  {
28
- "name": "token",
29
- "label": "API Key"
28
+ "name": "api_key",
29
+ "label": "OmniKit API Key",
30
+ "description": "Your OmniKit API key (starts with 'okt_')"
30
31
  }
31
32
  ]
32
33
  },
@@ -16,15 +16,16 @@
16
16
  "base_url": "https://api.omnikit.co",
17
17
  "auth": {
18
18
  "types": [
19
- "bearer"
19
+ "api_key"
20
20
  ],
21
21
  "headers": {
22
- "Authorization": "Bearer {{token}}"
22
+ "X-API-Key": "{{api_key}}"
23
23
  },
24
24
  "credential_fields": [
25
25
  {
26
- "name": "token",
27
- "label": "API Key"
26
+ "name": "api_key",
27
+ "label": "OmniKit API Key",
28
+ "description": "Your OmniKit API key (starts with 'okt_')"
28
29
  }
29
30
  ]
30
31
  },
@@ -14,15 +14,16 @@
14
14
  "base_url": "https://api.omnikit.co",
15
15
  "auth": {
16
16
  "types": [
17
- "bearer"
17
+ "api_key"
18
18
  ],
19
19
  "headers": {
20
- "Authorization": "Bearer {{token}}"
20
+ "X-API-Key": "{{api_key}}"
21
21
  },
22
22
  "credential_fields": [
23
23
  {
24
- "name": "token",
25
- "label": "API Key"
24
+ "name": "api_key",
25
+ "label": "OmniKit API Key",
26
+ "description": "Your OmniKit API key (starts with 'okt_')"
26
27
  }
27
28
  ]
28
29
  },
@@ -26,15 +26,16 @@
26
26
  "base_url": "https://api.omnikit.co",
27
27
  "auth": {
28
28
  "types": [
29
- "bearer"
29
+ "api_key"
30
30
  ],
31
31
  "headers": {
32
- "Authorization": "Bearer {{token}}"
32
+ "X-API-Key": "{{api_key}}"
33
33
  },
34
34
  "credential_fields": [
35
35
  {
36
- "name": "token",
37
- "label": "API Key"
36
+ "name": "api_key",
37
+ "label": "OmniKit API Key",
38
+ "description": "Your OmniKit API key (starts with 'okt_')"
38
39
  }
39
40
  ]
40
41
  },
@@ -136,7 +137,7 @@
136
137
  },
137
138
  {
138
139
  "name": "generate_image",
139
- "description": "Generate or edit images with AI. IMPORTANT: You MUST set 'provider' to match your chosen model provider='google' for gemini-* models, provider='openai' for dall-e-* models. If omitted, the backend does NOT auto-detect and will fail. For image editing or reference images, use model='gemini-3-pro-image-preview' with provider='google'. For text-only generation, dall-e-3 with provider='openai' works well.",
140
+ "description": "Generate or edit images with AI. IMPORTANT: You MUST set 'provider' to match your chosen model \u2014 provider='google' for gemini-* models, provider='openai' for dall-e-* models. If omitted, the backend does NOT auto-detect and will fail. For image editing or reference images, use model='gemini-3-pro-image-preview' with provider='google'. For text-only generation, dall-e-3 with provider='openai' works well.",
140
141
  "method": "POST",
141
142
  "path": "/ai/generate/image",
142
143
  "input_schema": {
@@ -152,11 +153,11 @@
152
153
  "openai",
153
154
  "google"
154
155
  ],
155
- "description": "REQUIRED. AI provider MUST match your model choice. Set 'google' for gemini-* models, 'openai' for dall-e-* models. There is NO auto-detection if you use a gemini model with provider='openai' (or omit provider), you will get an error."
156
+ "description": "REQUIRED. AI provider \u2014 MUST match your model choice. Set 'google' for gemini-* models, 'openai' for dall-e-* models. There is NO auto-detection \u2014 if you use a gemini model with provider='openai' (or omit provider), you will get an error."
156
157
  },
157
158
  "model": {
158
159
  "type": "string",
159
- "description": "Model ID. Options: 'dall-e-3' (OpenAI set provider='openai'), 'gemini-3-pro-image-preview' (Google set provider='google', supports reference images and editing). You MUST also set the provider field to match."
160
+ "description": "Model ID. Options: 'dall-e-3' (OpenAI \u2014 set provider='openai'), 'gemini-3-pro-image-preview' (Google \u2014 set provider='google', supports reference images and editing). You MUST also set the provider field to match."
160
161
  },
161
162
  "images": {
162
163
  "type": "array",
@@ -13,15 +13,16 @@
13
13
  "base_url": "https://api.omnikit.co",
14
14
  "auth": {
15
15
  "types": [
16
- "bearer"
16
+ "api_key"
17
17
  ],
18
18
  "headers": {
19
- "Authorization": "Bearer {{token}}"
19
+ "X-API-Key": "{{api_key}}"
20
20
  },
21
21
  "credential_fields": [
22
22
  {
23
- "name": "token",
24
- "label": "API Key"
23
+ "name": "api_key",
24
+ "label": "OmniKit API Key",
25
+ "description": "Your OmniKit API key (starts with 'okt_')"
25
26
  }
26
27
  ]
27
28
  },
@@ -19,15 +19,16 @@
19
19
  "base_url": "https://api.omnikit.co",
20
20
  "auth": {
21
21
  "types": [
22
- "bearer"
22
+ "api_key"
23
23
  ],
24
24
  "headers": {
25
- "Authorization": "Bearer {{token}}"
25
+ "X-API-Key": "{{api_key}}"
26
26
  },
27
27
  "credential_fields": [
28
28
  {
29
- "name": "token",
30
- "label": "API Key"
29
+ "name": "api_key",
30
+ "label": "OmniKit API Key",
31
+ "description": "Your OmniKit API key (starts with 'okt_')"
31
32
  }
32
33
  ]
33
34
  },
@@ -16,15 +16,16 @@
16
16
  "base_url": "https://api.omnikit.co",
17
17
  "auth": {
18
18
  "types": [
19
- "bearer"
19
+ "api_key"
20
20
  ],
21
21
  "headers": {
22
- "Authorization": "Bearer {{token}}"
22
+ "X-API-Key": "{{api_key}}"
23
23
  },
24
24
  "credential_fields": [
25
25
  {
26
- "name": "token",
27
- "label": "API Key"
26
+ "name": "api_key",
27
+ "label": "OmniKit API Key",
28
+ "description": "Your OmniKit API key (starts with 'okt_')"
28
29
  }
29
30
  ]
30
31
  },
@@ -12,15 +12,16 @@
12
12
  "base_url": "https://api.omnikit.co",
13
13
  "auth": {
14
14
  "types": [
15
- "bearer"
15
+ "api_key"
16
16
  ],
17
17
  "headers": {
18
- "Authorization": "Bearer {{token}}"
18
+ "X-API-Key": "{{api_key}}"
19
19
  },
20
20
  "credential_fields": [
21
21
  {
22
- "name": "token",
23
- "label": "API Key"
22
+ "name": "api_key",
23
+ "label": "OmniKit API Key",
24
+ "description": "Your OmniKit API key (starts with 'okt_')"
24
25
  }
25
26
  ]
26
27
  },
@@ -13,15 +13,16 @@
13
13
  "base_url": "https://api.omnikit.co",
14
14
  "auth": {
15
15
  "types": [
16
- "bearer"
16
+ "api_key"
17
17
  ],
18
18
  "headers": {
19
- "Authorization": "Bearer {{token}}"
19
+ "X-API-Key": "{{api_key}}"
20
20
  },
21
21
  "credential_fields": [
22
22
  {
23
- "name": "token",
24
- "label": "API Key"
23
+ "name": "api_key",
24
+ "label": "OmniKit API Key",
25
+ "description": "Your OmniKit API key (starts with 'okt_')"
25
26
  }
26
27
  ]
27
28
  },
@@ -15,15 +15,16 @@
15
15
  "base_url": "https://api.omnikit.co",
16
16
  "auth": {
17
17
  "types": [
18
- "bearer"
18
+ "api_key"
19
19
  ],
20
20
  "headers": {
21
- "Authorization": "Bearer {{token}}"
21
+ "X-API-Key": "{{api_key}}"
22
22
  },
23
23
  "credential_fields": [
24
24
  {
25
- "name": "token",
26
- "label": "API Key"
25
+ "name": "api_key",
26
+ "label": "OmniKit API Key",
27
+ "description": "Your OmniKit API key (starts with 'okt_')"
27
28
  }
28
29
  ]
29
30
  },