@cosmotech/aip-client 0.0.1-rc1

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 (34) hide show
  1. package/README.md +45 -0
  2. package/package.json +29 -0
  3. package/src/apis/DefaultApi.ts +53 -0
  4. package/src/apis/MetricApi.ts +256 -0
  5. package/src/apis/MetricCostsPerYearApi.ts +286 -0
  6. package/src/apis/ObjectiveApi.ts +256 -0
  7. package/src/apis/ObjectiveWeightApi.ts +271 -0
  8. package/src/apis/ValueFrameworkApi.ts +256 -0
  9. package/src/apis/index.ts +8 -0
  10. package/src/index.ts +5 -0
  11. package/src/models/HTTPValidationError.ts +72 -0
  12. package/src/models/MeasurementType.ts +38 -0
  13. package/src/models/MetricCostsPerYearCreate.ts +102 -0
  14. package/src/models/MetricCostsPerYearResponse.ts +110 -0
  15. package/src/models/MetricCostsPerYearUpdate.ts +73 -0
  16. package/src/models/MetricCreate.ts +139 -0
  17. package/src/models/MetricResponse.ts +174 -0
  18. package/src/models/MetricType.ts +39 -0
  19. package/src/models/MetricUpdate.ts +134 -0
  20. package/src/models/ObjectiveCreate.ts +74 -0
  21. package/src/models/ObjectiveResponse.ts +109 -0
  22. package/src/models/ObjectiveUpdate.ts +73 -0
  23. package/src/models/ObjectiveWeightCreate.ts +83 -0
  24. package/src/models/ObjectiveWeightResponse.ts +91 -0
  25. package/src/models/ObjectiveWeightUpdate.ts +65 -0
  26. package/src/models/ValidationError.ts +91 -0
  27. package/src/models/ValidationErrorLocInner.ts +44 -0
  28. package/src/models/ValueFrameworkCreate.ts +74 -0
  29. package/src/models/ValueFrameworkResponse.ts +109 -0
  30. package/src/models/ValueFrameworkUpdate.ts +73 -0
  31. package/src/models/index.ts +22 -0
  32. package/src/runtime.ts +431 -0
  33. package/tsconfig.esm.json +7 -0
  34. package/tsconfig.json +16 -0
@@ -0,0 +1,139 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Asset Investment Planning
5
+ * API for Asset Investment Planning
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0-rc1
8
+ *
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
+ import { exists, mapValues } from '../runtime';
16
+ import type { MeasurementType } from './MeasurementType';
17
+ import {
18
+ MeasurementTypeFromJSON,
19
+ MeasurementTypeFromJSONTyped,
20
+ MeasurementTypeToJSON,
21
+ } from './MeasurementType';
22
+ import type { MetricType } from './MetricType';
23
+ import {
24
+ MetricTypeFromJSON,
25
+ MetricTypeFromJSONTyped,
26
+ MetricTypeToJSON,
27
+ } from './MetricType';
28
+
29
+ /**
30
+ * Schema for creating a new Metric (excludes auto-generated fields)
31
+ * @export
32
+ * @interface MetricCreate
33
+ */
34
+ export interface MetricCreate {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof MetricCreate
39
+ */
40
+ description?: string | null;
41
+ /**
42
+ * Direct cost of the metric
43
+ * @type {number}
44
+ * @memberof MetricCreate
45
+ */
46
+ directCost?: number;
47
+ /**
48
+ * Measurement approach
49
+ * @type {MeasurementType}
50
+ * @memberof MetricCreate
51
+ */
52
+ measurementType: MeasurementType;
53
+ /**
54
+ * Unit of measurement
55
+ * @type {string}
56
+ * @memberof MetricCreate
57
+ */
58
+ measurementUnit: string;
59
+ /**
60
+ * Type of metric
61
+ * @type {MetricType}
62
+ * @memberof MetricCreate
63
+ */
64
+ metricType: MetricType;
65
+ /**
66
+ * Name of the metric
67
+ * @type {string}
68
+ * @memberof MetricCreate
69
+ */
70
+ name: string;
71
+ /**
72
+ * ID of the associated objective
73
+ * @type {string}
74
+ * @memberof MetricCreate
75
+ */
76
+ objectiveId: string;
77
+ /**
78
+ * Perceived cost of the metric
79
+ * @type {number}
80
+ * @memberof MetricCreate
81
+ */
82
+ perceivedCost?: number;
83
+ }
84
+
85
+ /**
86
+ * Check if a given object implements the MetricCreate interface.
87
+ */
88
+ export function instanceOfMetricCreate(value: object): boolean {
89
+ let isInstance = true;
90
+ isInstance = isInstance && "measurementType" in value;
91
+ isInstance = isInstance && "measurementUnit" in value;
92
+ isInstance = isInstance && "metricType" in value;
93
+ isInstance = isInstance && "name" in value;
94
+ isInstance = isInstance && "objectiveId" in value;
95
+
96
+ return isInstance;
97
+ }
98
+
99
+ export function MetricCreateFromJSON(json: any): MetricCreate {
100
+ return MetricCreateFromJSONTyped(json, false);
101
+ }
102
+
103
+ export function MetricCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricCreate {
104
+ if ((json === undefined) || (json === null)) {
105
+ return json;
106
+ }
107
+ return {
108
+
109
+ 'description': !exists(json, 'description') ? undefined : json['description'],
110
+ 'directCost': !exists(json, 'direct_cost') ? undefined : json['direct_cost'],
111
+ 'measurementType': MeasurementTypeFromJSON(json['measurement_type']),
112
+ 'measurementUnit': json['measurement_unit'],
113
+ 'metricType': MetricTypeFromJSON(json['metric_type']),
114
+ 'name': json['name'],
115
+ 'objectiveId': json['objective_id'],
116
+ 'perceivedCost': !exists(json, 'perceived_cost') ? undefined : json['perceived_cost'],
117
+ };
118
+ }
119
+
120
+ export function MetricCreateToJSON(value?: MetricCreate | null): any {
121
+ if (value === undefined) {
122
+ return undefined;
123
+ }
124
+ if (value === null) {
125
+ return null;
126
+ }
127
+ return {
128
+
129
+ 'description': value.description,
130
+ 'direct_cost': value.directCost,
131
+ 'measurement_type': MeasurementTypeToJSON(value.measurementType),
132
+ 'measurement_unit': value.measurementUnit,
133
+ 'metric_type': MetricTypeToJSON(value.metricType),
134
+ 'name': value.name,
135
+ 'objective_id': value.objectiveId,
136
+ 'perceived_cost': value.perceivedCost,
137
+ };
138
+ }
139
+
@@ -0,0 +1,174 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Asset Investment Planning
5
+ * API for Asset Investment Planning
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0-rc1
8
+ *
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
+ import { exists, mapValues } from '../runtime';
16
+ import type { MeasurementType } from './MeasurementType';
17
+ import {
18
+ MeasurementTypeFromJSON,
19
+ MeasurementTypeFromJSONTyped,
20
+ MeasurementTypeToJSON,
21
+ } from './MeasurementType';
22
+ import type { MetricType } from './MetricType';
23
+ import {
24
+ MetricTypeFromJSON,
25
+ MetricTypeFromJSONTyped,
26
+ MetricTypeToJSON,
27
+ } from './MetricType';
28
+
29
+ /**
30
+ * Schema for Metric responses (includes all fields)
31
+ * @export
32
+ * @interface MetricResponse
33
+ */
34
+ export interface MetricResponse {
35
+ /**
36
+ *
37
+ * @type {Date}
38
+ * @memberof MetricResponse
39
+ */
40
+ createdAt: Date;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof MetricResponse
45
+ */
46
+ description?: string | null;
47
+ /**
48
+ * Direct cost of the metric
49
+ * @type {number}
50
+ * @memberof MetricResponse
51
+ */
52
+ directCost?: number;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof MetricResponse
57
+ */
58
+ id: string;
59
+ /**
60
+ * Measurement approach
61
+ * @type {MeasurementType}
62
+ * @memberof MetricResponse
63
+ */
64
+ measurementType: MeasurementType;
65
+ /**
66
+ * Unit of measurement
67
+ * @type {string}
68
+ * @memberof MetricResponse
69
+ */
70
+ measurementUnit: string;
71
+ /**
72
+ * Type of metric
73
+ * @type {MetricType}
74
+ * @memberof MetricResponse
75
+ */
76
+ metricType: MetricType;
77
+ /**
78
+ * Name of the metric
79
+ * @type {string}
80
+ * @memberof MetricResponse
81
+ */
82
+ name: string;
83
+ /**
84
+ * ID of the associated objective
85
+ * @type {string}
86
+ * @memberof MetricResponse
87
+ */
88
+ objectiveId: string;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof MetricResponse
93
+ */
94
+ ownerName?: string | null;
95
+ /**
96
+ * Perceived cost of the metric
97
+ * @type {number}
98
+ * @memberof MetricResponse
99
+ */
100
+ perceivedCost?: number;
101
+ /**
102
+ *
103
+ * @type {Date}
104
+ * @memberof MetricResponse
105
+ */
106
+ updatedAt: Date;
107
+ }
108
+
109
+ /**
110
+ * Check if a given object implements the MetricResponse interface.
111
+ */
112
+ export function instanceOfMetricResponse(value: object): boolean {
113
+ let isInstance = true;
114
+ isInstance = isInstance && "createdAt" in value;
115
+ isInstance = isInstance && "id" in value;
116
+ isInstance = isInstance && "measurementType" in value;
117
+ isInstance = isInstance && "measurementUnit" in value;
118
+ isInstance = isInstance && "metricType" in value;
119
+ isInstance = isInstance && "name" in value;
120
+ isInstance = isInstance && "objectiveId" in value;
121
+ isInstance = isInstance && "updatedAt" in value;
122
+
123
+ return isInstance;
124
+ }
125
+
126
+ export function MetricResponseFromJSON(json: any): MetricResponse {
127
+ return MetricResponseFromJSONTyped(json, false);
128
+ }
129
+
130
+ export function MetricResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricResponse {
131
+ if ((json === undefined) || (json === null)) {
132
+ return json;
133
+ }
134
+ return {
135
+
136
+ 'createdAt': (new Date(json['created_at'])),
137
+ 'description': !exists(json, 'description') ? undefined : json['description'],
138
+ 'directCost': !exists(json, 'direct_cost') ? undefined : json['direct_cost'],
139
+ 'id': json['id'],
140
+ 'measurementType': MeasurementTypeFromJSON(json['measurement_type']),
141
+ 'measurementUnit': json['measurement_unit'],
142
+ 'metricType': MetricTypeFromJSON(json['metric_type']),
143
+ 'name': json['name'],
144
+ 'objectiveId': json['objective_id'],
145
+ 'ownerName': !exists(json, 'owner_name') ? undefined : json['owner_name'],
146
+ 'perceivedCost': !exists(json, 'perceived_cost') ? undefined : json['perceived_cost'],
147
+ 'updatedAt': (new Date(json['updated_at'])),
148
+ };
149
+ }
150
+
151
+ export function MetricResponseToJSON(value?: MetricResponse | null): any {
152
+ if (value === undefined) {
153
+ return undefined;
154
+ }
155
+ if (value === null) {
156
+ return null;
157
+ }
158
+ return {
159
+
160
+ 'created_at': (value.createdAt.toISOString()),
161
+ 'description': value.description,
162
+ 'direct_cost': value.directCost,
163
+ 'id': value.id,
164
+ 'measurement_type': MeasurementTypeToJSON(value.measurementType),
165
+ 'measurement_unit': value.measurementUnit,
166
+ 'metric_type': MetricTypeToJSON(value.metricType),
167
+ 'name': value.name,
168
+ 'objective_id': value.objectiveId,
169
+ 'owner_name': value.ownerName,
170
+ 'perceived_cost': value.perceivedCost,
171
+ 'updated_at': (value.updatedAt.toISOString()),
172
+ };
173
+ }
174
+
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Asset Investment Planning
5
+ * API for Asset Investment Planning
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0-rc1
8
+ *
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
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const MetricType = {
21
+ MONETIZED: 'monetized',
22
+ TRACKED: 'tracked',
23
+ BOUNDED: 'bounded'
24
+ } as const;
25
+ export type MetricType = typeof MetricType[keyof typeof MetricType];
26
+
27
+
28
+ export function MetricTypeFromJSON(json: any): MetricType {
29
+ return MetricTypeFromJSONTyped(json, false);
30
+ }
31
+
32
+ export function MetricTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricType {
33
+ return json as MetricType;
34
+ }
35
+
36
+ export function MetricTypeToJSON(value?: MetricType | null): any {
37
+ return value as any;
38
+ }
39
+
@@ -0,0 +1,134 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Asset Investment Planning
5
+ * API for Asset Investment Planning
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0-rc1
8
+ *
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
+ import { exists, mapValues } from '../runtime';
16
+ import type { MeasurementType } from './MeasurementType';
17
+ import {
18
+ MeasurementTypeFromJSON,
19
+ MeasurementTypeFromJSONTyped,
20
+ MeasurementTypeToJSON,
21
+ } from './MeasurementType';
22
+ import type { MetricType } from './MetricType';
23
+ import {
24
+ MetricTypeFromJSON,
25
+ MetricTypeFromJSONTyped,
26
+ MetricTypeToJSON,
27
+ } from './MetricType';
28
+
29
+ /**
30
+ * Schema for partially updating a Metric. Only provided fields will be updated.
31
+ * @export
32
+ * @interface MetricUpdate
33
+ */
34
+ export interface MetricUpdate {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof MetricUpdate
39
+ */
40
+ description?: string | null;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof MetricUpdate
45
+ */
46
+ directCost?: number | null;
47
+ /**
48
+ *
49
+ * @type {MeasurementType}
50
+ * @memberof MetricUpdate
51
+ */
52
+ measurementType?: MeasurementType | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof MetricUpdate
57
+ */
58
+ measurementUnit?: string | null;
59
+ /**
60
+ *
61
+ * @type {MetricType}
62
+ * @memberof MetricUpdate
63
+ */
64
+ metricType?: MetricType | null;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof MetricUpdate
69
+ */
70
+ name?: string | null;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof MetricUpdate
75
+ */
76
+ objectiveId?: string | null;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof MetricUpdate
81
+ */
82
+ perceivedCost?: number | null;
83
+ }
84
+
85
+ /**
86
+ * Check if a given object implements the MetricUpdate interface.
87
+ */
88
+ export function instanceOfMetricUpdate(value: object): boolean {
89
+ let isInstance = true;
90
+
91
+ return isInstance;
92
+ }
93
+
94
+ export function MetricUpdateFromJSON(json: any): MetricUpdate {
95
+ return MetricUpdateFromJSONTyped(json, false);
96
+ }
97
+
98
+ export function MetricUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetricUpdate {
99
+ if ((json === undefined) || (json === null)) {
100
+ return json;
101
+ }
102
+ return {
103
+
104
+ 'description': !exists(json, 'description') ? undefined : json['description'],
105
+ 'directCost': !exists(json, 'direct_cost') ? undefined : json['direct_cost'],
106
+ 'measurementType': !exists(json, 'measurement_type') ? undefined : MeasurementTypeFromJSON(json['measurement_type']),
107
+ 'measurementUnit': !exists(json, 'measurement_unit') ? undefined : json['measurement_unit'],
108
+ 'metricType': !exists(json, 'metric_type') ? undefined : MetricTypeFromJSON(json['metric_type']),
109
+ 'name': !exists(json, 'name') ? undefined : json['name'],
110
+ 'objectiveId': !exists(json, 'objective_id') ? undefined : json['objective_id'],
111
+ 'perceivedCost': !exists(json, 'perceived_cost') ? undefined : json['perceived_cost'],
112
+ };
113
+ }
114
+
115
+ export function MetricUpdateToJSON(value?: MetricUpdate | null): any {
116
+ if (value === undefined) {
117
+ return undefined;
118
+ }
119
+ if (value === null) {
120
+ return null;
121
+ }
122
+ return {
123
+
124
+ 'description': value.description,
125
+ 'direct_cost': value.directCost,
126
+ 'measurement_type': MeasurementTypeToJSON(value.measurementType),
127
+ 'measurement_unit': value.measurementUnit,
128
+ 'metric_type': MetricTypeToJSON(value.metricType),
129
+ 'name': value.name,
130
+ 'objective_id': value.objectiveId,
131
+ 'perceived_cost': value.perceivedCost,
132
+ };
133
+ }
134
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Asset Investment Planning
5
+ * API for Asset Investment Planning
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0-rc1
8
+ *
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Schema for creating a new Objective (excludes auto-generated fields)
18
+ * @export
19
+ * @interface ObjectiveCreate
20
+ */
21
+ export interface ObjectiveCreate {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ObjectiveCreate
26
+ */
27
+ description?: string | null;
28
+ /**
29
+ * Name of the objective
30
+ * @type {string}
31
+ * @memberof ObjectiveCreate
32
+ */
33
+ name: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ObjectiveCreate interface.
38
+ */
39
+ export function instanceOfObjectiveCreate(value: object): boolean {
40
+ let isInstance = true;
41
+ isInstance = isInstance && "name" in value;
42
+
43
+ return isInstance;
44
+ }
45
+
46
+ export function ObjectiveCreateFromJSON(json: any): ObjectiveCreate {
47
+ return ObjectiveCreateFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function ObjectiveCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ObjectiveCreate {
51
+ if ((json === undefined) || (json === null)) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'description': !exists(json, 'description') ? undefined : json['description'],
57
+ 'name': json['name'],
58
+ };
59
+ }
60
+
61
+ export function ObjectiveCreateToJSON(value?: ObjectiveCreate | null): any {
62
+ if (value === undefined) {
63
+ return undefined;
64
+ }
65
+ if (value === null) {
66
+ return null;
67
+ }
68
+ return {
69
+
70
+ 'description': value.description,
71
+ 'name': value.name,
72
+ };
73
+ }
74
+
@@ -0,0 +1,109 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Asset Investment Planning
5
+ * API for Asset Investment Planning
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0-rc1
8
+ *
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Schema for Objective responses (includes all fields)
18
+ * @export
19
+ * @interface ObjectiveResponse
20
+ */
21
+ export interface ObjectiveResponse {
22
+ /**
23
+ *
24
+ * @type {Date}
25
+ * @memberof ObjectiveResponse
26
+ */
27
+ createdAt: Date;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ObjectiveResponse
32
+ */
33
+ description?: string | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ObjectiveResponse
38
+ */
39
+ id: string;
40
+ /**
41
+ * Name of the objective
42
+ * @type {string}
43
+ * @memberof ObjectiveResponse
44
+ */
45
+ name: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ObjectiveResponse
50
+ */
51
+ ownerName?: string | null;
52
+ /**
53
+ *
54
+ * @type {Date}
55
+ * @memberof ObjectiveResponse
56
+ */
57
+ updatedAt: Date;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the ObjectiveResponse interface.
62
+ */
63
+ export function instanceOfObjectiveResponse(value: object): boolean {
64
+ let isInstance = true;
65
+ isInstance = isInstance && "createdAt" in value;
66
+ isInstance = isInstance && "id" in value;
67
+ isInstance = isInstance && "name" in value;
68
+ isInstance = isInstance && "updatedAt" in value;
69
+
70
+ return isInstance;
71
+ }
72
+
73
+ export function ObjectiveResponseFromJSON(json: any): ObjectiveResponse {
74
+ return ObjectiveResponseFromJSONTyped(json, false);
75
+ }
76
+
77
+ export function ObjectiveResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ObjectiveResponse {
78
+ if ((json === undefined) || (json === null)) {
79
+ return json;
80
+ }
81
+ return {
82
+
83
+ 'createdAt': (new Date(json['created_at'])),
84
+ 'description': !exists(json, 'description') ? undefined : json['description'],
85
+ 'id': json['id'],
86
+ 'name': json['name'],
87
+ 'ownerName': !exists(json, 'owner_name') ? undefined : json['owner_name'],
88
+ 'updatedAt': (new Date(json['updated_at'])),
89
+ };
90
+ }
91
+
92
+ export function ObjectiveResponseToJSON(value?: ObjectiveResponse | null): any {
93
+ if (value === undefined) {
94
+ return undefined;
95
+ }
96
+ if (value === null) {
97
+ return null;
98
+ }
99
+ return {
100
+
101
+ 'created_at': (value.createdAt.toISOString()),
102
+ 'description': value.description,
103
+ 'id': value.id,
104
+ 'name': value.name,
105
+ 'owner_name': value.ownerName,
106
+ 'updated_at': (value.updatedAt.toISOString()),
107
+ };
108
+ }
109
+