@tennac-booking/sdk 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,22 @@
1
1
  .gitignore
2
2
  .npmignore
3
3
  README.md
4
+ api.ts
5
+ base.ts
6
+ common.ts
7
+ configuration.ts
8
+ docs/AuthApi.md
9
+ docs/Booking.md
10
+ docs/BookingStatus.md
11
+ docs/Court.md
12
+ docs/CourtStatus.md
13
+ docs/Slot.md
14
+ docs/SlotException.md
15
+ docs/StripeStatus.md
16
+ docs/User.md
17
+ docs/UsersApi.md
18
+ git_push.sh
19
+ index.ts
4
20
  package.json
5
- src/apis/AuthApi.ts
6
- src/apis/UsersApi.ts
7
- src/apis/index.ts
8
- src/index.ts
9
- src/models/Booking.ts
10
- src/models/Court.ts
11
- src/models/Slot.ts
12
- src/models/SlotException.ts
13
- src/models/User.ts
14
- src/models/index.ts
15
- src/runtime.ts
16
21
  tsconfig.esm.json
17
22
  tsconfig.json
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## @tennac-booking/sdk@1.0.0
2
2
 
3
- This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
3
+ This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
5
5
  Environment
6
6
  * Node.js
@@ -44,3 +44,31 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
+
48
+ ### Documentation for API Endpoints
49
+
50
+ All URIs are relative to *https://api.mon-domaine.com*
51
+
52
+ Class | Method | HTTP request | Description
53
+ ------------ | ------------- | ------------- | -------------
54
+ *AuthApi* | [**apiAuthRegisterPost**](docs/AuthApi.md#apiauthregisterpost) | **POST** /api/auth/register | Register a new user
55
+ *UsersApi* | [**apiUsersGet**](docs/UsersApi.md#apiusersget) | **GET** /api/users | Retrieve all users
56
+
57
+
58
+ ### Documentation For Models
59
+
60
+ - [Booking](docs/Booking.md)
61
+ - [BookingStatus](docs/BookingStatus.md)
62
+ - [Court](docs/Court.md)
63
+ - [CourtStatus](docs/CourtStatus.md)
64
+ - [Slot](docs/Slot.md)
65
+ - [SlotException](docs/SlotException.md)
66
+ - [StripeStatus](docs/StripeStatus.md)
67
+ - [User](docs/User.md)
68
+
69
+
70
+ <a id="documentation-for-authorization"></a>
71
+ ## Documentation For Authorization
72
+
73
+ Endpoints do not require authorization.
74
+