@teemill/integrations 0.7.0 → 0.8.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 (36) hide show
  1. package/.openapi-generator/FILES +5 -3
  2. package/README.md +2 -2
  3. package/dist/apis/IntegrationsApi.d.ts +43 -20
  4. package/dist/apis/IntegrationsApi.js +165 -48
  5. package/dist/models/ApiError.d.ts +1 -1
  6. package/dist/models/ApiError.js +1 -1
  7. package/dist/models/CategoriesResponse.d.ts +32 -0
  8. package/dist/models/CategoriesResponse.js +51 -0
  9. package/dist/models/IntegrationCategory.d.ts +52 -0
  10. package/dist/models/IntegrationCategory.js +64 -0
  11. package/dist/models/IntegrationListing.d.ts +81 -0
  12. package/dist/models/IntegrationListing.js +75 -0
  13. package/dist/models/IntegrationListingGradient.d.ts +37 -0
  14. package/dist/models/IntegrationListingGradient.js +52 -0
  15. package/dist/models/IntegrationListingsResponse.d.ts +32 -0
  16. package/dist/models/IntegrationListingsResponse.js +51 -0
  17. package/dist/models/IntegrationProduct.d.ts +1 -1
  18. package/dist/models/IntegrationProduct.js +1 -1
  19. package/dist/models/IntegrationProductsResponse.d.ts +1 -1
  20. package/dist/models/IntegrationProductsResponse.js +1 -1
  21. package/dist/models/index.d.ts +5 -3
  22. package/dist/models/index.js +5 -3
  23. package/dist/runtime.d.ts +1 -1
  24. package/dist/runtime.js +1 -1
  25. package/package.json +1 -1
  26. package/src/apis/IntegrationsApi.ts +167 -66
  27. package/src/models/ApiError.ts +1 -1
  28. package/src/models/CategoriesResponse.ts +73 -0
  29. package/src/models/IntegrationCategory.ts +96 -0
  30. package/src/models/IntegrationListing.ts +149 -0
  31. package/src/models/IntegrationListingGradient.ts +73 -0
  32. package/src/models/IntegrationListingsResponse.ts +72 -0
  33. package/src/models/IntegrationProduct.ts +1 -1
  34. package/src/models/IntegrationProductsResponse.ts +1 -1
  35. package/src/models/index.ts +5 -3
  36. package/src/runtime.ts +1 -1
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Integrations API
6
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 0.8.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.IntegrationCategoryToJSON = exports.IntegrationCategoryFromJSONTyped = exports.IntegrationCategoryFromJSON = exports.instanceOfIntegrationCategory = exports.IntegrationCategoryTypeEnum = void 0;
17
+ /**
18
+ * @export
19
+ */
20
+ exports.IntegrationCategoryTypeEnum = {
21
+ Featured: 'featured',
22
+ Grid: 'grid',
23
+ Column: 'column'
24
+ };
25
+ /**
26
+ * Check if a given object implements the IntegrationCategory interface.
27
+ */
28
+ function instanceOfIntegrationCategory(value) {
29
+ var isInstance = true;
30
+ isInstance = isInstance && "name" in value;
31
+ isInstance = isInstance && "slug" in value;
32
+ isInstance = isInstance && "type" in value;
33
+ return isInstance;
34
+ }
35
+ exports.instanceOfIntegrationCategory = instanceOfIntegrationCategory;
36
+ function IntegrationCategoryFromJSON(json) {
37
+ return IntegrationCategoryFromJSONTyped(json, false);
38
+ }
39
+ exports.IntegrationCategoryFromJSON = IntegrationCategoryFromJSON;
40
+ function IntegrationCategoryFromJSONTyped(json, ignoreDiscriminator) {
41
+ if ((json === undefined) || (json === null)) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'name': json['name'],
46
+ 'slug': json['slug'],
47
+ 'type': json['type'],
48
+ };
49
+ }
50
+ exports.IntegrationCategoryFromJSONTyped = IntegrationCategoryFromJSONTyped;
51
+ function IntegrationCategoryToJSON(value) {
52
+ if (value === undefined) {
53
+ return undefined;
54
+ }
55
+ if (value === null) {
56
+ return null;
57
+ }
58
+ return {
59
+ 'name': value.name,
60
+ 'slug': value.slug,
61
+ 'type': value.type,
62
+ };
63
+ }
64
+ exports.IntegrationCategoryToJSON = IntegrationCategoryToJSON;
@@ -0,0 +1,81 @@
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.8.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 { IntegrationCategory } from './IntegrationCategory';
13
+ import type { IntegrationListingGradient } from './IntegrationListingGradient';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface IntegrationListing
18
+ */
19
+ export interface IntegrationListing {
20
+ /**
21
+ *
22
+ * @type {number}
23
+ * @memberof IntegrationListing
24
+ */
25
+ readonly id?: number;
26
+ /**
27
+ * The code of the integration
28
+ * @type {string}
29
+ * @memberof IntegrationListing
30
+ */
31
+ code: string;
32
+ /**
33
+ * The name of the integration listing
34
+ * @type {string}
35
+ * @memberof IntegrationListing
36
+ */
37
+ name: string;
38
+ /**
39
+ * The description of the integration listing
40
+ * @type {string}
41
+ * @memberof IntegrationListing
42
+ */
43
+ description: string;
44
+ /**
45
+ * The author of the integration listing
46
+ * @type {string}
47
+ * @memberof IntegrationListing
48
+ */
49
+ author: string;
50
+ /**
51
+ *
52
+ * @type {object}
53
+ * @memberof IntegrationListing
54
+ */
55
+ icon: object;
56
+ /**
57
+ *
58
+ * @type {IntegrationListingGradient}
59
+ * @memberof IntegrationListing
60
+ */
61
+ gradient: IntegrationListingGradient;
62
+ /**
63
+ * The dependencies that this integration listing requires
64
+ * @type {Array<string>}
65
+ * @memberof IntegrationListing
66
+ */
67
+ dependencies: Array<string>;
68
+ /**
69
+ * The categories that this listing belongs to
70
+ * @type {Array<IntegrationCategory>}
71
+ * @memberof IntegrationListing
72
+ */
73
+ categories: Array<IntegrationCategory>;
74
+ }
75
+ /**
76
+ * Check if a given object implements the IntegrationListing interface.
77
+ */
78
+ export declare function instanceOfIntegrationListing(value: object): boolean;
79
+ export declare function IntegrationListingFromJSON(json: any): IntegrationListing;
80
+ export declare function IntegrationListingFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListing;
81
+ export declare function IntegrationListingToJSON(value?: IntegrationListing | null): any;
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Integrations API
6
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 0.8.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.IntegrationListingToJSON = exports.IntegrationListingFromJSONTyped = exports.IntegrationListingFromJSON = exports.instanceOfIntegrationListing = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var IntegrationCategory_1 = require("./IntegrationCategory");
19
+ var IntegrationListingGradient_1 = require("./IntegrationListingGradient");
20
+ /**
21
+ * Check if a given object implements the IntegrationListing interface.
22
+ */
23
+ function instanceOfIntegrationListing(value) {
24
+ var isInstance = true;
25
+ isInstance = isInstance && "code" in value;
26
+ isInstance = isInstance && "name" in value;
27
+ isInstance = isInstance && "description" in value;
28
+ isInstance = isInstance && "author" in value;
29
+ isInstance = isInstance && "icon" in value;
30
+ isInstance = isInstance && "gradient" in value;
31
+ isInstance = isInstance && "dependencies" in value;
32
+ isInstance = isInstance && "categories" in value;
33
+ return isInstance;
34
+ }
35
+ exports.instanceOfIntegrationListing = instanceOfIntegrationListing;
36
+ function IntegrationListingFromJSON(json) {
37
+ return IntegrationListingFromJSONTyped(json, false);
38
+ }
39
+ exports.IntegrationListingFromJSON = IntegrationListingFromJSON;
40
+ function IntegrationListingFromJSONTyped(json, ignoreDiscriminator) {
41
+ if ((json === undefined) || (json === null)) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
46
+ 'code': json['code'],
47
+ 'name': json['name'],
48
+ 'description': json['description'],
49
+ 'author': json['author'],
50
+ 'icon': json['icon'],
51
+ 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientFromJSON)(json['gradient']),
52
+ 'dependencies': json['dependencies'],
53
+ 'categories': (json['categories'].map(IntegrationCategory_1.IntegrationCategoryFromJSON)),
54
+ };
55
+ }
56
+ exports.IntegrationListingFromJSONTyped = IntegrationListingFromJSONTyped;
57
+ function IntegrationListingToJSON(value) {
58
+ if (value === undefined) {
59
+ return undefined;
60
+ }
61
+ if (value === null) {
62
+ return null;
63
+ }
64
+ return {
65
+ 'code': value.code,
66
+ 'name': value.name,
67
+ 'description': value.description,
68
+ 'author': value.author,
69
+ 'icon': value.icon,
70
+ 'gradient': (0, IntegrationListingGradient_1.IntegrationListingGradientToJSON)(value.gradient),
71
+ 'dependencies': value.dependencies,
72
+ 'categories': (value.categories.map(IntegrationCategory_1.IntegrationCategoryToJSON)),
73
+ };
74
+ }
75
+ exports.IntegrationListingToJSON = IntegrationListingToJSON;
@@ -0,0 +1,37 @@
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.8.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
+ /**
13
+ * The gradient that is used to display the listing
14
+ * @export
15
+ * @interface IntegrationListingGradient
16
+ */
17
+ export interface IntegrationListingGradient {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IntegrationListingGradient
22
+ */
23
+ from?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof IntegrationListingGradient
28
+ */
29
+ to?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the IntegrationListingGradient interface.
33
+ */
34
+ export declare function instanceOfIntegrationListingGradient(value: object): boolean;
35
+ export declare function IntegrationListingGradientFromJSON(json: any): IntegrationListingGradient;
36
+ export declare function IntegrationListingGradientFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationListingGradient;
37
+ export declare function IntegrationListingGradientToJSON(value?: IntegrationListingGradient | null): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Integrations API
6
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 0.8.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.IntegrationListingGradientToJSON = exports.IntegrationListingGradientFromJSONTyped = exports.IntegrationListingGradientFromJSON = exports.instanceOfIntegrationListingGradient = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the IntegrationListingGradient interface.
20
+ */
21
+ function instanceOfIntegrationListingGradient(value) {
22
+ var isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfIntegrationListingGradient = instanceOfIntegrationListingGradient;
26
+ function IntegrationListingGradientFromJSON(json) {
27
+ return IntegrationListingGradientFromJSONTyped(json, false);
28
+ }
29
+ exports.IntegrationListingGradientFromJSON = IntegrationListingGradientFromJSON;
30
+ function IntegrationListingGradientFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'from': !(0, runtime_1.exists)(json, 'from') ? undefined : json['from'],
36
+ 'to': !(0, runtime_1.exists)(json, 'to') ? undefined : json['to'],
37
+ };
38
+ }
39
+ exports.IntegrationListingGradientFromJSONTyped = IntegrationListingGradientFromJSONTyped;
40
+ function IntegrationListingGradientToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'from': value.from,
49
+ 'to': value.to,
50
+ };
51
+ }
52
+ exports.IntegrationListingGradientToJSON = IntegrationListingGradientToJSON;
@@ -0,0 +1,32 @@
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.8.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 { 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): boolean;
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;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Integrations API
6
+ * Manage Teemill Integrations For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
7
+ *
8
+ * The version of the OpenAPI document: 0.8.0
9
+ * Contact: hello@teemill.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.IntegrationListingsResponseToJSON = exports.IntegrationListingsResponseFromJSONTyped = exports.IntegrationListingsResponseFromJSON = exports.instanceOfIntegrationListingsResponse = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var IntegrationListing_1 = require("./IntegrationListing");
19
+ /**
20
+ * Check if a given object implements the IntegrationListingsResponse interface.
21
+ */
22
+ function instanceOfIntegrationListingsResponse(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfIntegrationListingsResponse = instanceOfIntegrationListingsResponse;
27
+ function IntegrationListingsResponseFromJSON(json) {
28
+ return IntegrationListingsResponseFromJSONTyped(json, false);
29
+ }
30
+ exports.IntegrationListingsResponseFromJSON = IntegrationListingsResponseFromJSON;
31
+ function IntegrationListingsResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'listings': !(0, runtime_1.exists)(json, 'listings') ? undefined : (json['listings'].map(IntegrationListing_1.IntegrationListingFromJSON)),
37
+ };
38
+ }
39
+ exports.IntegrationListingsResponseFromJSONTyped = IntegrationListingsResponseFromJSONTyped;
40
+ function IntegrationListingsResponseToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'listings': value.listings === undefined ? undefined : (value.listings.map(IntegrationListing_1.IntegrationListingToJSON)),
49
+ };
50
+ }
51
+ exports.IntegrationListingsResponseToJSON = IntegrationListingsResponseToJSON;
@@ -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.8.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.7.0
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * 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.7.0
5
+ * The version of the OpenAPI document: 0.8.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.7.0
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,6 +1,8 @@
1
1
  export * from './ApiError';
2
- export * from './Integration';
3
- export * from './IntegrationInfo';
2
+ export * from './CategoriesResponse';
3
+ export * from './IntegrationCategory';
4
+ export * from './IntegrationListing';
5
+ export * from './IntegrationListingGradient';
6
+ export * from './IntegrationListingsResponse';
4
7
  export * from './IntegrationProduct';
5
8
  export * from './IntegrationProductsResponse';
6
- export * from './IntegrationsResponse';
@@ -17,8 +17,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./ApiError"), exports);
20
- __exportStar(require("./Integration"), exports);
21
- __exportStar(require("./IntegrationInfo"), exports);
20
+ __exportStar(require("./CategoriesResponse"), exports);
21
+ __exportStar(require("./IntegrationCategory"), exports);
22
+ __exportStar(require("./IntegrationListing"), exports);
23
+ __exportStar(require("./IntegrationListingGradient"), exports);
24
+ __exportStar(require("./IntegrationListingsResponse"), exports);
22
25
  __exportStar(require("./IntegrationProduct"), exports);
23
26
  __exportStar(require("./IntegrationProductsResponse"), exports);
24
- __exportStar(require("./IntegrationsResponse"), exports);
package/dist/runtime.d.ts CHANGED
@@ -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.8.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/runtime.js CHANGED
@@ -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.7.0
8
+ * The version of the OpenAPI document: 0.8.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * 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/integrations",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "OpenAPI client for @teemill/integrations",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {