@tennac-booking/sdk 1.0.169 → 1.0.170

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.
@@ -0,0 +1,167 @@
1
+ # PublicEmailApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**authEmailExists**](#authemailexists) | **POST** /api/public-email/auth-email-exists | |
8
+ |[**requestVerificationCode**](#requestverificationcode) | **POST** /api/public-email/request-verification-code | |
9
+ |[**verifyCode**](#verifycode) | **POST** /api/public-email/verify-code | |
10
+
11
+ # **authEmailExists**
12
+ > EmailExistsResponse authEmailExists(emailExistsRequestBody)
13
+
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ PublicEmailApi,
20
+ Configuration,
21
+ EmailExistsRequestBody
22
+ } from '@tennac-booking/sdk';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new PublicEmailApi(configuration);
26
+
27
+ let emailExistsRequestBody: EmailExistsRequestBody; //
28
+
29
+ const { status, data } = await apiInstance.authEmailExists(
30
+ emailExistsRequestBody
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **emailExistsRequestBody** | **EmailExistsRequestBody**| | |
39
+
40
+
41
+ ### Return type
42
+
43
+ **EmailExistsResponse**
44
+
45
+ ### Authorization
46
+
47
+ No authorization required
48
+
49
+ ### HTTP request headers
50
+
51
+ - **Content-Type**: application/json
52
+ - **Accept**: application/json
53
+
54
+
55
+ ### HTTP response details
56
+ | Status code | Description | Response headers |
57
+ |-------------|-------------|------------------|
58
+ |**200** | OK | - |
59
+ |**400** | Payload invalide | - |
60
+
61
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
62
+
63
+ # **requestVerificationCode**
64
+ > RequestEmailCodeResponse requestVerificationCode(requestEmailCodeBody)
65
+
66
+
67
+ ### Example
68
+
69
+ ```typescript
70
+ import {
71
+ PublicEmailApi,
72
+ Configuration,
73
+ RequestEmailCodeBody
74
+ } from '@tennac-booking/sdk';
75
+
76
+ const configuration = new Configuration();
77
+ const apiInstance = new PublicEmailApi(configuration);
78
+
79
+ let requestEmailCodeBody: RequestEmailCodeBody; //
80
+
81
+ const { status, data } = await apiInstance.requestVerificationCode(
82
+ requestEmailCodeBody
83
+ );
84
+ ```
85
+
86
+ ### Parameters
87
+
88
+ |Name | Type | Description | Notes|
89
+ |------------- | ------------- | ------------- | -------------|
90
+ | **requestEmailCodeBody** | **RequestEmailCodeBody**| | |
91
+
92
+
93
+ ### Return type
94
+
95
+ **RequestEmailCodeResponse**
96
+
97
+ ### Authorization
98
+
99
+ No authorization required
100
+
101
+ ### HTTP request headers
102
+
103
+ - **Content-Type**: application/json
104
+ - **Accept**: application/json
105
+
106
+
107
+ ### HTTP response details
108
+ | Status code | Description | Response headers |
109
+ |-------------|-------------|------------------|
110
+ |**200** | Code envoyé | - |
111
+ |**400** | Payload invalide | - |
112
+ |**500** | Erreur envoi email | - |
113
+
114
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
115
+
116
+ # **verifyCode**
117
+ > VerifyEmailCodeResponse verifyCode(verifyEmailCodeBody)
118
+
119
+
120
+ ### Example
121
+
122
+ ```typescript
123
+ import {
124
+ PublicEmailApi,
125
+ Configuration,
126
+ VerifyEmailCodeBody
127
+ } from '@tennac-booking/sdk';
128
+
129
+ const configuration = new Configuration();
130
+ const apiInstance = new PublicEmailApi(configuration);
131
+
132
+ let verifyEmailCodeBody: VerifyEmailCodeBody; //
133
+
134
+ const { status, data } = await apiInstance.verifyCode(
135
+ verifyEmailCodeBody
136
+ );
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ |Name | Type | Description | Notes|
142
+ |------------- | ------------- | ------------- | -------------|
143
+ | **verifyEmailCodeBody** | **VerifyEmailCodeBody**| | |
144
+
145
+
146
+ ### Return type
147
+
148
+ **VerifyEmailCodeResponse**
149
+
150
+ ### Authorization
151
+
152
+ No authorization required
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: application/json
157
+ - **Accept**: application/json
158
+
159
+
160
+ ### HTTP response details
161
+ | Status code | Description | Response headers |
162
+ |-------------|-------------|------------------|
163
+ |**200** | Email verifie | - |
164
+ |**400** | Code invalide | - |
165
+
166
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
167
+
@@ -0,0 +1,20 @@
1
+ # RequestEmailCodeBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RequestEmailCodeBody } from '@tennac-booking/sdk';
14
+
15
+ const instance: RequestEmailCodeBody = {
16
+ email,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # RequestEmailCodeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sent** | **boolean** | | [default to undefined]
9
+ **alreadyVerified** | **boolean** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RequestEmailCodeResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: RequestEmailCodeResponse = {
17
+ sent,
18
+ alreadyVerified,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # VerifyEmailCodeBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [default to undefined]
9
+ **code** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { VerifyEmailCodeBody } from '@tennac-booking/sdk';
15
+
16
+ const instance: VerifyEmailCodeBody = {
17
+ email,
18
+ code,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # VerifyEmailCodeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **verified** | **boolean** | | [default to undefined]
9
+ **alreadyVerified** | **boolean** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { VerifyEmailCodeResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: VerifyEmailCodeResponse = {
17
+ verified,
18
+ alreadyVerified,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.169",
3
+ "version": "1.0.170",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {