1.9.0 • Published 1 year ago

@firesquad/api-sdk v1.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@firesquad/api-sdk

Properly integrate your Nodejs apps with firesquad usign this SDK.

Quick Start

For getting started, Create an API Integration on Firesquad. After that, you can use this firesquad package:

import { Firesquad, ConversationContentMessageType } from "@firesquad/api-sdk";

export const fs = new Firesquad(
  "https://<your-account>.api.firesquad.io",
  "<your-api-id>",
  "<your-api-key>"
);

/* You can use firesquad methods after creating the instance, such as: */
fs.PostConversationItem(
  {
    internal: false,
    content: {
      message: [
        {
          type: ConversationContentMessageType.Paragraph,
          children: [{ text: "Hello, World!" }],
        },
      ],
    },
  },
  "<your-conversation-id>"
)
  /* And wait for the response */
  .then((response) => console.log(response));
1.9.0

1 year ago

1.8.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.2.0

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.1.0

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.0-alpha.2

3 years ago