@activepieces/piece-muna-ai 0.0.1 → 0.0.2

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,13 +1,13 @@
1
1
  {
2
2
  "name": "@activepieces/piece-muna-ai",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@activepieces/pieces-common": "0.12.3",
8
+ "@activepieces/pieces-common": "0.12.4",
9
9
  "@activepieces/pieces-framework": "0.30.0",
10
- "@activepieces/shared": "0.86.0",
10
+ "@activepieces/shared": "0.92.0",
11
11
  "tslib": "2.6.2"
12
12
  },
13
13
  "scripts": {
@@ -0,0 +1,39 @@
1
+ {
2
+ "Run on-device AI predictions using Muna predictors.": "Run on-device AI predictions using Muna predictors.",
3
+ "Go to [Muna Settings → Developer](https://muna.ai/settings/developer) to generate an access key.": "Go to [Muna Settings → Developer](https://muna.ai/settings/developer) to generate an access key.",
4
+ "Create Prediction": "Create Prediction",
5
+ "Custom API Call": "Custom API Call",
6
+ "Run a predictor and get back prediction resources.": "Run a predictor and get back prediction resources.",
7
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
8
+ "Predictor Tag": "Predictor Tag",
9
+ "Client ID": "Client ID",
10
+ "Configuration ID": "Configuration ID",
11
+ "Device ID": "Device ID",
12
+ "Prediction ID": "Prediction ID",
13
+ "Method": "Method",
14
+ "Headers": "Headers",
15
+ "Query Parameters": "Query Parameters",
16
+ "Body Type": "Body Type",
17
+ "Body": "Body",
18
+ "Response is Binary ?": "Response is Binary ?",
19
+ "No Error on Failure": "No Error on Failure",
20
+ "Timeout (in seconds)": "Timeout (in seconds)",
21
+ "Follow redirects": "Follow redirects",
22
+ "The tag of the predictor to run (e.g. `@org/my-model`).": "The tag of the predictor to run (e.g. `@org/my-model`).",
23
+ "A unique identifier for the client making the prediction. Used to track usage per device or user.": "A unique identifier for the client making the prediction. Used to track usage per device or user.",
24
+ "Optional predictor configuration identifier.": "Optional predictor configuration identifier.",
25
+ "Optional device identifier. Muna uses this to choose the optimal implementation to respond with.": "Optional device identifier. Muna uses this to choose the optimal implementation to respond with.",
26
+ "For embedded predictors — providing the original prediction ID ensures the same implementation is delivered.": "For embedded predictors — providing the original prediction ID ensures the same implementation is delivered.",
27
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
28
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
29
+ "GET": "GET",
30
+ "POST": "POST",
31
+ "PATCH": "PATCH",
32
+ "PUT": "PUT",
33
+ "DELETE": "DELETE",
34
+ "HEAD": "HEAD",
35
+ "None": "None",
36
+ "JSON": "JSON",
37
+ "Form Data": "Form Data",
38
+ "Raw": "Raw"
39
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"create-prediction.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-prediction.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;EA2E3B,CAAC"}
1
+ {"version":3,"file":"create-prediction.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-prediction.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;EA4E3B,CAAC"}
@@ -6,6 +6,7 @@ const pieces_framework_1 = require("@activepieces/pieces-framework");
6
6
  const pieces_common_1 = require("@activepieces/pieces-common");
7
7
  const auth_1 = require("../auth");
8
8
  exports.createPrediction = (0, pieces_framework_1.createAction)({
9
+ audience: 'human',
9
10
  name: 'create_prediction',
10
11
  displayName: 'Create Prediction',
11
12
  description: 'Run a predictor and get back prediction resources.',
@@ -1 +1 @@
1
- {"version":3,"file":"create-prediction.js","sourceRoot":"","sources":["../../../../src/lib/actions/create-prediction.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,kCAAqC;AAExB,QAAA,gBAAgB,G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