bmlt-server-client 1.3.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 (136) hide show
  1. package/.github/workflows/release.yml +25 -0
  2. package/.idea/bmlt-server-typescript-client.iml +9 -0
  3. package/.idea/misc.xml +6 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/vcs.xml +6 -0
  6. package/.openapi-generator/FILES +46 -0
  7. package/.openapi-generator/VERSION +1 -0
  8. package/.openapi-generator-ignore +23 -0
  9. package/Makefile +18 -0
  10. package/README.md +46 -0
  11. package/dist/apis/ServerApi.d.ts +424 -0
  12. package/dist/apis/ServerApi.js +1828 -0
  13. package/dist/apis/index.d.ts +1 -0
  14. package/dist/apis/index.js +19 -0
  15. package/dist/index.d.ts +3 -0
  16. package/dist/index.js +21 -0
  17. package/dist/models/AuthenticationError.d.ts +32 -0
  18. package/dist/models/AuthenticationError.js +52 -0
  19. package/dist/models/AuthorizationError.d.ts +32 -0
  20. package/dist/models/AuthorizationError.js +52 -0
  21. package/dist/models/ConflictError.d.ts +32 -0
  22. package/dist/models/ConflictError.js +52 -0
  23. package/dist/models/ErrorTest.d.ts +44 -0
  24. package/dist/models/ErrorTest.js +54 -0
  25. package/dist/models/Format.d.ts +51 -0
  26. package/dist/models/Format.js +65 -0
  27. package/dist/models/FormatBase.d.ts +45 -0
  28. package/dist/models/FormatBase.js +55 -0
  29. package/dist/models/FormatCreate.d.ts +45 -0
  30. package/dist/models/FormatCreate.js +57 -0
  31. package/dist/models/FormatPartialUpdate.d.ts +45 -0
  32. package/dist/models/FormatPartialUpdate.js +55 -0
  33. package/dist/models/FormatTranslation.d.ts +50 -0
  34. package/dist/models/FormatTranslation.js +64 -0
  35. package/dist/models/FormatUpdate.d.ts +45 -0
  36. package/dist/models/FormatUpdate.js +57 -0
  37. package/dist/models/Meeting.d.ts +256 -0
  38. package/dist/models/Meeting.js +154 -0
  39. package/dist/models/MeetingBase.d.ts +250 -0
  40. package/dist/models/MeetingBase.js +122 -0
  41. package/dist/models/MeetingChangeResource.d.ts +50 -0
  42. package/dist/models/MeetingChangeResource.js +56 -0
  43. package/dist/models/MeetingCreate.d.ts +250 -0
  44. package/dist/models/MeetingCreate.js +142 -0
  45. package/dist/models/MeetingPartialUpdate.d.ts +250 -0
  46. package/dist/models/MeetingPartialUpdate.js +142 -0
  47. package/dist/models/MeetingUpdate.d.ts +250 -0
  48. package/dist/models/MeetingUpdate.js +142 -0
  49. package/dist/models/NotFoundError.d.ts +32 -0
  50. package/dist/models/NotFoundError.js +52 -0
  51. package/dist/models/Server.d.ts +69 -0
  52. package/dist/models/Server.js +73 -0
  53. package/dist/models/ServerBase.d.ts +63 -0
  54. package/dist/models/ServerBase.js +61 -0
  55. package/dist/models/ServerBaseStatistics.d.ts +40 -0
  56. package/dist/models/ServerBaseStatistics.js +58 -0
  57. package/dist/models/ServerBaseStatisticsMeetings.d.ts +56 -0
  58. package/dist/models/ServerBaseStatisticsMeetings.js +68 -0
  59. package/dist/models/ServerBaseStatisticsServiceBodies.d.ts +50 -0
  60. package/dist/models/ServerBaseStatisticsServiceBodies.js +64 -0
  61. package/dist/models/ServerError.d.ts +32 -0
  62. package/dist/models/ServerError.js +52 -0
  63. package/dist/models/ServiceBody.d.ts +92 -0
  64. package/dist/models/ServiceBody.js +92 -0
  65. package/dist/models/ServiceBodyBase.d.ts +86 -0
  66. package/dist/models/ServiceBodyBase.js +68 -0
  67. package/dist/models/ServiceBodyCreate.d.ts +86 -0
  68. package/dist/models/ServiceBodyCreate.js +80 -0
  69. package/dist/models/ServiceBodyPartialUpdate.d.ts +86 -0
  70. package/dist/models/ServiceBodyPartialUpdate.js +68 -0
  71. package/dist/models/ServiceBodyUpdate.d.ts +86 -0
  72. package/dist/models/ServiceBodyUpdate.js +80 -0
  73. package/dist/models/Token.d.ts +50 -0
  74. package/dist/models/Token.js +64 -0
  75. package/dist/models/TokenCredentials.d.ts +38 -0
  76. package/dist/models/TokenCredentials.js +56 -0
  77. package/dist/models/User.d.ts +68 -0
  78. package/dist/models/User.js +76 -0
  79. package/dist/models/UserBase.d.ts +62 -0
  80. package/dist/models/UserBase.js +60 -0
  81. package/dist/models/UserCreate.d.ts +68 -0
  82. package/dist/models/UserCreate.js +70 -0
  83. package/dist/models/UserPartialUpdate.d.ts +68 -0
  84. package/dist/models/UserPartialUpdate.js +62 -0
  85. package/dist/models/UserUpdate.d.ts +68 -0
  86. package/dist/models/UserUpdate.js +68 -0
  87. package/dist/models/ValidationError.d.ts +40 -0
  88. package/dist/models/ValidationError.js +56 -0
  89. package/dist/models/index.d.ts +36 -0
  90. package/dist/models/index.js +54 -0
  91. package/dist/runtime.d.ts +184 -0
  92. package/dist/runtime.js +564 -0
  93. package/openapi.json +1 -0
  94. package/package.json +19 -0
  95. package/src/apis/ServerApi.ts +1529 -0
  96. package/src/apis/index.ts +3 -0
  97. package/src/index.ts +5 -0
  98. package/src/models/AuthenticationError.ts +66 -0
  99. package/src/models/AuthorizationError.ts +66 -0
  100. package/src/models/ConflictError.ts +66 -0
  101. package/src/models/ErrorTest.ts +81 -0
  102. package/src/models/Format.ts +101 -0
  103. package/src/models/FormatBase.ts +89 -0
  104. package/src/models/FormatCreate.ts +90 -0
  105. package/src/models/FormatPartialUpdate.ts +89 -0
  106. package/src/models/FormatTranslation.ts +93 -0
  107. package/src/models/FormatUpdate.ts +90 -0
  108. package/src/models/Meeting.ts +376 -0
  109. package/src/models/MeetingBase.ts +353 -0
  110. package/src/models/MeetingChangeResource.ts +89 -0
  111. package/src/models/MeetingCreate.ts +363 -0
  112. package/src/models/MeetingPartialUpdate.ts +363 -0
  113. package/src/models/MeetingUpdate.ts +363 -0
  114. package/src/models/NotFoundError.ts +66 -0
  115. package/src/models/Server.ts +126 -0
  116. package/src/models/ServerBase.ts +113 -0
  117. package/src/models/ServerBaseStatistics.ts +90 -0
  118. package/src/models/ServerBaseStatisticsMeetings.ts +102 -0
  119. package/src/models/ServerBaseStatisticsServiceBodies.ts +93 -0
  120. package/src/models/ServerError.ts +66 -0
  121. package/src/models/ServiceBody.ts +156 -0
  122. package/src/models/ServiceBodyBase.ts +137 -0
  123. package/src/models/ServiceBodyCreate.ts +143 -0
  124. package/src/models/ServiceBodyPartialUpdate.ts +137 -0
  125. package/src/models/ServiceBodyUpdate.ts +143 -0
  126. package/src/models/Token.ts +93 -0
  127. package/src/models/TokenCredentials.ts +75 -0
  128. package/src/models/User.ts +120 -0
  129. package/src/models/UserBase.ts +105 -0
  130. package/src/models/UserCreate.ts +117 -0
  131. package/src/models/UserPartialUpdate.ts +113 -0
  132. package/src/models/UserUpdate.ts +116 -0
  133. package/src/models/ValidationError.ts +75 -0
  134. package/src/models/index.ts +38 -0
  135. package/src/runtime.ts +432 -0
  136. package/tsconfig.json +20 -0
@@ -0,0 +1 @@
1
+ export * from './ServerApi';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./ServerApi"), exports);
@@ -0,0 +1,3 @@
1
+ export * from './runtime';
2
+ export * from './apis/index';
3
+ export * from './models/index';
package/dist/index.js ADDED
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./runtime"), exports);
20
+ __exportStar(require("./apis/index"), exports);
21
+ __exportStar(require("./models/index"), exports);
@@ -0,0 +1,32 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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
+ *
14
+ * @export
15
+ * @interface AuthenticationError
16
+ */
17
+ export interface AuthenticationError {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AuthenticationError
22
+ */
23
+ message: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AuthenticationError interface.
27
+ */
28
+ export declare function instanceOfAuthenticationError(value: object): value is AuthenticationError;
29
+ export declare function AuthenticationErrorFromJSON(json: any): AuthenticationError;
30
+ export declare function AuthenticationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationError;
31
+ export declare function AuthenticationErrorToJSON(json: any): AuthenticationError;
32
+ export declare function AuthenticationErrorToJSONTyped(value?: AuthenticationError | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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.AuthenticationErrorToJSONTyped = exports.AuthenticationErrorToJSON = exports.AuthenticationErrorFromJSONTyped = exports.AuthenticationErrorFromJSON = exports.instanceOfAuthenticationError = void 0;
17
+ /**
18
+ * Check if a given object implements the AuthenticationError interface.
19
+ */
20
+ function instanceOfAuthenticationError(value) {
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfAuthenticationError = instanceOfAuthenticationError;
26
+ function AuthenticationErrorFromJSON(json) {
27
+ return AuthenticationErrorFromJSONTyped(json, false);
28
+ }
29
+ exports.AuthenticationErrorFromJSON = AuthenticationErrorFromJSON;
30
+ function AuthenticationErrorFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'message': json['message'],
36
+ };
37
+ }
38
+ exports.AuthenticationErrorFromJSONTyped = AuthenticationErrorFromJSONTyped;
39
+ function AuthenticationErrorToJSON(json) {
40
+ return AuthenticationErrorToJSONTyped(json, false);
41
+ }
42
+ exports.AuthenticationErrorToJSON = AuthenticationErrorToJSON;
43
+ function AuthenticationErrorToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'message': value['message'],
50
+ };
51
+ }
52
+ exports.AuthenticationErrorToJSONTyped = AuthenticationErrorToJSONTyped;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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
+ *
14
+ * @export
15
+ * @interface AuthorizationError
16
+ */
17
+ export interface AuthorizationError {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AuthorizationError
22
+ */
23
+ message: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AuthorizationError interface.
27
+ */
28
+ export declare function instanceOfAuthorizationError(value: object): value is AuthorizationError;
29
+ export declare function AuthorizationErrorFromJSON(json: any): AuthorizationError;
30
+ export declare function AuthorizationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthorizationError;
31
+ export declare function AuthorizationErrorToJSON(json: any): AuthorizationError;
32
+ export declare function AuthorizationErrorToJSONTyped(value?: AuthorizationError | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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.AuthorizationErrorToJSONTyped = exports.AuthorizationErrorToJSON = exports.AuthorizationErrorFromJSONTyped = exports.AuthorizationErrorFromJSON = exports.instanceOfAuthorizationError = void 0;
17
+ /**
18
+ * Check if a given object implements the AuthorizationError interface.
19
+ */
20
+ function instanceOfAuthorizationError(value) {
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfAuthorizationError = instanceOfAuthorizationError;
26
+ function AuthorizationErrorFromJSON(json) {
27
+ return AuthorizationErrorFromJSONTyped(json, false);
28
+ }
29
+ exports.AuthorizationErrorFromJSON = AuthorizationErrorFromJSON;
30
+ function AuthorizationErrorFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'message': json['message'],
36
+ };
37
+ }
38
+ exports.AuthorizationErrorFromJSONTyped = AuthorizationErrorFromJSONTyped;
39
+ function AuthorizationErrorToJSON(json) {
40
+ return AuthorizationErrorToJSONTyped(json, false);
41
+ }
42
+ exports.AuthorizationErrorToJSON = AuthorizationErrorToJSON;
43
+ function AuthorizationErrorToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'message': value['message'],
50
+ };
51
+ }
52
+ exports.AuthorizationErrorToJSONTyped = AuthorizationErrorToJSONTyped;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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
+ *
14
+ * @export
15
+ * @interface ConflictError
16
+ */
17
+ export interface ConflictError {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ConflictError
22
+ */
23
+ message: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ConflictError interface.
27
+ */
28
+ export declare function instanceOfConflictError(value: object): value is ConflictError;
29
+ export declare function ConflictErrorFromJSON(json: any): ConflictError;
30
+ export declare function ConflictErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConflictError;
31
+ export declare function ConflictErrorToJSON(json: any): ConflictError;
32
+ export declare function ConflictErrorToJSONTyped(value?: ConflictError | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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.ConflictErrorToJSONTyped = exports.ConflictErrorToJSON = exports.ConflictErrorFromJSONTyped = exports.ConflictErrorFromJSON = exports.instanceOfConflictError = void 0;
17
+ /**
18
+ * Check if a given object implements the ConflictError interface.
19
+ */
20
+ function instanceOfConflictError(value) {
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfConflictError = instanceOfConflictError;
26
+ function ConflictErrorFromJSON(json) {
27
+ return ConflictErrorFromJSONTyped(json, false);
28
+ }
29
+ exports.ConflictErrorFromJSON = ConflictErrorFromJSON;
30
+ function ConflictErrorFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'message': json['message'],
36
+ };
37
+ }
38
+ exports.ConflictErrorFromJSONTyped = ConflictErrorFromJSONTyped;
39
+ function ConflictErrorToJSON(json) {
40
+ return ConflictErrorToJSONTyped(json, false);
41
+ }
42
+ exports.ConflictErrorToJSON = ConflictErrorToJSON;
43
+ function ConflictErrorToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'message': value['message'],
50
+ };
51
+ }
52
+ exports.ConflictErrorToJSONTyped = ConflictErrorToJSONTyped;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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
+ *
14
+ * @export
15
+ * @interface ErrorTest
16
+ */
17
+ export interface ErrorTest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ErrorTest
22
+ */
23
+ arbitraryString?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ErrorTest
28
+ */
29
+ arbitraryInt?: number;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ErrorTest
34
+ */
35
+ forceServerError?: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ErrorTest interface.
39
+ */
40
+ export declare function instanceOfErrorTest(value: object): value is ErrorTest;
41
+ export declare function ErrorTestFromJSON(json: any): ErrorTest;
42
+ export declare function ErrorTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorTest;
43
+ export declare function ErrorTestToJSON(json: any): ErrorTest;
44
+ export declare function ErrorTestToJSONTyped(value?: ErrorTest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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.ErrorTestToJSONTyped = exports.ErrorTestToJSON = exports.ErrorTestFromJSONTyped = exports.ErrorTestFromJSON = exports.instanceOfErrorTest = void 0;
17
+ /**
18
+ * Check if a given object implements the ErrorTest interface.
19
+ */
20
+ function instanceOfErrorTest(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfErrorTest = instanceOfErrorTest;
24
+ function ErrorTestFromJSON(json) {
25
+ return ErrorTestFromJSONTyped(json, false);
26
+ }
27
+ exports.ErrorTestFromJSON = ErrorTestFromJSON;
28
+ function ErrorTestFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'arbitraryString': json['arbitrary_string'] == null ? undefined : json['arbitrary_string'],
34
+ 'arbitraryInt': json['arbitrary_int'] == null ? undefined : json['arbitrary_int'],
35
+ 'forceServerError': json['force_server_error'] == null ? undefined : json['force_server_error'],
36
+ };
37
+ }
38
+ exports.ErrorTestFromJSONTyped = ErrorTestFromJSONTyped;
39
+ function ErrorTestToJSON(json) {
40
+ return ErrorTestToJSONTyped(json, false);
41
+ }
42
+ exports.ErrorTestToJSON = ErrorTestToJSON;
43
+ function ErrorTestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'arbitrary_string': value['arbitraryString'],
50
+ 'arbitrary_int': value['arbitraryInt'],
51
+ 'force_server_error': value['forceServerError'],
52
+ };
53
+ }
54
+ exports.ErrorTestToJSONTyped = ErrorTestToJSONTyped;
@@ -0,0 +1,51 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 { FormatTranslation } from './FormatTranslation';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Format
17
+ */
18
+ export interface Format {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof Format
23
+ */
24
+ worldId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof Format
29
+ */
30
+ type: string;
31
+ /**
32
+ *
33
+ * @type {Array<FormatTranslation>}
34
+ * @memberof Format
35
+ */
36
+ translations: Array<FormatTranslation>;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof Format
41
+ */
42
+ id: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the Format interface.
46
+ */
47
+ export declare function instanceOfFormat(value: object): value is Format;
48
+ export declare function FormatFromJSON(json: any): Format;
49
+ export declare function FormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): Format;
50
+ export declare function FormatToJSON(json: any): Format;
51
+ export declare function FormatToJSONTyped(value?: Format | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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.FormatToJSONTyped = exports.FormatToJSON = exports.FormatFromJSONTyped = exports.FormatFromJSON = exports.instanceOfFormat = void 0;
17
+ var FormatTranslation_1 = require("./FormatTranslation");
18
+ /**
19
+ * Check if a given object implements the Format interface.
20
+ */
21
+ function instanceOfFormat(value) {
22
+ if (!('worldId' in value) || value['worldId'] === undefined)
23
+ return false;
24
+ if (!('type' in value) || value['type'] === undefined)
25
+ return false;
26
+ if (!('translations' in value) || value['translations'] === undefined)
27
+ return false;
28
+ if (!('id' in value) || value['id'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ exports.instanceOfFormat = instanceOfFormat;
33
+ function FormatFromJSON(json) {
34
+ return FormatFromJSONTyped(json, false);
35
+ }
36
+ exports.FormatFromJSON = FormatFromJSON;
37
+ function FormatFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'worldId': json['worldId'],
43
+ 'type': json['type'],
44
+ 'translations': (json['translations'].map(FormatTranslation_1.FormatTranslationFromJSON)),
45
+ 'id': json['id'],
46
+ };
47
+ }
48
+ exports.FormatFromJSONTyped = FormatFromJSONTyped;
49
+ function FormatToJSON(json) {
50
+ return FormatToJSONTyped(json, false);
51
+ }
52
+ exports.FormatToJSON = FormatToJSON;
53
+ function FormatToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'worldId': value['worldId'],
60
+ 'type': value['type'],
61
+ 'translations': (value['translations'].map(FormatTranslation_1.FormatTranslationToJSON)),
62
+ 'id': value['id'],
63
+ };
64
+ }
65
+ exports.FormatToJSONTyped = FormatToJSONTyped;
@@ -0,0 +1,45 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 { FormatTranslation } from './FormatTranslation';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FormatBase
17
+ */
18
+ export interface FormatBase {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof FormatBase
23
+ */
24
+ worldId?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof FormatBase
29
+ */
30
+ type?: string;
31
+ /**
32
+ *
33
+ * @type {Array<FormatTranslation>}
34
+ * @memberof FormatBase
35
+ */
36
+ translations?: Array<FormatTranslation>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the FormatBase interface.
40
+ */
41
+ export declare function instanceOfFormatBase(value: object): value is FormatBase;
42
+ export declare function FormatBaseFromJSON(json: any): FormatBase;
43
+ export declare function FormatBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormatBase;
44
+ export declare function FormatBaseToJSON(json: any): FormatBase;
45
+ export declare function FormatBaseToJSONTyped(value?: FormatBase | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
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.FormatBaseToJSONTyped = exports.FormatBaseToJSON = exports.FormatBaseFromJSONTyped = exports.FormatBaseFromJSON = exports.instanceOfFormatBase = void 0;
17
+ var FormatTranslation_1 = require("./FormatTranslation");
18
+ /**
19
+ * Check if a given object implements the FormatBase interface.
20
+ */
21
+ function instanceOfFormatBase(value) {
22
+ return true;
23
+ }
24
+ exports.instanceOfFormatBase = instanceOfFormatBase;
25
+ function FormatBaseFromJSON(json) {
26
+ return FormatBaseFromJSONTyped(json, false);
27
+ }
28
+ exports.FormatBaseFromJSON = FormatBaseFromJSON;
29
+ function FormatBaseFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'worldId': json['worldId'] == null ? undefined : json['worldId'],
35
+ 'type': json['type'] == null ? undefined : json['type'],
36
+ 'translations': json['translations'] == null ? undefined : (json['translations'].map(FormatTranslation_1.FormatTranslationFromJSON)),
37
+ };
38
+ }
39
+ exports.FormatBaseFromJSONTyped = FormatBaseFromJSONTyped;
40
+ function FormatBaseToJSON(json) {
41
+ return FormatBaseToJSONTyped(json, false);
42
+ }
43
+ exports.FormatBaseToJSON = FormatBaseToJSON;
44
+ function FormatBaseToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'worldId': value['worldId'],
51
+ 'type': value['type'],
52
+ 'translations': value['translations'] == null ? undefined : (value['translations'].map(FormatTranslation_1.FormatTranslationToJSON)),
53
+ };
54
+ }
55
+ exports.FormatBaseToJSONTyped = FormatBaseToJSONTyped;
@@ -0,0 +1,45 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 { FormatTranslation } from './FormatTranslation';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FormatCreate
17
+ */
18
+ export interface FormatCreate {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof FormatCreate
23
+ */
24
+ worldId?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof FormatCreate
29
+ */
30
+ type?: string;
31
+ /**
32
+ *
33
+ * @type {Array<FormatTranslation>}
34
+ * @memberof FormatCreate
35
+ */
36
+ translations: Array<FormatTranslation>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the FormatCreate interface.
40
+ */
41
+ export declare function instanceOfFormatCreate(value: object): value is FormatCreate;
42
+ export declare function FormatCreateFromJSON(json: any): FormatCreate;
43
+ export declare function FormatCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormatCreate;
44
+ export declare function FormatCreateToJSON(json: any): FormatCreate;
45
+ export declare function FormatCreateToJSONTyped(value?: FormatCreate | null, ignoreDiscriminator?: boolean): any;