@otr-app/shared-backend-generated-client 2.5.31 → 2.5.32

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.
@@ -330,6 +330,7 @@ model/declineCaseCounterRequest.ts
330
330
  model/declineCategory.ts
331
331
  model/declineReason.ts
332
332
  model/defaultClassModel.ts
333
+ model/defendantDetailsModel.ts
333
334
  model/deleteCitationResponse.ts
334
335
  model/deleteLawyerLicenseRequest.ts
335
336
  model/deleteNotificationByPagesRequest.ts
@@ -0,0 +1,35 @@
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 DefendantDetailsModel {
15
+ additionalNote?: string;
16
+ emailAddress?: string;
17
+ firstName?: string;
18
+ lastName?: string;
19
+ relationshipToClientType?: DefendantDetailsModel.RelationshipToClientTypeEnum;
20
+ userId?: number;
21
+ }
22
+ export namespace DefendantDetailsModel {
23
+ export type RelationshipToClientTypeEnum = 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'SELF' | 'UNKNOWN';
24
+ export const RelationshipToClientTypeEnum = {
25
+ Employer: 'EMPLOYER' as RelationshipToClientTypeEnum,
26
+ FamilyMember: 'FAMILY_MEMBER' as RelationshipToClientTypeEnum,
27
+ Friend: 'FRIEND' as RelationshipToClientTypeEnum,
28
+ Lawyer: 'LAWYER' as RelationshipToClientTypeEnum,
29
+ Other: 'OTHER' as RelationshipToClientTypeEnum,
30
+ Self: 'SELF' as RelationshipToClientTypeEnum,
31
+ Unknown: 'UNKNOWN' as RelationshipToClientTypeEnum
32
+ };
33
+ }
34
+
35
+
@@ -205,6 +205,7 @@ export * from './declineCaseCounterRequest';
205
205
  export * from './declineCategory';
206
206
  export * from './declineReason';
207
207
  export * from './defaultClassModel';
208
+ export * from './defendantDetailsModel';
208
209
  export * from './deleteCitationResponse';
209
210
  export * from './deleteLawyerLicenseRequest';
210
211
  export * from './deleteNotificationByPagesRequest';
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DefendantDetailsModel } from './defendantDetailsModel';
12
13
  import { SubscriptionDiscountEligibility } from './subscriptionDiscountEligibility';
13
14
  import { UnavailableMatchAttributesModel } from './unavailableMatchAttributesModel';
14
15
  import { WorkflowViolationPenaltyModel } from './workflowViolationPenaltyModel';
@@ -25,6 +26,7 @@ export interface WorkflowCaseModel {
25
26
  caseStatusCategory?: WorkflowCaseModel.CaseStatusCategoryEnum;
26
27
  citation?: WorkflowCitationModel;
27
28
  courtAppointmentDate?: Timestamp;
29
+ defendantDetails?: DefendantDetailsModel;
28
30
  isLawfirmCodeApplied?: boolean;
29
31
  latestUnavailableMatchAttributes?: UnavailableMatchAttributesModel;
30
32
  legalServices?: Array<LegalServiceModel>;
@@ -0,0 +1,30 @@
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
+ export interface DefendantDetailsModel {
13
+ "additionalNote"?: string;
14
+ "emailAddress"?: string;
15
+ "firstName"?: string;
16
+ "lastName"?: string;
17
+ "relationshipToClientType"?: DefendantDetailsModel.RelationshipToClientTypeEnum;
18
+ "userId"?: number;
19
+ }
20
+ export declare namespace DefendantDetailsModel {
21
+ enum RelationshipToClientTypeEnum {
22
+ EMPLOYER,
23
+ FAMILYMEMBER,
24
+ FRIEND,
25
+ LAWYER,
26
+ OTHER,
27
+ SELF,
28
+ UNKNOWN
29
+ }
30
+ }
@@ -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
+ export var DefendantDetailsModel;
13
+ (function (DefendantDetailsModel) {
14
+ let RelationshipToClientTypeEnum;
15
+ (function (RelationshipToClientTypeEnum) {
16
+ RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["EMPLOYER"] = 'EMPLOYER'] = "EMPLOYER";
17
+ RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["FAMILYMEMBER"] = 'FAMILY_MEMBER'] = "FAMILYMEMBER";
18
+ RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["FRIEND"] = 'FRIEND'] = "FRIEND";
19
+ RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["LAWYER"] = 'LAWYER'] = "LAWYER";
20
+ RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["OTHER"] = 'OTHER'] = "OTHER";
21
+ RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["SELF"] = 'SELF'] = "SELF";
22
+ RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
23
+ })(RelationshipToClientTypeEnum = DefendantDetailsModel.RelationshipToClientTypeEnum || (DefendantDetailsModel.RelationshipToClientTypeEnum = {}));
24
+ })(DefendantDetailsModel || (DefendantDetailsModel = {}));
@@ -16,6 +16,7 @@ export interface WorkflowCaseModel {
16
16
  "caseStatusCategory"?: WorkflowCaseModel.CaseStatusCategoryEnum;
17
17
  "citation"?: models.WorkflowCitationModel;
18
18
  "courtAppointmentDate"?: models.Timestamp;
19
+ "defendantDetails"?: models.DefendantDetailsModel;
19
20
  "isLawfirmCodeApplied"?: boolean;
20
21
  "latestUnavailableMatchAttributes"?: models.UnavailableMatchAttributesModel;
21
22
  "legalServices"?: Array<models.LegalServiceModel>;
@@ -205,6 +205,7 @@ export * from './DeclineCaseCounterRequest';
205
205
  export * from './DeclineCategory';
206
206
  export * from './DeclineReason';
207
207
  export * from './DefaultClassModel';
208
+ export * from './DefendantDetailsModel';
208
209
  export * from './DeleteCitationResponse';
209
210
  export * from './DeleteLawyerLicenseRequest';
210
211
  export * from './DeleteNotificationByPagesRequest';
@@ -205,6 +205,7 @@ export * from './DeclineCaseCounterRequest';
205
205
  export * from './DeclineCategory';
206
206
  export * from './DeclineReason';
207
207
  export * from './DefaultClassModel';
208
+ export * from './DefendantDetailsModel';
208
209
  export * from './DeleteCitationResponse';
209
210
  export * from './DeleteLawyerLicenseRequest';
210
211
  export * from './DeleteNotificationByPagesRequest';
@@ -0,0 +1,70 @@
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
15
+ * @interface DefendantDetailsModel
16
+ */
17
+ export interface DefendantDetailsModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DefendantDetailsModel
22
+ */
23
+ additionalNote?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DefendantDetailsModel
28
+ */
29
+ emailAddress?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DefendantDetailsModel
34
+ */
35
+ firstName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof DefendantDetailsModel
40
+ */
41
+ lastName?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof DefendantDetailsModel
46
+ */
47
+ relationshipToClientType?: DefendantDetailsModelRelationshipToClientTypeEnum;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof DefendantDetailsModel
52
+ */
53
+ userId?: number;
54
+ }
55
+ export declare function DefendantDetailsModelFromJSON(json: any): DefendantDetailsModel;
56
+ export declare function DefendantDetailsModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefendantDetailsModel;
57
+ export declare function DefendantDetailsModelToJSON(value?: DefendantDetailsModel | null): any;
58
+ /**
59
+ * @export
60
+ * @enum {string}
61
+ */
62
+ export declare enum DefendantDetailsModelRelationshipToClientTypeEnum {
63
+ EMPLOYER = "EMPLOYER",
64
+ FAMILYMEMBER = "FAMILY_MEMBER",
65
+ FRIEND = "FRIEND",
66
+ LAWYER = "LAWYER",
67
+ OTHER = "OTHER",
68
+ SELF = "SELF",
69
+ UNKNOWN = "UNKNOWN"
70
+ }
@@ -0,0 +1,60 @@
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
+ export function DefendantDetailsModelFromJSON(json) {
16
+ return DefendantDetailsModelFromJSONTyped(json, false);
17
+ }
18
+ export function DefendantDetailsModelFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'additionalNote': !exists(json, 'additionalNote') ? undefined : json['additionalNote'],
24
+ 'emailAddress': !exists(json, 'emailAddress') ? undefined : json['emailAddress'],
25
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
26
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
27
+ 'relationshipToClientType': !exists(json, 'relationshipToClientType') ? undefined : json['relationshipToClientType'],
28
+ 'userId': !exists(json, 'userId') ? undefined : json['userId'],
29
+ };
30
+ }
31
+ export function DefendantDetailsModelToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'additionalNote': value.additionalNote,
40
+ 'emailAddress': value.emailAddress,
41
+ 'firstName': value.firstName,
42
+ 'lastName': value.lastName,
43
+ 'relationshipToClientType': value.relationshipToClientType,
44
+ 'userId': value.userId,
45
+ };
46
+ }
47
+ /**
48
+ * @export
49
+ * @enum {string}
50
+ */
51
+ export var DefendantDetailsModelRelationshipToClientTypeEnum;
52
+ (function (DefendantDetailsModelRelationshipToClientTypeEnum) {
53
+ DefendantDetailsModelRelationshipToClientTypeEnum["EMPLOYER"] = "EMPLOYER";
54
+ DefendantDetailsModelRelationshipToClientTypeEnum["FAMILYMEMBER"] = "FAMILY_MEMBER";
55
+ DefendantDetailsModelRelationshipToClientTypeEnum["FRIEND"] = "FRIEND";
56
+ DefendantDetailsModelRelationshipToClientTypeEnum["LAWYER"] = "LAWYER";
57
+ DefendantDetailsModelRelationshipToClientTypeEnum["OTHER"] = "OTHER";
58
+ DefendantDetailsModelRelationshipToClientTypeEnum["SELF"] = "SELF";
59
+ DefendantDetailsModelRelationshipToClientTypeEnum["UNKNOWN"] = "UNKNOWN";
60
+ })(DefendantDetailsModelRelationshipToClientTypeEnum || (DefendantDetailsModelRelationshipToClientTypeEnum = {}));
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionDiscountEligibility, Timestamp, UnavailableMatchAttributesModel, WorkflowCitationModel, WorkflowViolationPenaltyModel } from './';
12
+ import { DefendantDetailsModel, LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionDiscountEligibility, Timestamp, UnavailableMatchAttributesModel, WorkflowCitationModel, WorkflowViolationPenaltyModel } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -46,6 +46,12 @@ export interface WorkflowCaseModel {
46
46
  * @memberof WorkflowCaseModel
47
47
  */
48
48
  courtAppointmentDate?: Timestamp;
49
+ /**
50
+ *
51
+ * @type {DefendantDetailsModel}
52
+ * @memberof WorkflowCaseModel
53
+ */
54
+ defendantDetails?: DefendantDetailsModel;
49
55
  /**
50
56
  *
51
57
  * @type {boolean}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { LegalServiceModelFromJSON, LegalServiceModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON, WorkflowCitationModelFromJSON, WorkflowCitationModelToJSON, WorkflowViolationPenaltyModelFromJSON, WorkflowViolationPenaltyModelToJSON, } from './';
15
+ import { DefendantDetailsModelFromJSON, DefendantDetailsModelToJSON, LegalServiceModelFromJSON, LegalServiceModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON, WorkflowCitationModelFromJSON, WorkflowCitationModelToJSON, WorkflowViolationPenaltyModelFromJSON, WorkflowViolationPenaltyModelToJSON, } from './';
16
16
  export function WorkflowCaseModelFromJSON(json) {
17
17
  return WorkflowCaseModelFromJSONTyped(json, false);
18
18
  }
@@ -26,6 +26,7 @@ export function WorkflowCaseModelFromJSONTyped(json, ignoreDiscriminator) {
26
26
  'caseStatusCategory': !exists(json, 'caseStatusCategory') ? undefined : json['caseStatusCategory'],
27
27
  'citation': !exists(json, 'citation') ? undefined : WorkflowCitationModelFromJSON(json['citation']),
28
28
  'courtAppointmentDate': !exists(json, 'courtAppointmentDate') ? undefined : TimestampFromJSON(json['courtAppointmentDate']),
29
+ 'defendantDetails': !exists(json, 'defendantDetails') ? undefined : DefendantDetailsModelFromJSON(json['defendantDetails']),
29
30
  'isLawfirmCodeApplied': !exists(json, 'isLawfirmCodeApplied') ? undefined : json['isLawfirmCodeApplied'],
30
31
  'latestUnavailableMatchAttributes': !exists(json, 'latestUnavailableMatchAttributes') ? undefined : UnavailableMatchAttributesModelFromJSON(json['latestUnavailableMatchAttributes']),
31
32
  'legalServices': !exists(json, 'legalServices') ? undefined : (json['legalServices'].map(LegalServiceModelFromJSON)),
@@ -51,6 +52,7 @@ export function WorkflowCaseModelToJSON(value) {
51
52
  'caseStatusCategory': value.caseStatusCategory,
52
53
  'citation': WorkflowCitationModelToJSON(value.citation),
53
54
  'courtAppointmentDate': TimestampToJSON(value.courtAppointmentDate),
55
+ 'defendantDetails': DefendantDetailsModelToJSON(value.defendantDetails),
54
56
  'isLawfirmCodeApplied': value.isLawfirmCodeApplied,
55
57
  'latestUnavailableMatchAttributes': UnavailableMatchAttributesModelToJSON(value.latestUnavailableMatchAttributes),
56
58
  'legalServices': value.legalServices === undefined ? undefined : (value.legalServices.map(LegalServiceModelToJSON)),
@@ -205,6 +205,7 @@ export * from './DeclineCaseCounterRequest';
205
205
  export * from './DeclineCategory';
206
206
  export * from './DeclineReason';
207
207
  export * from './DefaultClassModel';
208
+ export * from './DefendantDetailsModel';
208
209
  export * from './DeleteCitationResponse';
209
210
  export * from './DeleteLawyerLicenseRequest';
210
211
  export * from './DeleteNotificationByPagesRequest';
@@ -205,6 +205,7 @@ export * from './DeclineCaseCounterRequest';
205
205
  export * from './DeclineCategory';
206
206
  export * from './DeclineReason';
207
207
  export * from './DefaultClassModel';
208
+ export * from './DefendantDetailsModel';
208
209
  export * from './DeleteCitationResponse';
209
210
  export * from './DeleteLawyerLicenseRequest';
210
211
  export * from './DeleteNotificationByPagesRequest';
@@ -9832,6 +9832,17 @@ export interface components {
9832
9832
  classification?: PathsApiV1LawfirmsLawfirmIdAccountFeesDeleteParametersQueryClassification;
9833
9833
  regionCode?: string;
9834
9834
  };
9835
+ /** DefendantDetailsModel */
9836
+ DefendantDetailsModel: {
9837
+ additionalNote?: string;
9838
+ emailAddress?: string;
9839
+ firstName?: string;
9840
+ lastName?: string;
9841
+ /** @enum {string} */
9842
+ relationshipToClientType?: CaseUserDetailsModelRelationshipToClientType;
9843
+ /** Format: int64 */
9844
+ userId?: number;
9845
+ };
9835
9846
  /** DeleteCitationResponse */
9836
9847
  DeleteCitationResponse: {
9837
9848
  citation?: components["schemas"]["CitationModel"];
@@ -16234,6 +16245,7 @@ export interface components {
16234
16245
  caseStatusCategory?: PathsApiV1CaseStatusesGetParametersQueryCategories;
16235
16246
  citation?: components["schemas"]["WorkflowCitationModel"];
16236
16247
  courtAppointmentDate?: components["schemas"]["Timestamp"];
16248
+ defendantDetails?: components["schemas"]["DefendantDetailsModel"];
16237
16249
  isLawfirmCodeApplied?: boolean;
16238
16250
  latestUnavailableMatchAttributes?: components["schemas"]["UnavailableMatchAttributesModel"];
16239
16251
  legalServices?: components["schemas"]["LegalServiceModel"][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.31",
3
+ "version": "2.5.32",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"