open-index/open-npm huggingface dataset:
npm package: @flipdish/orgmanagement
Description: OpenAPI client for @flipdish/orgmanagement
Author: OpenAPI-Generator Contributors
Latest version: 1.1.46

## @flipdish/orgmanagement

This package provides a Typescript/JavaScript client for interacting with Flipdish's Organisation Management APIs over HTTP.

Internally the package utilizes the [axios](https://github.com/axios/axios) as its HTTP client. 

### Example code

```typescript
import { Configuration, OrgsApi } from "@flipdish/orgmanagement";
import { describe, test } from "@jest/globals";

const configuration = new Configuration({
  basePath: "https://api-prod-staging.flipdishdev.com",
  // to get the API key, you should follow these docs:
  // https://developers.flipdish.com/docs/getting-started
  accessToken: process.env.FLIPDISH_BEARER_TOKEN,
  // if using in a browser set useDefaultUserAgent
  // to true to prevent errors
  // useDefaultUserAgent: true
});

const _orgs = new OrgsApi(configuration);

describe("Org Management Tests", () => {
  describe("Orgs", () => {
    // let testOrg: any = {
    //     name: "Macdonald's Test Org",
    //     emailAddress: "macdonalds.test.org@flipdish.com",
    //     countryCode: OrgCountryCodeEnum.Gb
    // };

    // test('Create org', async () => {
    //     const orgsCreateResponse = await orgs.createOrg({ createOrg: testOrg });
    //     expect(orgsCreateResponse.status).toBe(201);

    //     testOrg = { ...testOrg, orgId: orgsCreateResponse.data.data?.orgId };
    //     expect(orgsCreateResponse.data.data).toMatchObject(testOrg);
    // });

    // test('Get org by id', async () => {
    //     const orgsResponse = await orgs.getOrgById({ orgId: testOrg.orgId });
    //     expect(orgsResponse.data.data).toMatchObject(testOrg);
    // })

    // test('List org by id', async () => {
    //     const orgsResponse = await orgs.getAllOrgs({ brandId: "doesntExist" });
    //     expect(orgsResponse.data.data).toHaveLength(0);
    // })

    test("do nothing", async () => {});
  });
});

```

The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
npm package: @flipdish/property-management
Description: OpenAPI client for @flipdish/property-management
Author: OpenAPI-Generator Contributors
Latest version: 0.0.29

## @flipdish/property-management

This package provides a Typescript/JavaScript client for interacting with Flipdish's Property Management APIs over HTTP.

Internally the package utilizes the [axios](https://github.com/axios/axios) as its HTTP client. 

### Example code

```typescript
// import { Configuration } from '@flipdish/restaurant-config';
import { describe, test } from "@jest/globals";

// const configuration = new Configuration({
//   basePath: 'https://api.flipdish.co',
//   // For browser projects set useDefaultUserAgent: true
//   // useDefaultUserAgent: true,
//   // Optionally provide a token during testing:
//   // accessToken: process.env.FLIPDISH_BEARER_TOKEN,
// });

describe("Property Management SDK", () => {
  test("build/load", async () => {
    // smoke test only
  });
});

```

The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))