Skip to content

Latest commit

 

History

History
executable file
·
20 lines (18 loc) · 450 Bytes

USAGE.md

File metadata and controls

executable file
·
20 lines (18 loc) · 450 Bytes
import { Structure } from "structure-ac";
import { EnrichCompanyResponse } from "structure-ac/dist/sdk/models/operations";

const sdk = new Structure({
  security: {
    bearerAuth: "",
  },
});

sdk.companies.enrich({
  id: "89bd9d8d-69a6-474e-8f46-7cc8796ed151",
}).then((res: EnrichCompanyResponse) => {
  if (res.statusCode == 200) {
    // handle response
  }
});