@teemill/customers
v1.15.0
Published
OpenAPI client for @teemill/customers
Readme
@teemill/[email protected]
This generator creates TypeScript/JavaScript client that utilizes axios. 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)
Building
To build and compile the typescript sources to javascript use:
npm install
npm run buildPublishing
First build the package then run npm publish
Consuming
navigate to the folder of your consuming project and run one of the following commands.
published:
npm install @teemill/[email protected] --saveunPublished (not recommended):
npm install PATH_TO_GENERATED_PACKAGE --saveDocumentation for API Endpoints
All URIs are relative to https://api.localhost:8080
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- CustomersApi | deleteCustomerGDPRData | DELETE /v1/customers/{customerId}/general-data-regulation-protection/data | Delete customer data CustomersApi | exportCustomers | GET /v1/customers/export | Export customers CustomersApi | getCustomer | GET /v1/customers/{customerId} | Get customer CustomersApi | listCustomers | GET /v1/customers | List customers EnquiriesApi | deleteCustomerEnquiry | DELETE /v1/customers/enquiries/{enquiryId} | Delete customer enquiry EnquiriesApi | getCustomerEnquiry | GET /v1/customers/enquiries/{enquiryId} | Get customer enquiry EnquiriesApi | listCustomerEnquiries | GET /v1/customers/enquiries | List customer enquiries EnquiriesApi | listCustomerEnquiryLogs | GET /v1/customers/enquiries/{enquiryId}/logs | List customer enquiry Logs EnquiriesApi | listCustomerEnquiryTags | GET /v1/customers/enquiry-tags | List customer enquiry tags EnquiriesApi | updateCustomerEnquiry | PATCH /v1/customers/enquiries/{enquiryId} | Update customer enquiry
Documentation For Models
- Address
- ApiError
- Customer
- CustomersResponse
- Enquiry
- EnquiryExtraInputsInner
- EnquiryExtraInputsInnerValue
- EnquiryTracking
- ExportCustomers202Response
- ListCustomerEnquiries200Response
- ListCustomerEnquiryLogs200Response
- ListCustomerEnquiryLogs200ResponseLogsInner
- ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
- ListCustomerEnquiryTags200Response
- ListCustomerEnquiryTags200ResponseTagsInner
- Statistics
- UpdateCustomerEnquiryRequest
Documentation For Authorization
Authentication schemes defined for the API:
api-key
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
session-oauth
- Type: OAuth
- Flow: password
- Authorization URL:
- Scopes: N/A
