@otr-app/shared-backend-generated-client 2.5.148 → 2.5.150

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.
@@ -31,6 +31,7 @@ export interface LawfirmInboxMessageDomain {
31
31
  customerLastName?: string;
32
32
  hasFlagMessage?: boolean;
33
33
  hasStarMessage?: boolean;
34
+ hasUnreadMessages?: boolean;
34
35
  lawfirmCaseDecisionStatus?: LawfirmInboxMessageDomain.LawfirmCaseDecisionStatusEnum;
35
36
  lawfirmReceiptDateUtc?: string;
36
37
  messageBody?: string;
@@ -14,7 +14,7 @@ import { WorkflowLineItemModel } from './workflowLineItemModel';
14
14
 
15
15
 
16
16
  export interface LegalServiceModel {
17
- algoName?: string;
17
+ algoName?: LegalServiceModel.AlgoNameEnum;
18
18
  chanceOfSuccess?: number;
19
19
  financials?: WorkflowFinancials;
20
20
  isSelected?: boolean;
@@ -36,6 +36,13 @@ export interface LegalServiceModel {
36
36
  totalClientCostInCents?: number;
37
37
  }
38
38
  export namespace LegalServiceModel {
39
+ export type AlgoNameEnum = 'double_booking' | 'predetermined' | 'referral_code' | 'round_robin';
40
+ export const AlgoNameEnum = {
41
+ DoubleBooking: 'double_booking' as AlgoNameEnum,
42
+ Predetermined: 'predetermined' as AlgoNameEnum,
43
+ ReferralCode: 'referral_code' as AlgoNameEnum,
44
+ RoundRobin: 'round_robin' as AlgoNameEnum
45
+ };
39
46
  export type LegalServiceTypeEnum = 'DEFER' | 'FIGHT';
40
47
  export const LegalServiceTypeEnum = {
41
48
  Defer: 'DEFER' as LegalServiceTypeEnum,
@@ -12,8 +12,18 @@
12
12
 
13
13
 
14
14
  export interface UnavailableMatchAttributesModel {
15
- algorithmName?: string;
15
+ algorithmName?: UnavailableMatchAttributesModel.AlgorithmNameEnum;
16
16
  lawfirmId?: string;
17
17
  reasonNotAvailable?: string;
18
18
  }
19
+ export namespace UnavailableMatchAttributesModel {
20
+ export type AlgorithmNameEnum = 'double_booking' | 'predetermined' | 'referral_code' | 'round_robin';
21
+ export const AlgorithmNameEnum = {
22
+ DoubleBooking: 'double_booking' as AlgorithmNameEnum,
23
+ Predetermined: 'predetermined' as AlgorithmNameEnum,
24
+ ReferralCode: 'referral_code' as AlgorithmNameEnum,
25
+ RoundRobin: 'round_robin' as AlgorithmNameEnum
26
+ };
27
+ }
28
+
19
29
 
@@ -29,6 +29,7 @@ export interface LawfirmInboxMessageDomain {
29
29
  "customerLastName"?: string;
30
30
  "hasFlagMessage"?: boolean;
31
31
  "hasStarMessage"?: boolean;
32
+ "hasUnreadMessages"?: boolean;
32
33
  "lawfirmCaseDecisionStatus"?: LawfirmInboxMessageDomain.LawfirmCaseDecisionStatusEnum;
33
34
  "lawfirmReceiptDateUtc"?: string;
34
35
  "messageBody"?: string;
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface LegalServiceModel {
14
- "algoName"?: string;
14
+ "algoName"?: LegalServiceModel.AlgoNameEnum;
15
15
  "chanceOfSuccess"?: number;
16
16
  "financials"?: models.WorkflowFinancials;
17
17
  "isSelected"?: boolean;
@@ -33,6 +33,12 @@ export interface LegalServiceModel {
33
33
  "totalClientCostInCents"?: number;
34
34
  }
35
35
  export declare namespace LegalServiceModel {
36
+ enum AlgoNameEnum {
37
+ DoubleBooking,
38
+ Predetermined,
39
+ ReferralCode,
40
+ RoundRobin
41
+ }
36
42
  enum LegalServiceTypeEnum {
37
43
  DEFER,
38
44
  FIGHT
@@ -11,6 +11,13 @@
11
11
  */
12
12
  export var LegalServiceModel;
13
13
  (function (LegalServiceModel) {
14
+ let AlgoNameEnum;
15
+ (function (AlgoNameEnum) {
16
+ AlgoNameEnum[AlgoNameEnum["DoubleBooking"] = 'double_booking'] = "DoubleBooking";
17
+ AlgoNameEnum[AlgoNameEnum["Predetermined"] = 'predetermined'] = "Predetermined";
18
+ AlgoNameEnum[AlgoNameEnum["ReferralCode"] = 'referral_code'] = "ReferralCode";
19
+ AlgoNameEnum[AlgoNameEnum["RoundRobin"] = 'round_robin'] = "RoundRobin";
20
+ })(AlgoNameEnum = LegalServiceModel.AlgoNameEnum || (LegalServiceModel.AlgoNameEnum = {}));
14
21
  let LegalServiceTypeEnum;
15
22
  (function (LegalServiceTypeEnum) {
16
23
  LegalServiceTypeEnum[LegalServiceTypeEnum["DEFER"] = 'DEFER'] = "DEFER";
@@ -10,7 +10,15 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export interface UnavailableMatchAttributesModel {
13
- "algorithmName"?: string;
13
+ "algorithmName"?: UnavailableMatchAttributesModel.AlgorithmNameEnum;
14
14
  "lawfirmId"?: string;
15
15
  "reasonNotAvailable"?: string;
16
16
  }
17
+ export declare namespace UnavailableMatchAttributesModel {
18
+ enum AlgorithmNameEnum {
19
+ DoubleBooking,
20
+ Predetermined,
21
+ ReferralCode,
22
+ RoundRobin
23
+ }
24
+ }
@@ -9,4 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export {};
12
+ export var UnavailableMatchAttributesModel;
13
+ (function (UnavailableMatchAttributesModel) {
14
+ let AlgorithmNameEnum;
15
+ (function (AlgorithmNameEnum) {
16
+ AlgorithmNameEnum[AlgorithmNameEnum["DoubleBooking"] = 'double_booking'] = "DoubleBooking";
17
+ AlgorithmNameEnum[AlgorithmNameEnum["Predetermined"] = 'predetermined'] = "Predetermined";
18
+ AlgorithmNameEnum[AlgorithmNameEnum["ReferralCode"] = 'referral_code'] = "ReferralCode";
19
+ AlgorithmNameEnum[AlgorithmNameEnum["RoundRobin"] = 'round_robin'] = "RoundRobin";
20
+ })(AlgorithmNameEnum = UnavailableMatchAttributesModel.AlgorithmNameEnum || (UnavailableMatchAttributesModel.AlgorithmNameEnum = {}));
21
+ })(UnavailableMatchAttributesModel || (UnavailableMatchAttributesModel = {}));
@@ -124,6 +124,12 @@ export interface LawfirmInboxMessageDomain {
124
124
  * @memberof LawfirmInboxMessageDomain
125
125
  */
126
126
  hasStarMessage?: boolean;
127
+ /**
128
+ *
129
+ * @type {boolean}
130
+ * @memberof LawfirmInboxMessageDomain
131
+ */
132
+ hasUnreadMessages?: boolean;
127
133
  /**
128
134
  *
129
135
  * @type {string}
@@ -39,6 +39,7 @@ export function LawfirmInboxMessageDomainFromJSONTyped(json, ignoreDiscriminator
39
39
  'customerLastName': !exists(json, 'customerLastName') ? undefined : json['customerLastName'],
40
40
  'hasFlagMessage': !exists(json, 'hasFlagMessage') ? undefined : json['hasFlagMessage'],
41
41
  'hasStarMessage': !exists(json, 'hasStarMessage') ? undefined : json['hasStarMessage'],
42
+ 'hasUnreadMessages': !exists(json, 'hasUnreadMessages') ? undefined : json['hasUnreadMessages'],
42
43
  'lawfirmCaseDecisionStatus': !exists(json, 'lawfirmCaseDecisionStatus') ? undefined : json['lawfirmCaseDecisionStatus'],
43
44
  'lawfirmReceiptDateUtc': !exists(json, 'lawfirmReceiptDateUtc') ? undefined : (new Date(json['lawfirmReceiptDateUtc'])),
44
45
  'messageBody': !exists(json, 'messageBody') ? undefined : json['messageBody'],
@@ -73,6 +74,7 @@ export function LawfirmInboxMessageDomainToJSON(value) {
73
74
  'customerLastName': value.customerLastName,
74
75
  'hasFlagMessage': value.hasFlagMessage,
75
76
  'hasStarMessage': value.hasStarMessage,
77
+ 'hasUnreadMessages': value.hasUnreadMessages,
76
78
  'lawfirmCaseDecisionStatus': value.lawfirmCaseDecisionStatus,
77
79
  'lawfirmReceiptDateUtc': value.lawfirmReceiptDateUtc === undefined ? undefined : (value.lawfirmReceiptDateUtc.toISOString()),
78
80
  'messageBody': value.messageBody,
@@ -21,7 +21,7 @@ export interface LegalServiceModel {
21
21
  * @type {string}
22
22
  * @memberof LegalServiceModel
23
23
  */
24
- algoName?: string;
24
+ algoName?: LegalServiceModelAlgoNameEnum;
25
25
  /**
26
26
  *
27
27
  * @type {number}
@@ -144,6 +144,16 @@ export declare function LegalServiceModelToJSON(value?: LegalServiceModel | null
144
144
  * @export
145
145
  * @enum {string}
146
146
  */
147
+ export declare enum LegalServiceModelAlgoNameEnum {
148
+ DoubleBooking = "double_booking",
149
+ Predetermined = "predetermined",
150
+ ReferralCode = "referral_code",
151
+ RoundRobin = "round_robin"
152
+ }
153
+ /**
154
+ * @export
155
+ * @enum {string}
156
+ */
147
157
  export declare enum LegalServiceModelLegalServiceTypeEnum {
148
158
  DEFER = "DEFER",
149
159
  FIGHT = "FIGHT"
@@ -77,6 +77,17 @@ export function LegalServiceModelToJSON(value) {
77
77
  * @export
78
78
  * @enum {string}
79
79
  */
80
+ export var LegalServiceModelAlgoNameEnum;
81
+ (function (LegalServiceModelAlgoNameEnum) {
82
+ LegalServiceModelAlgoNameEnum["DoubleBooking"] = "double_booking";
83
+ LegalServiceModelAlgoNameEnum["Predetermined"] = "predetermined";
84
+ LegalServiceModelAlgoNameEnum["ReferralCode"] = "referral_code";
85
+ LegalServiceModelAlgoNameEnum["RoundRobin"] = "round_robin";
86
+ })(LegalServiceModelAlgoNameEnum || (LegalServiceModelAlgoNameEnum = {}));
87
+ /**
88
+ * @export
89
+ * @enum {string}
90
+ */
80
91
  export var LegalServiceModelLegalServiceTypeEnum;
81
92
  (function (LegalServiceModelLegalServiceTypeEnum) {
82
93
  LegalServiceModelLegalServiceTypeEnum["DEFER"] = "DEFER";
@@ -20,7 +20,7 @@ export interface UnavailableMatchAttributesModel {
20
20
  * @type {string}
21
21
  * @memberof UnavailableMatchAttributesModel
22
22
  */
23
- algorithmName?: string;
23
+ algorithmName?: UnavailableMatchAttributesModelAlgorithmNameEnum;
24
24
  /**
25
25
  *
26
26
  * @type {string}
@@ -37,3 +37,13 @@ export interface UnavailableMatchAttributesModel {
37
37
  export declare function UnavailableMatchAttributesModelFromJSON(json: any): UnavailableMatchAttributesModel;
38
38
  export declare function UnavailableMatchAttributesModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnavailableMatchAttributesModel;
39
39
  export declare function UnavailableMatchAttributesModelToJSON(value?: UnavailableMatchAttributesModel | null): any;
40
+ /**
41
+ * @export
42
+ * @enum {string}
43
+ */
44
+ export declare enum UnavailableMatchAttributesModelAlgorithmNameEnum {
45
+ DoubleBooking = "double_booking",
46
+ Predetermined = "predetermined",
47
+ ReferralCode = "referral_code",
48
+ RoundRobin = "round_robin"
49
+ }
@@ -38,3 +38,14 @@ export function UnavailableMatchAttributesModelToJSON(value) {
38
38
  'reasonNotAvailable': value.reasonNotAvailable,
39
39
  };
40
40
  }
41
+ /**
42
+ * @export
43
+ * @enum {string}
44
+ */
45
+ export var UnavailableMatchAttributesModelAlgorithmNameEnum;
46
+ (function (UnavailableMatchAttributesModelAlgorithmNameEnum) {
47
+ UnavailableMatchAttributesModelAlgorithmNameEnum["DoubleBooking"] = "double_booking";
48
+ UnavailableMatchAttributesModelAlgorithmNameEnum["Predetermined"] = "predetermined";
49
+ UnavailableMatchAttributesModelAlgorithmNameEnum["ReferralCode"] = "referral_code";
50
+ UnavailableMatchAttributesModelAlgorithmNameEnum["RoundRobin"] = "round_robin";
51
+ })(UnavailableMatchAttributesModelAlgorithmNameEnum || (UnavailableMatchAttributesModelAlgorithmNameEnum = {}));
@@ -12477,6 +12477,7 @@ export interface components {
12477
12477
  customerLastName?: string;
12478
12478
  hasFlagMessage?: boolean;
12479
12479
  hasStarMessage?: boolean;
12480
+ hasUnreadMessages?: boolean;
12480
12481
  /** @enum {string} */
12481
12482
  lawfirmCaseDecisionStatus?: PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLawfirmCaseDecisionStatus;
12482
12483
  /** Format: date-time */
@@ -12796,7 +12797,8 @@ export interface components {
12796
12797
  };
12797
12798
  /** LegalServiceModel */
12798
12799
  LegalServiceModel: {
12799
- algoName?: string;
12800
+ /** @enum {string} */
12801
+ algoName?: LegalServiceModelAlgoName;
12800
12802
  /** Format: int32 */
12801
12803
  chanceOfSuccess?: number;
12802
12804
  financials?: components["schemas"]["WorkflowFinancials"];
@@ -15794,7 +15796,8 @@ export interface components {
15794
15796
  };
15795
15797
  /** UnavailableMatchAttributesModel */
15796
15798
  UnavailableMatchAttributesModel: {
15797
- algorithmName?: string;
15799
+ /** @enum {string} */
15800
+ algorithmName?: LegalServiceModelAlgoName;
15798
15801
  lawfirmId?: string;
15799
15802
  reasonNotAvailable?: string;
15800
15803
  };
@@ -41744,6 +41747,12 @@ export declare enum LawfirmSettingsDomainReferralFeeType {
41744
41747
  export declare enum LawyerLicenseModelLicenseType {
41745
41748
  BAR = "BAR"
41746
41749
  }
41750
+ export declare enum LegalServiceModelAlgoName {
41751
+ double_booking = "double_booking",
41752
+ predetermined = "predetermined",
41753
+ referral_code = "referral_code",
41754
+ round_robin = "round_robin"
41755
+ }
41747
41756
  export declare enum LegalServiceModelLegalVertical {
41748
41757
  TRAFFIC = "TRAFFIC"
41749
41758
  }
@@ -1107,6 +1107,13 @@ export var LawyerLicenseModelLicenseType;
1107
1107
  (function (LawyerLicenseModelLicenseType) {
1108
1108
  LawyerLicenseModelLicenseType["BAR"] = "BAR";
1109
1109
  })(LawyerLicenseModelLicenseType || (LawyerLicenseModelLicenseType = {}));
1110
+ export var LegalServiceModelAlgoName;
1111
+ (function (LegalServiceModelAlgoName) {
1112
+ LegalServiceModelAlgoName["double_booking"] = "double_booking";
1113
+ LegalServiceModelAlgoName["predetermined"] = "predetermined";
1114
+ LegalServiceModelAlgoName["referral_code"] = "referral_code";
1115
+ LegalServiceModelAlgoName["round_robin"] = "round_robin";
1116
+ })(LegalServiceModelAlgoName || (LegalServiceModelAlgoName = {}));
1110
1117
  export var LegalServiceModelLegalVertical;
1111
1118
  (function (LegalServiceModelLegalVertical) {
1112
1119
  LegalServiceModelLegalVertical["TRAFFIC"] = "TRAFFIC";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.148",
3
+ "version": "2.5.150",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"