bmlt-server-client 2.0.0 → 2.0.1
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.
- package/.github/workflows/release.yml +4 -4
- package/.openapi-generator/FILES +44 -0
- package/.openapi-generator/VERSION +1 -1
- package/Makefile +2 -1
- package/README.md +172 -28
- package/dist/apis/RootServerApi.d.ts +25 -1
- package/dist/apis/RootServerApi.js +960 -1531
- package/dist/esm/apis/RootServerApi.d.ts +448 -0
- package/dist/esm/apis/RootServerApi.js +1253 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AuthenticationError.d.ts +32 -0
- package/dist/esm/models/AuthenticationError.js +43 -0
- package/dist/esm/models/AuthorizationError.d.ts +32 -0
- package/dist/esm/models/AuthorizationError.js +43 -0
- package/dist/esm/models/ConflictError.d.ts +32 -0
- package/dist/esm/models/ConflictError.js +43 -0
- package/dist/esm/models/ErrorTest.d.ts +44 -0
- package/dist/esm/models/ErrorTest.js +45 -0
- package/dist/esm/models/Format.d.ts +51 -0
- package/dist/esm/models/Format.js +56 -0
- package/dist/esm/models/FormatBase.d.ts +45 -0
- package/dist/esm/models/FormatBase.js +46 -0
- package/dist/esm/models/FormatCreate.d.ts +45 -0
- package/dist/esm/models/FormatCreate.js +48 -0
- package/dist/esm/models/FormatPartialUpdate.d.ts +45 -0
- package/dist/esm/models/FormatPartialUpdate.js +46 -0
- package/dist/esm/models/FormatTranslation.d.ts +50 -0
- package/dist/esm/models/FormatTranslation.js +55 -0
- package/dist/esm/models/FormatUpdate.d.ts +45 -0
- package/dist/esm/models/FormatUpdate.js +48 -0
- package/dist/esm/models/Meeting.d.ts +256 -0
- package/dist/esm/models/Meeting.js +145 -0
- package/dist/esm/models/MeetingBase.d.ts +250 -0
- package/dist/esm/models/MeetingBase.js +113 -0
- package/dist/esm/models/MeetingChangeResource.d.ts +50 -0
- package/dist/esm/models/MeetingChangeResource.js +47 -0
- package/dist/esm/models/MeetingCreate.d.ts +250 -0
- package/dist/esm/models/MeetingCreate.js +133 -0
- package/dist/esm/models/MeetingPartialUpdate.d.ts +250 -0
- package/dist/esm/models/MeetingPartialUpdate.js +113 -0
- package/dist/esm/models/MeetingUpdate.d.ts +250 -0
- package/dist/esm/models/MeetingUpdate.js +133 -0
- package/dist/esm/models/NotFoundError.d.ts +32 -0
- package/dist/esm/models/NotFoundError.js +43 -0
- package/dist/esm/models/RootServer.d.ts +69 -0
- package/dist/esm/models/RootServer.js +64 -0
- package/dist/esm/models/RootServerBase.d.ts +63 -0
- package/dist/esm/models/RootServerBase.js +52 -0
- package/dist/esm/models/RootServerBaseStatistics.d.ts +40 -0
- package/dist/esm/models/RootServerBaseStatistics.js +49 -0
- package/dist/esm/models/RootServerBaseStatisticsMeetings.d.ts +56 -0
- package/dist/esm/models/RootServerBaseStatisticsMeetings.js +59 -0
- package/dist/esm/models/RootServerBaseStatisticsServiceBodies.d.ts +50 -0
- package/dist/esm/models/RootServerBaseStatisticsServiceBodies.js +55 -0
- package/dist/esm/models/ServerError.d.ts +32 -0
- package/dist/esm/models/ServerError.js +43 -0
- package/dist/esm/models/ServiceBody.d.ts +92 -0
- package/dist/esm/models/ServiceBody.js +83 -0
- package/dist/esm/models/ServiceBodyBase.d.ts +86 -0
- package/dist/esm/models/ServiceBodyBase.js +59 -0
- package/dist/esm/models/ServiceBodyCreate.d.ts +86 -0
- package/dist/esm/models/ServiceBodyCreate.js +71 -0
- package/dist/esm/models/ServiceBodyPartialUpdate.d.ts +86 -0
- package/dist/esm/models/ServiceBodyPartialUpdate.js +59 -0
- package/dist/esm/models/ServiceBodyUpdate.d.ts +86 -0
- package/dist/esm/models/ServiceBodyUpdate.js +71 -0
- package/dist/esm/models/SettingsBase.d.ts +158 -0
- package/dist/esm/models/SettingsBase.js +83 -0
- package/dist/esm/models/SettingsObject.d.ts +158 -0
- package/dist/esm/models/SettingsObject.js +83 -0
- package/dist/esm/models/SettingsUpdate.d.ts +158 -0
- package/dist/esm/models/SettingsUpdate.js +83 -0
- package/dist/esm/models/Token.d.ts +50 -0
- package/dist/esm/models/Token.js +55 -0
- package/dist/esm/models/TokenCredentials.d.ts +38 -0
- package/dist/esm/models/TokenCredentials.js +47 -0
- package/dist/esm/models/User.d.ts +74 -0
- package/dist/esm/models/User.js +69 -0
- package/dist/esm/models/UserBase.d.ts +62 -0
- package/dist/esm/models/UserBase.js +51 -0
- package/dist/esm/models/UserCreate.d.ts +68 -0
- package/dist/esm/models/UserCreate.js +61 -0
- package/dist/esm/models/UserPartialUpdate.d.ts +68 -0
- package/dist/esm/models/UserPartialUpdate.js +53 -0
- package/dist/esm/models/UserUpdate.d.ts +68 -0
- package/dist/esm/models/UserUpdate.js +59 -0
- package/dist/esm/models/ValidationError.d.ts +40 -0
- package/dist/esm/models/ValidationError.js +47 -0
- package/dist/esm/models/index.d.ts +39 -0
- package/dist/esm/models/index.js +41 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/models/AuthenticationError.js +6 -8
- package/dist/models/AuthorizationError.js +6 -8
- package/dist/models/ConflictError.js +6 -8
- package/dist/models/ErrorTest.js +6 -8
- package/dist/models/Format.js +7 -9
- package/dist/models/FormatBase.js +7 -9
- package/dist/models/FormatCreate.js +7 -9
- package/dist/models/FormatPartialUpdate.js +7 -9
- package/dist/models/FormatTranslation.js +6 -8
- package/dist/models/FormatUpdate.js +7 -9
- package/dist/models/Meeting.js +6 -8
- package/dist/models/MeetingBase.js +6 -8
- package/dist/models/MeetingChangeResource.js +6 -8
- package/dist/models/MeetingCreate.js +6 -8
- package/dist/models/MeetingPartialUpdate.d.ts +10 -10
- package/dist/models/MeetingPartialUpdate.js +16 -38
- package/dist/models/MeetingUpdate.js +6 -8
- package/dist/models/NotFoundError.js +6 -8
- package/dist/models/RootServer.js +8 -10
- package/dist/models/RootServerBase.js +8 -10
- package/dist/models/RootServerBaseStatistics.js +8 -10
- package/dist/models/RootServerBaseStatisticsMeetings.js +6 -8
- package/dist/models/RootServerBaseStatisticsServiceBodies.js +6 -8
- package/dist/models/ServerError.js +6 -8
- package/dist/models/ServiceBody.js +6 -8
- package/dist/models/ServiceBodyBase.js +6 -8
- package/dist/models/ServiceBodyCreate.js +6 -8
- package/dist/models/ServiceBodyPartialUpdate.js +6 -8
- package/dist/models/ServiceBodyUpdate.js +6 -8
- package/dist/models/SettingsBase.d.ts +158 -0
- package/dist/models/SettingsBase.js +90 -0
- package/dist/models/SettingsObject.d.ts +158 -0
- package/dist/models/SettingsObject.js +90 -0
- package/dist/models/SettingsUpdate.d.ts +158 -0
- package/dist/models/SettingsUpdate.js +90 -0
- package/dist/models/Token.js +6 -8
- package/dist/models/TokenCredentials.js +6 -8
- package/dist/models/User.d.ts +6 -0
- package/dist/models/User.js +8 -8
- package/dist/models/UserBase.js +6 -8
- package/dist/models/UserCreate.js +6 -8
- package/dist/models/UserPartialUpdate.js +6 -8
- package/dist/models/UserUpdate.js +6 -8
- package/dist/models/ValidationError.js +6 -8
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +9 -9
- package/dist/runtime.js +226 -440
- package/docs/AuthenticationError.md +34 -0
- package/docs/AuthorizationError.md +34 -0
- package/docs/ConflictError.md +34 -0
- package/docs/ErrorTest.md +38 -0
- package/docs/Format.md +40 -0
- package/docs/FormatBase.md +38 -0
- package/docs/FormatCreate.md +38 -0
- package/docs/FormatPartialUpdate.md +38 -0
- package/docs/FormatTranslation.md +40 -0
- package/docs/FormatUpdate.md +38 -0
- package/docs/Meeting.md +108 -0
- package/docs/MeetingBase.md +106 -0
- package/docs/MeetingChangeResource.md +40 -0
- package/docs/MeetingCreate.md +106 -0
- package/docs/MeetingPartialUpdate.md +106 -0
- package/docs/MeetingUpdate.md +106 -0
- package/docs/NotFoundError.md +34 -0
- package/docs/RootServer.md +46 -0
- package/docs/RootServerApi.md +2514 -0
- package/docs/RootServerBase.md +44 -0
- package/docs/RootServerBaseStatistics.md +36 -0
- package/docs/RootServerBaseStatisticsMeetings.md +42 -0
- package/docs/RootServerBaseStatisticsServiceBodies.md +40 -0
- package/docs/ServerError.md +34 -0
- package/docs/ServiceBody.md +54 -0
- package/docs/ServiceBodyBase.md +52 -0
- package/docs/ServiceBodyCreate.md +52 -0
- package/docs/ServiceBodyPartialUpdate.md +52 -0
- package/docs/ServiceBodyUpdate.md +52 -0
- package/docs/SettingsBase.md +76 -0
- package/docs/SettingsObject.md +76 -0
- package/docs/SettingsUpdate.md +77 -0
- package/docs/Token.md +40 -0
- package/docs/TokenCredentials.md +36 -0
- package/docs/User.md +48 -0
- package/docs/UserBase.md +44 -0
- package/docs/UserCreate.md +46 -0
- package/docs/UserPartialUpdate.md +46 -0
- package/docs/UserUpdate.md +46 -0
- package/docs/ValidationError.md +36 -0
- package/openapi.json +1 -1
- package/package.json +5 -3
- package/src/apis/RootServerApi.ts +242 -32
- package/src/models/MeetingPartialUpdate.ts +20 -30
- package/src/models/RootServer.ts +1 -1
- package/src/models/RootServerBase.ts +1 -1
- package/src/models/SettingsBase.ts +233 -0
- package/src/models/SettingsObject.ts +233 -0
- package/src/models/SettingsUpdate.ts +233 -0
- package/src/models/User.ts +8 -0
- package/src/models/index.ts +3 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +1 -5
- package/.idea/bmlt-server-typescript-client.iml +0 -9
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
|
@@ -13,19 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
|
|
16
|
+
exports.instanceOfFormatPartialUpdate = instanceOfFormatPartialUpdate;
|
|
17
|
+
exports.FormatPartialUpdateFromJSON = FormatPartialUpdateFromJSON;
|
|
18
|
+
exports.FormatPartialUpdateFromJSONTyped = FormatPartialUpdateFromJSONTyped;
|
|
19
|
+
exports.FormatPartialUpdateToJSON = FormatPartialUpdateToJSON;
|
|
20
|
+
exports.FormatPartialUpdateToJSONTyped = FormatPartialUpdateToJSONTyped;
|
|
21
|
+
const FormatTranslation_1 = require("./FormatTranslation");
|
|
18
22
|
/**
|
|
19
23
|
* Check if a given object implements the FormatPartialUpdate interface.
|
|
20
24
|
*/
|
|
21
25
|
function instanceOfFormatPartialUpdate(value) {
|
|
22
26
|
return true;
|
|
23
27
|
}
|
|
24
|
-
exports.instanceOfFormatPartialUpdate = instanceOfFormatPartialUpdate;
|
|
25
28
|
function FormatPartialUpdateFromJSON(json) {
|
|
26
29
|
return FormatPartialUpdateFromJSONTyped(json, false);
|
|
27
30
|
}
|
|
28
|
-
exports.FormatPartialUpdateFromJSON = FormatPartialUpdateFromJSON;
|
|
29
31
|
function FormatPartialUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
32
|
if (json == null) {
|
|
31
33
|
return json;
|
|
@@ -36,13 +38,10 @@ function FormatPartialUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
38
|
'translations': json['translations'] == null ? undefined : (json['translations'].map(FormatTranslation_1.FormatTranslationFromJSON)),
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
|
-
exports.FormatPartialUpdateFromJSONTyped = FormatPartialUpdateFromJSONTyped;
|
|
40
41
|
function FormatPartialUpdateToJSON(json) {
|
|
41
42
|
return FormatPartialUpdateToJSONTyped(json, false);
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
-
function FormatPartialUpdateToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
function FormatPartialUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
45
|
if (value == null) {
|
|
47
46
|
return value;
|
|
48
47
|
}
|
|
@@ -52,4 +51,3 @@ function FormatPartialUpdateToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
51
|
'translations': value['translations'] == null ? undefined : (value['translations'].map(FormatTranslation_1.FormatTranslationToJSON)),
|
|
53
52
|
};
|
|
54
53
|
}
|
|
55
|
-
exports.FormatPartialUpdateToJSONTyped = FormatPartialUpdateToJSONTyped;
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfFormatTranslation = instanceOfFormatTranslation;
|
|
17
|
+
exports.FormatTranslationFromJSON = FormatTranslationFromJSON;
|
|
18
|
+
exports.FormatTranslationFromJSONTyped = FormatTranslationFromJSONTyped;
|
|
19
|
+
exports.FormatTranslationToJSON = FormatTranslationToJSON;
|
|
20
|
+
exports.FormatTranslationToJSONTyped = FormatTranslationToJSONTyped;
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the FormatTranslation interface.
|
|
19
23
|
*/
|
|
@@ -28,11 +32,9 @@ function instanceOfFormatTranslation(value) {
|
|
|
28
32
|
return false;
|
|
29
33
|
return true;
|
|
30
34
|
}
|
|
31
|
-
exports.instanceOfFormatTranslation = instanceOfFormatTranslation;
|
|
32
35
|
function FormatTranslationFromJSON(json) {
|
|
33
36
|
return FormatTranslationFromJSONTyped(json, false);
|
|
34
37
|
}
|
|
35
|
-
exports.FormatTranslationFromJSON = FormatTranslationFromJSON;
|
|
36
38
|
function FormatTranslationFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
39
|
if (json == null) {
|
|
38
40
|
return json;
|
|
@@ -44,13 +46,10 @@ function FormatTranslationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
46
|
'language': json['language'],
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
|
-
exports.FormatTranslationFromJSONTyped = FormatTranslationFromJSONTyped;
|
|
48
49
|
function FormatTranslationToJSON(json) {
|
|
49
50
|
return FormatTranslationToJSONTyped(json, false);
|
|
50
51
|
}
|
|
51
|
-
|
|
52
|
-
function FormatTranslationToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
function FormatTranslationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
53
|
if (value == null) {
|
|
55
54
|
return value;
|
|
56
55
|
}
|
|
@@ -61,4 +60,3 @@ function FormatTranslationToJSONTyped(value, ignoreDiscriminator) {
|
|
|
61
60
|
'language': value['language'],
|
|
62
61
|
};
|
|
63
62
|
}
|
|
64
|
-
exports.FormatTranslationToJSONTyped = FormatTranslationToJSONTyped;
|
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
|
|
16
|
+
exports.instanceOfFormatUpdate = instanceOfFormatUpdate;
|
|
17
|
+
exports.FormatUpdateFromJSON = FormatUpdateFromJSON;
|
|
18
|
+
exports.FormatUpdateFromJSONTyped = FormatUpdateFromJSONTyped;
|
|
19
|
+
exports.FormatUpdateToJSON = FormatUpdateToJSON;
|
|
20
|
+
exports.FormatUpdateToJSONTyped = FormatUpdateToJSONTyped;
|
|
21
|
+
const FormatTranslation_1 = require("./FormatTranslation");
|
|
18
22
|
/**
|
|
19
23
|
* Check if a given object implements the FormatUpdate interface.
|
|
20
24
|
*/
|
|
@@ -23,11 +27,9 @@ function instanceOfFormatUpdate(value) {
|
|
|
23
27
|
return false;
|
|
24
28
|
return true;
|
|
25
29
|
}
|
|
26
|
-
exports.instanceOfFormatUpdate = instanceOfFormatUpdate;
|
|
27
30
|
function FormatUpdateFromJSON(json) {
|
|
28
31
|
return FormatUpdateFromJSONTyped(json, false);
|
|
29
32
|
}
|
|
30
|
-
exports.FormatUpdateFromJSON = FormatUpdateFromJSON;
|
|
31
33
|
function FormatUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
34
|
if (json == null) {
|
|
33
35
|
return json;
|
|
@@ -38,13 +40,10 @@ function FormatUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
'translations': (json['translations'].map(FormatTranslation_1.FormatTranslationFromJSON)),
|
|
39
41
|
};
|
|
40
42
|
}
|
|
41
|
-
exports.FormatUpdateFromJSONTyped = FormatUpdateFromJSONTyped;
|
|
42
43
|
function FormatUpdateToJSON(json) {
|
|
43
44
|
return FormatUpdateToJSONTyped(json, false);
|
|
44
45
|
}
|
|
45
|
-
|
|
46
|
-
function FormatUpdateToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
function FormatUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
47
|
if (value == null) {
|
|
49
48
|
return value;
|
|
50
49
|
}
|
|
@@ -54,4 +53,3 @@ function FormatUpdateToJSONTyped(value, ignoreDiscriminator) {
|
|
|
54
53
|
'translations': (value['translations'].map(FormatTranslation_1.FormatTranslationToJSON)),
|
|
55
54
|
};
|
|
56
55
|
}
|
|
57
|
-
exports.FormatUpdateToJSONTyped = FormatUpdateToJSONTyped;
|
package/dist/models/Meeting.js
CHANGED
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfMeeting = instanceOfMeeting;
|
|
17
|
+
exports.MeetingFromJSON = MeetingFromJSON;
|
|
18
|
+
exports.MeetingFromJSONTyped = MeetingFromJSONTyped;
|
|
19
|
+
exports.MeetingToJSON = MeetingToJSON;
|
|
20
|
+
exports.MeetingToJSONTyped = MeetingToJSONTyped;
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the Meeting interface.
|
|
19
23
|
*/
|
|
@@ -50,11 +54,9 @@ function instanceOfMeeting(value) {
|
|
|
50
54
|
return false;
|
|
51
55
|
return true;
|
|
52
56
|
}
|
|
53
|
-
exports.instanceOfMeeting = instanceOfMeeting;
|
|
54
57
|
function MeetingFromJSON(json) {
|
|
55
58
|
return MeetingFromJSONTyped(json, false);
|
|
56
59
|
}
|
|
57
|
-
exports.MeetingFromJSON = MeetingFromJSON;
|
|
58
60
|
function MeetingFromJSONTyped(json, ignoreDiscriminator) {
|
|
59
61
|
if (json == null) {
|
|
60
62
|
return json;
|
|
@@ -100,13 +102,10 @@ function MeetingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
100
102
|
'id': json['id'],
|
|
101
103
|
};
|
|
102
104
|
}
|
|
103
|
-
exports.MeetingFromJSONTyped = MeetingFromJSONTyped;
|
|
104
105
|
function MeetingToJSON(json) {
|
|
105
106
|
return MeetingToJSONTyped(json, false);
|
|
106
107
|
}
|
|
107
|
-
|
|
108
|
-
function MeetingToJSONTyped(value, ignoreDiscriminator) {
|
|
109
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
108
|
+
function MeetingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
110
109
|
if (value == null) {
|
|
111
110
|
return value;
|
|
112
111
|
}
|
|
@@ -151,4 +150,3 @@ function MeetingToJSONTyped(value, ignoreDiscriminator) {
|
|
|
151
150
|
'id': value['id'],
|
|
152
151
|
};
|
|
153
152
|
}
|
|
154
|
-
exports.MeetingToJSONTyped = MeetingToJSONTyped;
|
|
@@ -13,18 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfMeetingBase = instanceOfMeetingBase;
|
|
17
|
+
exports.MeetingBaseFromJSON = MeetingBaseFromJSON;
|
|
18
|
+
exports.MeetingBaseFromJSONTyped = MeetingBaseFromJSONTyped;
|
|
19
|
+
exports.MeetingBaseToJSON = MeetingBaseToJSON;
|
|
20
|
+
exports.MeetingBaseToJSONTyped = MeetingBaseToJSONTyped;
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the MeetingBase interface.
|
|
19
23
|
*/
|
|
20
24
|
function instanceOfMeetingBase(value) {
|
|
21
25
|
return true;
|
|
22
26
|
}
|
|
23
|
-
exports.instanceOfMeetingBase = instanceOfMeetingBase;
|
|
24
27
|
function MeetingBaseFromJSON(json) {
|
|
25
28
|
return MeetingBaseFromJSONTyped(json, false);
|
|
26
29
|
}
|
|
27
|
-
exports.MeetingBaseFromJSON = MeetingBaseFromJSON;
|
|
28
30
|
function MeetingBaseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
31
|
if (json == null) {
|
|
30
32
|
return json;
|
|
@@ -69,13 +71,10 @@ function MeetingBaseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
71
|
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
70
72
|
};
|
|
71
73
|
}
|
|
72
|
-
exports.MeetingBaseFromJSONTyped = MeetingBaseFromJSONTyped;
|
|
73
74
|
function MeetingBaseToJSON(json) {
|
|
74
75
|
return MeetingBaseToJSONTyped(json, false);
|
|
75
76
|
}
|
|
76
|
-
|
|
77
|
-
function MeetingBaseToJSONTyped(value, ignoreDiscriminator) {
|
|
78
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
77
|
+
function MeetingBaseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
78
|
if (value == null) {
|
|
80
79
|
return value;
|
|
81
80
|
}
|
|
@@ -119,4 +118,3 @@ function MeetingBaseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
119
118
|
'customFields': value['customFields'],
|
|
120
119
|
};
|
|
121
120
|
}
|
|
122
|
-
exports.MeetingBaseToJSONTyped = MeetingBaseToJSONTyped;
|
|
@@ -13,18 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfMeetingChangeResource = instanceOfMeetingChangeResource;
|
|
17
|
+
exports.MeetingChangeResourceFromJSON = MeetingChangeResourceFromJSON;
|
|
18
|
+
exports.MeetingChangeResourceFromJSONTyped = MeetingChangeResourceFromJSONTyped;
|
|
19
|
+
exports.MeetingChangeResourceToJSON = MeetingChangeResourceToJSON;
|
|
20
|
+
exports.MeetingChangeResourceToJSONTyped = MeetingChangeResourceToJSONTyped;
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the MeetingChangeResource interface.
|
|
19
23
|
*/
|
|
20
24
|
function instanceOfMeetingChangeResource(value) {
|
|
21
25
|
return true;
|
|
22
26
|
}
|
|
23
|
-
exports.instanceOfMeetingChangeResource = instanceOfMeetingChangeResource;
|
|
24
27
|
function MeetingChangeResourceFromJSON(json) {
|
|
25
28
|
return MeetingChangeResourceFromJSONTyped(json, false);
|
|
26
29
|
}
|
|
27
|
-
exports.MeetingChangeResourceFromJSON = MeetingChangeResourceFromJSON;
|
|
28
30
|
function MeetingChangeResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
31
|
if (json == null) {
|
|
30
32
|
return json;
|
|
@@ -36,13 +38,10 @@ function MeetingChangeResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
38
|
'details': json['details'] == null ? undefined : json['details'],
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
|
-
exports.MeetingChangeResourceFromJSONTyped = MeetingChangeResourceFromJSONTyped;
|
|
40
41
|
function MeetingChangeResourceToJSON(json) {
|
|
41
42
|
return MeetingChangeResourceToJSONTyped(json, false);
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
-
function MeetingChangeResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
function MeetingChangeResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
45
|
if (value == null) {
|
|
47
46
|
return value;
|
|
48
47
|
}
|
|
@@ -53,4 +52,3 @@ function MeetingChangeResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
52
|
'details': value['details'],
|
|
54
53
|
};
|
|
55
54
|
}
|
|
56
|
-
exports.MeetingChangeResourceToJSONTyped = MeetingChangeResourceToJSONTyped;
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfMeetingCreate = instanceOfMeetingCreate;
|
|
17
|
+
exports.MeetingCreateFromJSON = MeetingCreateFromJSON;
|
|
18
|
+
exports.MeetingCreateFromJSONTyped = MeetingCreateFromJSONTyped;
|
|
19
|
+
exports.MeetingCreateToJSON = MeetingCreateToJSON;
|
|
20
|
+
exports.MeetingCreateToJSONTyped = MeetingCreateToJSONTyped;
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the MeetingCreate interface.
|
|
19
23
|
*/
|
|
@@ -40,11 +44,9 @@ function instanceOfMeetingCreate(value) {
|
|
|
40
44
|
return false;
|
|
41
45
|
return true;
|
|
42
46
|
}
|
|
43
|
-
exports.instanceOfMeetingCreate = instanceOfMeetingCreate;
|
|
44
47
|
function MeetingCreateFromJSON(json) {
|
|
45
48
|
return MeetingCreateFromJSONTyped(json, false);
|
|
46
49
|
}
|
|
47
|
-
exports.MeetingCreateFromJSON = MeetingCreateFromJSON;
|
|
48
50
|
function MeetingCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
51
|
if (json == null) {
|
|
50
52
|
return json;
|
|
@@ -89,13 +91,10 @@ function MeetingCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
89
91
|
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
90
92
|
};
|
|
91
93
|
}
|
|
92
|
-
exports.MeetingCreateFromJSONTyped = MeetingCreateFromJSONTyped;
|
|
93
94
|
function MeetingCreateToJSON(json) {
|
|
94
95
|
return MeetingCreateToJSONTyped(json, false);
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
function MeetingCreateToJSONTyped(value, ignoreDiscriminator) {
|
|
98
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
97
|
+
function MeetingCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
99
98
|
if (value == null) {
|
|
100
99
|
return value;
|
|
101
100
|
}
|
|
@@ -139,4 +138,3 @@ function MeetingCreateToJSONTyped(value, ignoreDiscriminator) {
|
|
|
139
138
|
'customFields': value['customFields'],
|
|
140
139
|
};
|
|
141
140
|
}
|
|
142
|
-
exports.MeetingCreateToJSONTyped = MeetingCreateToJSONTyped;
|
|
@@ -20,19 +20,19 @@ export interface MeetingPartialUpdate {
|
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof MeetingPartialUpdate
|
|
22
22
|
*/
|
|
23
|
-
serviceBodyId
|
|
23
|
+
serviceBodyId?: number;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {Array<number>}
|
|
27
27
|
* @memberof MeetingPartialUpdate
|
|
28
28
|
*/
|
|
29
|
-
formatIds
|
|
29
|
+
formatIds?: Array<number>;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof MeetingPartialUpdate
|
|
34
34
|
*/
|
|
35
|
-
venueType
|
|
35
|
+
venueType?: number;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {boolean}
|
|
@@ -44,19 +44,19 @@ export interface MeetingPartialUpdate {
|
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof MeetingPartialUpdate
|
|
46
46
|
*/
|
|
47
|
-
day
|
|
47
|
+
day?: number;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof MeetingPartialUpdate
|
|
52
52
|
*/
|
|
53
|
-
startTime
|
|
53
|
+
startTime?: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof MeetingPartialUpdate
|
|
58
58
|
*/
|
|
59
|
-
duration
|
|
59
|
+
duration?: string;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {string}
|
|
@@ -68,19 +68,19 @@ export interface MeetingPartialUpdate {
|
|
|
68
68
|
* @type {number}
|
|
69
69
|
* @memberof MeetingPartialUpdate
|
|
70
70
|
*/
|
|
71
|
-
latitude
|
|
71
|
+
latitude?: number;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {number}
|
|
75
75
|
* @memberof MeetingPartialUpdate
|
|
76
76
|
*/
|
|
77
|
-
longitude
|
|
77
|
+
longitude?: number;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {boolean}
|
|
81
81
|
* @memberof MeetingPartialUpdate
|
|
82
82
|
*/
|
|
83
|
-
published
|
|
83
|
+
published?: boolean;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {string}
|
|
@@ -98,7 +98,7 @@ export interface MeetingPartialUpdate {
|
|
|
98
98
|
* @type {string}
|
|
99
99
|
* @memberof MeetingPartialUpdate
|
|
100
100
|
*/
|
|
101
|
-
name
|
|
101
|
+
name?: string;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* @type {string}
|
|
@@ -13,57 +13,39 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfMeetingPartialUpdate = instanceOfMeetingPartialUpdate;
|
|
17
|
+
exports.MeetingPartialUpdateFromJSON = MeetingPartialUpdateFromJSON;
|
|
18
|
+
exports.MeetingPartialUpdateFromJSONTyped = MeetingPartialUpdateFromJSONTyped;
|
|
19
|
+
exports.MeetingPartialUpdateToJSON = MeetingPartialUpdateToJSON;
|
|
20
|
+
exports.MeetingPartialUpdateToJSONTyped = MeetingPartialUpdateToJSONTyped;
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the MeetingPartialUpdate interface.
|
|
19
23
|
*/
|
|
20
24
|
function instanceOfMeetingPartialUpdate(value) {
|
|
21
|
-
if (!('serviceBodyId' in value) || value['serviceBodyId'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('formatIds' in value) || value['formatIds'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('venueType' in value) || value['venueType'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('day' in value) || value['day'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('startTime' in value) || value['startTime'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('duration' in value) || value['duration'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('published' in value) || value['published'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
40
|
-
return false;
|
|
41
25
|
return true;
|
|
42
26
|
}
|
|
43
|
-
exports.instanceOfMeetingPartialUpdate = instanceOfMeetingPartialUpdate;
|
|
44
27
|
function MeetingPartialUpdateFromJSON(json) {
|
|
45
28
|
return MeetingPartialUpdateFromJSONTyped(json, false);
|
|
46
29
|
}
|
|
47
|
-
exports.MeetingPartialUpdateFromJSON = MeetingPartialUpdateFromJSON;
|
|
48
30
|
function MeetingPartialUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
31
|
if (json == null) {
|
|
50
32
|
return json;
|
|
51
33
|
}
|
|
52
34
|
return {
|
|
53
|
-
'serviceBodyId': json['serviceBodyId'],
|
|
54
|
-
'formatIds': json['formatIds'],
|
|
55
|
-
'venueType': json['venueType'],
|
|
35
|
+
'serviceBodyId': json['serviceBodyId'] == null ? undefined : json['serviceBodyId'],
|
|
36
|
+
'formatIds': json['formatIds'] == null ? undefined : json['formatIds'],
|
|
37
|
+
'venueType': json['venueType'] == null ? undefined : json['venueType'],
|
|
56
38
|
'temporarilyVirtual': json['temporarilyVirtual'] == null ? undefined : json['temporarilyVirtual'],
|
|
57
|
-
'day': json['day'],
|
|
58
|
-
'startTime': json['startTime'],
|
|
59
|
-
'duration': json['duration'],
|
|
39
|
+
'day': json['day'] == null ? undefined : json['day'],
|
|
40
|
+
'startTime': json['startTime'] == null ? undefined : json['startTime'],
|
|
41
|
+
'duration': json['duration'] == null ? undefined : json['duration'],
|
|
60
42
|
'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
|
|
61
|
-
'latitude': json['latitude'],
|
|
62
|
-
'longitude': json['longitude'],
|
|
63
|
-
'published': json['published'],
|
|
43
|
+
'latitude': json['latitude'] == null ? undefined : json['latitude'],
|
|
44
|
+
'longitude': json['longitude'] == null ? undefined : json['longitude'],
|
|
45
|
+
'published': json['published'] == null ? undefined : json['published'],
|
|
64
46
|
'email': json['email'] == null ? undefined : json['email'],
|
|
65
47
|
'worldId': json['worldId'] == null ? undefined : json['worldId'],
|
|
66
|
-
'name': json['name'],
|
|
48
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
67
49
|
'locationText': json['location_text'] == null ? undefined : json['location_text'],
|
|
68
50
|
'locationInfo': json['location_info'] == null ? undefined : json['location_info'],
|
|
69
51
|
'locationStreet': json['location_street'] == null ? undefined : json['location_street'],
|
|
@@ -89,13 +71,10 @@ function MeetingPartialUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
89
71
|
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
90
72
|
};
|
|
91
73
|
}
|
|
92
|
-
exports.MeetingPartialUpdateFromJSONTyped = MeetingPartialUpdateFromJSONTyped;
|
|
93
74
|
function MeetingPartialUpdateToJSON(json) {
|
|
94
75
|
return MeetingPartialUpdateToJSONTyped(json, false);
|
|
95
76
|
}
|
|
96
|
-
|
|
97
|
-
function MeetingPartialUpdateToJSONTyped(value, ignoreDiscriminator) {
|
|
98
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
77
|
+
function MeetingPartialUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
99
78
|
if (value == null) {
|
|
100
79
|
return value;
|
|
101
80
|
}
|
|
@@ -139,4 +118,3 @@ function MeetingPartialUpdateToJSONTyped(value, ignoreDiscriminator) {
|
|
|
139
118
|
'customFields': value['customFields'],
|
|
140
119
|
};
|
|
141
120
|
}
|
|
142
|
-
exports.MeetingPartialUpdateToJSONTyped = MeetingPartialUpdateToJSONTyped;
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfMeetingUpdate = instanceOfMeetingUpdate;
|
|
17
|
+
exports.MeetingUpdateFromJSON = MeetingUpdateFromJSON;
|
|
18
|
+
exports.MeetingUpdateFromJSONTyped = MeetingUpdateFromJSONTyped;
|
|
19
|
+
exports.MeetingUpdateToJSON = MeetingUpdateToJSON;
|
|
20
|
+
exports.MeetingUpdateToJSONTyped = MeetingUpdateToJSONTyped;
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the MeetingUpdate interface.
|
|
19
23
|
*/
|
|
@@ -40,11 +44,9 @@ function instanceOfMeetingUpdate(value) {
|
|
|
40
44
|
return false;
|
|
41
45
|
return true;
|
|
42
46
|
}
|
|
43
|
-
exports.instanceOfMeetingUpdate = instanceOfMeetingUpdate;
|
|
44
47
|
function MeetingUpdateFromJSON(json) {
|
|
45
48
|
return MeetingUpdateFromJSONTyped(json, false);
|
|
46
49
|
}
|
|
47
|
-
exports.MeetingUpdateFromJSON = MeetingUpdateFromJSON;
|
|
48
50
|
function MeetingUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
51
|
if (json == null) {
|
|
50
52
|
return json;
|
|
@@ -89,13 +91,10 @@ function MeetingUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
89
91
|
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
90
92
|
};
|
|
91
93
|
}
|
|
92
|
-
exports.MeetingUpdateFromJSONTyped = MeetingUpdateFromJSONTyped;
|
|
93
94
|
function MeetingUpdateToJSON(json) {
|
|
94
95
|
return MeetingUpdateToJSONTyped(json, false);
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
function MeetingUpdateToJSONTyped(value, ignoreDiscriminator) {
|
|
98
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
97
|
+
function MeetingUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
99
98
|
if (value == null) {
|
|
100
99
|
return value;
|
|
101
100
|
}
|
|
@@ -139,4 +138,3 @@ function MeetingUpdateToJSONTyped(value, ignoreDiscriminator) {
|
|
|
139
138
|
'customFields': value['customFields'],
|
|
140
139
|
};
|
|
141
140
|
}
|
|
142
|
-
exports.MeetingUpdateToJSONTyped = MeetingUpdateToJSONTyped;
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.instanceOfNotFoundError = instanceOfNotFoundError;
|
|
17
|
+
exports.NotFoundErrorFromJSON = NotFoundErrorFromJSON;
|
|
18
|
+
exports.NotFoundErrorFromJSONTyped = NotFoundErrorFromJSONTyped;
|
|
19
|
+
exports.NotFoundErrorToJSON = NotFoundErrorToJSON;
|
|
20
|
+
exports.NotFoundErrorToJSONTyped = NotFoundErrorToJSONTyped;
|
|
17
21
|
/**
|
|
18
22
|
* Check if a given object implements the NotFoundError interface.
|
|
19
23
|
*/
|
|
@@ -22,11 +26,9 @@ function instanceOfNotFoundError(value) {
|
|
|
22
26
|
return false;
|
|
23
27
|
return true;
|
|
24
28
|
}
|
|
25
|
-
exports.instanceOfNotFoundError = instanceOfNotFoundError;
|
|
26
29
|
function NotFoundErrorFromJSON(json) {
|
|
27
30
|
return NotFoundErrorFromJSONTyped(json, false);
|
|
28
31
|
}
|
|
29
|
-
exports.NotFoundErrorFromJSON = NotFoundErrorFromJSON;
|
|
30
32
|
function NotFoundErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
33
|
if (json == null) {
|
|
32
34
|
return json;
|
|
@@ -35,13 +37,10 @@ function NotFoundErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
37
|
'message': json['message'],
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
|
-
exports.NotFoundErrorFromJSONTyped = NotFoundErrorFromJSONTyped;
|
|
39
40
|
function NotFoundErrorToJSON(json) {
|
|
40
41
|
return NotFoundErrorToJSONTyped(json, false);
|
|
41
42
|
}
|
|
42
|
-
|
|
43
|
-
function NotFoundErrorToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
function NotFoundErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
44
|
if (value == null) {
|
|
46
45
|
return value;
|
|
47
46
|
}
|
|
@@ -49,4 +48,3 @@ function NotFoundErrorToJSONTyped(value, ignoreDiscriminator) {
|
|
|
49
48
|
'message': value['message'],
|
|
50
49
|
};
|
|
51
50
|
}
|
|
52
|
-
exports.NotFoundErrorToJSONTyped = NotFoundErrorToJSONTyped;
|
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
|
|
16
|
+
exports.instanceOfRootServer = instanceOfRootServer;
|
|
17
|
+
exports.RootServerFromJSON = RootServerFromJSON;
|
|
18
|
+
exports.RootServerFromJSONTyped = RootServerFromJSONTyped;
|
|
19
|
+
exports.RootServerToJSON = RootServerToJSON;
|
|
20
|
+
exports.RootServerToJSONTyped = RootServerToJSONTyped;
|
|
21
|
+
const RootServerBaseStatistics_1 = require("./RootServerBaseStatistics");
|
|
18
22
|
/**
|
|
19
23
|
* Check if a given object implements the RootServer interface.
|
|
20
24
|
*/
|
|
@@ -31,11 +35,9 @@ function instanceOfRootServer(value) {
|
|
|
31
35
|
return false;
|
|
32
36
|
return true;
|
|
33
37
|
}
|
|
34
|
-
exports.instanceOfRootServer = instanceOfRootServer;
|
|
35
38
|
function RootServerFromJSON(json) {
|
|
36
39
|
return RootServerFromJSONTyped(json, false);
|
|
37
40
|
}
|
|
38
|
-
exports.RootServerFromJSON = RootServerFromJSON;
|
|
39
41
|
function RootServerFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
42
|
if (json == null) {
|
|
41
43
|
return json;
|
|
@@ -50,13 +52,10 @@ function RootServerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
52
|
'id': json['id'],
|
|
51
53
|
};
|
|
52
54
|
}
|
|
53
|
-
exports.RootServerFromJSONTyped = RootServerFromJSONTyped;
|
|
54
55
|
function RootServerToJSON(json) {
|
|
55
56
|
return RootServerToJSONTyped(json, false);
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
function RootServerToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
function RootServerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
59
|
if (value == null) {
|
|
61
60
|
return value;
|
|
62
61
|
}
|
|
@@ -66,8 +65,7 @@ function RootServerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
66
65
|
'url': value['url'],
|
|
67
66
|
'statistics': (0, RootServerBaseStatistics_1.RootServerBaseStatisticsToJSON)(value['statistics']),
|
|
68
67
|
'serverInfo': value['serverInfo'],
|
|
69
|
-
'lastSuccessfulImport':
|
|
68
|
+
'lastSuccessfulImport': value['lastSuccessfulImport'].toISOString(),
|
|
70
69
|
'id': value['id'],
|
|
71
70
|
};
|
|
72
71
|
}
|
|
73
|
-
exports.RootServerToJSONTyped = RootServerToJSONTyped;
|