@teemill/integrations 0.15.0 → 0.17.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.
Files changed (45) hide show
  1. package/README.md +64 -2
  2. package/api.ts +50 -13
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +32 -7
  7. package/dist/api.js +27 -13
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +1 -1
  14. package/dist/esm/api.d.ts +32 -7
  15. package/dist/esm/api.js +27 -13
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +1 -1
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/AdminIntegrationListing.md +48 -0
  27. package/docs/AdminIntegrationListingsResponse.md +20 -0
  28. package/docs/ApiError.md +22 -0
  29. package/docs/CreateAdminIntegrationListingRequest.md +42 -0
  30. package/docs/CreateAdminIntegrationListingRequestGradient.md +25 -0
  31. package/docs/Icon.md +24 -0
  32. package/docs/Integration.md +26 -0
  33. package/docs/IntegrationCategoriesResponse.md +20 -0
  34. package/docs/IntegrationCategory.md +24 -0
  35. package/docs/IntegrationListing.md +46 -0
  36. package/docs/IntegrationListingGradient.md +25 -0
  37. package/docs/IntegrationListingsResponse.md +20 -0
  38. package/docs/IntegrationProduct.md +30 -0
  39. package/docs/IntegrationProductsResponse.md +20 -0
  40. package/docs/IntegrationsApi.md +665 -0
  41. package/docs/IntegrationsResponse.md +20 -0
  42. package/docs/UpdateAdminIntegrationListingRequest.md +42 -0
  43. package/docs/UpdateAdminIntegrationListingRequestGradient.md +25 -0
  44. package/index.ts +1 -1
  45. package/package.json +1 -1
@@ -0,0 +1,665 @@
1
+ # IntegrationsApi
2
+
3
+ All URIs are relative to *https://localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createAdminIntegrationListing**](#createadminintegrationlisting) | **POST** /v1/integrations/admin/listings | Create integration listing|
8
+ |[**deleteAdminIntegrationListing**](#deleteadminintegrationlisting) | **DELETE** /v1/integrations/admin/listings/{listing} | Delete integration listing|
9
+ |[**getAdminIntegrationListing**](#getadminintegrationlisting) | **GET** /v1/integrations/admin/listings/{listing} | Retrieve integration listing|
10
+ |[**getIntegrationCategories**](#getintegrationcategories) | **GET** /v1/integrations/categories | List integration categories|
11
+ |[**getIntegrationCategory**](#getintegrationcategory) | **GET** /v1/integrations/categories/{category} | Get integration category|
12
+ |[**getIntegrationListing**](#getintegrationlisting) | **GET** /v1/integrations/listings/{listing} | Get integration listing|
13
+ |[**getIntegrationListings**](#getintegrationlistings) | **GET** /v1/integrations/listings | List integration listings|
14
+ |[**getIntegrationProduct**](#getintegrationproduct) | **GET** /v1/integrations/{integration}/products/{product} | Get integration product|
15
+ |[**getIntegrationProducts**](#getintegrationproducts) | **GET** /v1/integrations/{integration}/products | List integration products|
16
+ |[**getIntegrations**](#getintegrations) | **GET** /v1/integrations | List integrations|
17
+ |[**listAdminIntegrationListings**](#listadminintegrationlistings) | **GET** /v1/integrations/admin/listings | List integration listings|
18
+ |[**updateAdminIntegrationListing**](#updateadminintegrationlisting) | **PATCH** /v1/integrations/admin/listings/{listing} | Update integration listing|
19
+
20
+ # **createAdminIntegrationListing**
21
+ > AdminIntegrationListing createAdminIntegrationListing(createAdminIntegrationListingRequest)
22
+
23
+ Create a new integration listing
24
+
25
+ ### Example
26
+
27
+ ```typescript
28
+ import {
29
+ IntegrationsApi,
30
+ Configuration,
31
+ CreateAdminIntegrationListingRequest
32
+ } from '@teemill/integrations';
33
+
34
+ const configuration = new Configuration();
35
+ const apiInstance = new IntegrationsApi(configuration);
36
+
37
+ let createAdminIntegrationListingRequest: CreateAdminIntegrationListingRequest; //Create a new integration listing
38
+
39
+ const { status, data } = await apiInstance.createAdminIntegrationListing(
40
+ createAdminIntegrationListingRequest
41
+ );
42
+ ```
43
+
44
+ ### Parameters
45
+
46
+ |Name | Type | Description | Notes|
47
+ |------------- | ------------- | ------------- | -------------|
48
+ | **createAdminIntegrationListingRequest** | **CreateAdminIntegrationListingRequest**| Create a new integration listing | |
49
+
50
+
51
+ ### Return type
52
+
53
+ **AdminIntegrationListing**
54
+
55
+ ### Authorization
56
+
57
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: application/json
62
+ - **Accept**: application/json
63
+
64
+
65
+ ### HTTP response details
66
+ | Status code | Description | Response headers |
67
+ |-------------|-------------|------------------|
68
+ |**201** | Successfully retrieved a integration listing | - |
69
+ |**400** | Failed validation | - |
70
+ |**401** | Not authorised to access this resource | - |
71
+ |**403** | Refuse to authorize | - |
72
+ |**5XX** | Unknown server error | - |
73
+
74
+ [[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)
75
+
76
+ # **deleteAdminIntegrationListing**
77
+ > deleteAdminIntegrationListing()
78
+
79
+ Delete an integration listing
80
+
81
+ ### Example
82
+
83
+ ```typescript
84
+ import {
85
+ IntegrationsApi,
86
+ Configuration
87
+ } from '@teemill/integrations';
88
+
89
+ const configuration = new Configuration();
90
+ const apiInstance = new IntegrationsApi(configuration);
91
+
92
+ let listing: string; //Integration listing unique identifier (default to undefined)
93
+
94
+ const { status, data } = await apiInstance.deleteAdminIntegrationListing(
95
+ listing
96
+ );
97
+ ```
98
+
99
+ ### Parameters
100
+
101
+ |Name | Type | Description | Notes|
102
+ |------------- | ------------- | ------------- | -------------|
103
+ | **listing** | [**string**] | Integration listing unique identifier | defaults to undefined|
104
+
105
+
106
+ ### Return type
107
+
108
+ void (empty response body)
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
+ |**204** | Listing deleted | - |
124
+ |**401** | Not authorised to access this resource | - |
125
+ |**403** | Refuse to authorize | - |
126
+ |**404** | Resource does not exist | - |
127
+ |**5XX** | Unknown server error | - |
128
+
129
+ [[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)
130
+
131
+ # **getAdminIntegrationListing**
132
+ > AdminIntegrationListing getAdminIntegrationListing()
133
+
134
+ Retrieves a specific integration listing by its slug.
135
+
136
+ ### Example
137
+
138
+ ```typescript
139
+ import {
140
+ IntegrationsApi,
141
+ Configuration
142
+ } from '@teemill/integrations';
143
+
144
+ const configuration = new Configuration();
145
+ const apiInstance = new IntegrationsApi(configuration);
146
+
147
+ let listing: string; //Integration listing unique identifier (default to undefined)
148
+
149
+ const { status, data } = await apiInstance.getAdminIntegrationListing(
150
+ listing
151
+ );
152
+ ```
153
+
154
+ ### Parameters
155
+
156
+ |Name | Type | Description | Notes|
157
+ |------------- | ------------- | ------------- | -------------|
158
+ | **listing** | [**string**] | Integration listing unique identifier | defaults to undefined|
159
+
160
+
161
+ ### Return type
162
+
163
+ **AdminIntegrationListing**
164
+
165
+ ### Authorization
166
+
167
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
168
+
169
+ ### HTTP request headers
170
+
171
+ - **Content-Type**: Not defined
172
+ - **Accept**: application/json
173
+
174
+
175
+ ### HTTP response details
176
+ | Status code | Description | Response headers |
177
+ |-------------|-------------|------------------|
178
+ |**200** | Successfully retrieved a integration listing | - |
179
+ |**404** | Resource does not exist | - |
180
+ |**401** | Not authorised to access this resource | - |
181
+
182
+ [[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)
183
+
184
+ # **getIntegrationCategories**
185
+ > IntegrationCategoriesResponse getIntegrationCategories()
186
+
187
+ List all integration categories
188
+
189
+ ### Example
190
+
191
+ ```typescript
192
+ import {
193
+ IntegrationsApi,
194
+ Configuration
195
+ } from '@teemill/integrations';
196
+
197
+ const configuration = new Configuration();
198
+ const apiInstance = new IntegrationsApi(configuration);
199
+
200
+ const { status, data } = await apiInstance.getIntegrationCategories();
201
+ ```
202
+
203
+ ### Parameters
204
+ This endpoint does not have any parameters.
205
+
206
+
207
+ ### Return type
208
+
209
+ **IntegrationCategoriesResponse**
210
+
211
+ ### Authorization
212
+
213
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
214
+
215
+ ### HTTP request headers
216
+
217
+ - **Content-Type**: Not defined
218
+ - **Accept**: application/json
219
+
220
+
221
+ ### HTTP response details
222
+ | Status code | Description | Response headers |
223
+ |-------------|-------------|------------------|
224
+ |**200** | Successfully retrieved all categories | - |
225
+ |**400** | Failed validation | - |
226
+ |**401** | Not authorised to access this resource | - |
227
+ |**403** | Refuse to authorize | - |
228
+ |**5XX** | Unknown server error | - |
229
+
230
+ [[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)
231
+
232
+ # **getIntegrationCategory**
233
+ > IntegrationListingsResponse getIntegrationCategory()
234
+
235
+ Get an integration category
236
+
237
+ ### Example
238
+
239
+ ```typescript
240
+ import {
241
+ IntegrationsApi,
242
+ Configuration
243
+ } from '@teemill/integrations';
244
+
245
+ const configuration = new Configuration();
246
+ const apiInstance = new IntegrationsApi(configuration);
247
+
248
+ let category: string; //Categories unique identifier (default to undefined)
249
+
250
+ const { status, data } = await apiInstance.getIntegrationCategory(
251
+ category
252
+ );
253
+ ```
254
+
255
+ ### Parameters
256
+
257
+ |Name | Type | Description | Notes|
258
+ |------------- | ------------- | ------------- | -------------|
259
+ | **category** | [**string**] | Categories unique identifier | defaults to undefined|
260
+
261
+
262
+ ### Return type
263
+
264
+ **IntegrationListingsResponse**
265
+
266
+ ### Authorization
267
+
268
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
269
+
270
+ ### HTTP request headers
271
+
272
+ - **Content-Type**: Not defined
273
+ - **Accept**: application/json
274
+
275
+
276
+ ### HTTP response details
277
+ | Status code | Description | Response headers |
278
+ |-------------|-------------|------------------|
279
+ |**200** | Successfully retrieved all integrations | - |
280
+ |**400** | Failed validation | - |
281
+ |**401** | Not authorised to access this resource | - |
282
+ |**403** | Refuse to authorize | - |
283
+ |**404** | Resource does not exist | - |
284
+ |**5XX** | Unknown server error | - |
285
+
286
+ [[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)
287
+
288
+ # **getIntegrationListing**
289
+ > IntegrationListing getIntegrationListing()
290
+
291
+ Get an integration listing
292
+
293
+ ### Example
294
+
295
+ ```typescript
296
+ import {
297
+ IntegrationsApi,
298
+ Configuration
299
+ } from '@teemill/integrations';
300
+
301
+ const configuration = new Configuration();
302
+ const apiInstance = new IntegrationsApi(configuration);
303
+
304
+ let listing: string; //Integration listing unique identifier (default to undefined)
305
+
306
+ const { status, data } = await apiInstance.getIntegrationListing(
307
+ listing
308
+ );
309
+ ```
310
+
311
+ ### Parameters
312
+
313
+ |Name | Type | Description | Notes|
314
+ |------------- | ------------- | ------------- | -------------|
315
+ | **listing** | [**string**] | Integration listing unique identifier | defaults to undefined|
316
+
317
+
318
+ ### Return type
319
+
320
+ **IntegrationListing**
321
+
322
+ ### Authorization
323
+
324
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
325
+
326
+ ### HTTP request headers
327
+
328
+ - **Content-Type**: Not defined
329
+ - **Accept**: application/json
330
+
331
+
332
+ ### HTTP response details
333
+ | Status code | Description | Response headers |
334
+ |-------------|-------------|------------------|
335
+ |**200** | Successfully retrieved a integration listing | - |
336
+ |**400** | Failed validation | - |
337
+ |**401** | Not authorised to access this resource | - |
338
+ |**403** | Refuse to authorize | - |
339
+ |**404** | Resource does not exist | - |
340
+ |**5XX** | Unknown server error | - |
341
+
342
+ [[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)
343
+
344
+ # **getIntegrationListings**
345
+ > IntegrationListingsResponse getIntegrationListings()
346
+
347
+ List all integration listings
348
+
349
+ ### Example
350
+
351
+ ```typescript
352
+ import {
353
+ IntegrationsApi,
354
+ Configuration
355
+ } from '@teemill/integrations';
356
+
357
+ const configuration = new Configuration();
358
+ const apiInstance = new IntegrationsApi(configuration);
359
+
360
+ let project: string; // (default to undefined)
361
+
362
+ const { status, data } = await apiInstance.getIntegrationListings(
363
+ project
364
+ );
365
+ ```
366
+
367
+ ### Parameters
368
+
369
+ |Name | Type | Description | Notes|
370
+ |------------- | ------------- | ------------- | -------------|
371
+ | **project** | [**string**] | | defaults to undefined|
372
+
373
+
374
+ ### Return type
375
+
376
+ **IntegrationListingsResponse**
377
+
378
+ ### Authorization
379
+
380
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
381
+
382
+ ### HTTP request headers
383
+
384
+ - **Content-Type**: Not defined
385
+ - **Accept**: application/json
386
+
387
+
388
+ ### HTTP response details
389
+ | Status code | Description | Response headers |
390
+ |-------------|-------------|------------------|
391
+ |**200** | Successfully retrieved all integrations | - |
392
+ |**400** | Failed validation | - |
393
+ |**401** | Not authorised to access this resource | - |
394
+ |**403** | Refuse to authorize | - |
395
+ |**5XX** | Unknown server error | - |
396
+
397
+ [[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)
398
+
399
+ # **getIntegrationProduct**
400
+ > IntegrationProduct getIntegrationProduct()
401
+
402
+ Get a product available for an integration
403
+
404
+ ### Example
405
+
406
+ ```typescript
407
+ import {
408
+ IntegrationsApi,
409
+ Configuration
410
+ } from '@teemill/integrations';
411
+
412
+ const configuration = new Configuration();
413
+ const apiInstance = new IntegrationsApi(configuration);
414
+
415
+ let integration: number; //Integrations unique identifier (default to undefined)
416
+ let product: string; //Products unique identifier (default to undefined)
417
+
418
+ const { status, data } = await apiInstance.getIntegrationProduct(
419
+ integration,
420
+ product
421
+ );
422
+ ```
423
+
424
+ ### Parameters
425
+
426
+ |Name | Type | Description | Notes|
427
+ |------------- | ------------- | ------------- | -------------|
428
+ | **integration** | [**number**] | Integrations unique identifier | defaults to undefined|
429
+ | **product** | [**string**] | Products unique identifier | defaults to undefined|
430
+
431
+
432
+ ### Return type
433
+
434
+ **IntegrationProduct**
435
+
436
+ ### Authorization
437
+
438
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
439
+
440
+ ### HTTP request headers
441
+
442
+ - **Content-Type**: Not defined
443
+ - **Accept**: application/json
444
+
445
+
446
+ ### HTTP response details
447
+ | Status code | Description | Response headers |
448
+ |-------------|-------------|------------------|
449
+ |**200** | Successfully retrieved a product for an integration | - |
450
+ |**401** | Not authorised to access this resource | - |
451
+ |**404** | Resource does not exist | - |
452
+ |**5XX** | Unknown server error | - |
453
+
454
+ [[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)
455
+
456
+ # **getIntegrationProducts**
457
+ > IntegrationProductsResponse getIntegrationProducts()
458
+
459
+ List all products available for an integration
460
+
461
+ ### Example
462
+
463
+ ```typescript
464
+ import {
465
+ IntegrationsApi,
466
+ Configuration
467
+ } from '@teemill/integrations';
468
+
469
+ const configuration = new Configuration();
470
+ const apiInstance = new IntegrationsApi(configuration);
471
+
472
+ let integration: number; //Integrations unique identifier (default to undefined)
473
+ let project: string; // (optional) (default to undefined)
474
+
475
+ const { status, data } = await apiInstance.getIntegrationProducts(
476
+ integration,
477
+ project
478
+ );
479
+ ```
480
+
481
+ ### Parameters
482
+
483
+ |Name | Type | Description | Notes|
484
+ |------------- | ------------- | ------------- | -------------|
485
+ | **integration** | [**number**] | Integrations unique identifier | defaults to undefined|
486
+ | **project** | [**string**] | | (optional) defaults to undefined|
487
+
488
+
489
+ ### Return type
490
+
491
+ **IntegrationProductsResponse**
492
+
493
+ ### Authorization
494
+
495
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
496
+
497
+ ### HTTP request headers
498
+
499
+ - **Content-Type**: Not defined
500
+ - **Accept**: application/json
501
+
502
+
503
+ ### HTTP response details
504
+ | Status code | Description | Response headers |
505
+ |-------------|-------------|------------------|
506
+ |**200** | Successfully retrieved all products for an integration | - |
507
+ |**401** | Not authorised to access this resource | - |
508
+ |**5XX** | Unknown server error | - |
509
+
510
+ [[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)
511
+
512
+ # **getIntegrations**
513
+ > IntegrationsResponse getIntegrations()
514
+
515
+ List all integrations
516
+
517
+ ### Example
518
+
519
+ ```typescript
520
+ import {
521
+ IntegrationsApi,
522
+ Configuration
523
+ } from '@teemill/integrations';
524
+
525
+ const configuration = new Configuration();
526
+ const apiInstance = new IntegrationsApi(configuration);
527
+
528
+ const { status, data } = await apiInstance.getIntegrations();
529
+ ```
530
+
531
+ ### Parameters
532
+ This endpoint does not have any parameters.
533
+
534
+
535
+ ### Return type
536
+
537
+ **IntegrationsResponse**
538
+
539
+ ### Authorization
540
+
541
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
542
+
543
+ ### HTTP request headers
544
+
545
+ - **Content-Type**: Not defined
546
+ - **Accept**: application/json
547
+
548
+
549
+ ### HTTP response details
550
+ | Status code | Description | Response headers |
551
+ |-------------|-------------|------------------|
552
+ |**200** | Successfully retrieved all integrations | - |
553
+ |**401** | Not authorised to access this resource | - |
554
+ |**5XX** | Unknown server error | - |
555
+
556
+ [[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)
557
+
558
+ # **listAdminIntegrationListings**
559
+ > AdminIntegrationListingsResponse listAdminIntegrationListings()
560
+
561
+ List all integration listings
562
+
563
+ ### Example
564
+
565
+ ```typescript
566
+ import {
567
+ IntegrationsApi,
568
+ Configuration
569
+ } from '@teemill/integrations';
570
+
571
+ const configuration = new Configuration();
572
+ const apiInstance = new IntegrationsApi(configuration);
573
+
574
+ const { status, data } = await apiInstance.listAdminIntegrationListings();
575
+ ```
576
+
577
+ ### Parameters
578
+ This endpoint does not have any parameters.
579
+
580
+
581
+ ### Return type
582
+
583
+ **AdminIntegrationListingsResponse**
584
+
585
+ ### Authorization
586
+
587
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
588
+
589
+ ### HTTP request headers
590
+
591
+ - **Content-Type**: Not defined
592
+ - **Accept**: application/json
593
+
594
+
595
+ ### HTTP response details
596
+ | Status code | Description | Response headers |
597
+ |-------------|-------------|------------------|
598
+ |**200** | Successfully retrieved all integrations | - |
599
+ |**400** | Failed validation | - |
600
+ |**401** | Not authorised to access this resource | - |
601
+ |**403** | Refuse to authorize | - |
602
+ |**5XX** | Unknown server error | - |
603
+
604
+ [[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)
605
+
606
+ # **updateAdminIntegrationListing**
607
+ > AdminIntegrationListing updateAdminIntegrationListing(updateAdminIntegrationListingRequest)
608
+
609
+ Update an integration listing
610
+
611
+ ### Example
612
+
613
+ ```typescript
614
+ import {
615
+ IntegrationsApi,
616
+ Configuration,
617
+ UpdateAdminIntegrationListingRequest
618
+ } from '@teemill/integrations';
619
+
620
+ const configuration = new Configuration();
621
+ const apiInstance = new IntegrationsApi(configuration);
622
+
623
+ let listing: string; //Integration listing unique identifier (default to undefined)
624
+ let updateAdminIntegrationListingRequest: UpdateAdminIntegrationListingRequest; //Update an integration listing
625
+
626
+ const { status, data } = await apiInstance.updateAdminIntegrationListing(
627
+ listing,
628
+ updateAdminIntegrationListingRequest
629
+ );
630
+ ```
631
+
632
+ ### Parameters
633
+
634
+ |Name | Type | Description | Notes|
635
+ |------------- | ------------- | ------------- | -------------|
636
+ | **updateAdminIntegrationListingRequest** | **UpdateAdminIntegrationListingRequest**| Update an integration listing | |
637
+ | **listing** | [**string**] | Integration listing unique identifier | defaults to undefined|
638
+
639
+
640
+ ### Return type
641
+
642
+ **AdminIntegrationListing**
643
+
644
+ ### Authorization
645
+
646
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
647
+
648
+ ### HTTP request headers
649
+
650
+ - **Content-Type**: application/json
651
+ - **Accept**: application/json
652
+
653
+
654
+ ### HTTP response details
655
+ | Status code | Description | Response headers |
656
+ |-------------|-------------|------------------|
657
+ |**200** | Successfully retrieved a integration listing | - |
658
+ |**400** | Failed validation | - |
659
+ |**401** | Not authorised to access this resource | - |
660
+ |**403** | Refuse to authorize | - |
661
+ |**404** | Resource does not exist | - |
662
+ |**5XX** | Unknown server error | - |
663
+
664
+ [[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)
665
+
@@ -0,0 +1,20 @@
1
+ # IntegrationsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **integrations** | [**Array<Integration>**](Integration.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { IntegrationsResponse } from '@teemill/integrations';
14
+
15
+ const instance: IntegrationsResponse = {
16
+ integrations,
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)