@teemill/platform 0.69.0 → 0.70.0

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.
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.69.0
5
+ * The version of the OpenAPI document: 0.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.69.0
7
+ * The version of the OpenAPI document: 0.70.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.69.0
5
+ * The version of the OpenAPI document: 0.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.69.0
7
+ * The version of the OpenAPI document: 0.70.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.69.0
5
+ * The version of the OpenAPI document: 0.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Platform
4
4
  * Manage Your podOS platform
5
5
  *
6
- * The version of the OpenAPI document: 0.69.0
6
+ * The version of the OpenAPI document: 0.70.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ export class Configuration {
34
34
  * @return True if the given MIME is JSON, false otherwise.
35
35
  */
36
36
  isJsonMime(mime) {
37
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
38
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
37
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
38
+ return mime !== null && jsonMime.test(mime);
39
39
  }
40
40
  }
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.69.0
5
+ * The version of the OpenAPI document: 0.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.69.0
7
+ * The version of the OpenAPI document: 0.70.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.69.0
5
+ * The version of the OpenAPI document: 0.70.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.69.0
8
+ * The version of the OpenAPI document: 0.70.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6,6 +6,7 @@ All URIs are relative to *https://localhost:8080*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**approveConciergeCandidate**](#approveconciergecandidate) | **POST** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}/approve | Approve concierge candidate|
8
8
  |[**deleteConciergeCandidate**](#deleteconciergecandidate) | **DELETE** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId} | Delete concierge candidate|
9
+ |[**excludeEmailDomain**](#excludeemaildomain) | **POST** /v1/platform/{platformId}/concierge-candidates/exclude-email-domains | Exclude an email domain from concierge candidates|
9
10
  |[**getConciergeCandidate**](#getconciergecandidate) | **GET** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId} | Get concierge candidate|
10
11
  |[**listConciergeCandidates**](#listconciergecandidates) | **GET** /v1/platform/{platformId}/concierge-candidates | List concierge candidates|
11
12
 
@@ -133,6 +134,68 @@ void (empty response body)
133
134
 
134
135
  [[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)
135
136
 
137
+ # **excludeEmailDomain**
138
+ > ExcludedEmailDomain excludeEmailDomain(excludeEmailDomainRequest)
139
+
140
+ Exclude an email domain from concierge candidates. This will prevent new concierge candidates being created if they have an email address that contains this domain.
141
+
142
+ ### Example
143
+
144
+ ```typescript
145
+ import {
146
+ ConciergeCandidatesApi,
147
+ Configuration,
148
+ ExcludeEmailDomainRequest
149
+ } from '@teemill/platform';
150
+
151
+ const configuration = new Configuration();
152
+ const apiInstance = new ConciergeCandidatesApi(configuration);
153
+
154
+ let project: string; //Project unique identifier (default to undefined)
155
+ let platformId: string; //The platform identifier (default to undefined)
156
+ let excludeEmailDomainRequest: ExcludeEmailDomainRequest; //Create an excluded email domain
157
+
158
+ const { status, data } = await apiInstance.excludeEmailDomain(
159
+ project,
160
+ platformId,
161
+ excludeEmailDomainRequest
162
+ );
163
+ ```
164
+
165
+ ### Parameters
166
+
167
+ |Name | Type | Description | Notes|
168
+ |------------- | ------------- | ------------- | -------------|
169
+ | **excludeEmailDomainRequest** | **ExcludeEmailDomainRequest**| Create an excluded email domain | |
170
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
171
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
172
+
173
+
174
+ ### Return type
175
+
176
+ **ExcludedEmailDomain**
177
+
178
+ ### Authorization
179
+
180
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
181
+
182
+ ### HTTP request headers
183
+
184
+ - **Content-Type**: application/json
185
+ - **Accept**: application/json
186
+
187
+
188
+ ### HTTP response details
189
+ | Status code | Description | Response headers |
190
+ |-------------|-------------|------------------|
191
+ |**201** | Excluded email domain | - |
192
+ |**400** | Failed validation | - |
193
+ |**401** | Not authorised to access this resource | - |
194
+ |**403** | Refuse to authorize | - |
195
+ |**500** | Unknown server error | - |
196
+
197
+ [[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)
198
+
136
199
  # **getConciergeCandidate**
137
200
  > ConciergeCandidate getConciergeCandidate()
138
201
 
@@ -0,0 +1,20 @@
1
+ # ExcludeEmailDomainRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **domain** | **string** | The email domain to exclude | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { ExcludeEmailDomainRequest } from '@teemill/platform';
14
+
15
+ const instance: ExcludeEmailDomainRequest = {
16
+ domain,
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,26 @@
1
+ # ExcludedEmailDomain
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [default to undefined]
9
+ **domain** | **string** | The email domain to exclude | [default to undefined]
10
+ **userRef** | **string** | Reference to the user resource | [default to undefined]
11
+ **createdAt** | **string** | ISO 8601 Timestamp | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ExcludedEmailDomain } from '@teemill/platform';
17
+
18
+ const instance: ExcludedEmailDomain = {
19
+ id,
20
+ domain,
21
+ userRef,
22
+ createdAt,
23
+ };
24
+ ```
25
+
26
+ [[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/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.69.0
7
+ * The version of the OpenAPI document: 0.70.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/platform",
3
- "version": "0.69.0",
3
+ "version": "0.70.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {