@teemill/platform 0.65.0 → 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.
@@ -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
+
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
16
16
  **packageWeight** | **number** | Weight of the package being shipped in grams | [optional] [default to undefined]
17
17
  **platformRef** | **string** | A reference to the resource location | [optional] [default to undefined]
18
18
  **frozen** | **boolean** | Whether the fulfillment is frozen. This will prevent the fulfillment from being picked. | [optional] [readonly] [default to undefined]
19
- **frozenReasons** | **Array<string>** | List of reason codes why this fulfillment is frozen. | [optional] [readonly] [default to undefined]
19
+ **frozenReasons** | **Array<string>** | List of reason codes why this fulfillment is frozen. - `moderation` - Held for content moderation review. - `internal_screen_print` - Awaiting internal screen print processing. - `manual` - Manually frozen by a user. - `credit_control` - Client is under credit control. - `billing_failed` - Payment for this order failed. - `pickface_flagged` - Flagged on the pickface for review. - `flow_frozen` - Frozen by internal production flow handling. - `fraud` - Frozen due to fraud checks. | [optional] [readonly] [default to undefined]
20
20
 
21
21
  ## Example
22
22
 
@@ -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.0
7
+ * The version of the OpenAPI document: 0.66.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.0",
3
+ "version": "0.66.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "1.13.5"
27
+ "axios": "1.15.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",