@otr-app/shared-backend-generated-client 2.5.51 → 2.5.53

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 (96) hide show
  1. package/dist/angular/.openapi-generator/FILES +9 -3
  2. package/dist/angular/model/caseModel.ts +2 -2
  3. package/dist/angular/model/caseModelReq.ts +2 -2
  4. package/dist/angular/model/caseModelRes.ts +2 -2
  5. package/dist/angular/model/hypotheticalPlanEligibilityModel.ts +33 -0
  6. package/dist/angular/model/hypotheticalPlanEligibilityModelReq.ts +33 -0
  7. package/dist/angular/model/hypotheticalPlanEligibilityModelRes.ts +33 -0
  8. package/dist/angular/model/matchInnerCaseModel.ts +2 -2
  9. package/dist/angular/model/matchInnerCaseResponse.ts +2 -2
  10. package/dist/angular/model/models.ts +9 -3
  11. package/dist/angular/model/subscriptionPlanEligibility.ts +30 -0
  12. package/dist/angular/model/subscriptionPlanEligibilityReq.ts +30 -0
  13. package/dist/angular/model/subscriptionPlanEligibilityRes.ts +30 -0
  14. package/dist/angular/model/userDomain.ts +2 -0
  15. package/dist/angular/model/userDomainReq.ts +2 -0
  16. package/dist/angular/model/userDomainRes.ts +2 -0
  17. package/dist/angular/model/userHouseholdBeneficiaryModel.ts +33 -0
  18. package/dist/angular/model/userHouseholdBeneficiaryModelReq.ts +33 -0
  19. package/dist/angular/model/userHouseholdBeneficiaryModelRes.ts +33 -0
  20. package/dist/angular/model/workflowCaseModel.ts +2 -2
  21. package/dist/typescript/model/CaseModel.d.ts +1 -1
  22. package/dist/typescript/model/CaseModelReq.d.ts +1 -1
  23. package/dist/typescript/model/CaseModelRes.d.ts +1 -1
  24. package/dist/typescript/model/HypotheticalPlanEligibilityModel.d.ts +27 -0
  25. package/dist/typescript/model/HypotheticalPlanEligibilityModel.js +26 -0
  26. package/dist/typescript/model/HypotheticalPlanEligibilityModelReq.d.ts +27 -0
  27. package/dist/typescript/model/HypotheticalPlanEligibilityModelReq.js +26 -0
  28. package/dist/typescript/model/HypotheticalPlanEligibilityModelRes.d.ts +27 -0
  29. package/dist/typescript/model/HypotheticalPlanEligibilityModelRes.js +26 -0
  30. package/dist/typescript/model/MatchInnerCaseModel.d.ts +1 -1
  31. package/dist/typescript/model/MatchInnerCaseResponse.d.ts +1 -1
  32. package/dist/typescript/model/SubscriptionPlanEligibility.d.ts +25 -0
  33. package/dist/typescript/model/SubscriptionPlanEligibility.js +20 -0
  34. package/dist/typescript/model/SubscriptionPlanEligibilityReq.d.ts +25 -0
  35. package/dist/typescript/model/SubscriptionPlanEligibilityReq.js +20 -0
  36. package/dist/typescript/model/SubscriptionPlanEligibilityRes.d.ts +25 -0
  37. package/dist/typescript/model/SubscriptionPlanEligibilityRes.js +20 -0
  38. package/dist/typescript/model/UserDomain.d.ts +1 -0
  39. package/dist/typescript/model/UserDomainReq.d.ts +1 -0
  40. package/dist/typescript/model/UserDomainRes.d.ts +1 -0
  41. package/dist/typescript/model/UserHouseholdBeneficiaryModel.d.ts +28 -0
  42. package/dist/typescript/model/UserHouseholdBeneficiaryModel.js +22 -0
  43. package/dist/typescript/model/UserHouseholdBeneficiaryModelReq.d.ts +28 -0
  44. package/dist/typescript/model/UserHouseholdBeneficiaryModelReq.js +22 -0
  45. package/dist/typescript/model/UserHouseholdBeneficiaryModelRes.d.ts +28 -0
  46. package/dist/typescript/model/UserHouseholdBeneficiaryModelRes.js +22 -0
  47. package/dist/typescript/model/WorkflowCaseModel.d.ts +1 -1
  48. package/dist/typescript/model/models.d.ts +9 -3
  49. package/dist/typescript/model/models.js +9 -3
  50. package/dist/typescript-fetch/models/CaseModel.d.ts +3 -3
  51. package/dist/typescript-fetch/models/CaseModel.js +3 -3
  52. package/dist/typescript-fetch/models/CaseModelReq.d.ts +3 -3
  53. package/dist/typescript-fetch/models/CaseModelReq.js +3 -3
  54. package/dist/typescript-fetch/models/CaseModelRes.d.ts +3 -3
  55. package/dist/typescript-fetch/models/CaseModelRes.js +3 -3
  56. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModel.d.ts +51 -0
  57. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModel.js +58 -0
  58. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelReq.d.ts +51 -0
  59. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelReq.js +58 -0
  60. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelRes.d.ts +51 -0
  61. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelRes.js +58 -0
  62. package/dist/typescript-fetch/models/MatchInnerCaseModel.d.ts +3 -3
  63. package/dist/typescript-fetch/models/MatchInnerCaseModel.js +3 -3
  64. package/dist/typescript-fetch/models/MatchInnerCaseResponse.d.ts +3 -3
  65. package/dist/typescript-fetch/models/MatchInnerCaseResponse.js +3 -3
  66. package/dist/typescript-fetch/models/SubscriptionPlanEligibility.d.ts +55 -0
  67. package/dist/typescript-fetch/models/SubscriptionPlanEligibility.js +53 -0
  68. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityReq.d.ts +55 -0
  69. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityReq.js +53 -0
  70. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityRes.d.ts +55 -0
  71. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityRes.js +53 -0
  72. package/dist/typescript-fetch/models/UserDomain.d.ts +7 -1
  73. package/dist/typescript-fetch/models/UserDomain.js +3 -1
  74. package/dist/typescript-fetch/models/UserDomainReq.d.ts +7 -1
  75. package/dist/typescript-fetch/models/UserDomainReq.js +3 -1
  76. package/dist/typescript-fetch/models/UserDomainRes.d.ts +7 -1
  77. package/dist/typescript-fetch/models/UserDomainRes.js +3 -1
  78. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModel.d.ts +68 -0
  79. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModel.js +58 -0
  80. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelReq.d.ts +68 -0
  81. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelReq.js +58 -0
  82. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelRes.d.ts +68 -0
  83. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelRes.js +58 -0
  84. package/dist/typescript-fetch/models/WorkflowCaseModel.d.ts +3 -3
  85. package/dist/typescript-fetch/models/WorkflowCaseModel.js +3 -3
  86. package/dist/typescript-fetch/models/index.d.ts +9 -3
  87. package/dist/typescript-fetch/models/index.js +9 -3
  88. package/dist/typescript-open-api/otr-backend.d.ts +98 -30
  89. package/dist/typescript-open-api/otr-backend.js +18 -12
  90. package/package.json +1 -1
  91. package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.d.ts +0 -48
  92. package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.js +0 -50
  93. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.d.ts +0 -48
  94. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.js +0 -50
  95. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.d.ts +0 -48
  96. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.js +0 -50
@@ -0,0 +1,58 @@
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 UserHouseholdBeneficiaryModelResFromJSON(json) {
16
+ return UserHouseholdBeneficiaryModelResFromJSONTyped(json, false);
17
+ }
18
+ export function UserHouseholdBeneficiaryModelResFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
24
+ 'joinDateUtc': !exists(json, 'joinDateUtc') ? undefined : (new Date(json['joinDateUtc'])),
25
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
26
+ 'profilePictureUrl': !exists(json, 'profilePictureUrl') ? undefined : json['profilePictureUrl'],
27
+ 'relationType': !exists(json, 'relationType') ? undefined : json['relationType'],
28
+ 'userId': !exists(json, 'userId') ? undefined : json['userId'],
29
+ };
30
+ }
31
+ export function UserHouseholdBeneficiaryModelResToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'firstName': value.firstName,
40
+ 'joinDateUtc': value.joinDateUtc === undefined ? undefined : (value.joinDateUtc.toISOString()),
41
+ 'lastName': value.lastName,
42
+ 'profilePictureUrl': value.profilePictureUrl,
43
+ 'relationType': value.relationType,
44
+ 'userId': value.userId,
45
+ };
46
+ }
47
+ /**
48
+ * @export
49
+ * @enum {string}
50
+ */
51
+ export var UserHouseholdBeneficiaryModelResRelationTypeEnum;
52
+ (function (UserHouseholdBeneficiaryModelResRelationTypeEnum) {
53
+ UserHouseholdBeneficiaryModelResRelationTypeEnum["OWNER"] = "OWNER";
54
+ UserHouseholdBeneficiaryModelResRelationTypeEnum["SIBLING"] = "SIBLING";
55
+ UserHouseholdBeneficiaryModelResRelationTypeEnum["SPOUSE"] = "SPOUSE";
56
+ UserHouseholdBeneficiaryModelResRelationTypeEnum["TEENAGER"] = "TEENAGER";
57
+ UserHouseholdBeneficiaryModelResRelationTypeEnum["UNKNOWN"] = "UNKNOWN";
58
+ })(UserHouseholdBeneficiaryModelResRelationTypeEnum || (UserHouseholdBeneficiaryModelResRelationTypeEnum = {}));
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { DefendantDetailsModel, LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionDiscountEligibility, Timestamp, UnavailableMatchAttributesModel, WorkflowCitationModel, WorkflowViolationPenaltyModel } from './';
12
+ import { DefendantDetailsModel, LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionPlanEligibility, Timestamp, UnavailableMatchAttributesModel, WorkflowCitationModel, WorkflowViolationPenaltyModel } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -102,10 +102,10 @@ export interface WorkflowCaseModel {
102
102
  referralCodeOwner?: WorkflowCaseModelReferralCodeOwnerEnum;
103
103
  /**
104
104
  *
105
- * @type {SubscriptionDiscountEligibility}
105
+ * @type {SubscriptionPlanEligibility}
106
106
  * @memberof WorkflowCaseModel
107
107
  */
108
- subscriptionDiscountEligibility?: SubscriptionDiscountEligibility;
108
+ subscriptionDiscountEligibility?: SubscriptionPlanEligibility;
109
109
  /**
110
110
  *
111
111
  * @type {number}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { DefendantDetailsModelFromJSON, DefendantDetailsModelToJSON, 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, SubscriptionPlanEligibilityFromJSON, SubscriptionPlanEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON, WorkflowCitationModelFromJSON, WorkflowCitationModelToJSON, WorkflowViolationPenaltyModelFromJSON, WorkflowViolationPenaltyModelToJSON, } from './';
16
16
  export function WorkflowCaseModelFromJSON(json) {
17
17
  return WorkflowCaseModelFromJSONTyped(json, false);
18
18
  }
@@ -35,7 +35,7 @@ export function WorkflowCaseModelFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'paymentPlanTypeModel': !exists(json, 'paymentPlanTypeModel') ? undefined : PaymentPlanTypeModelFromJSON(json['paymentPlanTypeModel']),
36
36
  'referralCode': !exists(json, 'referralCode') ? undefined : json['referralCode'],
37
37
  'referralCodeOwner': !exists(json, 'referralCodeOwner') ? undefined : json['referralCodeOwner'],
38
- 'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined : SubscriptionDiscountEligibilityFromJSON(json['subscriptionDiscountEligibility']),
38
+ 'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined : SubscriptionPlanEligibilityFromJSON(json['subscriptionDiscountEligibility']),
39
39
  'userId': !exists(json, 'userId') ? undefined : json['userId'],
40
40
  };
41
41
  }
@@ -61,7 +61,7 @@ export function WorkflowCaseModelToJSON(value) {
61
61
  'paymentPlanTypeModel': PaymentPlanTypeModelToJSON(value.paymentPlanTypeModel),
62
62
  'referralCode': value.referralCode,
63
63
  'referralCodeOwner': value.referralCodeOwner,
64
- 'subscriptionDiscountEligibility': SubscriptionDiscountEligibilityToJSON(value.subscriptionDiscountEligibility),
64
+ 'subscriptionDiscountEligibility': SubscriptionPlanEligibilityToJSON(value.subscriptionDiscountEligibility),
65
65
  'userId': value.userId,
66
66
  };
67
67
  }
@@ -406,6 +406,9 @@ export * from './GptFunctionModel';
406
406
  export * from './GraphRequest';
407
407
  export * from './HandleOrphanedStripeChargeRequest';
408
408
  export * from './HandleOrphanedStripeChargeResponse';
409
+ export * from './HypotheticalPlanEligibilityModel';
410
+ export * from './HypotheticalPlanEligibilityModelReq';
411
+ export * from './HypotheticalPlanEligibilityModelRes';
409
412
  export * from './IncomingEmail';
410
413
  export * from './IncomingEmailModels';
411
414
  export * from './IncomingEmailRequest';
@@ -714,10 +717,10 @@ export * from './StripeTransferSyncResults';
714
717
  export * from './SubscribeRequest';
715
718
  export * from './Subscriber';
716
719
  export * from './SubscriberDomain';
717
- export * from './SubscriptionDiscountEligibility';
718
- export * from './SubscriptionDiscountEligibilityReq';
719
- export * from './SubscriptionDiscountEligibilityRes';
720
720
  export * from './SubscriptionGuardianModel';
721
+ export * from './SubscriptionPlanEligibility';
722
+ export * from './SubscriptionPlanEligibilityReq';
723
+ export * from './SubscriptionPlanEligibilityRes';
721
724
  export * from './SupportedStateModel';
722
725
  export * from './SyncStripeChargesRequest';
723
726
  export * from './SyncStripeChargesResponse';
@@ -802,6 +805,9 @@ export * from './UserDetails';
802
805
  export * from './UserDomain';
803
806
  export * from './UserDomainReq';
804
807
  export * from './UserDomainRes';
808
+ export * from './UserHouseholdBeneficiaryModel';
809
+ export * from './UserHouseholdBeneficiaryModelReq';
810
+ export * from './UserHouseholdBeneficiaryModelRes';
805
811
  export * from './UserItem';
806
812
  export * from './UserRefLinkDomain';
807
813
  export * from './UserReferralLinkModel';
@@ -406,6 +406,9 @@ export * from './GptFunctionModel';
406
406
  export * from './GraphRequest';
407
407
  export * from './HandleOrphanedStripeChargeRequest';
408
408
  export * from './HandleOrphanedStripeChargeResponse';
409
+ export * from './HypotheticalPlanEligibilityModel';
410
+ export * from './HypotheticalPlanEligibilityModelReq';
411
+ export * from './HypotheticalPlanEligibilityModelRes';
409
412
  export * from './IncomingEmail';
410
413
  export * from './IncomingEmailModels';
411
414
  export * from './IncomingEmailRequest';
@@ -714,10 +717,10 @@ export * from './StripeTransferSyncResults';
714
717
  export * from './SubscribeRequest';
715
718
  export * from './Subscriber';
716
719
  export * from './SubscriberDomain';
717
- export * from './SubscriptionDiscountEligibility';
718
- export * from './SubscriptionDiscountEligibilityReq';
719
- export * from './SubscriptionDiscountEligibilityRes';
720
720
  export * from './SubscriptionGuardianModel';
721
+ export * from './SubscriptionPlanEligibility';
722
+ export * from './SubscriptionPlanEligibilityReq';
723
+ export * from './SubscriptionPlanEligibilityRes';
721
724
  export * from './SupportedStateModel';
722
725
  export * from './SyncStripeChargesRequest';
723
726
  export * from './SyncStripeChargesResponse';
@@ -802,6 +805,9 @@ export * from './UserDetails';
802
805
  export * from './UserDomain';
803
806
  export * from './UserDomainReq';
804
807
  export * from './UserDomainRes';
808
+ export * from './UserHouseholdBeneficiaryModel';
809
+ export * from './UserHouseholdBeneficiaryModelReq';
810
+ export * from './UserHouseholdBeneficiaryModelRes';
805
811
  export * from './UserItem';
806
812
  export * from './UserRefLinkDomain';
807
813
  export * from './UserReferralLinkModel';
@@ -8480,7 +8480,7 @@ export interface components {
8480
8480
  /** @enum {string} */
8481
8481
  refundEligibility?: AccountLevelFeeRefundEligibility;
8482
8482
  resolutionSummary?: string;
8483
- subscriptionDiscountEligibility?: components["schemas"]["SubscriptionDiscountEligibility"];
8483
+ subscriptionDiscountEligibility?: components["schemas"]["SubscriptionPlanEligibility"];
8484
8484
  uiRefundMsg?: string;
8485
8485
  user?: components["schemas"]["UserDomain"];
8486
8486
  /** Format: int64 */
@@ -8520,7 +8520,7 @@ export interface components {
8520
8520
  /** @enum {string} */
8521
8521
  refundEligibility?: AccountLevelFeeRefundEligibility;
8522
8522
  resolutionSummary?: string;
8523
- subscriptionDiscountEligibility?: components["schemas"]["SubscriptionDiscountEligibilityReq"];
8523
+ subscriptionDiscountEligibility?: components["schemas"]["SubscriptionPlanEligibilityReq"];
8524
8524
  uiRefundMsg?: string;
8525
8525
  user?: components["schemas"]["UserDomainReq"];
8526
8526
  /** Format: int64 */
@@ -8560,7 +8560,7 @@ export interface components {
8560
8560
  /** @enum {string} */
8561
8561
  refundEligibility?: AccountLevelFeeRefundEligibility;
8562
8562
  resolutionSummary?: string;
8563
- subscriptionDiscountEligibility?: components["schemas"]["SubscriptionDiscountEligibilityRes"];
8563
+ subscriptionDiscountEligibility?: components["schemas"]["SubscriptionPlanEligibilityRes"];
8564
8564
  uiRefundMsg?: string;
8565
8565
  user?: components["schemas"]["UserDomainRes"];
8566
8566
  /** Format: int64 */
@@ -11644,6 +11644,27 @@ export interface components {
11644
11644
  [key: string]: string;
11645
11645
  };
11646
11646
  };
11647
+ /** HypotheticalPlanEligibilityModel */
11648
+ HypotheticalPlanEligibilityModel: {
11649
+ /** @enum {string} */
11650
+ hypotheticalEligibility?: HypotheticalPlanEligibilityModelHypotheticalEligibility;
11651
+ /** @enum {string} */
11652
+ productName?: HypotheticalPlanEligibilityModelProductName;
11653
+ };
11654
+ /** HypotheticalPlanEligibilityModelReq */
11655
+ HypotheticalPlanEligibilityModelReq: {
11656
+ /** @enum {string} */
11657
+ hypotheticalEligibility?: HypotheticalPlanEligibilityModelHypotheticalEligibility;
11658
+ /** @enum {string} */
11659
+ productName?: HypotheticalPlanEligibilityModelProductName;
11660
+ };
11661
+ /** HypotheticalPlanEligibilityModelRes */
11662
+ HypotheticalPlanEligibilityModelRes: {
11663
+ /** @enum {string} */
11664
+ hypotheticalEligibility?: HypotheticalPlanEligibilityModelHypotheticalEligibility;
11665
+ /** @enum {string} */
11666
+ productName?: HypotheticalPlanEligibilityModelProductName;
11667
+ };
11647
11668
  /** IncomingEmail */
11648
11669
  IncomingEmail: {
11649
11670
  commonHeaders?: components["schemas"]["CommonHeader"];
@@ -13112,7 +13133,7 @@ export interface components {
13112
13133
  referralCode?: string;
13113
13134
  /** @enum {string} */
13114
13135
  referralCodeOwner?: GetReferralCodeResponseOwnerType;
13115
- subscriptionDiscountEligibility?: components["schemas"]["SubscriptionDiscountEligibility"];
13136
+ subscriptionDiscountEligibility?: components["schemas"]["SubscriptionPlanEligibility"];
13116
13137
  /** Format: int64 */
13117
13138
  userId?: number;
13118
13139
  };
@@ -13127,7 +13148,7 @@ export interface components {
13127
13148
  referralCodeOwner?: GetReferralCodeResponseOwnerType;
13128
13149
  /** @enum {string} */
13129
13150
  refundEligibility?: AccountLevelFeeRefundEligibility;
13130
- subscriptionDiscountEligibility?: components["schemas"]["SubscriptionDiscountEligibility"];
13151
+ subscriptionDiscountEligibility?: components["schemas"]["SubscriptionPlanEligibility"];
13131
13152
  uiReasonMsg?: string;
13132
13153
  /** Format: int64 */
13133
13154
  userId?: number;
@@ -15063,33 +15084,36 @@ export interface components {
15063
15084
  /** @enum {string} */
15064
15085
  subscriptionType?: SubscriberDomainSubscriptionType;
15065
15086
  };
15066
- /** SubscriptionDiscountEligibility */
15067
- SubscriptionDiscountEligibility: {
15087
+ /** SubscriptionGuardianModel */
15088
+ SubscriptionGuardianModel: {
15089
+ emailAddress: string;
15090
+ firstName: string;
15091
+ lastName: string;
15092
+ };
15093
+ /** SubscriptionPlanEligibility */
15094
+ SubscriptionPlanEligibility: {
15095
+ hypotheticalEligibility?: components["schemas"]["HypotheticalPlanEligibilityModel"];
15068
15096
  productName?: string;
15069
15097
  /** @enum {string} */
15070
- subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType;
15098
+ subscriptionDiscountEligibilityType?: SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType;
15071
15099
  uiSubscriptionEligibilityMsg?: string;
15072
15100
  };
15073
- /** SubscriptionDiscountEligibilityReq */
15074
- SubscriptionDiscountEligibilityReq: {
15101
+ /** SubscriptionPlanEligibilityReq */
15102
+ SubscriptionPlanEligibilityReq: {
15103
+ hypotheticalEligibility?: components["schemas"]["HypotheticalPlanEligibilityModelReq"];
15075
15104
  productName?: string;
15076
15105
  /** @enum {string} */
15077
- subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType;
15106
+ subscriptionDiscountEligibilityType?: SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType;
15078
15107
  uiSubscriptionEligibilityMsg?: string;
15079
15108
  };
15080
- /** SubscriptionDiscountEligibilityRes */
15081
- SubscriptionDiscountEligibilityRes: {
15109
+ /** SubscriptionPlanEligibilityRes */
15110
+ SubscriptionPlanEligibilityRes: {
15111
+ hypotheticalEligibility?: components["schemas"]["HypotheticalPlanEligibilityModelRes"];
15082
15112
  productName?: string;
15083
15113
  /** @enum {string} */
15084
- subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType;
15114
+ subscriptionDiscountEligibilityType?: SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType;
15085
15115
  uiSubscriptionEligibilityMsg?: string;
15086
15116
  };
15087
- /** SubscriptionGuardianModel */
15088
- SubscriptionGuardianModel: {
15089
- emailAddress: string;
15090
- firstName: string;
15091
- lastName: string;
15092
- };
15093
15117
  /** SupportedStateModel */
15094
15118
  SupportedStateModel: {
15095
15119
  newAlgoEnabled?: boolean;
@@ -15798,6 +15822,7 @@ export interface components {
15798
15822
  UserDomain: {
15799
15823
  accounts?: components["schemas"]["UserAccountModel"][];
15800
15824
  address?: components["schemas"]["AddressDomain"];
15825
+ copilots?: components["schemas"]["UserHouseholdBeneficiaryModel"][];
15801
15826
  creationDateUtc?: components["schemas"]["Timestamp"];
15802
15827
  /** Format: date-time */
15803
15828
  dob?: string;
@@ -15866,6 +15891,7 @@ export interface components {
15866
15891
  UserDomainReq: {
15867
15892
  accounts?: components["schemas"]["UserAccountModel"][];
15868
15893
  address?: components["schemas"]["AddressDomainReq"];
15894
+ copilots?: components["schemas"]["UserHouseholdBeneficiaryModelReq"][];
15869
15895
  creationDateUtc?: components["schemas"]["TimestampReq"];
15870
15896
  /** Format: date-time */
15871
15897
  dob?: string;
@@ -15933,6 +15959,7 @@ export interface components {
15933
15959
  UserDomainRes: {
15934
15960
  accounts?: components["schemas"]["UserAccountModel"][];
15935
15961
  address?: components["schemas"]["AddressDomainRes"];
15962
+ copilots?: components["schemas"]["UserHouseholdBeneficiaryModelRes"][];
15936
15963
  creationDateUtc?: components["schemas"]["TimestampRes"];
15937
15964
  /** Format: date-time */
15938
15965
  dob?: string;
@@ -15997,6 +16024,42 @@ export interface components {
15997
16024
  /** Format: date-time */
15998
16025
  userRegistrationDateUtc?: string;
15999
16026
  };
16027
+ /** UserHouseholdBeneficiaryModel */
16028
+ UserHouseholdBeneficiaryModel: {
16029
+ firstName?: string;
16030
+ /** Format: date-time */
16031
+ joinDateUtc?: string;
16032
+ lastName?: string;
16033
+ profilePictureUrl?: string;
16034
+ /** @enum {string} */
16035
+ relationType?: GetHouseHoldMateModelRelationshipType;
16036
+ /** Format: int64 */
16037
+ userId?: number;
16038
+ };
16039
+ /** UserHouseholdBeneficiaryModelReq */
16040
+ UserHouseholdBeneficiaryModelReq: {
16041
+ firstName?: string;
16042
+ /** Format: date-time */
16043
+ joinDateUtc?: string;
16044
+ lastName?: string;
16045
+ profilePictureUrl?: string;
16046
+ /** @enum {string} */
16047
+ relationType?: GetHouseHoldMateModelRelationshipType;
16048
+ /** Format: int64 */
16049
+ userId?: number;
16050
+ };
16051
+ /** UserHouseholdBeneficiaryModelRes */
16052
+ UserHouseholdBeneficiaryModelRes: {
16053
+ firstName?: string;
16054
+ /** Format: date-time */
16055
+ joinDateUtc?: string;
16056
+ lastName?: string;
16057
+ profilePictureUrl?: string;
16058
+ /** @enum {string} */
16059
+ relationType?: GetHouseHoldMateModelRelationshipType;
16060
+ /** Format: int64 */
16061
+ userId?: number;
16062
+ };
16000
16063
  /** UserItem */
16001
16064
  UserItem: {
16002
16065
  firstName?: string;
@@ -16090,7 +16153,7 @@ export interface components {
16090
16153
  expirationDateUtc?: string;
16091
16154
  id?: string;
16092
16155
  /** @enum {string} */
16093
- productName?: UserSubscriptionPlanModelProductName;
16156
+ productName?: HypotheticalPlanEligibilityModelProductName;
16094
16157
  /** Format: date-time */
16095
16158
  startDateUtc?: string;
16096
16159
  subscriptionCovered?: boolean;
@@ -16103,7 +16166,7 @@ export interface components {
16103
16166
  expirationDateUtc?: string;
16104
16167
  id?: string;
16105
16168
  /** @enum {string} */
16106
- productName?: UserSubscriptionPlanModelProductName;
16169
+ productName?: HypotheticalPlanEligibilityModelProductName;
16107
16170
  /** Format: date-time */
16108
16171
  startDateUtc?: string;
16109
16172
  /** @enum {string} */
@@ -16115,7 +16178,7 @@ export interface components {
16115
16178
  expirationDateUtc?: string;
16116
16179
  id?: string;
16117
16180
  /** @enum {string} */
16118
- productName?: UserSubscriptionPlanModelProductName;
16181
+ productName?: HypotheticalPlanEligibilityModelProductName;
16119
16182
  /** Format: date-time */
16120
16183
  startDateUtc?: string;
16121
16184
  subscriptionCovered?: boolean;
@@ -16343,7 +16406,7 @@ export interface components {
16343
16406
  referralCode?: string;
16344
16407
  /** @enum {string} */
16345
16408
  referralCodeOwner?: GetReferralCodeResponseOwnerType;
16346
- subscriptionDiscountEligibility?: components["schemas"]["SubscriptionDiscountEligibility"];
16409
+ subscriptionDiscountEligibility?: components["schemas"]["SubscriptionPlanEligibility"];
16347
16410
  /** Format: int64 */
16348
16411
  userId?: number;
16349
16412
  };
@@ -40806,6 +40869,16 @@ export declare enum GetReferralCodeResponseOwnerType {
40806
40869
  LAWFIRM = "LAWFIRM",
40807
40870
  OTR = "OTR"
40808
40871
  }
40872
+ export declare enum HypotheticalPlanEligibilityModelHypotheticalEligibility {
40873
+ FULLY_ELIGIBLE = "FULLY_ELIGIBLE",
40874
+ NOT_ELIGIBLE = "NOT_ELIGIBLE",
40875
+ PARTIALLY_ELIGIBLE = "PARTIALLY_ELIGIBLE"
40876
+ }
40877
+ export declare enum HypotheticalPlanEligibilityModelProductName {
40878
+ CONVOY_PRO = "CONVOY_PRO",
40879
+ OTR_FASTLANE = "OTR_FASTLANE",
40880
+ OTR_FASTLANE_TEEN = "OTR_FASTLANE_TEEN"
40881
+ }
40809
40882
  export declare enum InviteLawyerToLawfirmRequestRole {
40810
40883
  LAWFIRM_ADMIN = "LAWFIRM_ADMIN",
40811
40884
  LAWYER = "LAWYER"
@@ -41083,7 +41156,7 @@ export declare enum StripeCardDomainFunding {
41083
41156
  export declare enum SubscriberDomainSubscriptionType {
41084
41157
  WEB_BROCHURE_LAUNCH_NOTIFICATION = "WEB_BROCHURE_LAUNCH_NOTIFICATION"
41085
41158
  }
41086
- export declare enum SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType {
41159
+ export declare enum SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType {
41087
41160
  IS_ELIGIBLE = "IS_ELIGIBLE",
41088
41161
  IS_NOT_ELIGIBLE = "IS_NOT_ELIGIBLE",
41089
41162
  NOT_APPLICABLE = "NOT_APPLICABLE"
@@ -41092,11 +41165,6 @@ export declare enum UserReferralLinkModelReferralLinkType {
41092
41165
  FASTLANE_TEEN = "FASTLANE_TEEN",
41093
41166
  PRIMARY = "PRIMARY"
41094
41167
  }
41095
- export declare enum UserSubscriptionPlanModelProductName {
41096
- CONVOY_PRO = "CONVOY_PRO",
41097
- OTR_FASTLANE = "OTR_FASTLANE",
41098
- OTR_FASTLANE_TEEN = "OTR_FASTLANE_TEEN"
41099
- }
41100
41168
  export declare enum ValidateDirectMailResponseOtrError {
41101
41169
  ACCESS_DENIED = "ACCESS_DENIED",
41102
41170
  ACCOUNT_DISABLED = "ACCOUNT_DISABLED",
@@ -971,6 +971,18 @@ export var GetReferralCodeResponseOwnerType;
971
971
  GetReferralCodeResponseOwnerType["LAWFIRM"] = "LAWFIRM";
972
972
  GetReferralCodeResponseOwnerType["OTR"] = "OTR";
973
973
  })(GetReferralCodeResponseOwnerType || (GetReferralCodeResponseOwnerType = {}));
974
+ export var HypotheticalPlanEligibilityModelHypotheticalEligibility;
975
+ (function (HypotheticalPlanEligibilityModelHypotheticalEligibility) {
976
+ HypotheticalPlanEligibilityModelHypotheticalEligibility["FULLY_ELIGIBLE"] = "FULLY_ELIGIBLE";
977
+ HypotheticalPlanEligibilityModelHypotheticalEligibility["NOT_ELIGIBLE"] = "NOT_ELIGIBLE";
978
+ HypotheticalPlanEligibilityModelHypotheticalEligibility["PARTIALLY_ELIGIBLE"] = "PARTIALLY_ELIGIBLE";
979
+ })(HypotheticalPlanEligibilityModelHypotheticalEligibility || (HypotheticalPlanEligibilityModelHypotheticalEligibility = {}));
980
+ export var HypotheticalPlanEligibilityModelProductName;
981
+ (function (HypotheticalPlanEligibilityModelProductName) {
982
+ HypotheticalPlanEligibilityModelProductName["CONVOY_PRO"] = "CONVOY_PRO";
983
+ HypotheticalPlanEligibilityModelProductName["OTR_FASTLANE"] = "OTR_FASTLANE";
984
+ HypotheticalPlanEligibilityModelProductName["OTR_FASTLANE_TEEN"] = "OTR_FASTLANE_TEEN";
985
+ })(HypotheticalPlanEligibilityModelProductName || (HypotheticalPlanEligibilityModelProductName = {}));
974
986
  export var InviteLawyerToLawfirmRequestRole;
975
987
  (function (InviteLawyerToLawfirmRequestRole) {
976
988
  InviteLawyerToLawfirmRequestRole["LAWFIRM_ADMIN"] = "LAWFIRM_ADMIN";
@@ -1289,23 +1301,17 @@ export var SubscriberDomainSubscriptionType;
1289
1301
  (function (SubscriberDomainSubscriptionType) {
1290
1302
  SubscriberDomainSubscriptionType["WEB_BROCHURE_LAUNCH_NOTIFICATION"] = "WEB_BROCHURE_LAUNCH_NOTIFICATION";
1291
1303
  })(SubscriberDomainSubscriptionType || (SubscriberDomainSubscriptionType = {}));
1292
- export var SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType;
1293
- (function (SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType) {
1294
- SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType["IS_ELIGIBLE"] = "IS_ELIGIBLE";
1295
- SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType["IS_NOT_ELIGIBLE"] = "IS_NOT_ELIGIBLE";
1296
- SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType["NOT_APPLICABLE"] = "NOT_APPLICABLE";
1297
- })(SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType || (SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityType = {}));
1304
+ export var SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType;
1305
+ (function (SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType) {
1306
+ SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType["IS_ELIGIBLE"] = "IS_ELIGIBLE";
1307
+ SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType["IS_NOT_ELIGIBLE"] = "IS_NOT_ELIGIBLE";
1308
+ SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType["NOT_APPLICABLE"] = "NOT_APPLICABLE";
1309
+ })(SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType || (SubscriptionPlanEligibilitySubscriptionDiscountEligibilityType = {}));
1298
1310
  export var UserReferralLinkModelReferralLinkType;
1299
1311
  (function (UserReferralLinkModelReferralLinkType) {
1300
1312
  UserReferralLinkModelReferralLinkType["FASTLANE_TEEN"] = "FASTLANE_TEEN";
1301
1313
  UserReferralLinkModelReferralLinkType["PRIMARY"] = "PRIMARY";
1302
1314
  })(UserReferralLinkModelReferralLinkType || (UserReferralLinkModelReferralLinkType = {}));
1303
- export var UserSubscriptionPlanModelProductName;
1304
- (function (UserSubscriptionPlanModelProductName) {
1305
- UserSubscriptionPlanModelProductName["CONVOY_PRO"] = "CONVOY_PRO";
1306
- UserSubscriptionPlanModelProductName["OTR_FASTLANE"] = "OTR_FASTLANE";
1307
- UserSubscriptionPlanModelProductName["OTR_FASTLANE_TEEN"] = "OTR_FASTLANE_TEEN";
1308
- })(UserSubscriptionPlanModelProductName || (UserSubscriptionPlanModelProductName = {}));
1309
1315
  export var ValidateDirectMailResponseOtrError;
1310
1316
  (function (ValidateDirectMailResponseOtrError) {
1311
1317
  ValidateDirectMailResponseOtrError["ACCESS_DENIED"] = "ACCESS_DENIED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.51",
3
+ "version": "2.5.53",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"
@@ -1,48 +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
- /**
13
- *
14
- * @export
15
- * @interface SubscriptionDiscountEligibility
16
- */
17
- export interface SubscriptionDiscountEligibility {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof SubscriptionDiscountEligibility
22
- */
23
- productName?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SubscriptionDiscountEligibility
28
- */
29
- subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof SubscriptionDiscountEligibility
34
- */
35
- uiSubscriptionEligibilityMsg?: string;
36
- }
37
- export declare function SubscriptionDiscountEligibilityFromJSON(json: any): SubscriptionDiscountEligibility;
38
- export declare function SubscriptionDiscountEligibilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionDiscountEligibility;
39
- export declare function SubscriptionDiscountEligibilityToJSON(value?: SubscriptionDiscountEligibility | null): any;
40
- /**
41
- * @export
42
- * @enum {string}
43
- */
44
- export declare enum SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum {
45
- ISELIGIBLE = "IS_ELIGIBLE",
46
- ISNOTELIGIBLE = "IS_NOT_ELIGIBLE",
47
- NOTAPPLICABLE = "NOT_APPLICABLE"
48
- }
@@ -1,50 +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
- export function SubscriptionDiscountEligibilityFromJSON(json) {
16
- return SubscriptionDiscountEligibilityFromJSONTyped(json, false);
17
- }
18
- export function SubscriptionDiscountEligibilityFromJSONTyped(json, ignoreDiscriminator) {
19
- if ((json === undefined) || (json === null)) {
20
- return json;
21
- }
22
- return {
23
- 'productName': !exists(json, 'productName') ? undefined : json['productName'],
24
- 'subscriptionDiscountEligibilityType': !exists(json, 'subscriptionDiscountEligibilityType') ? undefined : json['subscriptionDiscountEligibilityType'],
25
- 'uiSubscriptionEligibilityMsg': !exists(json, 'uiSubscriptionEligibilityMsg') ? undefined : json['uiSubscriptionEligibilityMsg'],
26
- };
27
- }
28
- export function SubscriptionDiscountEligibilityToJSON(value) {
29
- if (value === undefined) {
30
- return undefined;
31
- }
32
- if (value === null) {
33
- return null;
34
- }
35
- return {
36
- 'productName': value.productName,
37
- 'subscriptionDiscountEligibilityType': value.subscriptionDiscountEligibilityType,
38
- 'uiSubscriptionEligibilityMsg': value.uiSubscriptionEligibilityMsg,
39
- };
40
- }
41
- /**
42
- * @export
43
- * @enum {string}
44
- */
45
- export var SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum;
46
- (function (SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum) {
47
- SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum["ISELIGIBLE"] = "IS_ELIGIBLE";
48
- SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum["ISNOTELIGIBLE"] = "IS_NOT_ELIGIBLE";
49
- SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum["NOTAPPLICABLE"] = "NOT_APPLICABLE";
50
- })(SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum || (SubscriptionDiscountEligibilitySubscriptionDiscountEligibilityTypeEnum = {}));
@@ -1,48 +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
- /**
13
- *
14
- * @export
15
- * @interface SubscriptionDiscountEligibilityReq
16
- */
17
- export interface SubscriptionDiscountEligibilityReq {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof SubscriptionDiscountEligibilityReq
22
- */
23
- productName?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SubscriptionDiscountEligibilityReq
28
- */
29
- subscriptionDiscountEligibilityType?: SubscriptionDiscountEligibilityReqSubscriptionDiscountEligibilityTypeEnum;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof SubscriptionDiscountEligibilityReq
34
- */
35
- uiSubscriptionEligibilityMsg?: string;
36
- }
37
- export declare function SubscriptionDiscountEligibilityReqFromJSON(json: any): SubscriptionDiscountEligibilityReq;
38
- export declare function SubscriptionDiscountEligibilityReqFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionDiscountEligibilityReq;
39
- export declare function SubscriptionDiscountEligibilityReqToJSON(value?: SubscriptionDiscountEligibilityReq | null): any;
40
- /**
41
- * @export
42
- * @enum {string}
43
- */
44
- export declare enum SubscriptionDiscountEligibilityReqSubscriptionDiscountEligibilityTypeEnum {
45
- ISELIGIBLE = "IS_ELIGIBLE",
46
- ISNOTELIGIBLE = "IS_NOT_ELIGIBLE",
47
- NOTAPPLICABLE = "NOT_APPLICABLE"
48
- }