@otr-app/shared-backend-generated-client 2.3.170 → 2.3.172

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 (69) hide show
  1. package/dist/angular/.openapi-generator/FILES +18 -0
  2. package/dist/angular/api/api.ts +5 -1
  3. package/dist/angular/api/coachingCardsController.service.ts +359 -0
  4. package/dist/angular/api/dashboardController.service.ts +19 -4
  5. package/dist/angular/api/driverLicenseController.service.ts +312 -0
  6. package/dist/angular/api.module.ts +2 -0
  7. package/dist/angular/model/coachingCardCategoriesModel.ts +20 -0
  8. package/dist/angular/model/coachingCardEntity.ts +24 -0
  9. package/dist/angular/model/coachingCardSubcategoriesModel.ts +18 -0
  10. package/dist/angular/model/coachingCardUsersModel.ts +38 -0
  11. package/dist/angular/model/coachingCardsModel.ts +26 -0
  12. package/dist/angular/model/coachingLinks.ts +17 -0
  13. package/dist/angular/model/driverLicenseModel.ts +40 -0
  14. package/dist/angular/model/getCoachingCardCategoriesResponse.ts +18 -0
  15. package/dist/angular/model/getDriverLicensesResponse.ts +18 -0
  16. package/dist/angular/model/listUserCoachingCardsResponse.ts +19 -0
  17. package/dist/angular/model/models.ts +16 -0
  18. package/dist/angular/model/saveCoachingCardRequest.ts +23 -0
  19. package/dist/angular/model/saveCoachingCardUserRequest.ts +37 -0
  20. package/dist/angular/model/saveDriverLicensePictureRequest.ts +19 -0
  21. package/dist/angular/model/saveDriverLicenseRequest.ts +31 -0
  22. package/dist/angular/model/updateCoachingCardRequest.ts +31 -0
  23. package/dist/angular/model/userAssetModel.ts +21 -0
  24. package/dist/otrBackendService.js +184 -55
  25. package/dist/otrBackendService.min.js +4 -4
  26. package/dist/typescript/api/CoachingCardsControllerApi.d.ts +46 -0
  27. package/dist/typescript/api/CoachingCardsControllerApi.js +131 -0
  28. package/dist/typescript/api/DashboardControllerApi.d.ts +4 -1
  29. package/dist/typescript/api/DashboardControllerApi.js +13 -1
  30. package/dist/typescript/api/DriverLicenseControllerApi.d.ts +42 -0
  31. package/dist/typescript/api/DriverLicenseControllerApi.js +120 -0
  32. package/dist/typescript/api/api.d.ts +5 -1
  33. package/dist/typescript/api/api.js +5 -1
  34. package/dist/typescript/api.module.js +2 -0
  35. package/dist/typescript/model/CoachingCardCategoriesModel.d.ts +17 -0
  36. package/dist/typescript/model/CoachingCardCategoriesModel.js +13 -0
  37. package/dist/typescript/model/CoachingCardEntity.d.ts +21 -0
  38. package/dist/typescript/model/CoachingCardEntity.js +13 -0
  39. package/dist/typescript/model/CoachingCardSubcategoriesModel.d.ts +15 -0
  40. package/dist/typescript/model/CoachingCardSubcategoriesModel.js +13 -0
  41. package/dist/typescript/model/CoachingCardUsersModel.d.ts +33 -0
  42. package/dist/typescript/model/CoachingCardUsersModel.js +24 -0
  43. package/dist/typescript/model/CoachingCardsModel.d.ts +22 -0
  44. package/dist/typescript/model/CoachingCardsModel.js +13 -0
  45. package/dist/typescript/model/CoachingLinks.d.ts +14 -0
  46. package/dist/typescript/model/CoachingLinks.js +13 -0
  47. package/dist/typescript/model/DriverLicenseModel.d.ts +36 -0
  48. package/dist/typescript/model/DriverLicenseModel.js +13 -0
  49. package/dist/typescript/model/GetCoachingCardCategoriesResponse.d.ts +15 -0
  50. package/dist/typescript/model/GetCoachingCardCategoriesResponse.js +13 -0
  51. package/dist/typescript/model/GetDriverLicensesResponse.d.ts +15 -0
  52. package/dist/typescript/model/GetDriverLicensesResponse.js +13 -0
  53. package/dist/typescript/model/ListUserCoachingCardsResponse.d.ts +16 -0
  54. package/dist/typescript/model/ListUserCoachingCardsResponse.js +13 -0
  55. package/dist/typescript/model/SaveCoachingCardRequest.d.ts +19 -0
  56. package/dist/typescript/model/SaveCoachingCardRequest.js +13 -0
  57. package/dist/typescript/model/SaveCoachingCardUserRequest.d.ts +32 -0
  58. package/dist/typescript/model/SaveCoachingCardUserRequest.js +24 -0
  59. package/dist/typescript/model/SaveDriverLicensePictureRequest.d.ts +16 -0
  60. package/dist/typescript/model/SaveDriverLicensePictureRequest.js +13 -0
  61. package/dist/typescript/model/SaveDriverLicenseRequest.d.ts +28 -0
  62. package/dist/typescript/model/SaveDriverLicenseRequest.js +13 -0
  63. package/dist/typescript/model/UpdateCoachingCardRequest.d.ts +26 -0
  64. package/dist/typescript/model/UpdateCoachingCardRequest.js +24 -0
  65. package/dist/typescript/model/UserAssetModel.d.ts +18 -0
  66. package/dist/typescript/model/UserAssetModel.js +13 -0
  67. package/dist/typescript/model/models.d.ts +16 -0
  68. package/dist/typescript/model/models.js +16 -0
  69. package/package.json +1 -1
@@ -0,0 +1,312 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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
+ /* tslint:disable:no-unused-variable member-ordering */
13
+
14
+ import { Inject, Injectable, Optional } from '@angular/core';
15
+ import { HttpClient, HttpHeaders, HttpParams,
16
+ HttpResponse, HttpEvent, HttpParameterCodec, HttpContext
17
+ } from '@angular/common/http';
18
+ import { CustomHttpParameterCodec } from '../encoder';
19
+ import { Observable } from 'rxjs';
20
+
21
+ // @ts-ignore
22
+ import { DriverLicenseModel } from '../model/driverLicenseModel';
23
+ // @ts-ignore
24
+ import { GetDriverLicensesResponse } from '../model/getDriverLicensesResponse';
25
+ // @ts-ignore
26
+ import { SaveDriverLicensePictureRequest } from '../model/saveDriverLicensePictureRequest';
27
+ // @ts-ignore
28
+ import { SaveDriverLicenseRequest } from '../model/saveDriverLicenseRequest';
29
+ // @ts-ignore
30
+ import { UserAssetModel } from '../model/userAssetModel';
31
+
32
+ // @ts-ignore
33
+ import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
34
+ import { Configuration } from '../configuration';
35
+
36
+
37
+
38
+ @Injectable({
39
+ providedIn: 'root'
40
+ })
41
+ export class DriverLicenseControllerService {
42
+
43
+ protected basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
44
+ public defaultHeaders = new HttpHeaders();
45
+ public configuration = new Configuration();
46
+ public encoder: HttpParameterCodec;
47
+
48
+ constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string|string[], @Optional() configuration: Configuration) {
49
+ if (configuration) {
50
+ this.configuration = configuration;
51
+ }
52
+ if (typeof this.configuration.basePath !== 'string') {
53
+ if (Array.isArray(basePath) && basePath.length > 0) {
54
+ basePath = basePath[0];
55
+ }
56
+
57
+ if (typeof basePath !== 'string') {
58
+ basePath = this.basePath;
59
+ }
60
+ this.configuration.basePath = basePath;
61
+ }
62
+ this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
63
+ }
64
+
65
+
66
+ // @ts-ignore
67
+ private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
68
+ if (typeof value === "object" && value instanceof Date === false) {
69
+ httpParams = this.addToHttpParamsRecursive(httpParams, value);
70
+ } else {
71
+ httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
72
+ }
73
+ return httpParams;
74
+ }
75
+
76
+ private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
77
+ if (value == null) {
78
+ return httpParams;
79
+ }
80
+
81
+ if (typeof value === "object") {
82
+ if (Array.isArray(value)) {
83
+ (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
84
+ } else if (value instanceof Date) {
85
+ if (key != null) {
86
+ httpParams = httpParams.append(key, (value as Date).toISOString().substr(0, 10));
87
+ } else {
88
+ throw Error("key may not be null if value is Date");
89
+ }
90
+ } else {
91
+ Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(
92
+ httpParams, value[k], key != null ? `${key}.${k}` : k));
93
+ }
94
+ } else if (key != null) {
95
+ httpParams = httpParams.append(key, value);
96
+ } else {
97
+ throw Error("key may not be null if value is not object or array");
98
+ }
99
+ return httpParams;
100
+ }
101
+
102
+ /**
103
+ * getDriverLicenses
104
+ * @param userId userId
105
+ * @param getDeleted getDeleted
106
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
107
+ * @param reportProgress flag to report request and response progress.
108
+ */
109
+ public getDriverLicensesUsingGET(userId: string, getDeleted?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetDriverLicensesResponse>;
110
+ public getDriverLicensesUsingGET(userId: string, getDeleted?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetDriverLicensesResponse>>;
111
+ public getDriverLicensesUsingGET(userId: string, getDeleted?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetDriverLicensesResponse>>;
112
+ public getDriverLicensesUsingGET(userId: string, getDeleted?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
113
+ if (userId === null || userId === undefined) {
114
+ throw new Error('Required parameter userId was null or undefined when calling getDriverLicensesUsingGET.');
115
+ }
116
+
117
+ let localVarQueryParameters = new HttpParams({encoder: this.encoder});
118
+ if (getDeleted !== undefined && getDeleted !== null) {
119
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
120
+ <any>getDeleted, 'getDeleted');
121
+ }
122
+
123
+ let localVarHeaders = this.defaultHeaders;
124
+
125
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
126
+ if (localVarHttpHeaderAcceptSelected === undefined) {
127
+ // to determine the Accept header
128
+ const httpHeaderAccepts: string[] = [
129
+ '*/*'
130
+ ];
131
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
132
+ }
133
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
134
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
135
+ }
136
+
137
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
138
+ if (localVarHttpContext === undefined) {
139
+ localVarHttpContext = new HttpContext();
140
+ }
141
+
142
+
143
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
144
+ if (localVarHttpHeaderAcceptSelected) {
145
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
146
+ responseType_ = 'text';
147
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
148
+ responseType_ = 'json';
149
+ } else {
150
+ responseType_ = 'blob';
151
+ }
152
+ }
153
+
154
+ let localVarPath = `/api/v1/users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/driver-license`;
155
+ return this.httpClient.request<GetDriverLicensesResponse>('get', `${this.configuration.basePath}${localVarPath}`,
156
+ {
157
+ context: localVarHttpContext,
158
+ params: localVarQueryParameters,
159
+ responseType: <any>responseType_,
160
+ withCredentials: this.configuration.withCredentials,
161
+ headers: localVarHeaders,
162
+ observe: observe,
163
+ reportProgress: reportProgress
164
+ }
165
+ );
166
+ }
167
+
168
+ /**
169
+ * saveDriverLicensePicture
170
+ * @param userId userId
171
+ * @param request request
172
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
173
+ * @param reportProgress flag to report request and response progress.
174
+ */
175
+ public saveDriverLicensePictureUsingPOST(userId: string, request: SaveDriverLicensePictureRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<UserAssetModel>;
176
+ public saveDriverLicensePictureUsingPOST(userId: string, request: SaveDriverLicensePictureRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<UserAssetModel>>;
177
+ public saveDriverLicensePictureUsingPOST(userId: string, request: SaveDriverLicensePictureRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<UserAssetModel>>;
178
+ public saveDriverLicensePictureUsingPOST(userId: string, request: SaveDriverLicensePictureRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
179
+ if (userId === null || userId === undefined) {
180
+ throw new Error('Required parameter userId was null or undefined when calling saveDriverLicensePictureUsingPOST.');
181
+ }
182
+ if (request === null || request === undefined) {
183
+ throw new Error('Required parameter request was null or undefined when calling saveDriverLicensePictureUsingPOST.');
184
+ }
185
+
186
+ let localVarHeaders = this.defaultHeaders;
187
+
188
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
189
+ if (localVarHttpHeaderAcceptSelected === undefined) {
190
+ // to determine the Accept header
191
+ const httpHeaderAccepts: string[] = [
192
+ '*/*'
193
+ ];
194
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
195
+ }
196
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
197
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
198
+ }
199
+
200
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
201
+ if (localVarHttpContext === undefined) {
202
+ localVarHttpContext = new HttpContext();
203
+ }
204
+
205
+
206
+ // to determine the Content-Type header
207
+ const consumes: string[] = [
208
+ 'application/json'
209
+ ];
210
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
211
+ if (httpContentTypeSelected !== undefined) {
212
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
213
+ }
214
+
215
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
216
+ if (localVarHttpHeaderAcceptSelected) {
217
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
218
+ responseType_ = 'text';
219
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
220
+ responseType_ = 'json';
221
+ } else {
222
+ responseType_ = 'blob';
223
+ }
224
+ }
225
+
226
+ let localVarPath = `/api/v1/users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/driver-license/picture`;
227
+ return this.httpClient.request<UserAssetModel>('post', `${this.configuration.basePath}${localVarPath}`,
228
+ {
229
+ context: localVarHttpContext,
230
+ body: request,
231
+ responseType: <any>responseType_,
232
+ withCredentials: this.configuration.withCredentials,
233
+ headers: localVarHeaders,
234
+ observe: observe,
235
+ reportProgress: reportProgress
236
+ }
237
+ );
238
+ }
239
+
240
+ /**
241
+ * saveDriverLicense
242
+ * @param userId userId
243
+ * @param request request
244
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
245
+ * @param reportProgress flag to report request and response progress.
246
+ */
247
+ public saveDriverLicenseUsingPOST(userId: string, request: SaveDriverLicenseRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<DriverLicenseModel>;
248
+ public saveDriverLicenseUsingPOST(userId: string, request: SaveDriverLicenseRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<DriverLicenseModel>>;
249
+ public saveDriverLicenseUsingPOST(userId: string, request: SaveDriverLicenseRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<DriverLicenseModel>>;
250
+ public saveDriverLicenseUsingPOST(userId: string, request: SaveDriverLicenseRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
251
+ if (userId === null || userId === undefined) {
252
+ throw new Error('Required parameter userId was null or undefined when calling saveDriverLicenseUsingPOST.');
253
+ }
254
+ if (request === null || request === undefined) {
255
+ throw new Error('Required parameter request was null or undefined when calling saveDriverLicenseUsingPOST.');
256
+ }
257
+
258
+ let localVarHeaders = this.defaultHeaders;
259
+
260
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
261
+ if (localVarHttpHeaderAcceptSelected === undefined) {
262
+ // to determine the Accept header
263
+ const httpHeaderAccepts: string[] = [
264
+ '*/*'
265
+ ];
266
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
267
+ }
268
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
269
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
270
+ }
271
+
272
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
273
+ if (localVarHttpContext === undefined) {
274
+ localVarHttpContext = new HttpContext();
275
+ }
276
+
277
+
278
+ // to determine the Content-Type header
279
+ const consumes: string[] = [
280
+ 'application/json'
281
+ ];
282
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
283
+ if (httpContentTypeSelected !== undefined) {
284
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
285
+ }
286
+
287
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
288
+ if (localVarHttpHeaderAcceptSelected) {
289
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
290
+ responseType_ = 'text';
291
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
292
+ responseType_ = 'json';
293
+ } else {
294
+ responseType_ = 'blob';
295
+ }
296
+ }
297
+
298
+ let localVarPath = `/api/v1/users/${this.configuration.encodeParam({name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/driver-license`;
299
+ return this.httpClient.request<DriverLicenseModel>('post', `${this.configuration.basePath}${localVarPath}`,
300
+ {
301
+ context: localVarHttpContext,
302
+ body: request,
303
+ responseType: <any>responseType_,
304
+ withCredentials: this.configuration.withCredentials,
305
+ headers: localVarHeaders,
306
+ observe: observe,
307
+ reportProgress: reportProgress
308
+ }
309
+ );
310
+ }
311
+
312
+ }
@@ -30,6 +30,7 @@ import { CaseUserControllerService } from './api/caseUserController.service';
30
30
  import { CertificateControllerService } from './api/certificateController.service';
31
31
  import { CitationAuditControllerService } from './api/citationAuditController.service';
32
32
  import { CitationControllerService } from './api/citationController.service';
33
+ import { CoachingCardsControllerService } from './api/coachingCardsController.service';
33
34
  import { ConfigurationControllerService } from './api/configurationController.service';
34
35
  import { ConsoleListControllerService } from './api/consoleListController.service';
35
36
  import { ContactTimelineControllerService } from './api/contactTimelineController.service';
@@ -45,6 +46,7 @@ import { DashboardControllerService } from './api/dashboardController.service';
45
46
  import { DirectMailControllerService } from './api/directMailController.service';
46
47
  import { DripControllerService } from './api/dripController.service';
47
48
  import { DripWebhooksControllerService } from './api/dripWebhooksController.service';
49
+ import { DriverLicenseControllerService } from './api/driverLicenseController.service';
48
50
  import { EmailSubscriptionControllerService } from './api/emailSubscriptionController.service';
49
51
  import { ExternalContentVoteControllerService } from './api/externalContentVoteController.service';
50
52
  import { ExternalTicketLookupControllerService } from './api/externalTicketLookupController.service';
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { CoachingCardSubcategoriesModel } from './coachingCardSubcategoriesModel';
13
+
14
+
15
+ export interface CoachingCardCategoriesModel {
16
+ coachingCardCategory?: string;
17
+ description?: string;
18
+ subcategories?: Array<CoachingCardSubcategoriesModel>;
19
+ }
20
+
@@ -0,0 +1,24 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { CoachingLinks } from './coachingLinks';
13
+
14
+
15
+ export interface CoachingCardEntity {
16
+ cardCreatedDateUtc?: string;
17
+ cardLastUpdatedDateUtc?: string;
18
+ coachingCardCategoryId?: number;
19
+ coachingCardId?: number;
20
+ coachingCardSubcategoryId?: number;
21
+ coachingLinks?: CoachingLinks;
22
+ coachingText?: string;
23
+ }
24
+
@@ -0,0 +1,18 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 interface CoachingCardSubcategoriesModel {
15
+ coachingCardSubcategory?: string;
16
+ description?: string;
17
+ }
18
+
@@ -0,0 +1,38 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { CoachingCardEntity } from './coachingCardEntity';
13
+
14
+
15
+ export interface CoachingCardUsersModel {
16
+ acknowledgementDateUtc?: string;
17
+ assignmentDateUtc?: string;
18
+ coachingCards?: CoachingCardEntity;
19
+ coachingDateUtc?: string;
20
+ coachingMethod?: string;
21
+ hasBeenCoached?: boolean;
22
+ isActionRequired?: boolean;
23
+ isRepeatOffense?: boolean;
24
+ permissionType?: CoachingCardUsersModel.PermissionTypeEnum;
25
+ resolutionDateUtc?: string;
26
+ userId?: number;
27
+ }
28
+ export namespace CoachingCardUsersModel {
29
+ export type PermissionTypeEnum = 'AUTHOR' | 'MANAGER' | 'PARTICIPANT' | 'RECIPIENT';
30
+ export const PermissionTypeEnum = {
31
+ Author: 'AUTHOR' as PermissionTypeEnum,
32
+ Manager: 'MANAGER' as PermissionTypeEnum,
33
+ Participant: 'PARTICIPANT' as PermissionTypeEnum,
34
+ Recipient: 'RECIPIENT' as PermissionTypeEnum
35
+ };
36
+ }
37
+
38
+
@@ -0,0 +1,26 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { CoachingCardUsersModel } from './coachingCardUsersModel';
13
+ import { CoachingLinks } from './coachingLinks';
14
+
15
+
16
+ export interface CoachingCardsModel {
17
+ cardCreatedDate?: string;
18
+ cardLastUpdatedDate?: string;
19
+ coachingCardCategoryId?: number;
20
+ coachingCardId?: number;
21
+ coachingCardSubcategoryId?: number;
22
+ coachingCardUsers?: Set<CoachingCardUsersModel>;
23
+ coachingLinks?: CoachingLinks;
24
+ coachingText?: string;
25
+ }
26
+
@@ -0,0 +1,17 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 interface CoachingLinks {
15
+ link?: string;
16
+ }
17
+
@@ -0,0 +1,40 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { UserAssetModel } from './userAssetModel';
13
+ import { AddressDomain } from './addressDomain';
14
+
15
+
16
+ export interface DriverLicenseModel {
17
+ address?: AddressDomain;
18
+ deleted?: boolean;
19
+ dob?: string;
20
+ documentDiscriminatorId?: string;
21
+ driverLicenseBackAsset?: UserAssetModel;
22
+ driverLicenseFrontAsset?: UserAssetModel;
23
+ driverLicenseId?: number;
24
+ driverLicenseNumber?: string;
25
+ expirationDate?: string;
26
+ eyeColor?: string;
27
+ firstName?: string;
28
+ height?: string;
29
+ isOrganDonor?: boolean;
30
+ issueDate?: string;
31
+ lastName?: string;
32
+ licenseClass?: string;
33
+ licenseClassEndorsements?: string;
34
+ licenseRestrictions?: string;
35
+ sex?: string;
36
+ stateName?: string;
37
+ userId?: number;
38
+ weight?: string;
39
+ }
40
+
@@ -0,0 +1,18 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { CoachingCardCategoriesModel } from './coachingCardCategoriesModel';
13
+
14
+
15
+ export interface GetCoachingCardCategoriesResponse {
16
+ coachingCardCategoriesModel?: Array<CoachingCardCategoriesModel>;
17
+ }
18
+
@@ -0,0 +1,18 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { DriverLicenseModel } from './driverLicenseModel';
13
+
14
+
15
+ export interface GetDriverLicensesResponse {
16
+ driverLicenses?: Array<DriverLicenseModel>;
17
+ }
18
+
@@ -0,0 +1,19 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { CoachingCardsModel } from './coachingCardsModel';
13
+
14
+
15
+ export interface ListUserCoachingCardsResponse {
16
+ userCoachingCards?: Array<CoachingCardsModel>;
17
+ userId?: number;
18
+ }
19
+
@@ -123,6 +123,12 @@ export * from './citationsResponseModel';
123
123
  export * from './clientActionRequiredRequest';
124
124
  export * from './clientConfirmedUnpaidCase';
125
125
  export * from './clientLeadDomain';
126
+ export * from './coachingCardCategoriesModel';
127
+ export * from './coachingCardEntity';
128
+ export * from './coachingCardSubcategoriesModel';
129
+ export * from './coachingCardUsersModel';
130
+ export * from './coachingCardsModel';
131
+ export * from './coachingLinks';
126
132
  export * from './commonHeader';
127
133
  export * from './confidenceField';
128
134
  export * from './contactTimelineResponse';
@@ -196,6 +202,7 @@ export * from './documentDecisionRequest';
196
202
  export * from './dripRemoveRequest';
197
203
  export * from './dripWebhookData';
198
204
  export * from './dripWebhookEvent';
205
+ export * from './driverLicenseModel';
199
206
  export * from './duration';
200
207
  export * from './editConversationMessageRequest';
201
208
  export * from './enableViolationModel';
@@ -268,6 +275,7 @@ export * from './getCitationsWithMissingFieldsRequest';
268
275
  export * from './getCitationsWithMissingFieldsResponse';
269
276
  export * from './getClientCasesResponse';
270
277
  export * from './getClientConfirmedUnpaidCasesResponse';
278
+ export * from './getCoachingCardCategoriesResponse';
271
279
  export * from './getCompetitionResponseModel';
272
280
  export * from './getCountOfMatchingUsersRequest';
273
281
  export * from './getCountOfMatchingUsersResponse';
@@ -286,6 +294,7 @@ export * from './getCustomerServiceAgentsResponse';
286
294
  export * from './getDeclinedCasesRequest';
287
295
  export * from './getDeclinedCasesResponse';
288
296
  export * from './getDocumentsRequest';
297
+ export * from './getDriverLicensesResponse';
289
298
  export * from './getEmailTemplateResponse';
290
299
  export * from './getExternalContentUserVotesResponse';
291
300
  export * from './getExternalTicketInputParamsResponse';
@@ -447,6 +456,7 @@ export * from './listReviewsResponse';
447
456
  export * from './listSubscriptionInvoicesResponse';
448
457
  export * from './listUserAuditEventsByCursorResponse';
449
458
  export * from './listUserAuditEventsCursorModel';
459
+ export * from './listUserCoachingCardsResponse';
450
460
  export * from './listUserWatchlistsResponse';
451
461
  export * from './listViolationClassificationResponse';
452
462
  export * from './lobEvent';
@@ -551,6 +561,10 @@ export * from './saveAgentBookingRequest';
551
561
  export * from './saveAgentBookingResponse';
552
562
  export * from './saveCaseNotesRequest';
553
563
  export * from './saveCaseUserRequest';
564
+ export * from './saveCoachingCardRequest';
565
+ export * from './saveCoachingCardUserRequest';
566
+ export * from './saveDriverLicensePictureRequest';
567
+ export * from './saveDriverLicenseRequest';
554
568
  export * from './saveExternalContentVoteRequest';
555
569
  export * from './saveItemToWatchlistRequest';
556
570
  export * from './saveLawfirmSurchargeModel';
@@ -654,6 +668,7 @@ export * from './updateCasePaymentRequest';
654
668
  export * from './updateCitationAddressRequest';
655
669
  export * from './updateCitationPictureRequest';
656
670
  export * from './updateCitationRequest';
671
+ export * from './updateCoachingCardRequest';
657
672
  export * from './updateCourtRequest';
658
673
  export * from './updateDisputeRequest';
659
674
  export * from './updateInvoiceLineItemRequest';
@@ -685,6 +700,7 @@ export * from './updateViolationRequest';
685
700
  export * from './upsertAddressRequest';
686
701
  export * from './user';
687
702
  export * from './userAccountModel';
703
+ export * from './userAssetModel';
688
704
  export * from './userAuditEventModel';
689
705
  export * from './userBookingsDomain';
690
706
  export * from './userDetails';
@@ -0,0 +1,23 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { SaveCoachingCardUserRequest } from './saveCoachingCardUserRequest';
13
+ import { CoachingLinks } from './coachingLinks';
14
+
15
+
16
+ export interface SaveCoachingCardRequest {
17
+ coachingCardCategoryId?: number;
18
+ coachingCardSubcategoryId?: number;
19
+ coachingCardUserRequest?: Array<SaveCoachingCardUserRequest>;
20
+ coachingLinks?: CoachingLinks;
21
+ coachingText?: string;
22
+ }
23
+