@teemill/integrations 0.8.4 → 0.10.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 (84) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/IntegrationsApi.d.ts +75 -2
  5. package/dist/apis/IntegrationsApi.js +231 -1
  6. package/dist/esm/apis/IntegrationsApi.d.ts +75 -2
  7. package/dist/esm/apis/IntegrationsApi.js +232 -2
  8. package/dist/esm/models/ApiError.d.ts +2 -2
  9. package/dist/esm/models/ApiError.js +2 -2
  10. package/dist/esm/models/CreateAdminIntegrationListingRequest.d.ts +62 -0
  11. package/dist/esm/models/CreateAdminIntegrationListingRequest.js +61 -0
  12. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.d.ts +37 -0
  13. package/dist/esm/models/CreateAdminIntegrationListingRequestGradient.js +40 -0
  14. package/dist/esm/models/Integration.d.ts +10 -27
  15. package/dist/esm/models/Integration.js +10 -26
  16. package/dist/esm/models/IntegrationCategoriesResponse.d.ts +2 -2
  17. package/dist/esm/models/IntegrationCategoriesResponse.js +2 -2
  18. package/dist/esm/models/IntegrationCategory.d.ts +2 -2
  19. package/dist/esm/models/IntegrationCategory.js +4 -4
  20. package/dist/esm/models/IntegrationListing.d.ts +2 -2
  21. package/dist/esm/models/IntegrationListing.js +11 -11
  22. package/dist/esm/models/IntegrationListingGradient.d.ts +2 -2
  23. package/dist/esm/models/IntegrationListingGradient.js +1 -1
  24. package/dist/esm/models/IntegrationListingsResponse.d.ts +2 -2
  25. package/dist/esm/models/IntegrationListingsResponse.js +2 -2
  26. package/dist/esm/models/IntegrationProduct.d.ts +2 -2
  27. package/dist/esm/models/IntegrationProduct.js +6 -6
  28. package/dist/esm/models/IntegrationProductsResponse.d.ts +2 -2
  29. package/dist/esm/models/IntegrationProductsResponse.js +2 -2
  30. package/dist/esm/models/IntegrationsResponse.d.ts +2 -2
  31. package/dist/esm/models/IntegrationsResponse.js +8 -11
  32. package/dist/esm/models/UpdateAdminIntegrationListingRequest.d.ts +62 -0
  33. package/dist/esm/models/UpdateAdminIntegrationListingRequest.js +49 -0
  34. package/dist/esm/models/index.d.ts +5 -0
  35. package/dist/esm/models/index.js +5 -0
  36. package/dist/esm/runtime.d.ts +1 -1
  37. package/dist/esm/runtime.js +1 -1
  38. package/dist/models/ApiError.d.ts +2 -2
  39. package/dist/models/ApiError.js +2 -2
  40. package/dist/models/CreateAdminIntegrationListingRequest.d.ts +62 -0
  41. package/dist/models/CreateAdminIntegrationListingRequest.js +68 -0
  42. package/dist/models/CreateAdminIntegrationListingRequestGradient.d.ts +37 -0
  43. package/dist/models/CreateAdminIntegrationListingRequestGradient.js +47 -0
  44. package/dist/models/Integration.d.ts +10 -27
  45. package/dist/models/Integration.js +10 -26
  46. package/dist/models/IntegrationCategoriesResponse.d.ts +2 -2
  47. package/dist/models/IntegrationCategoriesResponse.js +2 -2
  48. package/dist/models/IntegrationCategory.d.ts +2 -2
  49. package/dist/models/IntegrationCategory.js +4 -4
  50. package/dist/models/IntegrationListing.d.ts +2 -2
  51. package/dist/models/IntegrationListing.js +11 -11
  52. package/dist/models/IntegrationListingGradient.d.ts +2 -2
  53. package/dist/models/IntegrationListingGradient.js +1 -1
  54. package/dist/models/IntegrationListingsResponse.d.ts +2 -2
  55. package/dist/models/IntegrationListingsResponse.js +2 -2
  56. package/dist/models/IntegrationProduct.d.ts +2 -2
  57. package/dist/models/IntegrationProduct.js +6 -6
  58. package/dist/models/IntegrationProductsResponse.d.ts +2 -2
  59. package/dist/models/IntegrationProductsResponse.js +2 -2
  60. package/dist/models/IntegrationsResponse.d.ts +2 -2
  61. package/dist/models/IntegrationsResponse.js +8 -11
  62. package/dist/models/UpdateAdminIntegrationListingRequest.d.ts +62 -0
  63. package/dist/models/UpdateAdminIntegrationListingRequest.js +56 -0
  64. package/dist/models/index.d.ts +5 -0
  65. package/dist/models/index.js +5 -0
  66. package/dist/runtime.d.ts +1 -1
  67. package/dist/runtime.js +1 -1
  68. package/package.json +2 -2
  69. package/src/apis/IntegrationsApi.ts +323 -1
  70. package/src/models/ApiError.ts +3 -3
  71. package/src/models/CreateAdminIntegrationListingRequest.ts +113 -0
  72. package/src/models/CreateAdminIntegrationListingRequestGradient.ts +68 -0
  73. package/src/models/Integration.ts +18 -58
  74. package/src/models/IntegrationCategoriesResponse.ts +3 -3
  75. package/src/models/IntegrationCategory.ts +5 -5
  76. package/src/models/IntegrationListing.ts +12 -12
  77. package/src/models/IntegrationListingGradient.ts +2 -2
  78. package/src/models/IntegrationListingsResponse.ts +3 -3
  79. package/src/models/IntegrationProduct.ts +7 -7
  80. package/src/models/IntegrationProductsResponse.ts +3 -3
  81. package/src/models/IntegrationsResponse.ts +9 -14
  82. package/src/models/UpdateAdminIntegrationListingRequest.ts +107 -0
  83. package/src/models/index.ts +5 -0
  84. package/src/runtime.ts +1 -1
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,7 +46,7 @@ export type IntegrationCategoryTypeEnum = typeof IntegrationCategoryTypeEnum[key
46
46
  /**
47
47
  * Check if a given object implements the IntegrationCategory interface.
48
48
  */
49
- export declare function instanceOfIntegrationCategory(value: object): boolean;
49
+ export declare function instanceOfIntegrationCategory(value: object): value is IntegrationCategory;
50
50
  export declare function IntegrationCategoryFromJSON(json: any): IntegrationCategory;
51
51
  export declare function IntegrationCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCategory;
52
52
  export declare function IntegrationCategoryToJSON(value?: IntegrationCategory | null): any;
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,11 +23,11 @@ export const IntegrationCategoryTypeEnum = {
23
23
  * Check if a given object implements the IntegrationCategory interface.
24
24
  */
25
25
  export function instanceOfIntegrationCategory(value) {
26
- if (!('name' in value))
26
+ if (!('name' in value) || value['name'] === undefined)
27
27
  return false;
28
- if (!('slug' in value))
28
+ if (!('slug' in value) || value['slug'] === undefined)
29
29
  return false;
30
- if (!('type' in value))
30
+ if (!('type' in value) || value['type'] === undefined)
31
31
  return false;
32
32
  return true;
33
33
  }
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -87,7 +87,7 @@ export interface IntegrationListing {
87
87
  /**
88
88
  * Check if a given object implements the IntegrationListing interface.
89
89
  */
90
- export declare function instanceOfIntegrationListing(value: object): boolean;
90
+ export declare function instanceOfIntegrationListing(value: object): value is IntegrationListing;
91
91
  export declare function IntegrationListingFromJSON(json: any): IntegrationListing;
92
92
  export declare function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListing;
93
93
  export declare function IntegrationListingToJSON(value?: Omit<IntegrationListing, 'id'> | null): any;
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,25 +17,25 @@ import { IntegrationListingGradientFromJSON, IntegrationListingGradientToJSON, }
17
17
  * Check if a given object implements the IntegrationListing interface.
18
18
  */
19
19
  export function instanceOfIntegrationListing(value) {
20
- if (!('slug' in value))
20
+ if (!('slug' in value) || value['slug'] === undefined)
21
21
  return false;
22
- if (!('code' in value))
22
+ if (!('code' in value) || value['code'] === undefined)
23
23
  return false;
24
- if (!('name' in value))
24
+ if (!('name' in value) || value['name'] === undefined)
25
25
  return false;
26
- if (!('description' in value))
26
+ if (!('description' in value) || value['description'] === undefined)
27
27
  return false;
28
- if (!('content' in value))
28
+ if (!('content' in value) || value['content'] === undefined)
29
29
  return false;
30
- if (!('author' in value))
30
+ if (!('author' in value) || value['author'] === undefined)
31
31
  return false;
32
- if (!('icon' in value))
32
+ if (!('icon' in value) || value['icon'] === undefined)
33
33
  return false;
34
- if (!('gradient' in value))
34
+ if (!('gradient' in value) || value['gradient'] === undefined)
35
35
  return false;
36
- if (!('dependencies' in value))
36
+ if (!('dependencies' in value) || value['dependencies'] === undefined)
37
37
  return false;
38
- if (!('categories' in value))
38
+ if (!('categories' in value) || value['categories'] === undefined)
39
39
  return false;
40
40
  return true;
41
41
  }
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ export interface IntegrationListingGradient {
31
31
  /**
32
32
  * Check if a given object implements the IntegrationListingGradient interface.
33
33
  */
34
- export declare function instanceOfIntegrationListingGradient(value: object): boolean;
34
+ export declare function instanceOfIntegrationListingGradient(value: object): value is IntegrationListingGradient;
35
35
  export declare function IntegrationListingGradientFromJSON(json: any): IntegrationListingGradient;
36
36
  export declare function IntegrationListingGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingGradient;
37
37
  export declare function IntegrationListingGradientToJSON(value?: IntegrationListingGradient | null): any;
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ export interface IntegrationListingsResponse {
26
26
  /**
27
27
  * Check if a given object implements the IntegrationListingsResponse interface.
28
28
  */
29
- export declare function instanceOfIntegrationListingsResponse(value: object): boolean;
29
+ export declare function instanceOfIntegrationListingsResponse(value: object): value is IntegrationListingsResponse;
30
30
  export declare function IntegrationListingsResponseFromJSON(json: any): IntegrationListingsResponse;
31
31
  export declare function IntegrationListingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingsResponse;
32
32
  export declare function IntegrationListingsResponseToJSON(value?: IntegrationListingsResponse | null): any;
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ import { IntegrationListingFromJSON, IntegrationListingToJSON, } from './Integra
16
16
  * Check if a given object implements the IntegrationListingsResponse interface.
17
17
  */
18
18
  export function instanceOfIntegrationListingsResponse(value) {
19
- if (!('listings' in value))
19
+ if (!('listings' in value) || value['listings'] === undefined)
20
20
  return false;
21
21
  return true;
22
22
  }
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -55,7 +55,7 @@ export interface IntegrationProduct {
55
55
  /**
56
56
  * Check if a given object implements the IntegrationProduct interface.
57
57
  */
58
- export declare function instanceOfIntegrationProduct(value: object): boolean;
58
+ export declare function instanceOfIntegrationProduct(value: object): value is IntegrationProduct;
59
59
  export declare function IntegrationProductFromJSON(json: any): IntegrationProduct;
60
60
  export declare function IntegrationProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProduct;
61
61
  export declare function IntegrationProductToJSON(value?: Omit<IntegrationProduct, 'id'> | null): any;
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -15,15 +15,15 @@
15
15
  * Check if a given object implements the IntegrationProduct interface.
16
16
  */
17
17
  export function instanceOfIntegrationProduct(value) {
18
- if (!('sku' in value))
18
+ if (!('sku' in value) || value['sku'] === undefined)
19
19
  return false;
20
- if (!('name' in value))
20
+ if (!('name' in value) || value['name'] === undefined)
21
21
  return false;
22
- if (!('slug' in value))
22
+ if (!('slug' in value) || value['slug'] === undefined)
23
23
  return false;
24
- if (!('description' in value))
24
+ if (!('description' in value) || value['description'] === undefined)
25
25
  return false;
26
- if (!('price' in value))
26
+ if (!('price' in value) || value['price'] === undefined)
27
27
  return false;
28
28
  return true;
29
29
  }
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ export interface IntegrationProductsResponse {
26
26
  /**
27
27
  * Check if a given object implements the IntegrationProductsResponse interface.
28
28
  */
29
- export declare function instanceOfIntegrationProductsResponse(value: object): boolean;
29
+ export declare function instanceOfIntegrationProductsResponse(value: object): value is IntegrationProductsResponse;
30
30
  export declare function IntegrationProductsResponseFromJSON(json: any): IntegrationProductsResponse;
31
31
  export declare function IntegrationProductsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationProductsResponse;
32
32
  export declare function IntegrationProductsResponseToJSON(value?: IntegrationProductsResponse | null): any;
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ import { IntegrationProductFromJSON, IntegrationProductToJSON, } from './Integra
16
16
  * Check if a given object implements the IntegrationProductsResponse interface.
17
17
  */
18
18
  export function instanceOfIntegrationProductsResponse(value) {
19
- if (!('products' in value))
19
+ if (!('products' in value) || value['products'] === undefined)
20
20
  return false;
21
21
  return true;
22
22
  }
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.7.0
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ export interface IntegrationsResponse {
26
26
  /**
27
27
  * Check if a given object implements the IntegrationsResponse interface.
28
28
  */
29
- export declare function instanceOfIntegrationsResponse(value: object): boolean;
29
+ export declare function instanceOfIntegrationsResponse(value: object): value is IntegrationsResponse;
30
30
  export declare function IntegrationsResponseFromJSON(json: any): IntegrationsResponse;
31
31
  export declare function IntegrationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationsResponse;
32
32
  export declare function IntegrationsResponseToJSON(value?: IntegrationsResponse | null): any;
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.7.0
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,15 +16,15 @@ import { IntegrationFromJSON, IntegrationToJSON, } from './Integration';
16
16
  * Check if a given object implements the IntegrationsResponse interface.
17
17
  */
18
18
  export function instanceOfIntegrationsResponse(value) {
19
- let isInstance = true;
20
- isInstance = isInstance && "integrations" in value;
21
- return isInstance;
19
+ if (!('integrations' in value) || value['integrations'] === undefined)
20
+ return false;
21
+ return true;
22
22
  }
23
23
  export function IntegrationsResponseFromJSON(json) {
24
24
  return IntegrationsResponseFromJSONTyped(json, false);
25
25
  }
26
26
  export function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if ((json === undefined) || (json === null)) {
27
+ if (json == null) {
28
28
  return json;
29
29
  }
30
30
  return {
@@ -32,13 +32,10 @@ export function IntegrationsResponseFromJSONTyped(json, ignoreDiscriminator) {
32
32
  };
33
33
  }
34
34
  export function IntegrationsResponseToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
35
+ if (value == null) {
36
+ return value;
40
37
  }
41
38
  return {
42
- 'integrations': (value.integrations.map(IntegrationToJSON)),
39
+ 'integrations': (value['integrations'].map(IntegrationToJSON)),
43
40
  };
44
41
  }
@@ -0,0 +1,62 @@
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.10.0
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 slug of the integration listing that is used in the URL
39
+ * @type {string}
40
+ * @memberof UpdateAdminIntegrationListingRequest
41
+ */
42
+ slug?: string;
43
+ /**
44
+ *
45
+ * @type {CreateAdminIntegrationListingRequestGradient}
46
+ * @memberof UpdateAdminIntegrationListingRequest
47
+ */
48
+ gradient?: CreateAdminIntegrationListingRequestGradient;
49
+ /**
50
+ * The icon of the integration listing
51
+ * @type {string}
52
+ * @memberof UpdateAdminIntegrationListingRequest
53
+ */
54
+ icon?: string;
55
+ }
56
+ /**
57
+ * Check if a given object implements the UpdateAdminIntegrationListingRequest interface.
58
+ */
59
+ export declare function instanceOfUpdateAdminIntegrationListingRequest(value: object): value is UpdateAdminIntegrationListingRequest;
60
+ export declare function UpdateAdminIntegrationListingRequestFromJSON(json: any): UpdateAdminIntegrationListingRequest;
61
+ export declare function UpdateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAdminIntegrationListingRequest;
62
+ export declare function UpdateAdminIntegrationListingRequestToJSON(value?: UpdateAdminIntegrationListingRequest | null): any;
@@ -0,0 +1,49 @@
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.10.0
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
+ 'slug': json['slug'] == null ? undefined : json['slug'],
33
+ 'gradient': json['gradient'] == null ? undefined : CreateAdminIntegrationListingRequestGradientFromJSON(json['gradient']),
34
+ 'icon': json['icon'] == null ? undefined : json['icon'],
35
+ };
36
+ }
37
+ export function UpdateAdminIntegrationListingRequestToJSON(value) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'name': value['name'],
43
+ 'description': value['description'],
44
+ 'content': value['content'],
45
+ 'slug': value['slug'],
46
+ 'gradient': CreateAdminIntegrationListingRequestGradientToJSON(value['gradient']),
47
+ 'icon': value['icon'],
48
+ };
49
+ }
@@ -1,4 +1,7 @@
1
1
  export * from './ApiError';
2
+ export * from './CreateAdminIntegrationListingRequest';
3
+ export * from './CreateAdminIntegrationListingRequestGradient';
4
+ export * from './Integration';
2
5
  export * from './IntegrationCategoriesResponse';
3
6
  export * from './IntegrationCategory';
4
7
  export * from './IntegrationListing';
@@ -6,3 +9,5 @@ export * from './IntegrationListingGradient';
6
9
  export * from './IntegrationListingsResponse';
7
10
  export * from './IntegrationProduct';
8
11
  export * from './IntegrationProductsResponse';
12
+ export * from './IntegrationsResponse';
13
+ export * from './UpdateAdminIntegrationListingRequest';
@@ -1,6 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export * from './ApiError';
4
+ export * from './CreateAdminIntegrationListingRequest';
5
+ export * from './CreateAdminIntegrationListingRequestGradient';
6
+ export * from './Integration';
4
7
  export * from './IntegrationCategoriesResponse';
5
8
  export * from './IntegrationCategory';
6
9
  export * from './IntegrationListing';
@@ -8,3 +11,5 @@ export * from './IntegrationListingGradient';
8
11
  export * from './IntegrationListingsResponse';
9
12
  export * from './IntegrationProduct';
10
13
  export * from './IntegrationProductsResponse';
14
+ export * from './IntegrationsResponse';
15
+ export * from './UpdateAdminIntegrationListingRequest';
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Integrations API
5
5
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 0.8.4
7
+ * The version of the OpenAPI document: 0.10.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Integrations API
3
3
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.8.4
5
+ * The version of the OpenAPI document: 0.10.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ export interface ApiError {
31
31
  /**
32
32
  * Check if a given object implements the ApiError interface.
33
33
  */
34
- export declare function instanceOfApiError(value: object): boolean;
34
+ export declare function instanceOfApiError(value: object): value is ApiError;
35
35
  export declare function ApiErrorFromJSON(json: any): ApiError;
36
36
  export declare function ApiErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiError;
37
37
  export declare function ApiErrorToJSON(value?: ApiError | null): any;
@@ -5,7 +5,7 @@
5
5
  * Integrations API
6
6
  * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
7
  *
8
- * The version of the OpenAPI document: 0.8.4
8
+ * The version of the OpenAPI document: 0.10.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ exports.ApiErrorToJSON = exports.ApiErrorFromJSONTyped = exports.ApiErrorFromJSO
18
18
  * Check if a given object implements the ApiError interface.
19
19
  */
20
20
  function instanceOfApiError(value) {
21
- if (!('message' in value))
21
+ if (!('message' in value) || value['message'] === undefined)
22
22
  return false;
23
23
  return true;
24
24
  }
@@ -0,0 +1,62 @@
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.10.0
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 CreateAdminIntegrationListingRequest
17
+ */
18
+ export interface CreateAdminIntegrationListingRequest {
19
+ /**
20
+ * The name of the integration listing
21
+ * @type {string}
22
+ * @memberof CreateAdminIntegrationListingRequest
23
+ */
24
+ name: string;
25
+ /**
26
+ * The description of the integration listing
27
+ * @type {string}
28
+ * @memberof CreateAdminIntegrationListingRequest
29
+ */
30
+ description: string;
31
+ /**
32
+ * The html content of the integration listing
33
+ * @type {string}
34
+ * @memberof CreateAdminIntegrationListingRequest
35
+ */
36
+ content: string;
37
+ /**
38
+ * The slug of the integration listing that is used in the URL
39
+ * @type {string}
40
+ * @memberof CreateAdminIntegrationListingRequest
41
+ */
42
+ slug: string;
43
+ /**
44
+ *
45
+ * @type {CreateAdminIntegrationListingRequestGradient}
46
+ * @memberof CreateAdminIntegrationListingRequest
47
+ */
48
+ gradient: CreateAdminIntegrationListingRequestGradient;
49
+ /**
50
+ * The icon of the integration listing
51
+ * @type {string}
52
+ * @memberof CreateAdminIntegrationListingRequest
53
+ */
54
+ icon: string;
55
+ }
56
+ /**
57
+ * Check if a given object implements the CreateAdminIntegrationListingRequest interface.
58
+ */
59
+ export declare function instanceOfCreateAdminIntegrationListingRequest(value: object): value is CreateAdminIntegrationListingRequest;
60
+ export declare function CreateAdminIntegrationListingRequestFromJSON(json: any): CreateAdminIntegrationListingRequest;
61
+ export declare function CreateAdminIntegrationListingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdminIntegrationListingRequest;
62
+ export declare function CreateAdminIntegrationListingRequestToJSON(value?: CreateAdminIntegrationListingRequest | null): any;