npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/letmc_maintenance

v4.0.0

Published

DataFire integration for AgentOS Api V3, maintenance

Downloads

3

Readme

@datafire/letmc_maintenance

Client library for AgentOS Api V3, maintenance

Installation and Usage

npm install --save @datafire/letmc_maintenance
let letmc_maintenance = require('@datafire/letmc_maintenance').create({
  apiKey: "",
  username: "",
  password: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

MaintenanceController_CreateMaintenanceJob

Create a maintenance job for a specific branch

letmc_maintenance.MaintenanceController_CreateMaintenanceJob({
  "shortName": "",
  "branchID": "",
  "issue": {}
}, context)

Input

  • input object
    • shortName required string: The unique client short-name
    • branchID required string: The unique ID of the Branch
    • issue required MaintenanceIssueModel

Output

Definitions

MaintenanceDocumentModel

  • MaintenanceDocumentModel object: Submission Model - Handles all the fields required to attach documents to an online maintenance job
    • MimeType string: The document Mime Type
    • URL string: The document URL (This has to be public)

MaintenanceIssueModel

  • MaintenanceIssueModel object: Submission Model - Handles all fields required to submit an online maintenance job
    • Documents array: Documents linked to a submitted maintenance job
    • ExternalID string: ID used externally to manage jobs before sending to the system. This has a 10 character limit.
    • IssueFault string: The fault title if applicable
    • IssueNotes string: Fault notes
    • IssuePriority string (values: Low, Medium, High): The priority of the job (Defaults to 'Low' if incorrect value or empty)
    • IssueTitle string: The title of the issue
    • PropertyAddress1 string: The first line of the property address
    • PropertyAddress2 string: The second line of the property address
    • PropertyAddress3 string: The third line of the property address
    • PropertyAddress4 string: The forth line of the property address
    • PropertyCountry string: The country the property is located
    • PropertyPostcode string: The property postcode
    • ReportedAt string: The date the job was reported
    • TenantEMailAddress string: The email address of the Tenant
    • TenantForename string: The forename of the Tenant
    • TenantPhonePrimary string: The primary phone number of the Tenant
    • TenantPhoneSecondary string: The secondary phone number of the Tenant
    • TenantPresenceRequested boolean: Is the Tenant’s presence requested during the maintenance visit? (Defaults to “false” if incorrect value or empty)
    • TenantSurname string: The surname of the Tenant
    • TenantTitle string: The title of the Tenant

Object

  • Object object