@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.
- package/.openapi-generator/FILES +16 -11
- package/README.md +29 -1
- package/api.ts +668 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +115 -0
- package/dist/api.d.ts +482 -0
- package/dist/api.js +323 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +482 -0
- package/dist/esm/api.js +312 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/docs/AuthApi.md +88 -0
- package/docs/Booking.md +32 -0
- package/docs/BookingStatus.md +10 -0
- package/docs/Court.md +32 -0
- package/docs/CourtStatus.md +10 -0
- package/docs/Slot.md +24 -0
- package/docs/SlotException.md +26 -0
- package/docs/StripeStatus.md +16 -0
- package/docs/User.md +40 -0
- package/docs/UsersApi.md +51 -0
- package/git_push.sh +57 -0
- package/index.ts +16 -3
- package/package.json +14 -2
- package/tsconfig.json +4 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -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 [
|
|
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
|
+
|