4.0.1 • Published 28 days ago

@cityssm/wsib-clearance-check v4.0.1

Weekly downloads
59
License
MIT
Repository
github
Last release
28 days ago

WSIB Clearance Check

npm (scoped) DeepSource Code Climate maintainability codecov Coverage Testing

A tool to scrape the clearance certificate status from the WSIB Online Services Clearance Certificate Website.

Installation

npm install @cityssm/wsib-clearance-check

Usage

import * as wsib from '@cityssm/wsib-clearance-check'

const cert = await wsib.getClearanceByAccountNumber(123)

Output

{
  success: true,
  accountNumber: '123',
  contractorLegalTradeName: 'LANDSCAPING BY EVAN',
  contractorAddress: '456 JULIA LANE, SAULT STE. MARIE, ON, P6A5X6, CA',
  contractorNAICSCodes: [
    {
      code: '561730',
      codeDescription: 'Landscaping services',
      classKey: 'M',
      className: 'ADMINISTRATION, SERVICES TO BUILDINGS, DWELLINGS, AND OPEN SPACES'
    }
  ],
  clearanceCertificateNumber: 'A000012345',
  validityPeriodStart: 2021-02-20T00:00:00.000Z,
  validityPeriodEnd: 2021-05-19T00:00:00.000Z,
  principalLegalTradeName: 'Valid for all principals',
  principalAddress: 'Not applicable',
  certificateURL: 'https://clearances.wsib.ca/Clearances/eclearance/GCSearchCertDet12345678'
}
4.0.1

28 days ago

4.0.0

5 months ago

3.0.5

1 year ago

3.0.4

1 year ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

3.0.0-beta.1

3 years ago

3.0.0-beta

3 years ago

2.1.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago