bmlt-server-client 1.3.5 → 1.3.7-beta.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/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +112 -0
- package/.openapi-generator/FILES +6 -0
- package/Makefile +1 -1
- package/README.md +7 -2
- package/dist/apis/RootServerApi.d.ts +24 -1
- package/dist/apis/RootServerApi.js +68 -0
- package/dist/esm/apis/RootServerApi.d.ts +24 -1
- package/dist/esm/apis/RootServerApi.js +69 -1
- package/dist/esm/models/Settings.d.ts +33 -0
- package/dist/esm/models/Settings.js +44 -0
- package/dist/esm/models/SettingsBase.d.ts +182 -0
- package/dist/esm/models/SettingsBase.js +91 -0
- package/dist/esm/models/SettingsObject.d.ts +182 -0
- package/dist/esm/models/SettingsObject.js +91 -0
- package/dist/esm/models/SettingsUpdate.d.ts +182 -0
- package/dist/esm/models/SettingsUpdate.js +91 -0
- package/dist/esm/models/User.d.ts +1 -1
- package/dist/esm/models/User.js +2 -2
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/Settings.d.ts +33 -0
- package/dist/models/Settings.js +51 -0
- package/dist/models/SettingsBase.d.ts +182 -0
- package/dist/models/SettingsBase.js +98 -0
- package/dist/models/SettingsObject.d.ts +182 -0
- package/dist/models/SettingsObject.js +98 -0
- package/dist/models/SettingsUpdate.d.ts +182 -0
- package/dist/models/SettingsUpdate.js +98 -0
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +2 -2
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/RootServerApi.md +141 -0
- package/docs/SettingsBase.md +84 -0
- package/docs/SettingsObject.md +84 -0
- package/docs/SettingsUpdate.md +85 -0
- package/docs/User.md +2 -2
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/apis/RootServerApi.ts +91 -0
- package/src/models/SettingsBase.ts +265 -0
- package/src/models/SettingsObject.ts +265 -0
- package/src/models/SettingsUpdate.ts +265 -0
- package/src/models/User.ts +3 -3
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT
|
|
5
|
+
* BMLT Admin API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Partial update object - include only the settings you want to update
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SettingsUpdate
|
|
20
|
+
*/
|
|
21
|
+
export interface SettingsUpdate {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SettingsUpdate
|
|
26
|
+
*/
|
|
27
|
+
googleApiKey?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof SettingsUpdate
|
|
32
|
+
*/
|
|
33
|
+
changeDepthForMeetings?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SettingsUpdate
|
|
38
|
+
*/
|
|
39
|
+
defaultSortKey?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SettingsUpdate
|
|
44
|
+
*/
|
|
45
|
+
language?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SettingsUpdate
|
|
50
|
+
*/
|
|
51
|
+
defaultDurationTime?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof SettingsUpdate
|
|
56
|
+
*/
|
|
57
|
+
regionBias?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof SettingsUpdate
|
|
62
|
+
*/
|
|
63
|
+
distanceUnits?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof SettingsUpdate
|
|
68
|
+
*/
|
|
69
|
+
enableEmailContact?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof SettingsUpdate
|
|
74
|
+
*/
|
|
75
|
+
includeServiceBodyAdminOnEmails?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<string>}
|
|
79
|
+
* @memberof SettingsUpdate
|
|
80
|
+
*/
|
|
81
|
+
meetingStatesAndProvinces?: Array<string>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Array<string>}
|
|
85
|
+
* @memberof SettingsUpdate
|
|
86
|
+
*/
|
|
87
|
+
meetingCountiesAndSubProvinces?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {number}
|
|
91
|
+
* @memberof SettingsUpdate
|
|
92
|
+
*/
|
|
93
|
+
searchSpecMapCenterLongitude?: number;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof SettingsUpdate
|
|
98
|
+
*/
|
|
99
|
+
searchSpecMapCenterLatitude?: number;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof SettingsUpdate
|
|
104
|
+
*/
|
|
105
|
+
searchSpecMapCenterZoom?: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof SettingsUpdate
|
|
110
|
+
*/
|
|
111
|
+
numberOfMeetingsForAuto?: number;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {boolean}
|
|
115
|
+
* @memberof SettingsUpdate
|
|
116
|
+
*/
|
|
117
|
+
autoGeocodingEnabled?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {boolean}
|
|
121
|
+
* @memberof SettingsUpdate
|
|
122
|
+
*/
|
|
123
|
+
countyAutoGeocodingEnabled?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {boolean}
|
|
127
|
+
* @memberof SettingsUpdate
|
|
128
|
+
*/
|
|
129
|
+
zipAutoGeocodingEnabled?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {boolean}
|
|
133
|
+
* @memberof SettingsUpdate
|
|
134
|
+
*/
|
|
135
|
+
defaultClosedStatus?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {boolean}
|
|
139
|
+
* @memberof SettingsUpdate
|
|
140
|
+
*/
|
|
141
|
+
enableLanguageSelector?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {boolean}
|
|
145
|
+
* @memberof SettingsUpdate
|
|
146
|
+
*/
|
|
147
|
+
aggregatorModeEnabled?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {number}
|
|
151
|
+
* @memberof SettingsUpdate
|
|
152
|
+
*/
|
|
153
|
+
aggregatorMaxGeoWidthKm?: number;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {boolean}
|
|
157
|
+
* @memberof SettingsUpdate
|
|
158
|
+
*/
|
|
159
|
+
includeServiceBodyEmailInSemantic?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof SettingsUpdate
|
|
164
|
+
*/
|
|
165
|
+
bmltTitle?: string;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof SettingsUpdate
|
|
170
|
+
*/
|
|
171
|
+
bmltNotice?: string;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {object}
|
|
175
|
+
* @memberof SettingsUpdate
|
|
176
|
+
*/
|
|
177
|
+
formatLangNames?: object;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Check if a given object implements the SettingsUpdate interface.
|
|
182
|
+
*/
|
|
183
|
+
export function instanceOfSettingsUpdate(value: object): value is SettingsUpdate {
|
|
184
|
+
return true;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export function SettingsUpdateFromJSON(json: any): SettingsUpdate {
|
|
188
|
+
return SettingsUpdateFromJSONTyped(json, false);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export function SettingsUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsUpdate {
|
|
192
|
+
if (json == null) {
|
|
193
|
+
return json;
|
|
194
|
+
}
|
|
195
|
+
return {
|
|
196
|
+
|
|
197
|
+
'googleApiKey': json['googleApiKey'] == null ? undefined : json['googleApiKey'],
|
|
198
|
+
'changeDepthForMeetings': json['changeDepthForMeetings'] == null ? undefined : json['changeDepthForMeetings'],
|
|
199
|
+
'defaultSortKey': json['defaultSortKey'] == null ? undefined : json['defaultSortKey'],
|
|
200
|
+
'language': json['language'] == null ? undefined : json['language'],
|
|
201
|
+
'defaultDurationTime': json['defaultDurationTime'] == null ? undefined : json['defaultDurationTime'],
|
|
202
|
+
'regionBias': json['regionBias'] == null ? undefined : json['regionBias'],
|
|
203
|
+
'distanceUnits': json['distanceUnits'] == null ? undefined : json['distanceUnits'],
|
|
204
|
+
'enableEmailContact': json['enableEmailContact'] == null ? undefined : json['enableEmailContact'],
|
|
205
|
+
'includeServiceBodyAdminOnEmails': json['includeServiceBodyAdminOnEmails'] == null ? undefined : json['includeServiceBodyAdminOnEmails'],
|
|
206
|
+
'meetingStatesAndProvinces': json['meetingStatesAndProvinces'] == null ? undefined : json['meetingStatesAndProvinces'],
|
|
207
|
+
'meetingCountiesAndSubProvinces': json['meetingCountiesAndSubProvinces'] == null ? undefined : json['meetingCountiesAndSubProvinces'],
|
|
208
|
+
'searchSpecMapCenterLongitude': json['searchSpecMapCenterLongitude'] == null ? undefined : json['searchSpecMapCenterLongitude'],
|
|
209
|
+
'searchSpecMapCenterLatitude': json['searchSpecMapCenterLatitude'] == null ? undefined : json['searchSpecMapCenterLatitude'],
|
|
210
|
+
'searchSpecMapCenterZoom': json['searchSpecMapCenterZoom'] == null ? undefined : json['searchSpecMapCenterZoom'],
|
|
211
|
+
'numberOfMeetingsForAuto': json['numberOfMeetingsForAuto'] == null ? undefined : json['numberOfMeetingsForAuto'],
|
|
212
|
+
'autoGeocodingEnabled': json['autoGeocodingEnabled'] == null ? undefined : json['autoGeocodingEnabled'],
|
|
213
|
+
'countyAutoGeocodingEnabled': json['countyAutoGeocodingEnabled'] == null ? undefined : json['countyAutoGeocodingEnabled'],
|
|
214
|
+
'zipAutoGeocodingEnabled': json['zipAutoGeocodingEnabled'] == null ? undefined : json['zipAutoGeocodingEnabled'],
|
|
215
|
+
'defaultClosedStatus': json['defaultClosedStatus'] == null ? undefined : json['defaultClosedStatus'],
|
|
216
|
+
'enableLanguageSelector': json['enableLanguageSelector'] == null ? undefined : json['enableLanguageSelector'],
|
|
217
|
+
'aggregatorModeEnabled': json['aggregatorModeEnabled'] == null ? undefined : json['aggregatorModeEnabled'],
|
|
218
|
+
'aggregatorMaxGeoWidthKm': json['aggregatorMaxGeoWidthKm'] == null ? undefined : json['aggregatorMaxGeoWidthKm'],
|
|
219
|
+
'includeServiceBodyEmailInSemantic': json['includeServiceBodyEmailInSemantic'] == null ? undefined : json['includeServiceBodyEmailInSemantic'],
|
|
220
|
+
'bmltTitle': json['bmltTitle'] == null ? undefined : json['bmltTitle'],
|
|
221
|
+
'bmltNotice': json['bmltNotice'] == null ? undefined : json['bmltNotice'],
|
|
222
|
+
'formatLangNames': json['formatLangNames'] == null ? undefined : json['formatLangNames'],
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export function SettingsUpdateToJSON(json: any): SettingsUpdate {
|
|
227
|
+
return SettingsUpdateToJSONTyped(json, false);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export function SettingsUpdateToJSONTyped(value?: SettingsUpdate | null, ignoreDiscriminator: boolean = false): any {
|
|
231
|
+
if (value == null) {
|
|
232
|
+
return value;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
return {
|
|
236
|
+
|
|
237
|
+
'googleApiKey': value['googleApiKey'],
|
|
238
|
+
'changeDepthForMeetings': value['changeDepthForMeetings'],
|
|
239
|
+
'defaultSortKey': value['defaultSortKey'],
|
|
240
|
+
'language': value['language'],
|
|
241
|
+
'defaultDurationTime': value['defaultDurationTime'],
|
|
242
|
+
'regionBias': value['regionBias'],
|
|
243
|
+
'distanceUnits': value['distanceUnits'],
|
|
244
|
+
'enableEmailContact': value['enableEmailContact'],
|
|
245
|
+
'includeServiceBodyAdminOnEmails': value['includeServiceBodyAdminOnEmails'],
|
|
246
|
+
'meetingStatesAndProvinces': value['meetingStatesAndProvinces'],
|
|
247
|
+
'meetingCountiesAndSubProvinces': value['meetingCountiesAndSubProvinces'],
|
|
248
|
+
'searchSpecMapCenterLongitude': value['searchSpecMapCenterLongitude'],
|
|
249
|
+
'searchSpecMapCenterLatitude': value['searchSpecMapCenterLatitude'],
|
|
250
|
+
'searchSpecMapCenterZoom': value['searchSpecMapCenterZoom'],
|
|
251
|
+
'numberOfMeetingsForAuto': value['numberOfMeetingsForAuto'],
|
|
252
|
+
'autoGeocodingEnabled': value['autoGeocodingEnabled'],
|
|
253
|
+
'countyAutoGeocodingEnabled': value['countyAutoGeocodingEnabled'],
|
|
254
|
+
'zipAutoGeocodingEnabled': value['zipAutoGeocodingEnabled'],
|
|
255
|
+
'defaultClosedStatus': value['defaultClosedStatus'],
|
|
256
|
+
'enableLanguageSelector': value['enableLanguageSelector'],
|
|
257
|
+
'aggregatorModeEnabled': value['aggregatorModeEnabled'],
|
|
258
|
+
'aggregatorMaxGeoWidthKm': value['aggregatorMaxGeoWidthKm'],
|
|
259
|
+
'includeServiceBodyEmailInSemantic': value['includeServiceBodyEmailInSemantic'],
|
|
260
|
+
'bmltTitle': value['bmltTitle'],
|
|
261
|
+
'bmltNotice': value['bmltNotice'],
|
|
262
|
+
'formatLangNames': value['formatLangNames'],
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
|
package/src/models/User.ts
CHANGED
|
@@ -66,7 +66,7 @@ export interface User {
|
|
|
66
66
|
* @type {Date}
|
|
67
67
|
* @memberof User
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
lastLoginAt?: Date | null;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/**
|
|
@@ -100,7 +100,7 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User
|
|
|
100
100
|
'email': json['email'],
|
|
101
101
|
'ownerId': json['ownerId'],
|
|
102
102
|
'id': json['id'],
|
|
103
|
-
'
|
|
103
|
+
'lastLoginAt': json['lastLoginAt'] == null ? undefined : (new Date(json['lastLoginAt'])),
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -122,7 +122,7 @@ export function UserToJSONTyped(value?: User | null, ignoreDiscriminator: boolea
|
|
|
122
122
|
'email': value['email'],
|
|
123
123
|
'ownerId': value['ownerId'],
|
|
124
124
|
'id': value['id'],
|
|
125
|
-
'
|
|
125
|
+
'lastLoginAt': value['lastLoginAt'] == null ? value['lastLoginAt'] : value['lastLoginAt'].toISOString(),
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
|
package/src/models/index.ts
CHANGED
|
@@ -28,6 +28,9 @@ export * from './ServiceBodyBase';
|
|
|
28
28
|
export * from './ServiceBodyCreate';
|
|
29
29
|
export * from './ServiceBodyPartialUpdate';
|
|
30
30
|
export * from './ServiceBodyUpdate';
|
|
31
|
+
export * from './SettingsBase';
|
|
32
|
+
export * from './SettingsObject';
|
|
33
|
+
export * from './SettingsUpdate';
|
|
31
34
|
export * from './Token';
|
|
32
35
|
export * from './TokenCredentials';
|
|
33
36
|
export * from './User';
|