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

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.
@@ -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
 
@@ -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 = {}));
@@ -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 = {}));
@@ -12796,7 +12796,8 @@ export interface components {
12796
12796
  };
12797
12797
  /** LegalServiceModel */
12798
12798
  LegalServiceModel: {
12799
- algoName?: string;
12799
+ /** @enum {string} */
12800
+ algoName?: LegalServiceModelAlgoName;
12800
12801
  /** Format: int32 */
12801
12802
  chanceOfSuccess?: number;
12802
12803
  financials?: components["schemas"]["WorkflowFinancials"];
@@ -15794,7 +15795,8 @@ export interface components {
15794
15795
  };
15795
15796
  /** UnavailableMatchAttributesModel */
15796
15797
  UnavailableMatchAttributesModel: {
15797
- algorithmName?: string;
15798
+ /** @enum {string} */
15799
+ algorithmName?: LegalServiceModelAlgoName;
15798
15800
  lawfirmId?: string;
15799
15801
  reasonNotAvailable?: string;
15800
15802
  };
@@ -41744,6 +41746,12 @@ export declare enum LawfirmSettingsDomainReferralFeeType {
41744
41746
  export declare enum LawyerLicenseModelLicenseType {
41745
41747
  BAR = "BAR"
41746
41748
  }
41749
+ export declare enum LegalServiceModelAlgoName {
41750
+ double_booking = "double_booking",
41751
+ predetermined = "predetermined",
41752
+ referral_code = "referral_code",
41753
+ round_robin = "round_robin"
41754
+ }
41747
41755
  export declare enum LegalServiceModelLegalVertical {
41748
41756
  TRAFFIC = "TRAFFIC"
41749
41757
  }
@@ -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.149",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"