0.0.16 • Published 11 months ago

@waoadb/contracts-client v0.0.16

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Client Contracts

Overview

Shared typescript contracts for the client side of Different Breed's Services.


Warning

You likely don't want to use this package directly unless you wish to create an integration in a framework we don't offer an SDK for.

Please check here first and use a framework or language SDK when available: Supported Frameworks & Languages.


Usage Reference

(Public) For Use With the following services

  • Client API
  • Cart Management

Quick Start

To start using the contracts provided within this package run the following command in the root of your project:

npm i @waoadb/shared-client-contracts

This will install the package and enable you to extract the required models using the following syntax:

import {
  ClientCartModels,
  ClientCustomerModels,
} from '@waoadb/shared-client-contracts';

Once the grouped model has been imported the desired types can be used like so:

async function request(
  body: ClientCartModels.AddTicketToCartRequest
): Promise<ClientCartModels.AddTicketToCartResponse> {}
0.0.14

12 months ago

0.0.15

12 months ago

0.0.16

11 months ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago