@managespace/sdk 0.0.76 → 0.0.77

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.
@@ -16,12 +16,6 @@ import type { TemplateField } from './template-field';
16
16
  * @interface TemplateResponse
17
17
  */
18
18
  export interface TemplateResponse {
19
- /**
20
- * Base64 encoded file
21
- * @type {string}
22
- * @memberof TemplateResponse
23
- */
24
- file: string;
25
19
  /**
26
20
  * Name of your template.
27
21
  * @type {string}
@@ -35,11 +29,17 @@ export interface TemplateResponse {
35
29
  */
36
30
  fields?: Array<TemplateField>;
37
31
  /**
38
- * Plan ID
32
+ * Template ID
39
33
  * @type {string}
40
34
  * @memberof TemplateResponse
41
35
  */
42
36
  id: string;
37
+ /**
38
+ * Template URL
39
+ * @type {string}
40
+ * @memberof TemplateResponse
41
+ */
42
+ url: string;
43
43
  }
44
44
  /**
45
45
  * Check if a given object implements the TemplateResponse interface.
@@ -1 +1 @@
1
- {"version":3,"file":"template-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/template-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC9B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAKnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAWvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYtH"}
1
+ {"version":3,"file":"template-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/template-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC9B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAKnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAWvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYtH"}
@@ -19,12 +19,12 @@ const template_field_1 = require("./template-field");
19
19
  * Check if a given object implements the TemplateResponse interface.
20
20
  */
21
21
  function instanceOfTemplateResponse(value) {
22
- if (!('file' in value) || value['file'] === undefined)
23
- return false;
24
22
  if (!('name' in value) || value['name'] === undefined)
25
23
  return false;
26
24
  if (!('id' in value) || value['id'] === undefined)
27
25
  return false;
26
+ if (!('url' in value) || value['url'] === undefined)
27
+ return false;
28
28
  return true;
29
29
  }
30
30
  exports.instanceOfTemplateResponse = instanceOfTemplateResponse;
@@ -37,10 +37,10 @@ function TemplateResponseFromJSONTyped(json, ignoreDiscriminator) {
37
37
  return json;
38
38
  }
39
39
  return {
40
- 'file': json['file'],
41
40
  'name': json['name'],
42
41
  'fields': json['fields'] == null ? undefined : (json['fields'].map(template_field_1.TemplateFieldFromJSON)),
43
42
  'id': json['id'],
43
+ 'url': json['url'],
44
44
  };
45
45
  }
46
46
  exports.TemplateResponseFromJSONTyped = TemplateResponseFromJSONTyped;
@@ -53,10 +53,10 @@ function TemplateResponseToJSONTyped(value, ignoreDiscriminator = false) {
53
53
  return value;
54
54
  }
55
55
  return {
56
- 'file': value['file'],
57
56
  'name': value['name'],
58
57
  'fields': value['fields'] == null ? undefined : (value['fields'].map(template_field_1.TemplateFieldToJSON)),
59
58
  'id': value['id'],
59
+ 'url': value['url'],
60
60
  };
61
61
  }
62
62
  exports.TemplateResponseToJSONTyped = TemplateResponseToJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "scripts": {
5
5
  "dev": "tsc -w --preserveWatchOutput",
6
6
  "build": "tsc",
@@ -27,12 +27,6 @@ import {
27
27
  * @interface TemplateResponse
28
28
  */
29
29
  export interface TemplateResponse {
30
- /**
31
- * Base64 encoded file
32
- * @type {string}
33
- * @memberof TemplateResponse
34
- */
35
- file: string;
36
30
  /**
37
31
  * Name of your template.
38
32
  * @type {string}
@@ -46,20 +40,26 @@ export interface TemplateResponse {
46
40
  */
47
41
  fields?: Array<TemplateField>;
48
42
  /**
49
- * Plan ID
43
+ * Template ID
50
44
  * @type {string}
51
45
  * @memberof TemplateResponse
52
46
  */
53
47
  id: string;
48
+ /**
49
+ * Template URL
50
+ * @type {string}
51
+ * @memberof TemplateResponse
52
+ */
53
+ url: string;
54
54
  }
55
55
 
56
56
  /**
57
57
  * Check if a given object implements the TemplateResponse interface.
58
58
  */
59
59
  export function instanceOfTemplateResponse(value: object): value is TemplateResponse {
60
- if (!('file' in value) || value['file'] === undefined) return false;
61
60
  if (!('name' in value) || value['name'] === undefined) return false;
62
61
  if (!('id' in value) || value['id'] === undefined) return false;
62
+ if (!('url' in value) || value['url'] === undefined) return false;
63
63
  return true;
64
64
  }
65
65
 
@@ -73,10 +73,10 @@ export function TemplateResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
73
73
  }
74
74
  return {
75
75
 
76
- 'file': json['file'],
77
76
  'name': json['name'],
78
77
  'fields': json['fields'] == null ? undefined : ((json['fields'] as Array<any>).map(TemplateFieldFromJSON)),
79
78
  'id': json['id'],
79
+ 'url': json['url'],
80
80
  };
81
81
  }
82
82
 
@@ -91,10 +91,10 @@ export function TemplateResponseToJSONTyped(value?: TemplateResponse | null, ign
91
91
 
92
92
  return {
93
93
 
94
- 'file': value['file'],
95
94
  'name': value['name'],
96
95
  'fields': value['fields'] == null ? undefined : ((value['fields'] as Array<any>).map(TemplateFieldToJSON)),
97
96
  'id': value['id'],
97
+ 'url': value['url'],
98
98
  };
99
99
  }
100
100