@teemill/platform 0.65.2 → 0.67.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.
@@ -0,0 +1,265 @@
1
+ # ConciergeCandidatesApi
2
+
3
+ All URIs are relative to *https://localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**approveConciergeCandidate**](#approveconciergecandidate) | **POST** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId}/approve | Approve concierge candidate|
8
+ |[**deleteConciergeCandidate**](#deleteconciergecandidate) | **DELETE** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId} | Delete concierge candidate|
9
+ |[**getConciergeCandidate**](#getconciergecandidate) | **GET** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId} | Get concierge candidate|
10
+ |[**listConciergeCandidates**](#listconciergecandidates) | **GET** /v1/platform/{platformId}/concierge-candidates | List concierge candidates|
11
+
12
+ # **approveConciergeCandidate**
13
+ > ConciergeCandidate approveConciergeCandidate()
14
+
15
+ Approve a concierge candidate by a given concierge candidate ID. This will create a task that cann be assigned to a user.
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ ConciergeCandidatesApi,
22
+ Configuration
23
+ } from '@teemill/platform';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new ConciergeCandidatesApi(configuration);
27
+
28
+ let project: string; //Project unique identifier (default to undefined)
29
+ let platformId: string; //The platform identifier (default to undefined)
30
+ let conciergeCandidateId: string; //The concierge candidate identifier (default to undefined)
31
+
32
+ const { status, data } = await apiInstance.approveConciergeCandidate(
33
+ project,
34
+ platformId,
35
+ conciergeCandidateId
36
+ );
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ |Name | Type | Description | Notes|
42
+ |------------- | ------------- | ------------- | -------------|
43
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
44
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
45
+ | **conciergeCandidateId** | [**string**] | The concierge candidate identifier | defaults to undefined|
46
+
47
+
48
+ ### Return type
49
+
50
+ **ConciergeCandidate**
51
+
52
+ ### Authorization
53
+
54
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
55
+
56
+ ### HTTP request headers
57
+
58
+ - **Content-Type**: Not defined
59
+ - **Accept**: application/json
60
+
61
+
62
+ ### HTTP response details
63
+ | Status code | Description | Response headers |
64
+ |-------------|-------------|------------------|
65
+ |**200** | Concierge candidate | - |
66
+ |**400** | Failed validation | - |
67
+ |**401** | Not authorised to access this resource | - |
68
+ |**403** | Refuse to authorize | - |
69
+ |**404** | Resource not found | - |
70
+ |**500** | Unknown server error | - |
71
+
72
+ [[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)
73
+
74
+ # **deleteConciergeCandidate**
75
+ > deleteConciergeCandidate()
76
+
77
+ Delete a concierge candidate by a given concierge candidate ID.
78
+
79
+ ### Example
80
+
81
+ ```typescript
82
+ import {
83
+ ConciergeCandidatesApi,
84
+ Configuration
85
+ } from '@teemill/platform';
86
+
87
+ const configuration = new Configuration();
88
+ const apiInstance = new ConciergeCandidatesApi(configuration);
89
+
90
+ let project: string; //Project unique identifier (default to undefined)
91
+ let platformId: string; //The platform identifier (default to undefined)
92
+ let conciergeCandidateId: string; //The concierge candidate identifier (default to undefined)
93
+
94
+ const { status, data } = await apiInstance.deleteConciergeCandidate(
95
+ project,
96
+ platformId,
97
+ conciergeCandidateId
98
+ );
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+ |Name | Type | Description | Notes|
104
+ |------------- | ------------- | ------------- | -------------|
105
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
106
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
107
+ | **conciergeCandidateId** | [**string**] | The concierge candidate identifier | defaults to undefined|
108
+
109
+
110
+ ### Return type
111
+
112
+ void (empty response body)
113
+
114
+ ### Authorization
115
+
116
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
117
+
118
+ ### HTTP request headers
119
+
120
+ - **Content-Type**: Not defined
121
+ - **Accept**: application/json
122
+
123
+
124
+ ### HTTP response details
125
+ | Status code | Description | Response headers |
126
+ |-------------|-------------|------------------|
127
+ |**204** | Concierge candidate deleted | - |
128
+ |**400** | Failed validation | - |
129
+ |**401** | Not authorised to access this resource | - |
130
+ |**403** | Refuse to authorize | - |
131
+ |**404** | Resource not found | - |
132
+ |**500** | Unknown server error | - |
133
+
134
+ [[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
+ # **getConciergeCandidate**
137
+ > ConciergeCandidate getConciergeCandidate()
138
+
139
+ Get a concierge candidate by a given concierge candidate ID.
140
+
141
+ ### Example
142
+
143
+ ```typescript
144
+ import {
145
+ ConciergeCandidatesApi,
146
+ Configuration
147
+ } from '@teemill/platform';
148
+
149
+ const configuration = new Configuration();
150
+ const apiInstance = new ConciergeCandidatesApi(configuration);
151
+
152
+ let project: string; //Project unique identifier (default to undefined)
153
+ let platformId: string; //The platform identifier (default to undefined)
154
+ let conciergeCandidateId: string; //The concierge candidate identifier (default to undefined)
155
+
156
+ const { status, data } = await apiInstance.getConciergeCandidate(
157
+ project,
158
+ platformId,
159
+ conciergeCandidateId
160
+ );
161
+ ```
162
+
163
+ ### Parameters
164
+
165
+ |Name | Type | Description | Notes|
166
+ |------------- | ------------- | ------------- | -------------|
167
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
168
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
169
+ | **conciergeCandidateId** | [**string**] | The concierge candidate identifier | defaults to undefined|
170
+
171
+
172
+ ### Return type
173
+
174
+ **ConciergeCandidate**
175
+
176
+ ### Authorization
177
+
178
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
179
+
180
+ ### HTTP request headers
181
+
182
+ - **Content-Type**: Not defined
183
+ - **Accept**: application/json
184
+
185
+
186
+ ### HTTP response details
187
+ | Status code | Description | Response headers |
188
+ |-------------|-------------|------------------|
189
+ |**200** | Concierge candidate | - |
190
+ |**400** | Failed validation | - |
191
+ |**401** | Not authorised to access this resource | - |
192
+ |**403** | Refuse to authorize | - |
193
+ |**404** | Resource not found | - |
194
+ |**500** | Unknown server error | - |
195
+
196
+ [[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)
197
+
198
+ # **listConciergeCandidates**
199
+ > ListConciergeCandidates200Response listConciergeCandidates()
200
+
201
+ List concierge candidates
202
+
203
+ ### Example
204
+
205
+ ```typescript
206
+ import {
207
+ ConciergeCandidatesApi,
208
+ Configuration
209
+ } from '@teemill/platform';
210
+
211
+ const configuration = new Configuration();
212
+ const apiInstance = new ConciergeCandidatesApi(configuration);
213
+
214
+ let project: string; //Project unique identifier (default to undefined)
215
+ let platformId: string; //The platform identifier (default to undefined)
216
+ let search: string; //Search term to filter results (optional) (default to undefined)
217
+ let pageToken: number; //Page reference token (optional) (default to 1)
218
+ let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
219
+
220
+ const { status, data } = await apiInstance.listConciergeCandidates(
221
+ project,
222
+ platformId,
223
+ search,
224
+ pageToken,
225
+ pageSize
226
+ );
227
+ ```
228
+
229
+ ### Parameters
230
+
231
+ |Name | Type | Description | Notes|
232
+ |------------- | ------------- | ------------- | -------------|
233
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
234
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
235
+ | **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
236
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
237
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
238
+
239
+
240
+ ### Return type
241
+
242
+ **ListConciergeCandidates200Response**
243
+
244
+ ### Authorization
245
+
246
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
247
+
248
+ ### HTTP request headers
249
+
250
+ - **Content-Type**: Not defined
251
+ - **Accept**: application/json
252
+
253
+
254
+ ### HTTP response details
255
+ | Status code | Description | Response headers |
256
+ |-------------|-------------|------------------|
257
+ |**200** | Concierge candidates | - |
258
+ |**400** | Failed validation | - |
259
+ |**401** | Not authorised to access this resource | - |
260
+ |**403** | Refuse to authorize | - |
261
+ |**404** | Resource not found | - |
262
+ |**500** | Unknown server error | - |
263
+
264
+ [[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)
265
+
@@ -0,0 +1,22 @@
1
+ # ListConciergeCandidates200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **candidates** | [**Array<ConciergeCandidate>**](ConciergeCandidate.md) | | [default to undefined]
9
+ **nextPageToken** | **number** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ListConciergeCandidates200Response } from '@teemill/platform';
15
+
16
+ const instance: ListConciergeCandidates200Response = {
17
+ candidates,
18
+ nextPageToken,
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
+ # UpdateConciergeCandidateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **dismiss** | **boolean** | Whether the concierge candidate has been dismissed or not. | [optional] [default to undefined]
9
+ **assignedUserRef** | **string** | Reference to the user resource | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdateConciergeCandidateRequest } from '@teemill/platform';
15
+
16
+ const instance: UpdateConciergeCandidateRequest = {
17
+ dismiss,
18
+ assignedUserRef,
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/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.65.2
7
+ * The version of the OpenAPI document: 0.67.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.65.2",
3
+ "version": "0.67.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {