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.
Files changed (200) hide show
  1. package/.github/workflows/release.yml +4 -4
  2. package/.openapi-generator/FILES +44 -0
  3. package/.openapi-generator/VERSION +1 -1
  4. package/Makefile +2 -1
  5. package/README.md +172 -28
  6. package/dist/apis/RootServerApi.d.ts +25 -1
  7. package/dist/apis/RootServerApi.js +960 -1531
  8. package/dist/esm/apis/RootServerApi.d.ts +448 -0
  9. package/dist/esm/apis/RootServerApi.js +1253 -0
  10. package/dist/esm/apis/index.d.ts +1 -0
  11. package/dist/esm/apis/index.js +3 -0
  12. package/dist/esm/index.d.ts +3 -0
  13. package/dist/esm/index.js +5 -0
  14. package/dist/esm/models/AuthenticationError.d.ts +32 -0
  15. package/dist/esm/models/AuthenticationError.js +43 -0
  16. package/dist/esm/models/AuthorizationError.d.ts +32 -0
  17. package/dist/esm/models/AuthorizationError.js +43 -0
  18. package/dist/esm/models/ConflictError.d.ts +32 -0
  19. package/dist/esm/models/ConflictError.js +43 -0
  20. package/dist/esm/models/ErrorTest.d.ts +44 -0
  21. package/dist/esm/models/ErrorTest.js +45 -0
  22. package/dist/esm/models/Format.d.ts +51 -0
  23. package/dist/esm/models/Format.js +56 -0
  24. package/dist/esm/models/FormatBase.d.ts +45 -0
  25. package/dist/esm/models/FormatBase.js +46 -0
  26. package/dist/esm/models/FormatCreate.d.ts +45 -0
  27. package/dist/esm/models/FormatCreate.js +48 -0
  28. package/dist/esm/models/FormatPartialUpdate.d.ts +45 -0
  29. package/dist/esm/models/FormatPartialUpdate.js +46 -0
  30. package/dist/esm/models/FormatTranslation.d.ts +50 -0
  31. package/dist/esm/models/FormatTranslation.js +55 -0
  32. package/dist/esm/models/FormatUpdate.d.ts +45 -0
  33. package/dist/esm/models/FormatUpdate.js +48 -0
  34. package/dist/esm/models/Meeting.d.ts +256 -0
  35. package/dist/esm/models/Meeting.js +145 -0
  36. package/dist/esm/models/MeetingBase.d.ts +250 -0
  37. package/dist/esm/models/MeetingBase.js +113 -0
  38. package/dist/esm/models/MeetingChangeResource.d.ts +50 -0
  39. package/dist/esm/models/MeetingChangeResource.js +47 -0
  40. package/dist/esm/models/MeetingCreate.d.ts +250 -0
  41. package/dist/esm/models/MeetingCreate.js +133 -0
  42. package/dist/esm/models/MeetingPartialUpdate.d.ts +250 -0
  43. package/dist/esm/models/MeetingPartialUpdate.js +113 -0
  44. package/dist/esm/models/MeetingUpdate.d.ts +250 -0
  45. package/dist/esm/models/MeetingUpdate.js +133 -0
  46. package/dist/esm/models/NotFoundError.d.ts +32 -0
  47. package/dist/esm/models/NotFoundError.js +43 -0
  48. package/dist/esm/models/RootServer.d.ts +69 -0
  49. package/dist/esm/models/RootServer.js +64 -0
  50. package/dist/esm/models/RootServerBase.d.ts +63 -0
  51. package/dist/esm/models/RootServerBase.js +52 -0
  52. package/dist/esm/models/RootServerBaseStatistics.d.ts +40 -0
  53. package/dist/esm/models/RootServerBaseStatistics.js +49 -0
  54. package/dist/esm/models/RootServerBaseStatisticsMeetings.d.ts +56 -0
  55. package/dist/esm/models/RootServerBaseStatisticsMeetings.js +59 -0
  56. package/dist/esm/models/RootServerBaseStatisticsServiceBodies.d.ts +50 -0
  57. package/dist/esm/models/RootServerBaseStatisticsServiceBodies.js +55 -0
  58. package/dist/esm/models/ServerError.d.ts +32 -0
  59. package/dist/esm/models/ServerError.js +43 -0
  60. package/dist/esm/models/ServiceBody.d.ts +92 -0
  61. package/dist/esm/models/ServiceBody.js +83 -0
  62. package/dist/esm/models/ServiceBodyBase.d.ts +86 -0
  63. package/dist/esm/models/ServiceBodyBase.js +59 -0
  64. package/dist/esm/models/ServiceBodyCreate.d.ts +86 -0
  65. package/dist/esm/models/ServiceBodyCreate.js +71 -0
  66. package/dist/esm/models/ServiceBodyPartialUpdate.d.ts +86 -0
  67. package/dist/esm/models/ServiceBodyPartialUpdate.js +59 -0
  68. package/dist/esm/models/ServiceBodyUpdate.d.ts +86 -0
  69. package/dist/esm/models/ServiceBodyUpdate.js +71 -0
  70. package/dist/esm/models/SettingsBase.d.ts +158 -0
  71. package/dist/esm/models/SettingsBase.js +83 -0
  72. package/dist/esm/models/SettingsObject.d.ts +158 -0
  73. package/dist/esm/models/SettingsObject.js +83 -0
  74. package/dist/esm/models/SettingsUpdate.d.ts +158 -0
  75. package/dist/esm/models/SettingsUpdate.js +83 -0
  76. package/dist/esm/models/Token.d.ts +50 -0
  77. package/dist/esm/models/Token.js +55 -0
  78. package/dist/esm/models/TokenCredentials.d.ts +38 -0
  79. package/dist/esm/models/TokenCredentials.js +47 -0
  80. package/dist/esm/models/User.d.ts +74 -0
  81. package/dist/esm/models/User.js +69 -0
  82. package/dist/esm/models/UserBase.d.ts +62 -0
  83. package/dist/esm/models/UserBase.js +51 -0
  84. package/dist/esm/models/UserCreate.d.ts +68 -0
  85. package/dist/esm/models/UserCreate.js +61 -0
  86. package/dist/esm/models/UserPartialUpdate.d.ts +68 -0
  87. package/dist/esm/models/UserPartialUpdate.js +53 -0
  88. package/dist/esm/models/UserUpdate.d.ts +68 -0
  89. package/dist/esm/models/UserUpdate.js +59 -0
  90. package/dist/esm/models/ValidationError.d.ts +40 -0
  91. package/dist/esm/models/ValidationError.js +47 -0
  92. package/dist/esm/models/index.d.ts +39 -0
  93. package/dist/esm/models/index.js +41 -0
  94. package/dist/esm/runtime.d.ts +184 -0
  95. package/dist/esm/runtime.js +334 -0
  96. package/dist/models/AuthenticationError.js +6 -8
  97. package/dist/models/AuthorizationError.js +6 -8
  98. package/dist/models/ConflictError.js +6 -8
  99. package/dist/models/ErrorTest.js +6 -8
  100. package/dist/models/Format.js +7 -9
  101. package/dist/models/FormatBase.js +7 -9
  102. package/dist/models/FormatCreate.js +7 -9
  103. package/dist/models/FormatPartialUpdate.js +7 -9
  104. package/dist/models/FormatTranslation.js +6 -8
  105. package/dist/models/FormatUpdate.js +7 -9
  106. package/dist/models/Meeting.js +6 -8
  107. package/dist/models/MeetingBase.js +6 -8
  108. package/dist/models/MeetingChangeResource.js +6 -8
  109. package/dist/models/MeetingCreate.js +6 -8
  110. package/dist/models/MeetingPartialUpdate.d.ts +10 -10
  111. package/dist/models/MeetingPartialUpdate.js +16 -38
  112. package/dist/models/MeetingUpdate.js +6 -8
  113. package/dist/models/NotFoundError.js +6 -8
  114. package/dist/models/RootServer.js +8 -10
  115. package/dist/models/RootServerBase.js +8 -10
  116. package/dist/models/RootServerBaseStatistics.js +8 -10
  117. package/dist/models/RootServerBaseStatisticsMeetings.js +6 -8
  118. package/dist/models/RootServerBaseStatisticsServiceBodies.js +6 -8
  119. package/dist/models/ServerError.js +6 -8
  120. package/dist/models/ServiceBody.js +6 -8
  121. package/dist/models/ServiceBodyBase.js +6 -8
  122. package/dist/models/ServiceBodyCreate.js +6 -8
  123. package/dist/models/ServiceBodyPartialUpdate.js +6 -8
  124. package/dist/models/ServiceBodyUpdate.js +6 -8
  125. package/dist/models/SettingsBase.d.ts +158 -0
  126. package/dist/models/SettingsBase.js +90 -0
  127. package/dist/models/SettingsObject.d.ts +158 -0
  128. package/dist/models/SettingsObject.js +90 -0
  129. package/dist/models/SettingsUpdate.d.ts +158 -0
  130. package/dist/models/SettingsUpdate.js +90 -0
  131. package/dist/models/Token.js +6 -8
  132. package/dist/models/TokenCredentials.js +6 -8
  133. package/dist/models/User.d.ts +6 -0
  134. package/dist/models/User.js +8 -8
  135. package/dist/models/UserBase.js +6 -8
  136. package/dist/models/UserCreate.js +6 -8
  137. package/dist/models/UserPartialUpdate.js +6 -8
  138. package/dist/models/UserUpdate.js +6 -8
  139. package/dist/models/ValidationError.js +6 -8
  140. package/dist/models/index.d.ts +3 -0
  141. package/dist/models/index.js +3 -0
  142. package/dist/runtime.d.ts +9 -9
  143. package/dist/runtime.js +226 -440
  144. package/docs/AuthenticationError.md +34 -0
  145. package/docs/AuthorizationError.md +34 -0
  146. package/docs/ConflictError.md +34 -0
  147. package/docs/ErrorTest.md +38 -0
  148. package/docs/Format.md +40 -0
  149. package/docs/FormatBase.md +38 -0
  150. package/docs/FormatCreate.md +38 -0
  151. package/docs/FormatPartialUpdate.md +38 -0
  152. package/docs/FormatTranslation.md +40 -0
  153. package/docs/FormatUpdate.md +38 -0
  154. package/docs/Meeting.md +108 -0
  155. package/docs/MeetingBase.md +106 -0
  156. package/docs/MeetingChangeResource.md +40 -0
  157. package/docs/MeetingCreate.md +106 -0
  158. package/docs/MeetingPartialUpdate.md +106 -0
  159. package/docs/MeetingUpdate.md +106 -0
  160. package/docs/NotFoundError.md +34 -0
  161. package/docs/RootServer.md +46 -0
  162. package/docs/RootServerApi.md +2514 -0
  163. package/docs/RootServerBase.md +44 -0
  164. package/docs/RootServerBaseStatistics.md +36 -0
  165. package/docs/RootServerBaseStatisticsMeetings.md +42 -0
  166. package/docs/RootServerBaseStatisticsServiceBodies.md +40 -0
  167. package/docs/ServerError.md +34 -0
  168. package/docs/ServiceBody.md +54 -0
  169. package/docs/ServiceBodyBase.md +52 -0
  170. package/docs/ServiceBodyCreate.md +52 -0
  171. package/docs/ServiceBodyPartialUpdate.md +52 -0
  172. package/docs/ServiceBodyUpdate.md +52 -0
  173. package/docs/SettingsBase.md +76 -0
  174. package/docs/SettingsObject.md +76 -0
  175. package/docs/SettingsUpdate.md +77 -0
  176. package/docs/Token.md +40 -0
  177. package/docs/TokenCredentials.md +36 -0
  178. package/docs/User.md +48 -0
  179. package/docs/UserBase.md +44 -0
  180. package/docs/UserCreate.md +46 -0
  181. package/docs/UserPartialUpdate.md +46 -0
  182. package/docs/UserUpdate.md +46 -0
  183. package/docs/ValidationError.md +36 -0
  184. package/openapi.json +1 -1
  185. package/package.json +5 -3
  186. package/src/apis/RootServerApi.ts +242 -32
  187. package/src/models/MeetingPartialUpdate.ts +20 -30
  188. package/src/models/RootServer.ts +1 -1
  189. package/src/models/RootServerBase.ts +1 -1
  190. package/src/models/SettingsBase.ts +233 -0
  191. package/src/models/SettingsObject.ts +233 -0
  192. package/src/models/SettingsUpdate.ts +233 -0
  193. package/src/models/User.ts +8 -0
  194. package/src/models/index.ts +3 -0
  195. package/tsconfig.esm.json +7 -0
  196. package/tsconfig.json +1 -5
  197. package/.idea/bmlt-server-typescript-client.iml +0 -9
  198. package/.idea/misc.xml +0 -6
  199. package/.idea/modules.xml +0 -8
  200. package/.idea/vcs.xml +0 -6
@@ -0,0 +1,106 @@
1
+
2
+ # MeetingCreate
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `serviceBodyId` | number
10
+ `formatIds` | Array<number>
11
+ `venueType` | number
12
+ `temporarilyVirtual` | boolean
13
+ `day` | number
14
+ `startTime` | string
15
+ `duration` | string
16
+ `timeZone` | string
17
+ `latitude` | number
18
+ `longitude` | number
19
+ `published` | boolean
20
+ `email` | string
21
+ `worldId` | string
22
+ `name` | string
23
+ `locationText` | string
24
+ `locationInfo` | string
25
+ `locationStreet` | string
26
+ `locationNeighborhood` | string
27
+ `locationCitySubsection` | string
28
+ `locationMunicipality` | string
29
+ `locationSubProvince` | string
30
+ `locationProvince` | string
31
+ `locationPostalCode1` | string
32
+ `locationNation` | string
33
+ `phoneMeetingNumber` | string
34
+ `virtualMeetingLink` | string
35
+ `virtualMeetingAdditionalInfo` | string
36
+ `contactName1` | string
37
+ `contactName2` | string
38
+ `contactPhone1` | string
39
+ `contactPhone2` | string
40
+ `contactEmail1` | string
41
+ `contactEmail2` | string
42
+ `busLines` | string
43
+ `trainLines` | string
44
+ `comments` | string
45
+ `customFields` | { [key: string]: string; }
46
+
47
+ ## Example
48
+
49
+ ```typescript
50
+ import type { MeetingCreate } from 'bmlt-server-client'
51
+
52
+ // TODO: Update the object below with actual values
53
+ const example = {
54
+ "serviceBodyId": 0,
55
+ "formatIds": null,
56
+ "venueType": 1,
57
+ "temporarilyVirtual": false,
58
+ "day": 0,
59
+ "startTime": string,
60
+ "duration": 01:00,
61
+ "timeZone": America/New_York,
62
+ "latitude": 35.698741,
63
+ "longitude": -81.26273,
64
+ "published": true,
65
+ "email": string,
66
+ "worldId": string,
67
+ "name": string,
68
+ "locationText": string,
69
+ "locationInfo": string,
70
+ "locationStreet": string,
71
+ "locationNeighborhood": string,
72
+ "locationCitySubsection": string,
73
+ "locationMunicipality": string,
74
+ "locationSubProvince": string,
75
+ "locationProvince": string,
76
+ "locationPostalCode1": string,
77
+ "locationNation": string,
78
+ "phoneMeetingNumber": string,
79
+ "virtualMeetingLink": string,
80
+ "virtualMeetingAdditionalInfo": string,
81
+ "contactName1": string,
82
+ "contactName2": string,
83
+ "contactPhone1": string,
84
+ "contactPhone2": string,
85
+ "contactEmail1": string,
86
+ "contactEmail2": string,
87
+ "busLines": string,
88
+ "trainLines": string,
89
+ "comments": string,
90
+ "customFields": {key1=value1, key2=value2},
91
+ } satisfies MeetingCreate
92
+
93
+ console.log(example)
94
+
95
+ // Convert the instance to a JSON string
96
+ const exampleJSON: string = JSON.stringify(example)
97
+ console.log(exampleJSON)
98
+
99
+ // Parse the JSON string back to an object
100
+ const exampleParsed = JSON.parse(exampleJSON) as MeetingCreate
101
+ console.log(exampleParsed)
102
+ ```
103
+
104
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
105
+
106
+
@@ -0,0 +1,106 @@
1
+
2
+ # MeetingPartialUpdate
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `serviceBodyId` | number
10
+ `formatIds` | Array<number>
11
+ `venueType` | number
12
+ `temporarilyVirtual` | boolean
13
+ `day` | number
14
+ `startTime` | string
15
+ `duration` | string
16
+ `timeZone` | string
17
+ `latitude` | number
18
+ `longitude` | number
19
+ `published` | boolean
20
+ `email` | string
21
+ `worldId` | string
22
+ `name` | string
23
+ `locationText` | string
24
+ `locationInfo` | string
25
+ `locationStreet` | string
26
+ `locationNeighborhood` | string
27
+ `locationCitySubsection` | string
28
+ `locationMunicipality` | string
29
+ `locationSubProvince` | string
30
+ `locationProvince` | string
31
+ `locationPostalCode1` | string
32
+ `locationNation` | string
33
+ `phoneMeetingNumber` | string
34
+ `virtualMeetingLink` | string
35
+ `virtualMeetingAdditionalInfo` | string
36
+ `contactName1` | string
37
+ `contactName2` | string
38
+ `contactPhone1` | string
39
+ `contactPhone2` | string
40
+ `contactEmail1` | string
41
+ `contactEmail2` | string
42
+ `busLines` | string
43
+ `trainLines` | string
44
+ `comments` | string
45
+ `customFields` | { [key: string]: string; }
46
+
47
+ ## Example
48
+
49
+ ```typescript
50
+ import type { MeetingPartialUpdate } from 'bmlt-server-client'
51
+
52
+ // TODO: Update the object below with actual values
53
+ const example = {
54
+ "serviceBodyId": 0,
55
+ "formatIds": null,
56
+ "venueType": 1,
57
+ "temporarilyVirtual": false,
58
+ "day": 0,
59
+ "startTime": string,
60
+ "duration": 01:00,
61
+ "timeZone": America/New_York,
62
+ "latitude": 35.698741,
63
+ "longitude": -81.26273,
64
+ "published": true,
65
+ "email": string,
66
+ "worldId": string,
67
+ "name": string,
68
+ "locationText": string,
69
+ "locationInfo": string,
70
+ "locationStreet": string,
71
+ "locationNeighborhood": string,
72
+ "locationCitySubsection": string,
73
+ "locationMunicipality": string,
74
+ "locationSubProvince": string,
75
+ "locationProvince": string,
76
+ "locationPostalCode1": string,
77
+ "locationNation": string,
78
+ "phoneMeetingNumber": string,
79
+ "virtualMeetingLink": string,
80
+ "virtualMeetingAdditionalInfo": string,
81
+ "contactName1": string,
82
+ "contactName2": string,
83
+ "contactPhone1": string,
84
+ "contactPhone2": string,
85
+ "contactEmail1": string,
86
+ "contactEmail2": string,
87
+ "busLines": string,
88
+ "trainLines": string,
89
+ "comments": string,
90
+ "customFields": {key1=value1, key2=value2},
91
+ } satisfies MeetingPartialUpdate
92
+
93
+ console.log(example)
94
+
95
+ // Convert the instance to a JSON string
96
+ const exampleJSON: string = JSON.stringify(example)
97
+ console.log(exampleJSON)
98
+
99
+ // Parse the JSON string back to an object
100
+ const exampleParsed = JSON.parse(exampleJSON) as MeetingPartialUpdate
101
+ console.log(exampleParsed)
102
+ ```
103
+
104
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
105
+
106
+
@@ -0,0 +1,106 @@
1
+
2
+ # MeetingUpdate
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `serviceBodyId` | number
10
+ `formatIds` | Array<number>
11
+ `venueType` | number
12
+ `temporarilyVirtual` | boolean
13
+ `day` | number
14
+ `startTime` | string
15
+ `duration` | string
16
+ `timeZone` | string
17
+ `latitude` | number
18
+ `longitude` | number
19
+ `published` | boolean
20
+ `email` | string
21
+ `worldId` | string
22
+ `name` | string
23
+ `locationText` | string
24
+ `locationInfo` | string
25
+ `locationStreet` | string
26
+ `locationNeighborhood` | string
27
+ `locationCitySubsection` | string
28
+ `locationMunicipality` | string
29
+ `locationSubProvince` | string
30
+ `locationProvince` | string
31
+ `locationPostalCode1` | string
32
+ `locationNation` | string
33
+ `phoneMeetingNumber` | string
34
+ `virtualMeetingLink` | string
35
+ `virtualMeetingAdditionalInfo` | string
36
+ `contactName1` | string
37
+ `contactName2` | string
38
+ `contactPhone1` | string
39
+ `contactPhone2` | string
40
+ `contactEmail1` | string
41
+ `contactEmail2` | string
42
+ `busLines` | string
43
+ `trainLines` | string
44
+ `comments` | string
45
+ `customFields` | { [key: string]: string; }
46
+
47
+ ## Example
48
+
49
+ ```typescript
50
+ import type { MeetingUpdate } from 'bmlt-server-client'
51
+
52
+ // TODO: Update the object below with actual values
53
+ const example = {
54
+ "serviceBodyId": 0,
55
+ "formatIds": null,
56
+ "venueType": 1,
57
+ "temporarilyVirtual": false,
58
+ "day": 0,
59
+ "startTime": string,
60
+ "duration": 01:00,
61
+ "timeZone": America/New_York,
62
+ "latitude": 35.698741,
63
+ "longitude": -81.26273,
64
+ "published": true,
65
+ "email": string,
66
+ "worldId": string,
67
+ "name": string,
68
+ "locationText": string,
69
+ "locationInfo": string,
70
+ "locationStreet": string,
71
+ "locationNeighborhood": string,
72
+ "locationCitySubsection": string,
73
+ "locationMunicipality": string,
74
+ "locationSubProvince": string,
75
+ "locationProvince": string,
76
+ "locationPostalCode1": string,
77
+ "locationNation": string,
78
+ "phoneMeetingNumber": string,
79
+ "virtualMeetingLink": string,
80
+ "virtualMeetingAdditionalInfo": string,
81
+ "contactName1": string,
82
+ "contactName2": string,
83
+ "contactPhone1": string,
84
+ "contactPhone2": string,
85
+ "contactEmail1": string,
86
+ "contactEmail2": string,
87
+ "busLines": string,
88
+ "trainLines": string,
89
+ "comments": string,
90
+ "customFields": {key1=value1, key2=value2},
91
+ } satisfies MeetingUpdate
92
+
93
+ console.log(example)
94
+
95
+ // Convert the instance to a JSON string
96
+ const exampleJSON: string = JSON.stringify(example)
97
+ console.log(exampleJSON)
98
+
99
+ // Parse the JSON string back to an object
100
+ const exampleParsed = JSON.parse(exampleJSON) as MeetingUpdate
101
+ console.log(exampleParsed)
102
+ ```
103
+
104
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
105
+
106
+
@@ -0,0 +1,34 @@
1
+
2
+ # NotFoundError
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `message` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { NotFoundError } from 'bmlt-server-client'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "message": The requested resource was not found.,
19
+ } satisfies NotFoundError
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as NotFoundError
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,46 @@
1
+
2
+ # RootServer
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `sourceId` | number
10
+ `name` | string
11
+ `url` | string
12
+ `statistics` | [RootServerBaseStatistics](RootServerBaseStatistics.md)
13
+ `serverInfo` | string
14
+ `lastSuccessfulImport` | Date
15
+ `id` | number
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { RootServer } from 'bmlt-server-client'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "sourceId": 0,
25
+ "name": string,
26
+ "url": https://example.com/main_server,
27
+ "statistics": null,
28
+ "serverInfo": string,
29
+ "lastSuccessfulImport": null,
30
+ "id": 0,
31
+ } satisfies RootServer
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as RootServer
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+