@teemill/platform 0.32.0 → 0.33.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/docs/Pixel.md ADDED
@@ -0,0 +1,26 @@
1
+ # Pixel
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **sourceProjects** | **Array<string>** | | [default to undefined]
11
+ **filters** | [**CreatePixelRequestFilters**](CreatePixelRequestFilters.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { Pixel } from '@teemill/platform';
17
+
18
+ const instance: Pixel = {
19
+ id,
20
+ name,
21
+ sourceProjects,
22
+ filters,
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)
@@ -0,0 +1,341 @@
1
+ # PixelsApi
2
+
3
+ All URIs are relative to *https://localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createPixel**](#createpixel) | **POST** /v1/platform/{platformId}/pixels | Create a pixel|
8
+ |[**deletePixel**](#deletepixel) | **DELETE** /v1/platform/{platformId}/pixels/{pixelId} | Delete a pixel|
9
+ |[**getPixel**](#getpixel) | **GET** /v1/platform/{platformId}/pixels/{pixelId} | Get pixel|
10
+ |[**listPixels**](#listpixels) | **GET** /v1/platform/{platformId}/pixels | List pixels|
11
+ |[**updatePixel**](#updatepixel) | **PUT** /v1/platform/{platformId}/pixels/{pixelId} | Update a pixel|
12
+
13
+ # **createPixel**
14
+ > Pixel createPixel()
15
+
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ PixelsApi,
22
+ Configuration,
23
+ CreatePixelRequest
24
+ } from '@teemill/platform';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new PixelsApi(configuration);
28
+
29
+ let project: string; //Project unique identifier (default to undefined)
30
+ let platformId: string; //The platform identifier (default to undefined)
31
+ let pageToken: number; //Page reference token (optional) (default to 1)
32
+ 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)
33
+ let search: string; //Search term to filter results (optional) (default to undefined)
34
+ let createPixelRequest: CreatePixelRequest; // (optional)
35
+
36
+ const { status, data } = await apiInstance.createPixel(
37
+ project,
38
+ platformId,
39
+ pageToken,
40
+ pageSize,
41
+ search,
42
+ createPixelRequest
43
+ );
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+ |Name | Type | Description | Notes|
49
+ |------------- | ------------- | ------------- | -------------|
50
+ | **createPixelRequest** | **CreatePixelRequest**| | |
51
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
52
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
53
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
54
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
55
+ | **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
56
+
57
+
58
+ ### Return type
59
+
60
+ **Pixel**
61
+
62
+ ### Authorization
63
+
64
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json
69
+ - **Accept**: application/json
70
+
71
+
72
+ ### HTTP response details
73
+ | Status code | Description | Response headers |
74
+ |-------------|-------------|------------------|
75
+ |**200** | Pixel response | - |
76
+ |**400** | Failed validation | - |
77
+ |**401** | Not authorised to access this resource | - |
78
+ |**403** | Refuse to authorize | - |
79
+ |**404** | Resource not found | - |
80
+ |**500** | Unknown server error | - |
81
+
82
+ [[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)
83
+
84
+ # **deletePixel**
85
+ > deletePixel()
86
+
87
+ Delete a pixel
88
+
89
+ ### Example
90
+
91
+ ```typescript
92
+ import {
93
+ PixelsApi,
94
+ Configuration
95
+ } from '@teemill/platform';
96
+
97
+ const configuration = new Configuration();
98
+ const apiInstance = new PixelsApi(configuration);
99
+
100
+ let project: string; //Project unique identifier (default to undefined)
101
+ let platformId: string; //The platform identifier (default to undefined)
102
+ let pixelId: string; //The pixel identifier (default to undefined)
103
+
104
+ const { status, data } = await apiInstance.deletePixel(
105
+ project,
106
+ platformId,
107
+ pixelId
108
+ );
109
+ ```
110
+
111
+ ### Parameters
112
+
113
+ |Name | Type | Description | Notes|
114
+ |------------- | ------------- | ------------- | -------------|
115
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
116
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
117
+ | **pixelId** | [**string**] | The pixel identifier | defaults to undefined|
118
+
119
+
120
+ ### Return type
121
+
122
+ void (empty response body)
123
+
124
+ ### Authorization
125
+
126
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
127
+
128
+ ### HTTP request headers
129
+
130
+ - **Content-Type**: Not defined
131
+ - **Accept**: application/json
132
+
133
+
134
+ ### HTTP response details
135
+ | Status code | Description | Response headers |
136
+ |-------------|-------------|------------------|
137
+ |**204** | Deleted successfully | - |
138
+ |**400** | Failed validation | - |
139
+ |**401** | Not authorised to access this resource | - |
140
+ |**403** | Refuse to authorize | - |
141
+ |**404** | Resource not found | - |
142
+ |**500** | Unknown server error | - |
143
+
144
+ [[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)
145
+
146
+ # **getPixel**
147
+ > Pixel getPixel()
148
+
149
+ Get a pixel for a platform by a given pixel ID.
150
+
151
+ ### Example
152
+
153
+ ```typescript
154
+ import {
155
+ PixelsApi,
156
+ Configuration
157
+ } from '@teemill/platform';
158
+
159
+ const configuration = new Configuration();
160
+ const apiInstance = new PixelsApi(configuration);
161
+
162
+ let project: string; //Project unique identifier (default to undefined)
163
+ let platformId: string; //The platform identifier (default to undefined)
164
+ let pixelId: string; //The pixel identifier (default to undefined)
165
+
166
+ const { status, data } = await apiInstance.getPixel(
167
+ project,
168
+ platformId,
169
+ pixelId
170
+ );
171
+ ```
172
+
173
+ ### Parameters
174
+
175
+ |Name | Type | Description | Notes|
176
+ |------------- | ------------- | ------------- | -------------|
177
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
178
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
179
+ | **pixelId** | [**string**] | The pixel identifier | defaults to undefined|
180
+
181
+
182
+ ### Return type
183
+
184
+ **Pixel**
185
+
186
+ ### Authorization
187
+
188
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
189
+
190
+ ### HTTP request headers
191
+
192
+ - **Content-Type**: Not defined
193
+ - **Accept**: application/json
194
+
195
+
196
+ ### HTTP response details
197
+ | Status code | Description | Response headers |
198
+ |-------------|-------------|------------------|
199
+ |**200** | Pixel response | - |
200
+ |**400** | Failed validation | - |
201
+ |**401** | Not authorised to access this resource | - |
202
+ |**403** | Refuse to authorize | - |
203
+ |**404** | Resource not found | - |
204
+ |**500** | Unknown server error | - |
205
+
206
+ [[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)
207
+
208
+ # **listPixels**
209
+ > PixelsResponse listPixels()
210
+
211
+ List pixels for a platform
212
+
213
+ ### Example
214
+
215
+ ```typescript
216
+ import {
217
+ PixelsApi,
218
+ Configuration
219
+ } from '@teemill/platform';
220
+
221
+ const configuration = new Configuration();
222
+ const apiInstance = new PixelsApi(configuration);
223
+
224
+ let project: string; //Project unique identifier (default to undefined)
225
+ let platformId: string; //The platform identifier (default to undefined)
226
+ let pageToken: number; //Page reference token (optional) (default to 1)
227
+ 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)
228
+ let search: string; //Search term to filter results (optional) (default to undefined)
229
+
230
+ const { status, data } = await apiInstance.listPixels(
231
+ project,
232
+ platformId,
233
+ pageToken,
234
+ pageSize,
235
+ search
236
+ );
237
+ ```
238
+
239
+ ### Parameters
240
+
241
+ |Name | Type | Description | Notes|
242
+ |------------- | ------------- | ------------- | -------------|
243
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
244
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
245
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
246
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
247
+ | **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
248
+
249
+
250
+ ### Return type
251
+
252
+ **PixelsResponse**
253
+
254
+ ### Authorization
255
+
256
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
257
+
258
+ ### HTTP request headers
259
+
260
+ - **Content-Type**: Not defined
261
+ - **Accept**: application/json
262
+
263
+
264
+ ### HTTP response details
265
+ | Status code | Description | Response headers |
266
+ |-------------|-------------|------------------|
267
+ |**200** | Pixels response | - |
268
+ |**400** | Failed validation | - |
269
+ |**401** | Not authorised to access this resource | - |
270
+ |**403** | Refuse to authorize | - |
271
+ |**404** | Resource not found | - |
272
+ |**500** | Unknown server error | - |
273
+
274
+ [[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)
275
+
276
+ # **updatePixel**
277
+ > Pixel updatePixel()
278
+
279
+ Update a pixel
280
+
281
+ ### Example
282
+
283
+ ```typescript
284
+ import {
285
+ PixelsApi,
286
+ Configuration,
287
+ CreatePixelRequest
288
+ } from '@teemill/platform';
289
+
290
+ const configuration = new Configuration();
291
+ const apiInstance = new PixelsApi(configuration);
292
+
293
+ let project: string; //Project unique identifier (default to undefined)
294
+ let platformId: string; //The platform identifier (default to undefined)
295
+ let pixelId: string; //The pixel identifier (default to undefined)
296
+ let createPixelRequest: CreatePixelRequest; // (optional)
297
+
298
+ const { status, data } = await apiInstance.updatePixel(
299
+ project,
300
+ platformId,
301
+ pixelId,
302
+ createPixelRequest
303
+ );
304
+ ```
305
+
306
+ ### Parameters
307
+
308
+ |Name | Type | Description | Notes|
309
+ |------------- | ------------- | ------------- | -------------|
310
+ | **createPixelRequest** | **CreatePixelRequest**| | |
311
+ | **project** | [**string**] | Project unique identifier | defaults to undefined|
312
+ | **platformId** | [**string**] | The platform identifier | defaults to undefined|
313
+ | **pixelId** | [**string**] | The pixel identifier | defaults to undefined|
314
+
315
+
316
+ ### Return type
317
+
318
+ **Pixel**
319
+
320
+ ### Authorization
321
+
322
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
323
+
324
+ ### HTTP request headers
325
+
326
+ - **Content-Type**: application/json
327
+ - **Accept**: application/json
328
+
329
+
330
+ ### HTTP response details
331
+ | Status code | Description | Response headers |
332
+ |-------------|-------------|------------------|
333
+ |**200** | Pixel response | - |
334
+ |**400** | Failed validation | - |
335
+ |**401** | Not authorised to access this resource | - |
336
+ |**403** | Refuse to authorize | - |
337
+ |**404** | Resource not found | - |
338
+ |**500** | Unknown server error | - |
339
+
340
+ [[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)
341
+
@@ -0,0 +1,22 @@
1
+ # PixelsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **pixels** | [**Array<Pixel>**](Pixel.md) | | [default to undefined]
9
+ **nextPageToken** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PixelsResponse } from '@teemill/platform';
15
+
16
+ const instance: PixelsResponse = {
17
+ pixels,
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)
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.32.0
7
+ * The version of the OpenAPI document: 0.33.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.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "OpenAPI client for @teemill/platform",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {