@managespace/sdk 0.0.133 → 0.0.134
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.
|
@@ -20,13 +20,13 @@ export interface DocumentUrl {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof DocumentUrl
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
id: string;
|
|
24
24
|
/**
|
|
25
25
|
* The URL of the document.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof DocumentUrl
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
url: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the DocumentUrl interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-url.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document-url.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"document-url.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document-url.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAIzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAS7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5G"}
|
|
@@ -18,9 +18,9 @@ exports.DocumentUrlToJSONTyped = exports.DocumentUrlToJSON = exports.DocumentUrl
|
|
|
18
18
|
* Check if a given object implements the DocumentUrl interface.
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfDocumentUrl(value) {
|
|
21
|
-
if (!('
|
|
21
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
-
if (!('
|
|
23
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
24
24
|
return false;
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
@@ -34,8 +34,8 @@ function DocumentUrlFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'
|
|
38
|
-
'
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'url': json['url'],
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
exports.DocumentUrlFromJSONTyped = DocumentUrlFromJSONTyped;
|
|
@@ -48,8 +48,8 @@ function DocumentUrlToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
48
48
|
return value;
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
|
-
'
|
|
52
|
-
'
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'url': value['url'],
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
exports.DocumentUrlToJSONTyped = DocumentUrlToJSONTyped;
|
package/package.json
CHANGED
|
@@ -24,21 +24,21 @@ export interface DocumentUrl {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof DocumentUrl
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
id: string;
|
|
28
28
|
/**
|
|
29
29
|
* The URL of the document.
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof DocumentUrl
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
url: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Check if a given object implements the DocumentUrl interface.
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfDocumentUrl(value: object): value is DocumentUrl {
|
|
40
|
-
if (!('
|
|
41
|
-
if (!('
|
|
40
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
41
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
42
42
|
return true;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -52,8 +52,8 @@ export function DocumentUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
54
|
|
|
55
|
-
'
|
|
56
|
-
'
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'url': json['url'],
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -68,8 +68,8 @@ export function DocumentUrlToJSONTyped(value?: DocumentUrl | null, ignoreDiscrim
|
|
|
68
68
|
|
|
69
69
|
return {
|
|
70
70
|
|
|
71
|
-
'
|
|
72
|
-
'
|
|
71
|
+
'id': value['id'],
|
|
72
|
+
'url': value['url'],
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|