This package has been deprecated

    Author message:

    This package is no longer being pushed to npm. Please follow the github repo for up to date code changes

    @procore/js-sdk-endpoints

    1.9.2 • Public • Published

    Procore JS SDK Endpoints

    Generates TypeScript wrapper functions and interface definitions for the Procore API.

    Install

    yarn add -D @procore/js-sdk-endpoints

    Usage

    node-procore-endpoints lib -i index.ts -d endpoints

    Example

    interface DirectCosts {
      action: string;
      qs?: any;
      id?: number;
      project_id: number;
    }
    
    function directCosts({ action, qs, id, project_id  }: DirectCosts): any {
      return {
        base: '/vapid/projects/{project_id}/direct_costs',
        action,
        params: { id, project_id  },
        qs
      }
    }
    
    export default directCosts

    File Structure

    lib/endpoints
    ├── accident-logs.ts
    ├── authentication.ts
    ├── bids.ts
    ├── budget-line-items.ts
    ├── budget-modifications.ts
    ├── calendar-events.ts
    ├── call-logs.ts
    ├── change-events.ts
    ├── change-order-change-reasons.ts
    ├── change-order-packages.ts
    ├── change-order-requests.ts
    ├── change-orders.ts
    ├── change-types.ts
    ├── checklists.ts
    ├── communications.ts
    ├── companies.ts
    ├── company-folders-and-files.ts
    ├── company-insurances.ts
    ├── company-offices.ts
    ├── company-users.ts
    ├── company-vendor-insurances.ts
    ├── company-vendors.ts
    ├── contract-payments.ts
    ├── cost-codes.ts
    ├── daily-construction-report-logs.ts
    ├── dashboards.ts
    ├── delivery-logs.ts
    ├── departments.ts
    ├── direct-costs.ts
    ├── draw-requests.ts
    ├── drawings.ts
    ├── dumpster-logs.ts
    ├── equipment-logs.ts
    ├── equipment.ts
    ├── image-categories.ts
    ├── images.ts
    ├── inspection-logs.ts
    ├── line-item-types.ts
    ├── locations.ts
    ├── manpower-logs.ts
    ├── markup-attachments.ts
    ├── markup-layer-elements.ts
    ├── markup-layers.ts
    ├── me.ts
    ├── meetings.ts
    ├── notes-logs.ts
    ├── observations.ts
    ├── permission-templates.ts
    ├── permissions.ts
    ├── plan-revision-logs.ts
    ├── potential-change-orders.ts
    ├── prime-contracts.ts
    ├── productivity-logs.ts
    ├── programs.ts
    ├── project-configuration.ts
    ├── project-dates.ts
    ├── project-folders-and-files.ts
    ├── project-insurances.ts
    ├── project-roles.ts
    ├── project-stages.ts
    ├── project-templates.ts
    ├── project-tools.ts
    ├── project-types.ts
    ├── project-users.ts
    ├── project-vendor-insurances.ts
    ├── project-vendors.ts
    ├── projects.ts
    ├── punch-item-assignments.ts
    ├── punch-item-types.ts
    ├── punch-items.ts
    ├── punch-list-assignee-options.ts
    ├── purchase-order-contracts.ts
    ├── quantity-logs.ts
    ├── reports.ts
    ├── requested-changes.ts
    ├── resources.ts
    ├── rfi-replies.ts
    ├── rfis.ts
    ├── rfqs.ts
    ├── safety-violation-logs.ts
    ├── schedule-integration.ts
    ├── schedule-type.ts
    ├── specification-section-divisions.ts
    ├── specification-section-revisions.ts
    ├── specification-sections.ts
    ├── specification-sets.ts
    ├── specification-uploads.ts
    ├── sticky-filters.ts
    ├── sub-jobs.ts
    ├── submittals.ts
    ├── tasks.ts
    ├── timecard-entries.ts
    ├── timecards.ts
    ├── todos.ts
    ├── toolfavorites.ts
    ├── trades.ts
    ├── transmittals.ts
    ├── user-access-level.ts
    ├── waste-logs.ts
    ├── weather-logs.ts
    ├── work-logs.ts
    └── work-order-contracts.ts
    

    Contributing

    Bug reports and pull requests are welcome on GitHub at https://github.com/procore/js-sdk-endpoints. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

    License

    The package is available as open source under the terms of the MIT License.

    About Procore

    Procore Logo

    Manage Version is maintained by Procore Technologies.

    Procore - building the software that builds the world.

    Learn more about the #1 most widely used construction management software at procore.com

    Keywords

    none

    Install

    npm i @procore/js-sdk-endpoints

    DownloadsWeekly Downloads

    2,210

    Version

    1.9.2

    License

    MIT

    Unpacked Size

    16.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • ari-procore
    • alanprocore
    • jl4ever
    • james.lawson
    • ajaykumar-procore
    • dennis.heckman
    • tara.chambers
    • lalovar-procore
    • james.cleary
    • chadryder
    • devin.cunningham.procore
    • abhijit.patwardhan
    • maxscott_pc
    • lydiahara
    • sherylnapigkit
    • changprocore
    • apcarroll_procore
    • andy.mayer
    • bob.laskowski
    • vinaya-procore
    • r-pulling
    • kahliholmes
    • amanzhula-zoolatech
    • andrew.wheeler
    • leandro-proc
    • yadhu.prakash
    • jason-kaye
    • initbar-procore
    • jesse.olsen
    • jsoncummings
    • patrick.lardin
    • brad.urani
    • ian.nguyen
    • allenanle.procore
    • ismail.hassan
    • brookyboy009
    • uddhavjoglekar
    • dancingshell
    • justinmwatts
    • rysmithprocore
    • bostonaholic
    • robbiegprocore
    • jadamsss
    • jeremy.bouzigard
    • dallashall-procore
    • bates550
    • timdoherty
    • b.bookout
    • jalyng
    • chrisarevir
    • htael
    • espi
    • truthysystems
    • dev-account-admin
    • sseanwang
    • bhargavrnd
    • dannyphillips
    • farismmk
    • dannyporrello
    • mcclayton
    • gregburger
    • danny.ou
    • messanjah
    • eyvettesou
    • jgee67
    • chriszhang
    • arthurzhuk
    • cagmz
    • mariah_delaney
    • lukenispel
    • kimhin267
    • hyogman
    • juliana.hernandez
    • evan.freymiller
    • manuphatak
    • judy-lu-pc
    • procore-it-support
    • wilfredr
    • andrewburke-pc
    • jkleintech
    • rachel.arkebauer
    • aaronme
    • procore-npm-bot
    • lincolnp
    • james.dabbs-procore
    • laurenbrandsteinprocore
    • kimtodd
    • scottbieser-procore
    • fkennedy
    • zach.mckenzie.procore
    • natalie.walia
    • kapoorlakshya-procore
    • shayonj_procore
    • heplayskeys
    • mike.south
    • thomasoboyle
    • dischorde
    • derek-carter-procore
    • dlgasser
    • moises.narvaez-procore
    • cfprocore
    • rory.forster
    • lgm_procore
    • evan.waits
    • todd-andrew-procore
    • jeremy-marcus
    • israel-pereira
    • jmejia-fsl
    • kedar.procore
    • ersgonzalo
    • stephan-procore
    • aleclarsenprocore
    • himansudesai
    • yihai.zweifel
    • jay-rajan
    • jacky-lei
    • bpross22
    • peter.jin