@teemill/platform 0.65.2 → 0.66.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.
- package/.openapi-generator/FILES +5 -0
- package/README.md +9 -2
- package/api.ts +439 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +257 -1
- package/dist/api.js +291 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +257 -1
- package/dist/esm/api.js +285 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ConciergeCandidate.md +39 -0
- package/docs/ConciergeCandidateSource.md +25 -0
- package/docs/ConciergeCandidatesApi.md +197 -0
- package/docs/ListConciergeCandidates200Response.md +22 -0
- package/docs/UpdateConciergeCandidateRequest.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# ConciergeCandidate
|
|
2
|
+
|
|
3
|
+
A concierge candidate. This is a potentially high value person who has interacted with the platform in some way.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
10
|
+
**firstName** | **string** | The first name of the concierge candidate | [default to undefined]
|
|
11
|
+
**lastName** | **string** | The last name of the concierge candidate | [default to undefined]
|
|
12
|
+
**email** | **string** | The email of the concierge candidate | [default to undefined]
|
|
13
|
+
**source** | [**ConciergeCandidateSource**](ConciergeCandidateSource.md) | | [default to undefined]
|
|
14
|
+
**createdAt** | **string** | ISO 8601 Timestamp | [default to undefined]
|
|
15
|
+
**dismissedAt** | **string** | ISO 8601 Timestamp | [optional] [default to undefined]
|
|
16
|
+
**clientRef** | **string** | A reference to the project being ordered | [default to undefined]
|
|
17
|
+
**originRef** | **string** | A reference to the origin of the concierge candidate. The structure of the origin ref can be inferred from the concierge candidate source. | [default to undefined]
|
|
18
|
+
**assignedUserRef** | **string** | Reference to the user resource | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { ConciergeCandidate } from '@teemill/platform';
|
|
24
|
+
|
|
25
|
+
const instance: ConciergeCandidate = {
|
|
26
|
+
id,
|
|
27
|
+
firstName,
|
|
28
|
+
lastName,
|
|
29
|
+
email,
|
|
30
|
+
source,
|
|
31
|
+
createdAt,
|
|
32
|
+
dismissedAt,
|
|
33
|
+
clientRef,
|
|
34
|
+
originRef,
|
|
35
|
+
assignedUserRef,
|
|
36
|
+
};
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[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,25 @@
|
|
|
1
|
+
# ConciergeCandidateSource
|
|
2
|
+
|
|
3
|
+
The source of the concierge candidate. This is the channel through which the concierge candidate interacted with the platform.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**type** | **string** | The type of the source | [default to undefined]
|
|
10
|
+
**name** | **string** | The name of the source | [default to undefined]
|
|
11
|
+
**description** | **string** | The description of the source | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ConciergeCandidateSource } from '@teemill/platform';
|
|
17
|
+
|
|
18
|
+
const instance: ConciergeCandidateSource = {
|
|
19
|
+
type,
|
|
20
|
+
name,
|
|
21
|
+
description,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[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,197 @@
|
|
|
1
|
+
# ConciergeCandidatesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getConciergeCandidate**](#getconciergecandidate) | **GET** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId} | Get concierge candidate|
|
|
8
|
+
|[**listConciergeCandidates**](#listconciergecandidates) | **GET** /v1/platform/{platformId}/concierge-candidates | List concierge candidates|
|
|
9
|
+
|[**updateConciergeCandidate**](#updateconciergecandidate) | **PATCH** /v1/platform/{platformId}/concierge-candidates/{conciergeCandidateId} | Update concierge candidate|
|
|
10
|
+
|
|
11
|
+
# **getConciergeCandidate**
|
|
12
|
+
> ConciergeCandidate getConciergeCandidate()
|
|
13
|
+
|
|
14
|
+
Get a concierge candidate by a given concierge candidate ID.
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
ConciergeCandidatesApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from '@teemill/platform';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new ConciergeCandidatesApi(configuration);
|
|
26
|
+
|
|
27
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
28
|
+
let platformId: string; //The platform identifier (default to undefined)
|
|
29
|
+
let conciergeCandidateId: string; //The concierge candidate identifier (default to undefined)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.getConciergeCandidate(
|
|
32
|
+
project,
|
|
33
|
+
platformId,
|
|
34
|
+
conciergeCandidateId
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
43
|
+
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
44
|
+
| **conciergeCandidateId** | [**string**] | The concierge candidate identifier | defaults to undefined|
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Return type
|
|
48
|
+
|
|
49
|
+
**ConciergeCandidate**
|
|
50
|
+
|
|
51
|
+
### Authorization
|
|
52
|
+
|
|
53
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
54
|
+
|
|
55
|
+
### HTTP request headers
|
|
56
|
+
|
|
57
|
+
- **Content-Type**: Not defined
|
|
58
|
+
- **Accept**: application/json
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### HTTP response details
|
|
62
|
+
| Status code | Description | Response headers |
|
|
63
|
+
|-------------|-------------|------------------|
|
|
64
|
+
|**200** | Concierge candidate | - |
|
|
65
|
+
|**400** | Failed validation | - |
|
|
66
|
+
|**401** | Not authorised to access this resource | - |
|
|
67
|
+
|**403** | Refuse to authorize | - |
|
|
68
|
+
|**404** | Resource not found | - |
|
|
69
|
+
|**500** | Unknown server error | - |
|
|
70
|
+
|
|
71
|
+
[[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)
|
|
72
|
+
|
|
73
|
+
# **listConciergeCandidates**
|
|
74
|
+
> ListConciergeCandidates200Response listConciergeCandidates()
|
|
75
|
+
|
|
76
|
+
List concierge candidates
|
|
77
|
+
|
|
78
|
+
### Example
|
|
79
|
+
|
|
80
|
+
```typescript
|
|
81
|
+
import {
|
|
82
|
+
ConciergeCandidatesApi,
|
|
83
|
+
Configuration
|
|
84
|
+
} from '@teemill/platform';
|
|
85
|
+
|
|
86
|
+
const configuration = new Configuration();
|
|
87
|
+
const apiInstance = new ConciergeCandidatesApi(configuration);
|
|
88
|
+
|
|
89
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
90
|
+
let platformId: string; //The platform identifier (default to undefined)
|
|
91
|
+
|
|
92
|
+
const { status, data } = await apiInstance.listConciergeCandidates(
|
|
93
|
+
project,
|
|
94
|
+
platformId
|
|
95
|
+
);
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|Name | Type | Description | Notes|
|
|
101
|
+
|------------- | ------------- | ------------- | -------------|
|
|
102
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
103
|
+
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Return type
|
|
107
|
+
|
|
108
|
+
**ListConciergeCandidates200Response**
|
|
109
|
+
|
|
110
|
+
### Authorization
|
|
111
|
+
|
|
112
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
113
|
+
|
|
114
|
+
### HTTP request headers
|
|
115
|
+
|
|
116
|
+
- **Content-Type**: Not defined
|
|
117
|
+
- **Accept**: application/json
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
### HTTP response details
|
|
121
|
+
| Status code | Description | Response headers |
|
|
122
|
+
|-------------|-------------|------------------|
|
|
123
|
+
|**200** | Concierge candidates | - |
|
|
124
|
+
|**400** | Failed validation | - |
|
|
125
|
+
|**401** | Not authorised to access this resource | - |
|
|
126
|
+
|**403** | Refuse to authorize | - |
|
|
127
|
+
|**404** | Resource not found | - |
|
|
128
|
+
|**500** | Unknown server error | - |
|
|
129
|
+
|
|
130
|
+
[[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)
|
|
131
|
+
|
|
132
|
+
# **updateConciergeCandidate**
|
|
133
|
+
> ConciergeCandidate updateConciergeCandidate(updateConciergeCandidateRequest)
|
|
134
|
+
|
|
135
|
+
Update a concierge candidate by a given concierge candidate ID.
|
|
136
|
+
|
|
137
|
+
### Example
|
|
138
|
+
|
|
139
|
+
```typescript
|
|
140
|
+
import {
|
|
141
|
+
ConciergeCandidatesApi,
|
|
142
|
+
Configuration,
|
|
143
|
+
UpdateConciergeCandidateRequest
|
|
144
|
+
} from '@teemill/platform';
|
|
145
|
+
|
|
146
|
+
const configuration = new Configuration();
|
|
147
|
+
const apiInstance = new ConciergeCandidatesApi(configuration);
|
|
148
|
+
|
|
149
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
150
|
+
let platformId: string; //The platform identifier (default to undefined)
|
|
151
|
+
let conciergeCandidateId: string; //The concierge candidate identifier (default to undefined)
|
|
152
|
+
let updateConciergeCandidateRequest: UpdateConciergeCandidateRequest; //
|
|
153
|
+
|
|
154
|
+
const { status, data } = await apiInstance.updateConciergeCandidate(
|
|
155
|
+
project,
|
|
156
|
+
platformId,
|
|
157
|
+
conciergeCandidateId,
|
|
158
|
+
updateConciergeCandidateRequest
|
|
159
|
+
);
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Parameters
|
|
163
|
+
|
|
164
|
+
|Name | Type | Description | Notes|
|
|
165
|
+
|------------- | ------------- | ------------- | -------------|
|
|
166
|
+
| **updateConciergeCandidateRequest** | **UpdateConciergeCandidateRequest**| | |
|
|
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**: application/json
|
|
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
|
+
|
|
@@ -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