@teemill/integrations 0.12.2 → 0.12.7

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 (141) hide show
  1. package/.openapi-generator/FILES +6 -21
  2. package/README.md +3 -3
  3. package/api.ts +1649 -0
  4. package/base.ts +86 -0
  5. package/common.ts +150 -0
  6. package/configuration.ts +110 -0
  7. package/dist/api.d.ts +1100 -0
  8. package/dist/api.js +910 -0
  9. package/dist/base.d.ts +66 -0
  10. package/dist/base.js +65 -0
  11. package/dist/common.d.ts +65 -0
  12. package/dist/common.js +161 -0
  13. package/dist/configuration.d.ts +91 -0
  14. package/dist/configuration.js +43 -0
  15. package/dist/esm/api.d.ts +1100 -0
  16. package/dist/esm/api.js +903 -0
  17. package/dist/esm/base.d.ts +66 -0
  18. package/dist/esm/base.js +60 -0
  19. package/dist/esm/common.d.ts +65 -0
  20. package/dist/esm/common.js +149 -0
  21. package/dist/esm/configuration.d.ts +91 -0
  22. package/dist/esm/configuration.js +39 -0
  23. package/dist/esm/index.d.ts +13 -3
  24. package/dist/esm/index.js +13 -3
  25. package/dist/index.d.ts +13 -3
  26. package/dist/index.js +15 -5
  27. package/git_push.sh +57 -0
  28. package/index.ts +18 -0
  29. package/package.json +14 -2
  30. package/tsconfig.json +4 -6
  31. package/dist/apis/IntegrationsApi.d.ts +0 -164
  32. package/dist/apis/IntegrationsApi.js +0 -490
  33. package/dist/apis/index.d.ts +0 -1
  34. package/dist/apis/index.js +0 -19
  35. package/dist/esm/apis/IntegrationsApi.d.ts +0 -164
  36. package/dist/esm/apis/IntegrationsApi.js +0 -486
  37. package/dist/esm/apis/index.d.ts +0 -1
  38. package/dist/esm/apis/index.js +0 -3
  39. package/dist/esm/models/AdminIntegrationListing.d.ts +0 -101
  40. package/dist/esm/models/AdminIntegrationListing.js +0 -85
  41. package/dist/esm/models/AdminIntegrationListingsResponse.d.ts +0 -32
  42. package/dist/esm/models/AdminIntegrationListingsResponse.js +0 -41
  43. package/dist/esm/models/ApiError.d.ts +0 -37
  44. package/dist/esm/models/ApiError.js +0 -42
  45. package/dist/esm/models/CategoriesResponse.d.ts +0 -32
  46. package/dist/esm/models/CategoriesResponse.js +0 -44
  47. package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
  48. package/dist/esm/models/CreateAdminIntegrationListingRequest.js +0 -73
  49. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
  50. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +0 -42
  51. package/dist/esm/models/Icon.d.ts +0 -43
  52. package/dist/esm/models/Icon.js +0 -48
  53. package/dist/esm/models/Integration.d.ts +0 -45
  54. package/dist/esm/models/Integration.js +0 -41
  55. package/dist/esm/models/IntegrationCategoriesResponse.d.ts +0 -32
  56. package/dist/esm/models/IntegrationCategoriesResponse.js +0 -41
  57. package/dist/esm/models/IntegrationCategory.d.ts +0 -52
  58. package/dist/esm/models/IntegrationCategory.js +0 -56
  59. package/dist/esm/models/IntegrationInfo.d.ts +0 -49
  60. package/dist/esm/models/IntegrationInfo.js +0 -52
  61. package/dist/esm/models/IntegrationListing.d.ts +0 -94
  62. package/dist/esm/models/IntegrationListing.js +0 -80
  63. package/dist/esm/models/IntegrationListingGradient.d.ts +0 -43
  64. package/dist/esm/models/IntegrationListingGradient.js +0 -42
  65. package/dist/esm/models/IntegrationListingsResponse.d.ts +0 -32
  66. package/dist/esm/models/IntegrationListingsResponse.js +0 -41
  67. package/dist/esm/models/IntegrationProduct.d.ts +0 -61
  68. package/dist/esm/models/IntegrationProduct.js +0 -57
  69. package/dist/esm/models/IntegrationProductsResponse.d.ts +0 -32
  70. package/dist/esm/models/IntegrationProductsResponse.js +0 -41
  71. package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
  72. package/dist/esm/models/IntegrationsResponse.js +0 -41
  73. package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
  74. package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +0 -55
  75. package/dist/esm/models/index.d.ts +0 -16
  76. package/dist/esm/models/index.js +0 -18
  77. package/dist/esm/runtime.d.ts +0 -187
  78. package/dist/esm/runtime.js +0 -333
  79. package/dist/models/AdminIntegrationListing.d.ts +0 -101
  80. package/dist/models/AdminIntegrationListing.js +0 -92
  81. package/dist/models/AdminIntegrationListingsResponse.d.ts +0 -32
  82. package/dist/models/AdminIntegrationListingsResponse.js +0 -48
  83. package/dist/models/ApiError.d.ts +0 -37
  84. package/dist/models/ApiError.js +0 -49
  85. package/dist/models/CategoriesResponse.d.ts +0 -32
  86. package/dist/models/CategoriesResponse.js +0 -51
  87. package/dist/models/CreateAdminIntegrationListingRequest.d.ts +0 -80
  88. package/dist/models/CreateAdminIntegrationListingRequest.js +0 -80
  89. package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +0 -43
  90. package/dist/models/CreateAdminIntegrationListingRequestGradient.js +0 -49
  91. package/dist/models/Icon.d.ts +0 -43
  92. package/dist/models/Icon.js +0 -55
  93. package/dist/models/Integration.d.ts +0 -45
  94. package/dist/models/Integration.js +0 -48
  95. package/dist/models/IntegrationCategoriesResponse.d.ts +0 -32
  96. package/dist/models/IntegrationCategoriesResponse.js +0 -48
  97. package/dist/models/IntegrationCategory.d.ts +0 -52
  98. package/dist/models/IntegrationCategory.js +0 -63
  99. package/dist/models/IntegrationInfo.d.ts +0 -49
  100. package/dist/models/IntegrationInfo.js +0 -59
  101. package/dist/models/IntegrationListing.d.ts +0 -94
  102. package/dist/models/IntegrationListing.js +0 -87
  103. package/dist/models/IntegrationListingGradient.d.ts +0 -43
  104. package/dist/models/IntegrationListingGradient.js +0 -49
  105. package/dist/models/IntegrationListingsResponse.d.ts +0 -32
  106. package/dist/models/IntegrationListingsResponse.js +0 -48
  107. package/dist/models/IntegrationProduct.d.ts +0 -61
  108. package/dist/models/IntegrationProduct.js +0 -64
  109. package/dist/models/IntegrationProductsResponse.d.ts +0 -32
  110. package/dist/models/IntegrationProductsResponse.js +0 -48
  111. package/dist/models/IntegrationsResponse.d.ts +0 -32
  112. package/dist/models/IntegrationsResponse.js +0 -48
  113. package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +0 -80
  114. package/dist/models/UpdateAdminIntegrationListingRequest.js +0 -62
  115. package/dist/models/index.d.ts +0 -16
  116. package/dist/models/index.js +0 -34
  117. package/dist/runtime.d.ts +0 -187
  118. package/dist/runtime.js +0 -349
  119. package/src/apis/IntegrationsApi.ts +0 -682
  120. package/src/apis/index.ts +0 -3
  121. package/src/index.ts +0 -5
  122. package/src/models/AdminIntegrationListing.ts +0 -183
  123. package/src/models/AdminIntegrationListingsResponse.ts +0 -68
  124. package/src/models/ApiError.ts +0 -69
  125. package/src/models/CategoriesResponse.ts +0 -73
  126. package/src/models/CreateAdminIntegrationListingRequest.ts +0 -140
  127. package/src/models/CreateAdminIntegrationListingRequestGradient.ts +0 -76
  128. package/src/models/Icon.ts +0 -79
  129. package/src/models/Integration.ts +0 -75
  130. package/src/models/IntegrationCategoriesResponse.ts +0 -68
  131. package/src/models/IntegrationCategory.ts +0 -91
  132. package/src/models/IntegrationInfo.ts +0 -93
  133. package/src/models/IntegrationListing.ts +0 -168
  134. package/src/models/IntegrationListingGradient.ts +0 -76
  135. package/src/models/IntegrationListingsResponse.ts +0 -68
  136. package/src/models/IntegrationProduct.ts +0 -104
  137. package/src/models/IntegrationProductsResponse.ts +0 -68
  138. package/src/models/IntegrationsResponse.ts +0 -68
  139. package/src/models/UpdateAdminIntegrationListingRequest.ts +0 -131
  140. package/src/models/index.ts +0 -18
  141. package/src/runtime.ts +0 -441
@@ -1,42 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the IntegrationListingGradient interface.
16
- */
17
- export function instanceOfIntegrationListingGradient(value) {
18
- return true;
19
- }
20
- export function IntegrationListingGradientFromJSON(json) {
21
- return IntegrationListingGradientFromJSONTyped(json, false);
22
- }
23
- export function IntegrationListingGradientFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'from': json['from'] == null ? undefined : json['from'],
29
- 'to': json['to'] == null ? undefined : json['to'],
30
- 'angle': json['angle'] == null ? undefined : json['angle'],
31
- };
32
- }
33
- export function IntegrationListingGradientToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'from': value['from'],
39
- 'to': value['to'],
40
- 'angle': value['angle'],
41
- };
42
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * Integrations API
3
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 0.12.2
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { IntegrationListing } from './IntegrationListing';
13
- /**
14
- *
15
- * @export
16
- * @interface IntegrationListingsResponse
17
- */
18
- export interface IntegrationListingsResponse {
19
- /**
20
- *
21
- * @type {Array<IntegrationListing>}
22
- * @memberof IntegrationListingsResponse
23
- */
24
- listings: Array<IntegrationListing>;
25
- }
26
- /**
27
- * Check if a given object implements the IntegrationListingsResponse interface.
28
- */
29
- export declare function instanceOfIntegrationListingsResponse(value: object): value is IntegrationListingsResponse;
30
- export declare function IntegrationListingsResponseFromJSON(json: any): IntegrationListingsResponse;
31
- export declare function IntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingsResponse;
32
- export declare function IntegrationListingsResponseToJSON(value?: IntegrationListingsResponse | null): any;
@@ -1,41 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { IntegrationListingFromJSON, IntegrationListingToJSON, } from './IntegrationListing';
15
- /**
16
- * Check if a given object implements the IntegrationListingsResponse interface.
17
- */
18
- export function instanceOfIntegrationListingsResponse(value) {
19
- if (!('listings' in value) || value['listings'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function IntegrationListingsResponseFromJSON(json) {
24
- return IntegrationListingsResponseFromJSONTyped(json, false);
25
- }
26
- export function IntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'listings': (json['listings'].map(IntegrationListingFromJSON)),
32
- };
33
- }
34
- export function IntegrationListingsResponseToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'listings': (value['listings'].map(IntegrationListingToJSON)),
40
- };
41
- }
@@ -1,61 +0,0 @@
1
- /**
2
- * Integrations API
3
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 0.12.2
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface IntegrationProduct
16
- */
17
- export interface IntegrationProduct {
18
- /**
19
- * The ID of the product
20
- * @type {number}
21
- * @memberof IntegrationProduct
22
- */
23
- readonly id?: number;
24
- /**
25
- * The SKU of the product
26
- * @type {string}
27
- * @memberof IntegrationProduct
28
- */
29
- sku: string;
30
- /**
31
- * The name of the product
32
- * @type {string}
33
- * @memberof IntegrationProduct
34
- */
35
- name: string;
36
- /**
37
- * The slug of the product that is used in the URL
38
- * @type {string}
39
- * @memberof IntegrationProduct
40
- */
41
- slug: string;
42
- /**
43
- * The user facing description of the product
44
- * @type {string}
45
- * @memberof IntegrationProduct
46
- */
47
- description: string;
48
- /**
49
- * The price of the product in GBP
50
- * @type {number}
51
- * @memberof IntegrationProduct
52
- */
53
- price: number;
54
- }
55
- /**
56
- * Check if a given object implements the IntegrationProduct interface.
57
- */
58
- export declare function instanceOfIntegrationProduct(value: object): value is IntegrationProduct;
59
- export declare function IntegrationProductFromJSON(json: any): IntegrationProduct;
60
- export declare function IntegrationProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProduct;
61
- export declare function IntegrationProductToJSON(value?: Omit<IntegrationProduct, 'id'> | null): any;
@@ -1,57 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the IntegrationProduct interface.
16
- */
17
- export function instanceOfIntegrationProduct(value) {
18
- if (!('sku' in value) || value['sku'] === undefined)
19
- return false;
20
- if (!('name' in value) || value['name'] === undefined)
21
- return false;
22
- if (!('slug' in value) || value['slug'] === undefined)
23
- return false;
24
- if (!('description' in value) || value['description'] === undefined)
25
- return false;
26
- if (!('price' in value) || value['price'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- export function IntegrationProductFromJSON(json) {
31
- return IntegrationProductFromJSONTyped(json, false);
32
- }
33
- export function IntegrationProductFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'id': json['id'] == null ? undefined : json['id'],
39
- 'sku': json['sku'],
40
- 'name': json['name'],
41
- 'slug': json['slug'],
42
- 'description': json['description'],
43
- 'price': json['price'],
44
- };
45
- }
46
- export function IntegrationProductToJSON(value) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'sku': value['sku'],
52
- 'name': value['name'],
53
- 'slug': value['slug'],
54
- 'description': value['description'],
55
- 'price': value['price'],
56
- };
57
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * Integrations API
3
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 0.12.2
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { IntegrationProduct } from './IntegrationProduct';
13
- /**
14
- *
15
- * @export
16
- * @interface IntegrationProductsResponse
17
- */
18
- export interface IntegrationProductsResponse {
19
- /**
20
- *
21
- * @type {Array<IntegrationProduct>}
22
- * @memberof IntegrationProductsResponse
23
- */
24
- products: Array<IntegrationProduct>;
25
- }
26
- /**
27
- * Check if a given object implements the IntegrationProductsResponse interface.
28
- */
29
- export declare function instanceOfIntegrationProductsResponse(value: object): value is IntegrationProductsResponse;
30
- export declare function IntegrationProductsResponseFromJSON(json: any): IntegrationProductsResponse;
31
- export declare function IntegrationProductsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProductsResponse;
32
- export declare function IntegrationProductsResponseToJSON(value?: IntegrationProductsResponse | null): any;
@@ -1,41 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { IntegrationProductFromJSON, IntegrationProductToJSON, } from './IntegrationProduct';
15
- /**
16
- * Check if a given object implements the IntegrationProductsResponse interface.
17
- */
18
- export function instanceOfIntegrationProductsResponse(value) {
19
- if (!('products' in value) || value['products'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function IntegrationProductsResponseFromJSON(json) {
24
- return IntegrationProductsResponseFromJSONTyped(json, false);
25
- }
26
- export function IntegrationProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'products': (json['products'].map(IntegrationProductFromJSON)),
32
- };
33
- }
34
- export function IntegrationProductsResponseToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'products': (value['products'].map(IntegrationProductToJSON)),
40
- };
41
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * Integrations API
3
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 0.12.2
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Integration } from './Integration';
13
- /**
14
- *
15
- * @export
16
- * @interface IntegrationsResponse
17
- */
18
- export interface IntegrationsResponse {
19
- /**
20
- *
21
- * @type {Array<Integration>}
22
- * @memberof IntegrationsResponse
23
- */
24
- integrations: Array<Integration>;
25
- }
26
- /**
27
- * Check if a given object implements the IntegrationsResponse interface.
28
- */
29
- export declare function instanceOfIntegrationsResponse(value: object): value is IntegrationsResponse;
30
- export declare function IntegrationsResponseFromJSON(json: any): IntegrationsResponse;
31
- export declare function IntegrationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationsResponse;
32
- export declare function IntegrationsResponseToJSON(value?: IntegrationsResponse | null): any;
@@ -1,41 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { IntegrationFromJSON, IntegrationToJSON, } from './Integration';
15
- /**
16
- * Check if a given object implements the IntegrationsResponse interface.
17
- */
18
- export function instanceOfIntegrationsResponse(value) {
19
- if (!('integrations' in value) || value['integrations'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function IntegrationsResponseFromJSON(json) {
24
- return IntegrationsResponseFromJSONTyped(json, false);
25
- }
26
- export function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'integrations': (json['integrations'].map(IntegrationFromJSON)),
32
- };
33
- }
34
- export function IntegrationsResponseToJSON(value) {
35
- if (value == null) {
36
- return value;
37
- }
38
- return {
39
- 'integrations': (value['integrations'].map(IntegrationToJSON)),
40
- };
41
- }
@@ -1,80 +0,0 @@
1
- /**
2
- * Integrations API
3
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
- *
5
- * The version of the OpenAPI document: 0.12.2
6
- * Contact: hello@teemill.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { CreateAdminIntegrationListingRequestGradient } from './CreateAdminIntegrationListingRequestGradient';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateAdminIntegrationListingRequest
17
- */
18
- export interface UpdateAdminIntegrationListingRequest {
19
- /**
20
- * The name of the integration listing
21
- * @type {string}
22
- * @memberof UpdateAdminIntegrationListingRequest
23
- */
24
- name?: string;
25
- /**
26
- * The description of the integration listing
27
- * @type {string}
28
- * @memberof UpdateAdminIntegrationListingRequest
29
- */
30
- description?: string;
31
- /**
32
- * The html content of the integration listing
33
- * @type {string}
34
- * @memberof UpdateAdminIntegrationListingRequest
35
- */
36
- content?: string;
37
- /**
38
- * The code of the integration
39
- * @type {string}
40
- * @memberof UpdateAdminIntegrationListingRequest
41
- */
42
- integration?: string;
43
- /**
44
- * The author of the integration listing
45
- * @type {string}
46
- * @memberof UpdateAdminIntegrationListingRequest
47
- */
48
- author?: string;
49
- /**
50
- * The slug of the integration listing that is used in the URL
51
- * @type {string}
52
- * @memberof UpdateAdminIntegrationListingRequest
53
- */
54
- slug?: string;
55
- /**
56
- *
57
- * @type {CreateAdminIntegrationListingRequestGradient}
58
- * @memberof UpdateAdminIntegrationListingRequest
59
- */
60
- gradient?: CreateAdminIntegrationListingRequestGradient;
61
- /**
62
- * The icon of the integration listing
63
- * @type {string}
64
- * @memberof UpdateAdminIntegrationListingRequest
65
- */
66
- icon?: string;
67
- /**
68
- * The categories that this listing belongs to
69
- * @type {Array<string>}
70
- * @memberof UpdateAdminIntegrationListingRequest
71
- */
72
- categories?: Array<string>;
73
- }
74
- /**
75
- * Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
76
- */
77
- export declare function instanceOfUpdateAdminIntegrationListingRequest(value: object): value is UpdateAdminIntegrationListingRequest;
78
- export declare function UpdateAdminIntegrationListingRequestFromJSON(json: any): UpdateAdminIntegrationListingRequest;
79
- export declare function UpdateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminIntegrationListingRequest;
80
- export declare function UpdateAdminIntegrationListingRequestToJSON(value?: UpdateAdminIntegrationListingRequest | null): any;
@@ -1,55 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Integrations API
5
- * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
- *
7
- * The version of the OpenAPI document: 0.12.2
8
- * Contact: hello@teemill.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { CreateAdminIntegrationListingRequestGradientFromJSON, CreateAdminIntegrationListingRequestGradientToJSON, } from './CreateAdminIntegrationListingRequestGradient';
15
- /**
16
- * Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
17
- */
18
- export function instanceOfUpdateAdminIntegrationListingRequest(value) {
19
- return true;
20
- }
21
- export function UpdateAdminIntegrationListingRequestFromJSON(json) {
22
- return UpdateAdminIntegrationListingRequestFromJSONTyped(json, false);
23
- }
24
- export function UpdateAdminIntegrationListingRequestFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'name': json['name'] == null ? undefined : json['name'],
30
- 'description': json['description'] == null ? undefined : json['description'],
31
- 'content': json['content'] == null ? undefined : json['content'],
32
- 'integration': json['integration'] == null ? undefined : json['integration'],
33
- 'author': json['author'] == null ? undefined : json['author'],
34
- 'slug': json['slug'] == null ? undefined : json['slug'],
35
- 'gradient': json['gradient'] == null ? undefined : CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
36
- 'icon': json['icon'] == null ? undefined : json['icon'],
37
- 'categories': json['categories'] == null ? undefined : json['categories'],
38
- };
39
- }
40
- export function UpdateAdminIntegrationListingRequestToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'name': value['name'],
46
- 'description': value['description'],
47
- 'content': value['content'],
48
- 'integration': value['integration'],
49
- 'author': value['author'],
50
- 'slug': value['slug'],
51
- 'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
52
- 'icon': value['icon'],
53
- 'categories': value['categories'],
54
- };
55
- }
@@ -1,16 +0,0 @@
1
- export * from './AdminIntegrationListing';
2
- export * from './AdminIntegrationListingsResponse';
3
- export * from './ApiError';
4
- export * from './CreateAdminIntegrationListingRequest';
5
- export * from './CreateAdminIntegrationListingRequestGradient';
6
- export * from './Icon';
7
- export * from './Integration';
8
- export * from './IntegrationCategoriesResponse';
9
- export * from './IntegrationCategory';
10
- export * from './IntegrationListing';
11
- export * from './IntegrationListingGradient';
12
- export * from './IntegrationListingsResponse';
13
- export * from './IntegrationProduct';
14
- export * from './IntegrationProductsResponse';
15
- export * from './IntegrationsResponse';
16
- export * from './UpdateAdminIntegrationListingRequest';
@@ -1,18 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export * from './AdminIntegrationListing';
4
- export * from './AdminIntegrationListingsResponse';
5
- export * from './ApiError';
6
- export * from './CreateAdminIntegrationListingRequest';
7
- export * from './CreateAdminIntegrationListingRequestGradient';
8
- export * from './Icon';
9
- export * from './Integration';
10
- export * from './IntegrationCategoriesResponse';
11
- export * from './IntegrationCategory';
12
- export * from './IntegrationListing';
13
- export * from './IntegrationListingGradient';
14
- export * from './IntegrationListingsResponse';
15
- export * from './IntegrationProduct';
16
- export * from './IntegrationProductsResponse';
17
- export * from './IntegrationsResponse';
18
- export * from './UpdateAdminIntegrationListingRequest';