@pipedream/orca_scan 0.1.0 → 0.2.1

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/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # Overview
2
+
3
+ The Orca Scan API is a gateway to integrate barcode scanning and inventory management capabilities into various workflows. By leveraging the API, you can automate data collection, streamline inventory tracking, and sync your barcode scanning data with other systems. When used on Pipedream, you can merge Orca Scan functionalities with countless other apps, creating custom automation rules, processing data, and managing inventory in real-time. Ideal for inventory management, asset tracking, and data collection automation, the Orca Scan API is a tool that can adapt to a myriad of business needs.
4
+
5
+ # Example Use Cases
6
+
7
+ - **Automate Inventory Updates**: Use the Orca Scan API to update inventory counts in a Google Sheet every time a new item is scanned. This workflow ensures real-time inventory tracking without manual data entry.
8
+
9
+ - **Sync with CRM Systems**: After scanning items using Orca Scan, trigger a workflow on Pipedream to create or update records in a CRM like Salesforce or HubSpot. This keeps customer-related inventory data up-to-date.
10
+
11
+ - **Alerts for Low Stock**: Set up a workflow that monitors inventory levels using the Orca Scan API. When stock for certain items drops below a specified threshold, trigger an alert via email or a messaging app like Slack to prompt restocking.
@@ -4,7 +4,12 @@ export default {
4
4
  key: "orca_scan-add-update-row",
5
5
  name: "Add or Update Row",
6
6
  description: "Adds a new row or updates an existing row in a sheet. [See the documentation](https://orcascan.com/guides/add-barcode-tracking-to-your-system-using-a-rest-api-f09a21c3)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  orca_scan,
@@ -4,8 +4,14 @@ export default {
4
4
  key: "orca_scan-find-row",
5
5
  name: "Find Row",
6
6
  description: "Locates a row record based on a given barcode. If no barcode is provided, return all rows. [See the documentation](https://orcascan.com/guides/add-barcode-tracking-to-your-system-using-a-rest-api-f09a21c3#rows-1)",
7
- version: "0.0.1",
7
+ version: "0.0.3",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
14
+ ai: "optimized",
9
15
  props: {
10
16
  orca_scan,
11
17
  sheetId: {
@@ -0,0 +1,33 @@
1
+ import orca_scan from "../../orca_scan.app.mjs";
2
+
3
+ export default {
4
+ key: "orca_scan-list-sheet-id-options",
5
+ name: "List Sheet ID Options",
6
+ description: "Retrieves available options for the Sheet ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ orca_scan,
16
+ page: {
17
+ type: "integer",
18
+ label: "Page",
19
+ description: "The page of results to retrieve.",
20
+ min: 0,
21
+ default: 0,
22
+ },
23
+ },
24
+ async run({ $ }) {
25
+ const options = await orca_scan.propDefinitions.sheetId.options.call(this.orca_scan, {
26
+ page: this.page,
27
+ });
28
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
29
+ ? ""
30
+ : "s"}`);
31
+ return options;
32
+ },
33
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/orca_scan",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Pipedream Orca Scan Components",
5
5
  "main": "orca_scan.app.mjs",
6
6
  "keywords": [
@@ -13,6 +13,6 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "@pipedream/platform": "^1.5.1"
16
+ "@pipedream/platform": "^1.6.8"
17
17
  }
18
18
  }