@otr-app/shared-backend-generated-client 2.5.119 → 2.5.121
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/dist/angular/.openapi-generator/FILES +0 -2
- package/dist/angular/api/auditLawfirmEventsController.service.ts +4 -4
- package/dist/angular/api/citationAuditController.service.ts +4 -4
- package/dist/angular/api/listCasesController.service.ts +0 -122
- package/dist/angular/api/userAuditController.service.ts +4 -4
- package/dist/angular/model/citationAuditEventModel.ts +4 -1
- package/dist/angular/model/lawfirmAuditEventModel.ts +4 -1
- package/dist/angular/model/models.ts +0 -2
- package/dist/angular/model/userAuditEventModel.ts +8 -2
- package/dist/angular/model/violationModel.ts +2 -9
- package/dist/otrBackendService.js +0 -68
- package/dist/otrBackendService.min.js +1 -2
- package/dist/typescript/api/AuditLawfirmEventsControllerApi.d.ts +1 -1
- package/dist/typescript/api/CitationAuditControllerApi.d.ts +1 -1
- package/dist/typescript/api/ListCasesControllerApi.d.ts +0 -12
- package/dist/typescript/api/ListCasesControllerApi.js +0 -50
- package/dist/typescript/api/UserAuditControllerApi.d.ts +1 -1
- package/dist/typescript/model/CitationAuditEventModel.d.ts +3 -0
- package/dist/typescript/model/CitationAuditEventModel.js +3 -0
- package/dist/typescript/model/LawfirmAuditEventModel.d.ts +3 -0
- package/dist/typescript/model/LawfirmAuditEventModel.js +3 -0
- package/dist/typescript/model/UserAuditEventModel.d.ts +6 -0
- package/dist/typescript/model/UserAuditEventModel.js +6 -0
- package/dist/typescript/model/ViolationModel.d.ts +1 -8
- package/dist/typescript/model/models.d.ts +0 -2
- package/dist/typescript/model/models.js +0 -2
- package/dist/typescript-fetch/apis/AuditLawfirmEventsControllerApi.d.ts +6 -0
- package/dist/typescript-fetch/apis/AuditLawfirmEventsControllerApi.js +6 -0
- package/dist/typescript-fetch/apis/CitationAuditControllerApi.d.ts +6 -0
- package/dist/typescript-fetch/apis/CitationAuditControllerApi.js +6 -0
- package/dist/typescript-fetch/apis/ListCasesControllerApi.d.ts +1 -23
- package/dist/typescript-fetch/apis/ListCasesControllerApi.js +1 -57
- package/dist/typescript-fetch/apis/UserAuditControllerApi.d.ts +6 -0
- package/dist/typescript-fetch/apis/UserAuditControllerApi.js +6 -0
- package/dist/typescript-fetch/models/CitationAuditEventModel.d.ts +3 -0
- package/dist/typescript-fetch/models/CitationAuditEventModel.js +3 -0
- package/dist/typescript-fetch/models/LawfirmAuditEventModel.d.ts +3 -0
- package/dist/typescript-fetch/models/LawfirmAuditEventModel.js +3 -0
- package/dist/typescript-fetch/models/UserAuditEventModel.d.ts +6 -0
- package/dist/typescript-fetch/models/UserAuditEventModel.js +6 -0
- package/dist/typescript-fetch/models/ViolationModel.d.ts +3 -45
- package/dist/typescript-fetch/models/ViolationModel.js +3 -17
- package/dist/typescript-fetch/models/index.d.ts +0 -2
- package/dist/typescript-fetch/models/index.js +0 -2
- package/dist/typescript-open-api/otr-backend.d.ts +4 -157
- package/dist/typescript-open-api/otr-backend.js +3 -0
- package/package.json +1 -1
- package/dist/typescript-fetch/models/GetClientCasesResponse.d.ts +0 -52
- package/dist/typescript-fetch/models/GetClientCasesResponse.js +0 -45
- package/dist/typescript-fetch/models/GetUserCasesResponse.d.ts +0 -46
- package/dist/typescript-fetch/models/GetUserCasesResponse.js +0 -43
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { MatchCaseViolationPenaltyModelFromJSON, MatchCaseViolationPenaltyModelToJSON, } from './';
|
|
16
16
|
export function ViolationModelFromJSON(json) {
|
|
17
17
|
return ViolationModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -21,18 +21,11 @@ export function ViolationModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
return json;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
-
'classDescription': !exists(json, 'classDescription') ? undefined : json['classDescription'],
|
|
25
|
-
'criminal': !exists(json, 'criminal') ? undefined : json['criminal'],
|
|
26
|
-
'insuranceIncreasePercent': !exists(json, 'insuranceIncreasePercent') ? undefined : json['insuranceIncreasePercent'],
|
|
27
24
|
'isCriminal': !exists(json, 'isCriminal') ? undefined : json['isCriminal'],
|
|
28
|
-
'isMovingViolation': !exists(json, 'isMovingViolation') ? undefined : json['isMovingViolation'],
|
|
29
25
|
'isWobblerToCriminal': !exists(json, 'isWobblerToCriminal') ? undefined : json['isWobblerToCriminal'],
|
|
30
|
-
'penalties': !exists(json, 'penalties') ? undefined : (json['penalties'].map(
|
|
26
|
+
'penalties': !exists(json, 'penalties') ? undefined : (json['penalties'].map(MatchCaseViolationPenaltyModelFromJSON)),
|
|
31
27
|
'trafficViolationDesc': !exists(json, 'trafficViolationDesc') ? undefined : json['trafficViolationDesc'],
|
|
32
28
|
'trafficViolationTypeId': !exists(json, 'trafficViolationTypeId') ? undefined : json['trafficViolationTypeId'],
|
|
33
|
-
'uniqueId': !exists(json, 'uniqueId') ? undefined : json['uniqueId'],
|
|
34
|
-
'userFriendlyName': !exists(json, 'userFriendlyName') ? undefined : json['userFriendlyName'],
|
|
35
|
-
'userFriendlyShortForm': !exists(json, 'userFriendlyShortForm') ? undefined : json['userFriendlyShortForm'],
|
|
36
29
|
'violationClassification': !exists(json, 'violationClassification') ? undefined : json['violationClassification'],
|
|
37
30
|
'violationCode': !exists(json, 'violationCode') ? undefined : json['violationCode'],
|
|
38
31
|
};
|
|
@@ -45,18 +38,11 @@ export function ViolationModelToJSON(value) {
|
|
|
45
38
|
return null;
|
|
46
39
|
}
|
|
47
40
|
return {
|
|
48
|
-
'classDescription': value.classDescription,
|
|
49
|
-
'criminal': value.criminal,
|
|
50
|
-
'insuranceIncreasePercent': value.insuranceIncreasePercent,
|
|
51
41
|
'isCriminal': value.isCriminal,
|
|
52
|
-
'isMovingViolation': value.isMovingViolation,
|
|
53
42
|
'isWobblerToCriminal': value.isWobblerToCriminal,
|
|
54
|
-
'penalties': value.penalties === undefined ? undefined : (value.penalties.map(
|
|
43
|
+
'penalties': value.penalties === undefined ? undefined : (value.penalties.map(MatchCaseViolationPenaltyModelToJSON)),
|
|
55
44
|
'trafficViolationDesc': value.trafficViolationDesc,
|
|
56
45
|
'trafficViolationTypeId': value.trafficViolationTypeId,
|
|
57
|
-
'uniqueId': value.uniqueId,
|
|
58
|
-
'userFriendlyName': value.userFriendlyName,
|
|
59
|
-
'userFriendlyShortForm': value.userFriendlyShortForm,
|
|
60
46
|
'violationClassification': value.violationClassification,
|
|
61
47
|
'violationCode': value.violationCode,
|
|
62
48
|
};
|
|
@@ -306,7 +306,6 @@ export * from './GetCitationPhoneLeadsResponse';
|
|
|
306
306
|
export * from './GetCitationResponse';
|
|
307
307
|
export * from './GetCitationsWithMissingFieldsRequest';
|
|
308
308
|
export * from './GetCitationsWithMissingFieldsResponse';
|
|
309
|
-
export * from './GetClientCasesResponse';
|
|
310
309
|
export * from './GetClientConfirmedUnpaidCasesResponse';
|
|
311
310
|
export * from './GetCoachingCardCategoriesResponse';
|
|
312
311
|
export * from './GetCompetitionResponseModel';
|
|
@@ -398,7 +397,6 @@ export * from './GetTrafficViolationTypesResponse';
|
|
|
398
397
|
export * from './GetUserAddressesResponse';
|
|
399
398
|
export * from './GetUserByEmailRequest';
|
|
400
399
|
export * from './GetUserByEmailResponse';
|
|
401
|
-
export * from './GetUserCasesResponse';
|
|
402
400
|
export * from './GetUserDetailsResponse';
|
|
403
401
|
export * from './GetUserRefLinksResponse';
|
|
404
402
|
export * from './GetUserReferralSourceTypesResponse';
|
|
@@ -306,7 +306,6 @@ export * from './GetCitationPhoneLeadsResponse';
|
|
|
306
306
|
export * from './GetCitationResponse';
|
|
307
307
|
export * from './GetCitationsWithMissingFieldsRequest';
|
|
308
308
|
export * from './GetCitationsWithMissingFieldsResponse';
|
|
309
|
-
export * from './GetClientCasesResponse';
|
|
310
309
|
export * from './GetClientConfirmedUnpaidCasesResponse';
|
|
311
310
|
export * from './GetCoachingCardCategoriesResponse';
|
|
312
311
|
export * from './GetCompetitionResponseModel';
|
|
@@ -398,7 +397,6 @@ export * from './GetTrafficViolationTypesResponse';
|
|
|
398
397
|
export * from './GetUserAddressesResponse';
|
|
399
398
|
export * from './GetUserByEmailRequest';
|
|
400
399
|
export * from './GetUserByEmailResponse';
|
|
401
|
-
export * from './GetUserCasesResponse';
|
|
402
400
|
export * from './GetUserDetailsResponse';
|
|
403
401
|
export * from './GetUserRefLinksResponse';
|
|
404
402
|
export * from './GetUserReferralSourceTypesResponse';
|
|
@@ -4717,46 +4717,6 @@ export interface paths {
|
|
|
4717
4717
|
patch?: never;
|
|
4718
4718
|
trace?: never;
|
|
4719
4719
|
};
|
|
4720
|
-
"/api/v1/users/{userId}/cases": {
|
|
4721
|
-
parameters: {
|
|
4722
|
-
query?: never;
|
|
4723
|
-
header?: never;
|
|
4724
|
-
path?: never;
|
|
4725
|
-
cookie?: never;
|
|
4726
|
-
};
|
|
4727
|
-
/**
|
|
4728
|
-
* getCasesForUser
|
|
4729
|
-
* @deprecated
|
|
4730
|
-
*/
|
|
4731
|
-
get: operations["getCasesForUserUsingGET"];
|
|
4732
|
-
put?: never;
|
|
4733
|
-
post?: never;
|
|
4734
|
-
delete?: never;
|
|
4735
|
-
options?: never;
|
|
4736
|
-
head?: never;
|
|
4737
|
-
patch?: never;
|
|
4738
|
-
trace?: never;
|
|
4739
|
-
};
|
|
4740
|
-
"/api/v2/users/{userId}/cases": {
|
|
4741
|
-
parameters: {
|
|
4742
|
-
query?: never;
|
|
4743
|
-
header?: never;
|
|
4744
|
-
path?: never;
|
|
4745
|
-
cookie?: never;
|
|
4746
|
-
};
|
|
4747
|
-
/**
|
|
4748
|
-
* getUserCases
|
|
4749
|
-
* @deprecated
|
|
4750
|
-
*/
|
|
4751
|
-
get: operations["getUserCasesUsingGET"];
|
|
4752
|
-
put?: never;
|
|
4753
|
-
post?: never;
|
|
4754
|
-
delete?: never;
|
|
4755
|
-
options?: never;
|
|
4756
|
-
head?: never;
|
|
4757
|
-
patch?: never;
|
|
4758
|
-
trace?: never;
|
|
4759
|
-
};
|
|
4760
4720
|
"/api/v3/users/{userId}/cases": {
|
|
4761
4721
|
parameters: {
|
|
4762
4722
|
query?: never;
|
|
@@ -11003,17 +10963,6 @@ export interface components {
|
|
|
11003
10963
|
/** Format: int64 */
|
|
11004
10964
|
missingFieldsCount?: number;
|
|
11005
10965
|
};
|
|
11006
|
-
/** GetClientCasesResponse */
|
|
11007
|
-
GetClientCasesResponse: {
|
|
11008
|
-
cases?: components["schemas"]["CaseModel"][];
|
|
11009
|
-
citations?: components["schemas"]["CitationModel"][];
|
|
11010
|
-
/** Format: int64 */
|
|
11011
|
-
numBookings?: number;
|
|
11012
|
-
/** Format: int32 */
|
|
11013
|
-
numCases?: number;
|
|
11014
|
-
/** Format: int64 */
|
|
11015
|
-
numCitationUploads?: number;
|
|
11016
|
-
};
|
|
11017
10966
|
/** GetClientConfirmedUnpaidCasesRequest */
|
|
11018
10967
|
GetClientConfirmedUnpaidCasesRequest: Record<string, never>;
|
|
11019
10968
|
/** GetClientConfirmedUnpaidCasesResponse */
|
|
@@ -11694,15 +11643,6 @@ export interface components {
|
|
|
11694
11643
|
/** Format: int32 */
|
|
11695
11644
|
numMatchingUsers?: number;
|
|
11696
11645
|
};
|
|
11697
|
-
/** GetUserCasesResponse */
|
|
11698
|
-
GetUserCasesResponse: {
|
|
11699
|
-
cases?: components["schemas"]["CaseModel"][];
|
|
11700
|
-
citations?: components["schemas"]["CitationModel"][];
|
|
11701
|
-
/** Format: int64 */
|
|
11702
|
-
numBookings?: number;
|
|
11703
|
-
/** Format: int64 */
|
|
11704
|
-
numCitationUploads?: number;
|
|
11705
|
-
};
|
|
11706
11646
|
/** GetUserDetailsResponse */
|
|
11707
11647
|
GetUserDetailsResponse: {
|
|
11708
11648
|
mergeReportJson?: string;
|
|
@@ -16626,20 +16566,12 @@ export interface components {
|
|
|
16626
16566
|
};
|
|
16627
16567
|
/** ViolationModel */
|
|
16628
16568
|
ViolationModel: {
|
|
16629
|
-
classDescription?: string;
|
|
16630
|
-
criminal?: boolean;
|
|
16631
|
-
/** Format: double */
|
|
16632
|
-
insuranceIncreasePercent?: number;
|
|
16633
16569
|
isCriminal?: boolean;
|
|
16634
|
-
isMovingViolation?: boolean;
|
|
16635
16570
|
isWobblerToCriminal?: boolean;
|
|
16636
|
-
penalties?: components["schemas"]["
|
|
16571
|
+
penalties?: components["schemas"]["MatchCaseViolationPenaltyModel"][];
|
|
16637
16572
|
trafficViolationDesc?: string;
|
|
16638
16573
|
/** Format: int64 */
|
|
16639
16574
|
trafficViolationTypeId?: number;
|
|
16640
|
-
uniqueId?: string;
|
|
16641
|
-
userFriendlyName?: string;
|
|
16642
|
-
userFriendlyShortForm?: string;
|
|
16643
16575
|
/** @enum {string} */
|
|
16644
16576
|
violationClassification?: PathsApiV1LawfirmsLawfirmIdAccountFeesDeleteParametersQueryClassification;
|
|
16645
16577
|
violationCode?: string;
|
|
@@ -32294,94 +32226,6 @@ export interface operations {
|
|
|
32294
32226
|
};
|
|
32295
32227
|
};
|
|
32296
32228
|
};
|
|
32297
|
-
getCasesForUserUsingGET: {
|
|
32298
|
-
parameters: {
|
|
32299
|
-
query?: never;
|
|
32300
|
-
header?: never;
|
|
32301
|
-
path: {
|
|
32302
|
-
/** @description userId */
|
|
32303
|
-
userId: string;
|
|
32304
|
-
};
|
|
32305
|
-
cookie?: never;
|
|
32306
|
-
};
|
|
32307
|
-
requestBody?: never;
|
|
32308
|
-
responses: {
|
|
32309
|
-
/** @description OK */
|
|
32310
|
-
200: {
|
|
32311
|
-
headers: {
|
|
32312
|
-
[name: string]: unknown;
|
|
32313
|
-
};
|
|
32314
|
-
content: {
|
|
32315
|
-
"*/*": components["schemas"]["GetClientCasesResponse"];
|
|
32316
|
-
};
|
|
32317
|
-
};
|
|
32318
|
-
/** @description Unauthorized */
|
|
32319
|
-
401: {
|
|
32320
|
-
headers: {
|
|
32321
|
-
[name: string]: unknown;
|
|
32322
|
-
};
|
|
32323
|
-
content?: never;
|
|
32324
|
-
};
|
|
32325
|
-
/** @description Forbidden */
|
|
32326
|
-
403: {
|
|
32327
|
-
headers: {
|
|
32328
|
-
[name: string]: unknown;
|
|
32329
|
-
};
|
|
32330
|
-
content?: never;
|
|
32331
|
-
};
|
|
32332
|
-
/** @description Not Found */
|
|
32333
|
-
404: {
|
|
32334
|
-
headers: {
|
|
32335
|
-
[name: string]: unknown;
|
|
32336
|
-
};
|
|
32337
|
-
content?: never;
|
|
32338
|
-
};
|
|
32339
|
-
};
|
|
32340
|
-
};
|
|
32341
|
-
getUserCasesUsingGET: {
|
|
32342
|
-
parameters: {
|
|
32343
|
-
query?: never;
|
|
32344
|
-
header?: never;
|
|
32345
|
-
path: {
|
|
32346
|
-
/** @description userId */
|
|
32347
|
-
userId: number;
|
|
32348
|
-
};
|
|
32349
|
-
cookie?: never;
|
|
32350
|
-
};
|
|
32351
|
-
requestBody?: never;
|
|
32352
|
-
responses: {
|
|
32353
|
-
/** @description OK */
|
|
32354
|
-
200: {
|
|
32355
|
-
headers: {
|
|
32356
|
-
[name: string]: unknown;
|
|
32357
|
-
};
|
|
32358
|
-
content: {
|
|
32359
|
-
"*/*": components["schemas"]["GetUserCasesResponse"];
|
|
32360
|
-
};
|
|
32361
|
-
};
|
|
32362
|
-
/** @description Unauthorized */
|
|
32363
|
-
401: {
|
|
32364
|
-
headers: {
|
|
32365
|
-
[name: string]: unknown;
|
|
32366
|
-
};
|
|
32367
|
-
content?: never;
|
|
32368
|
-
};
|
|
32369
|
-
/** @description Forbidden */
|
|
32370
|
-
403: {
|
|
32371
|
-
headers: {
|
|
32372
|
-
[name: string]: unknown;
|
|
32373
|
-
};
|
|
32374
|
-
content?: never;
|
|
32375
|
-
};
|
|
32376
|
-
/** @description Not Found */
|
|
32377
|
-
404: {
|
|
32378
|
-
headers: {
|
|
32379
|
-
[name: string]: unknown;
|
|
32380
|
-
};
|
|
32381
|
-
content?: never;
|
|
32382
|
-
};
|
|
32383
|
-
};
|
|
32384
|
-
};
|
|
32385
32229
|
listDashboardCasesUsingGET: {
|
|
32386
32230
|
parameters: {
|
|
32387
32231
|
query?: {
|
|
@@ -40755,6 +40599,9 @@ export declare enum PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncl
|
|
|
40755
40599
|
CASE_COUNTER_WITHDRAWN = "CASE_COUNTER_WITHDRAWN",
|
|
40756
40600
|
CASE_DECLINE = "CASE_DECLINE",
|
|
40757
40601
|
CASE_MATCH = "CASE_MATCH",
|
|
40602
|
+
CASE_PARTICIPANT_ACCEPTED = "CASE_PARTICIPANT_ACCEPTED",
|
|
40603
|
+
CASE_PARTICIPANT_INVITED = "CASE_PARTICIPANT_INVITED",
|
|
40604
|
+
CASE_PARTICIPANT_REMOVED = "CASE_PARTICIPANT_REMOVED",
|
|
40758
40605
|
CASE_PAYMENT_DELETED = "CASE_PAYMENT_DELETED",
|
|
40759
40606
|
CASE_PAYMENT_RESCHEDULED = "CASE_PAYMENT_RESCHEDULED",
|
|
40760
40607
|
CASE_RESOLVE = "CASE_RESOLVE",
|
|
@@ -34,6 +34,9 @@ export var PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes;
|
|
|
34
34
|
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_COUNTER_WITHDRAWN"] = "CASE_COUNTER_WITHDRAWN";
|
|
35
35
|
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_DECLINE"] = "CASE_DECLINE";
|
|
36
36
|
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_MATCH"] = "CASE_MATCH";
|
|
37
|
+
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_PARTICIPANT_ACCEPTED"] = "CASE_PARTICIPANT_ACCEPTED";
|
|
38
|
+
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_PARTICIPANT_INVITED"] = "CASE_PARTICIPANT_INVITED";
|
|
39
|
+
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_PARTICIPANT_REMOVED"] = "CASE_PARTICIPANT_REMOVED";
|
|
37
40
|
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_PAYMENT_DELETED"] = "CASE_PAYMENT_DELETED";
|
|
38
41
|
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_PAYMENT_RESCHEDULED"] = "CASE_PAYMENT_RESCHEDULED";
|
|
39
42
|
PathsApiV1LawfirmsLawfirmIdAuditEventsGetParametersQueryIncludeTypes["CASE_RESOLVE"] = "CASE_RESOLVE";
|
package/package.json
CHANGED
|
@@ -1,52 +0,0 @@
|
|
|
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 { CaseModel, CitationModel } from './';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetClientCasesResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface GetClientCasesResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CaseModel>}
|
|
22
|
-
* @memberof GetClientCasesResponse
|
|
23
|
-
*/
|
|
24
|
-
cases?: Array<CaseModel>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<CitationModel>}
|
|
28
|
-
* @memberof GetClientCasesResponse
|
|
29
|
-
*/
|
|
30
|
-
citations?: Array<CitationModel>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof GetClientCasesResponse
|
|
35
|
-
*/
|
|
36
|
-
numBookings?: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof GetClientCasesResponse
|
|
41
|
-
*/
|
|
42
|
-
numCases?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof GetClientCasesResponse
|
|
47
|
-
*/
|
|
48
|
-
numCitationUploads?: number;
|
|
49
|
-
}
|
|
50
|
-
export declare function GetClientCasesResponseFromJSON(json: any): GetClientCasesResponse;
|
|
51
|
-
export declare function GetClientCasesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetClientCasesResponse;
|
|
52
|
-
export declare function GetClientCasesResponseToJSON(value?: GetClientCasesResponse | null): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* OffTheRecord Rest Service API - Devo
|
|
5
|
-
* A service to handle your traffic tickets
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.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
|
-
import { exists } from '../runtime';
|
|
15
|
-
import { CaseModelFromJSON, CaseModelToJSON, CitationModelFromJSON, CitationModelToJSON, } from './';
|
|
16
|
-
export function GetClientCasesResponseFromJSON(json) {
|
|
17
|
-
return GetClientCasesResponseFromJSONTyped(json, false);
|
|
18
|
-
}
|
|
19
|
-
export function GetClientCasesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
-
if ((json === undefined) || (json === null)) {
|
|
21
|
-
return json;
|
|
22
|
-
}
|
|
23
|
-
return {
|
|
24
|
-
'cases': !exists(json, 'cases') ? undefined : (json['cases'].map(CaseModelFromJSON)),
|
|
25
|
-
'citations': !exists(json, 'citations') ? undefined : (json['citations'].map(CitationModelFromJSON)),
|
|
26
|
-
'numBookings': !exists(json, 'numBookings') ? undefined : json['numBookings'],
|
|
27
|
-
'numCases': !exists(json, 'numCases') ? undefined : json['numCases'],
|
|
28
|
-
'numCitationUploads': !exists(json, 'numCitationUploads') ? undefined : json['numCitationUploads'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export function GetClientCasesResponseToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'cases': value.cases === undefined ? undefined : (value.cases.map(CaseModelToJSON)),
|
|
40
|
-
'citations': value.citations === undefined ? undefined : (value.citations.map(CitationModelToJSON)),
|
|
41
|
-
'numBookings': value.numBookings,
|
|
42
|
-
'numCases': value.numCases,
|
|
43
|
-
'numCitationUploads': value.numCitationUploads,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
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 { CaseModel, CitationModel } from './';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetUserCasesResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface GetUserCasesResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CaseModel>}
|
|
22
|
-
* @memberof GetUserCasesResponse
|
|
23
|
-
*/
|
|
24
|
-
cases?: Array<CaseModel>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<CitationModel>}
|
|
28
|
-
* @memberof GetUserCasesResponse
|
|
29
|
-
*/
|
|
30
|
-
citations?: Array<CitationModel>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof GetUserCasesResponse
|
|
35
|
-
*/
|
|
36
|
-
numBookings?: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof GetUserCasesResponse
|
|
41
|
-
*/
|
|
42
|
-
numCitationUploads?: number;
|
|
43
|
-
}
|
|
44
|
-
export declare function GetUserCasesResponseFromJSON(json: any): GetUserCasesResponse;
|
|
45
|
-
export declare function GetUserCasesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUserCasesResponse;
|
|
46
|
-
export declare function GetUserCasesResponseToJSON(value?: GetUserCasesResponse | null): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* OffTheRecord Rest Service API - Devo
|
|
5
|
-
* A service to handle your traffic tickets
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.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
|
-
import { exists } from '../runtime';
|
|
15
|
-
import { CaseModelFromJSON, CaseModelToJSON, CitationModelFromJSON, CitationModelToJSON, } from './';
|
|
16
|
-
export function GetUserCasesResponseFromJSON(json) {
|
|
17
|
-
return GetUserCasesResponseFromJSONTyped(json, false);
|
|
18
|
-
}
|
|
19
|
-
export function GetUserCasesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
-
if ((json === undefined) || (json === null)) {
|
|
21
|
-
return json;
|
|
22
|
-
}
|
|
23
|
-
return {
|
|
24
|
-
'cases': !exists(json, 'cases') ? undefined : (json['cases'].map(CaseModelFromJSON)),
|
|
25
|
-
'citations': !exists(json, 'citations') ? undefined : (json['citations'].map(CitationModelFromJSON)),
|
|
26
|
-
'numBookings': !exists(json, 'numBookings') ? undefined : json['numBookings'],
|
|
27
|
-
'numCitationUploads': !exists(json, 'numCitationUploads') ? undefined : json['numCitationUploads'],
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export function GetUserCasesResponseToJSON(value) {
|
|
31
|
-
if (value === undefined) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
if (value === null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'cases': value.cases === undefined ? undefined : (value.cases.map(CaseModelToJSON)),
|
|
39
|
-
'citations': value.citations === undefined ? undefined : (value.citations.map(CitationModelToJSON)),
|
|
40
|
-
'numBookings': value.numBookings,
|
|
41
|
-
'numCitationUploads': value.numCitationUploads,
|
|
42
|
-
};
|
|
43
|
-
}
|