@otr-app/shared-backend-generated-client 3.0.3-experimental → 3.0.4-experimental

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 (107) hide show
  1. package/dist/angular/.openapi-generator/FILES +5 -0
  2. package/dist/angular/api/auditLawfirmEventsController.service.ts +4 -4
  3. package/dist/angular/api/caseUserController.service.ts +73 -0
  4. package/dist/angular/api/citationAuditController.service.ts +4 -4
  5. package/dist/angular/api/lawfirmController.service.ts +4 -12
  6. package/dist/angular/api/listCasesController.service.ts +14 -4
  7. package/dist/angular/api/userAuditController.service.ts +4 -4
  8. package/dist/angular/api/userController.service.ts +73 -0
  9. package/dist/angular/model/citationAuditEventModel.ts +2 -1
  10. package/dist/angular/model/dashboardCaseModel.ts +3 -0
  11. package/dist/angular/model/dashboardCaseUserModel.ts +21 -0
  12. package/dist/angular/model/dashboardDisputeModel.ts +19 -0
  13. package/dist/angular/model/generateCounterOfferCasePaymentsResponse.ts +1 -0
  14. package/dist/angular/model/getLawfirmModel.ts +2 -0
  15. package/dist/angular/model/lawfirmAuditEventModel.ts +2 -1
  16. package/dist/angular/model/listDashboardCaseUsersResponse.ts +18 -0
  17. package/dist/angular/model/models.ts +5 -0
  18. package/dist/angular/model/sendTextAlertToUserRequest.ts +25 -0
  19. package/dist/angular/model/stripeCardDomain.ts +10 -0
  20. package/dist/angular/model/supportedStateModel.ts +75 -0
  21. package/dist/angular/model/userAuditEventModel.ts +4 -2
  22. package/dist/angular/model/validateDirectMailResponse.ts +3 -1
  23. package/dist/otrBackendService.js +102 -5
  24. package/dist/otrBackendService.min.js +4 -4
  25. package/dist/typescript/api/AuditLawfirmEventsControllerApi.d.ts +1 -1
  26. package/dist/typescript/api/CaseUserControllerApi.d.ts +8 -0
  27. package/dist/typescript/api/CaseUserControllerApi.js +33 -0
  28. package/dist/typescript/api/CitationAuditControllerApi.d.ts +1 -1
  29. package/dist/typescript/api/LawfirmControllerApi.d.ts +1 -2
  30. package/dist/typescript/api/LawfirmControllerApi.js +1 -5
  31. package/dist/typescript/api/ListCasesControllerApi.d.ts +3 -1
  32. package/dist/typescript/api/ListCasesControllerApi.js +9 -1
  33. package/dist/typescript/api/UserAuditControllerApi.d.ts +1 -1
  34. package/dist/typescript/api/UserControllerApi.d.ts +7 -0
  35. package/dist/typescript/api/UserControllerApi.js +31 -0
  36. package/dist/typescript/model/CitationAuditEventModel.d.ts +1 -0
  37. package/dist/typescript/model/CitationAuditEventModel.js +1 -0
  38. package/dist/typescript/model/DashboardCaseModel.d.ts +2 -0
  39. package/dist/typescript/model/DashboardCaseUserModel.d.ts +18 -0
  40. package/dist/typescript/model/DashboardCaseUserModel.js +12 -0
  41. package/dist/typescript/model/DashboardDisputeModel.d.ts +16 -0
  42. package/dist/typescript/model/DashboardDisputeModel.js +12 -0
  43. package/dist/typescript/model/GenerateCounterOfferCasePaymentsResponse.d.ts +1 -0
  44. package/dist/typescript/model/GetLawfirmModel.d.ts +1 -0
  45. package/dist/typescript/model/LawfirmAuditEventModel.d.ts +1 -0
  46. package/dist/typescript/model/LawfirmAuditEventModel.js +1 -0
  47. package/dist/typescript/model/ListDashboardCaseUsersResponse.d.ts +15 -0
  48. package/dist/typescript/model/ListDashboardCaseUsersResponse.js +12 -0
  49. package/dist/typescript/model/SendTextAlertToUserRequest.d.ts +20 -0
  50. package/dist/typescript/model/SendTextAlertToUserRequest.js +18 -0
  51. package/dist/typescript/model/StripeCardDomain.d.ts +8 -0
  52. package/dist/typescript/model/StripeCardDomain.js +9 -1
  53. package/dist/typescript/model/SupportedStateModel.d.ts +70 -0
  54. package/dist/typescript/model/SupportedStateModel.js +68 -0
  55. package/dist/typescript/model/UserAuditEventModel.d.ts +2 -0
  56. package/dist/typescript/model/UserAuditEventModel.js +2 -0
  57. package/dist/typescript/model/ValidateDirectMailResponse.d.ts +2 -0
  58. package/dist/typescript/model/ValidateDirectMailResponse.js +2 -0
  59. package/dist/typescript/model/models.d.ts +5 -0
  60. package/dist/typescript/model/models.js +5 -0
  61. package/dist/typescript-fetch/apis/AuditLawfirmEventsControllerApi.d.ts +2 -0
  62. package/dist/typescript-fetch/apis/AuditLawfirmEventsControllerApi.js +2 -0
  63. package/dist/typescript-fetch/apis/CaseUserControllerApi.d.ts +14 -1
  64. package/dist/typescript-fetch/apis/CaseUserControllerApi.js +35 -1
  65. package/dist/typescript-fetch/apis/CitationAuditControllerApi.d.ts +2 -0
  66. package/dist/typescript-fetch/apis/CitationAuditControllerApi.js +2 -0
  67. package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +0 -1
  68. package/dist/typescript-fetch/apis/LawfirmControllerApi.js +0 -3
  69. package/dist/typescript-fetch/apis/ListCasesControllerApi.d.ts +2 -0
  70. package/dist/typescript-fetch/apis/ListCasesControllerApi.js +6 -0
  71. package/dist/typescript-fetch/apis/UserAuditControllerApi.d.ts +2 -0
  72. package/dist/typescript-fetch/apis/UserAuditControllerApi.js +2 -0
  73. package/dist/typescript-fetch/apis/UserControllerApi.d.ts +13 -1
  74. package/dist/typescript-fetch/apis/UserControllerApi.js +33 -1
  75. package/dist/typescript-fetch/models/CitationAuditEventModel.d.ts +1 -0
  76. package/dist/typescript-fetch/models/CitationAuditEventModel.js +1 -0
  77. package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +13 -1
  78. package/dist/typescript-fetch/models/DashboardCaseModel.js +5 -1
  79. package/dist/typescript-fetch/models/DashboardCaseUserModel.d.ts +51 -0
  80. package/dist/typescript-fetch/models/DashboardCaseUserModel.js +44 -0
  81. package/dist/typescript-fetch/models/DashboardDisputeModel.d.ts +39 -0
  82. package/dist/typescript-fetch/models/DashboardDisputeModel.js +40 -0
  83. package/dist/typescript-fetch/models/GenerateCounterOfferCasePaymentsResponse.d.ts +6 -0
  84. package/dist/typescript-fetch/models/GenerateCounterOfferCasePaymentsResponse.js +2 -0
  85. package/dist/typescript-fetch/models/GetLawfirmModel.d.ts +7 -1
  86. package/dist/typescript-fetch/models/GetLawfirmModel.js +3 -1
  87. package/dist/typescript-fetch/models/LawfirmAuditEventModel.d.ts +1 -0
  88. package/dist/typescript-fetch/models/LawfirmAuditEventModel.js +1 -0
  89. package/dist/typescript-fetch/models/ListDashboardCaseUsersResponse.d.ts +28 -0
  90. package/dist/typescript-fetch/models/ListDashboardCaseUsersResponse.js +37 -0
  91. package/dist/typescript-fetch/models/SendTextAlertToUserRequest.d.ts +40 -0
  92. package/dist/typescript-fetch/models/SendTextAlertToUserRequest.js +46 -0
  93. package/dist/typescript-fetch/models/StripeCardDomain.d.ts +15 -0
  94. package/dist/typescript-fetch/models/StripeCardDomain.js +12 -0
  95. package/dist/typescript-fetch/models/SupportedStateModel.d.ts +90 -0
  96. package/dist/typescript-fetch/models/SupportedStateModel.js +96 -0
  97. package/dist/typescript-fetch/models/UserAuditEventModel.d.ts +2 -0
  98. package/dist/typescript-fetch/models/UserAuditEventModel.js +2 -0
  99. package/dist/typescript-fetch/models/ValidateDirectMailResponse.d.ts +2 -0
  100. package/dist/typescript-fetch/models/ValidateDirectMailResponse.js +2 -0
  101. package/dist/typescript-fetch/models/index.d.ts +5 -0
  102. package/dist/typescript-fetch/models/index.js +5 -0
  103. package/dist/typescript-open-api/otr-backend.d.ts +9165 -0
  104. package/dist/typescript-open-api/otr-backend.js +826 -0
  105. package/package.json +3 -3
  106. package/dist/typescript-experimental/otr-backend.d.ts +0 -40766
  107. package/dist/typescript-experimental/otr-backend.js +0 -1625
@@ -0,0 +1,51 @@
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 DashboardCaseUserModel
16
+ */
17
+ export interface DashboardCaseUserModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DashboardCaseUserModel
22
+ */
23
+ emailAddress?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DashboardCaseUserModel
28
+ */
29
+ firstName?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DashboardCaseUserModel
34
+ */
35
+ fullName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof DashboardCaseUserModel
40
+ */
41
+ lastName?: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof DashboardCaseUserModel
46
+ */
47
+ userId?: number;
48
+ }
49
+ export declare function DashboardCaseUserModelFromJSON(json: any): DashboardCaseUserModel;
50
+ export declare function DashboardCaseUserModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardCaseUserModel;
51
+ export declare function DashboardCaseUserModelToJSON(value?: DashboardCaseUserModel | null): any;
@@ -0,0 +1,44 @@
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 DashboardCaseUserModelFromJSON(json) {
16
+ return DashboardCaseUserModelFromJSONTyped(json, false);
17
+ }
18
+ export function DashboardCaseUserModelFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'emailAddress': !exists(json, 'emailAddress') ? undefined : json['emailAddress'],
24
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
25
+ 'fullName': !exists(json, 'fullName') ? undefined : json['fullName'],
26
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
27
+ 'userId': !exists(json, 'userId') ? undefined : json['userId'],
28
+ };
29
+ }
30
+ export function DashboardCaseUserModelToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'emailAddress': value.emailAddress,
39
+ 'firstName': value.firstName,
40
+ 'fullName': value.fullName,
41
+ 'lastName': value.lastName,
42
+ 'userId': value.userId,
43
+ };
44
+ }
@@ -0,0 +1,39 @@
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 DashboardDisputeModel
16
+ */
17
+ export interface DashboardDisputeModel {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof DashboardDisputeModel
22
+ */
23
+ amountDisputedInCents?: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DashboardDisputeModel
28
+ */
29
+ disputeReason?: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof DashboardDisputeModel
34
+ */
35
+ hasDispute?: boolean;
36
+ }
37
+ export declare function DashboardDisputeModelFromJSON(json: any): DashboardDisputeModel;
38
+ export declare function DashboardDisputeModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardDisputeModel;
39
+ export declare function DashboardDisputeModelToJSON(value?: DashboardDisputeModel | null): any;
@@ -0,0 +1,40 @@
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 DashboardDisputeModelFromJSON(json) {
16
+ return DashboardDisputeModelFromJSONTyped(json, false);
17
+ }
18
+ export function DashboardDisputeModelFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'amountDisputedInCents': !exists(json, 'amountDisputedInCents') ? undefined : json['amountDisputedInCents'],
24
+ 'disputeReason': !exists(json, 'disputeReason') ? undefined : json['disputeReason'],
25
+ 'hasDispute': !exists(json, 'hasDispute') ? undefined : json['hasDispute'],
26
+ };
27
+ }
28
+ export function DashboardDisputeModelToJSON(value) {
29
+ if (value === undefined) {
30
+ return undefined;
31
+ }
32
+ if (value === null) {
33
+ return null;
34
+ }
35
+ return {
36
+ 'amountDisputedInCents': value.amountDisputedInCents,
37
+ 'disputeReason': value.disputeReason,
38
+ 'hasDispute': value.hasDispute,
39
+ };
40
+ }
@@ -58,6 +58,12 @@ export interface GenerateCounterOfferCasePaymentsResponse {
58
58
  * @memberof GenerateCounterOfferCasePaymentsResponse
59
59
  */
60
60
  lineItems?: Array<LineItemModel>;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof GenerateCounterOfferCasePaymentsResponse
65
+ */
66
+ paymentPlanFeeReallocated?: number;
61
67
  /**
62
68
  *
63
69
  * @type {number}
@@ -28,6 +28,7 @@ export function GenerateCounterOfferCasePaymentsResponseFromJSONTyped(json, igno
28
28
  'expiredPayments': !exists(json, 'expiredPayments') ? undefined : (json['expiredPayments'].map(CasePaymentModelFromJSON)),
29
29
  'futurePayments': !exists(json, 'futurePayments') ? undefined : (json['futurePayments'].map(CasePaymentModelFromJSON)),
30
30
  'lineItems': !exists(json, 'lineItems') ? undefined : (json['lineItems'].map(LineItemModelFromJSON)),
31
+ 'paymentPlanFeeReallocated': !exists(json, 'paymentPlanFeeReallocated') ? undefined : json['paymentPlanFeeReallocated'],
31
32
  'totalRefCodeAdjustmentInCents': !exists(json, 'totalRefCodeAdjustmentInCents') ? undefined : json['totalRefCodeAdjustmentInCents'],
32
33
  };
33
34
  }
@@ -46,6 +47,7 @@ export function GenerateCounterOfferCasePaymentsResponseToJSON(value) {
46
47
  'expiredPayments': value.expiredPayments === undefined ? undefined : (value.expiredPayments.map(CasePaymentModelToJSON)),
47
48
  'futurePayments': value.futurePayments === undefined ? undefined : (value.futurePayments.map(CasePaymentModelToJSON)),
48
49
  'lineItems': value.lineItems === undefined ? undefined : (value.lineItems.map(LineItemModelToJSON)),
50
+ 'paymentPlanFeeReallocated': value.paymentPlanFeeReallocated,
49
51
  'totalRefCodeAdjustmentInCents': value.totalRefCodeAdjustmentInCents,
50
52
  };
51
53
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AddressDomain, LawfirmRedirectModel, LawfirmSettingsDomainRes } from './';
12
+ import { AddressDomain, LawfirmRedirectModel, LawfirmSettingsDomainRes, SupportedStateModel } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -160,6 +160,12 @@ export interface GetLawfirmModel {
160
160
  * @memberof GetLawfirmModel
161
161
  */
162
162
  settings?: LawfirmSettingsDomainRes;
163
+ /**
164
+ *
165
+ * @type {Array<SupportedStateModel>}
166
+ * @memberof GetLawfirmModel
167
+ */
168
+ supportedStateModels?: Array<SupportedStateModel>;
163
169
  /**
164
170
  *
165
171
  * @type {Array<string>}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { AddressDomainFromJSON, AddressDomainToJSON, LawfirmRedirectModelFromJSON, LawfirmRedirectModelToJSON, LawfirmSettingsDomainResFromJSON, LawfirmSettingsDomainResToJSON, } from './';
15
+ import { AddressDomainFromJSON, AddressDomainToJSON, LawfirmRedirectModelFromJSON, LawfirmRedirectModelToJSON, LawfirmSettingsDomainResFromJSON, LawfirmSettingsDomainResToJSON, SupportedStateModelFromJSON, SupportedStateModelToJSON, } from './';
16
16
  export function GetLawfirmModelFromJSON(json) {
17
17
  return GetLawfirmModelFromJSONTyped(json, false);
18
18
  }
@@ -45,6 +45,7 @@ export function GetLawfirmModelFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'redirects': !exists(json, 'redirects') ? undefined : (json['redirects'].map(LawfirmRedirectModelFromJSON)),
46
46
  'seoUrl': !exists(json, 'seoUrl') ? undefined : json['seoUrl'],
47
47
  'settings': !exists(json, 'settings') ? undefined : LawfirmSettingsDomainResFromJSON(json['settings']),
48
+ 'supportedStateModels': !exists(json, 'supportedStateModels') ? undefined : (json['supportedStateModels'].map(SupportedStateModelFromJSON)),
48
49
  'supportedStates': !exists(json, 'supportedStates') ? undefined : json['supportedStates'],
49
50
  'tagLine': !exists(json, 'tagLine') ? undefined : json['tagLine'],
50
51
  'website': !exists(json, 'website') ? undefined : json['website'],
@@ -82,6 +83,7 @@ export function GetLawfirmModelToJSON(value) {
82
83
  'redirects': value.redirects === undefined ? undefined : (value.redirects.map(LawfirmRedirectModelToJSON)),
83
84
  'seoUrl': value.seoUrl,
84
85
  'settings': LawfirmSettingsDomainResToJSON(value.settings),
86
+ 'supportedStateModels': value.supportedStateModels === undefined ? undefined : (value.supportedStateModels.map(SupportedStateModelToJSON)),
85
87
  'supportedStates': value.supportedStates,
86
88
  'tagLine': value.tagLine,
87
89
  'website': value.website,
@@ -136,6 +136,7 @@ export declare enum LawfirmAuditEventModelEventEnum {
136
136
  COURTCOVERAGEADDED = "COURT_COVERAGE_ADDED",
137
137
  COURTCOVERAGEREMOVED = "COURT_COVERAGE_REMOVED",
138
138
  COURTFEECHANGED = "COURT_FEE_CHANGED",
139
+ CUSTOMERREVIEWADDED = "CUSTOMER_REVIEW_ADDED",
139
140
  CUSTOMFEESRESETTODEFAULTFORVIOLATION = "CUSTOM_FEES_RESET_TO_DEFAULT_FOR_VIOLATION",
140
141
  DECIDEEXPERIMENTGROUPCOMMAND = "DECIDE_EXPERIMENT_GROUP_COMMAND",
141
142
  DEFAULTFEEADDED = "DEFAULT_FEE_ADDED",
@@ -111,6 +111,7 @@ export var LawfirmAuditEventModelEventEnum;
111
111
  LawfirmAuditEventModelEventEnum["COURTCOVERAGEADDED"] = "COURT_COVERAGE_ADDED";
112
112
  LawfirmAuditEventModelEventEnum["COURTCOVERAGEREMOVED"] = "COURT_COVERAGE_REMOVED";
113
113
  LawfirmAuditEventModelEventEnum["COURTFEECHANGED"] = "COURT_FEE_CHANGED";
114
+ LawfirmAuditEventModelEventEnum["CUSTOMERREVIEWADDED"] = "CUSTOMER_REVIEW_ADDED";
114
115
  LawfirmAuditEventModelEventEnum["CUSTOMFEESRESETTODEFAULTFORVIOLATION"] = "CUSTOM_FEES_RESET_TO_DEFAULT_FOR_VIOLATION";
115
116
  LawfirmAuditEventModelEventEnum["DECIDEEXPERIMENTGROUPCOMMAND"] = "DECIDE_EXPERIMENT_GROUP_COMMAND";
116
117
  LawfirmAuditEventModelEventEnum["DEFAULTFEEADDED"] = "DEFAULT_FEE_ADDED";
@@ -0,0 +1,28 @@
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 { DashboardCaseUserModel } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListDashboardCaseUsersResponse
17
+ */
18
+ export interface ListDashboardCaseUsersResponse {
19
+ /**
20
+ *
21
+ * @type {Array<DashboardCaseUserModel>}
22
+ * @memberof ListDashboardCaseUsersResponse
23
+ */
24
+ users?: Array<DashboardCaseUserModel>;
25
+ }
26
+ export declare function ListDashboardCaseUsersResponseFromJSON(json: any): ListDashboardCaseUsersResponse;
27
+ export declare function ListDashboardCaseUsersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDashboardCaseUsersResponse;
28
+ export declare function ListDashboardCaseUsersResponseToJSON(value?: ListDashboardCaseUsersResponse | null): any;
@@ -0,0 +1,37 @@
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 { DashboardCaseUserModelFromJSON, DashboardCaseUserModelToJSON, } from './';
16
+ export function ListDashboardCaseUsersResponseFromJSON(json) {
17
+ return ListDashboardCaseUsersResponseFromJSONTyped(json, false);
18
+ }
19
+ export function ListDashboardCaseUsersResponseFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'users': !exists(json, 'users') ? undefined : (json['users'].map(DashboardCaseUserModelFromJSON)),
25
+ };
26
+ }
27
+ export function ListDashboardCaseUsersResponseToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'users': value.users === undefined ? undefined : (value.users.map(DashboardCaseUserModelToJSON)),
36
+ };
37
+ }
@@ -0,0 +1,40 @@
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 SendTextAlertToUserRequest
16
+ */
17
+ export interface SendTextAlertToUserRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SendTextAlertToUserRequest
22
+ */
23
+ rawPhoneNumber?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SendTextAlertToUserRequest
28
+ */
29
+ textAlertType?: SendTextAlertToUserRequestTextAlertTypeEnum;
30
+ }
31
+ export declare function SendTextAlertToUserRequestFromJSON(json: any): SendTextAlertToUserRequest;
32
+ export declare function SendTextAlertToUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendTextAlertToUserRequest;
33
+ export declare function SendTextAlertToUserRequestToJSON(value?: SendTextAlertToUserRequest | null): any;
34
+ /**
35
+ * @export
36
+ * @enum {string}
37
+ */
38
+ export declare enum SendTextAlertToUserRequestTextAlertTypeEnum {
39
+ DOWNLOADAPP = "DOWNLOAD_APP"
40
+ }
@@ -0,0 +1,46 @@
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 SendTextAlertToUserRequestFromJSON(json) {
16
+ return SendTextAlertToUserRequestFromJSONTyped(json, false);
17
+ }
18
+ export function SendTextAlertToUserRequestFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'rawPhoneNumber': !exists(json, 'rawPhoneNumber') ? undefined : json['rawPhoneNumber'],
24
+ 'textAlertType': !exists(json, 'textAlertType') ? undefined : json['textAlertType'],
25
+ };
26
+ }
27
+ export function SendTextAlertToUserRequestToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'rawPhoneNumber': value.rawPhoneNumber,
36
+ 'textAlertType': value.textAlertType,
37
+ };
38
+ }
39
+ /**
40
+ * @export
41
+ * @enum {string}
42
+ */
43
+ export var SendTextAlertToUserRequestTextAlertTypeEnum;
44
+ (function (SendTextAlertToUserRequestTextAlertTypeEnum) {
45
+ SendTextAlertToUserRequestTextAlertTypeEnum["DOWNLOADAPP"] = "DOWNLOAD_APP";
46
+ })(SendTextAlertToUserRequestTextAlertTypeEnum || (SendTextAlertToUserRequestTextAlertTypeEnum = {}));
@@ -82,6 +82,12 @@ export interface StripeCardDomain {
82
82
  * @memberof StripeCardDomain
83
83
  */
84
84
  expYear?: number;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof StripeCardDomain
89
+ */
90
+ funding?: StripeCardDomainFundingEnum;
85
91
  /**
86
92
  *
87
93
  * @type {string}
@@ -122,3 +128,12 @@ export interface StripeCardDomain {
122
128
  export declare function StripeCardDomainFromJSON(json: any): StripeCardDomain;
123
129
  export declare function StripeCardDomainFromJSONTyped(json: any, ignoreDiscriminator: boolean): StripeCardDomain;
124
130
  export declare function StripeCardDomainToJSON(value?: StripeCardDomain | null): any;
131
+ /**
132
+ * @export
133
+ * @enum {string}
134
+ */
135
+ export declare enum StripeCardDomainFundingEnum {
136
+ CREDIT = "CREDIT",
137
+ DEBIT = "DEBIT",
138
+ PREPAID = "PREPAID"
139
+ }
@@ -32,6 +32,7 @@ export function StripeCardDomainFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'cvcCheck': !exists(json, 'cvcCheck') ? undefined : json['cvcCheck'],
33
33
  'expMonth': !exists(json, 'expMonth') ? undefined : json['expMonth'],
34
34
  'expYear': !exists(json, 'expYear') ? undefined : json['expYear'],
35
+ 'funding': !exists(json, 'funding') ? undefined : json['funding'],
35
36
  'id': !exists(json, 'id') ? undefined : json['id'],
36
37
  'isDefault': !exists(json, 'isDefault') ? undefined : json['isDefault'],
37
38
  'isExpired': !exists(json, 'isExpired') ? undefined : json['isExpired'],
@@ -59,6 +60,7 @@ export function StripeCardDomainToJSON(value) {
59
60
  'cvcCheck': value.cvcCheck,
60
61
  'expMonth': value.expMonth,
61
62
  'expYear': value.expYear,
63
+ 'funding': value.funding,
62
64
  'id': value.id,
63
65
  'isDefault': value.isDefault,
64
66
  'isExpired': value.isExpired,
@@ -67,3 +69,13 @@ export function StripeCardDomainToJSON(value) {
67
69
  'ownerFullName': value.ownerFullName,
68
70
  };
69
71
  }
72
+ /**
73
+ * @export
74
+ * @enum {string}
75
+ */
76
+ export var StripeCardDomainFundingEnum;
77
+ (function (StripeCardDomainFundingEnum) {
78
+ StripeCardDomainFundingEnum["CREDIT"] = "CREDIT";
79
+ StripeCardDomainFundingEnum["DEBIT"] = "DEBIT";
80
+ StripeCardDomainFundingEnum["PREPAID"] = "PREPAID";
81
+ })(StripeCardDomainFundingEnum || (StripeCardDomainFundingEnum = {}));
@@ -0,0 +1,90 @@
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 SupportedStateModel
16
+ */
17
+ export interface SupportedStateModel {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof SupportedStateModel
22
+ */
23
+ newAlgoEnabled?: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SupportedStateModel
28
+ */
29
+ state?: SupportedStateModelStateEnum;
30
+ }
31
+ export declare function SupportedStateModelFromJSON(json: any): SupportedStateModel;
32
+ export declare function SupportedStateModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportedStateModel;
33
+ export declare function SupportedStateModelToJSON(value?: SupportedStateModel | null): any;
34
+ /**
35
+ * @export
36
+ * @enum {string}
37
+ */
38
+ export declare enum SupportedStateModelStateEnum {
39
+ AK = "AK",
40
+ AL = "AL",
41
+ AR = "AR",
42
+ AZ = "AZ",
43
+ CA = "CA",
44
+ CO = "CO",
45
+ CT = "CT",
46
+ DC = "DC",
47
+ DE = "DE",
48
+ FL = "FL",
49
+ GA = "GA",
50
+ HI = "HI",
51
+ IA = "IA",
52
+ ID = "ID",
53
+ IL = "IL",
54
+ IN = "IN",
55
+ KS = "KS",
56
+ KY = "KY",
57
+ LA = "LA",
58
+ MA = "MA",
59
+ MD = "MD",
60
+ ME = "ME",
61
+ MI = "MI",
62
+ MN = "MN",
63
+ MO = "MO",
64
+ MS = "MS",
65
+ MT = "MT",
66
+ NC = "NC",
67
+ ND = "ND",
68
+ NE = "NE",
69
+ NH = "NH",
70
+ NJ = "NJ",
71
+ NM = "NM",
72
+ NV = "NV",
73
+ NY = "NY",
74
+ OH = "OH",
75
+ OK = "OK",
76
+ OR = "OR",
77
+ PA = "PA",
78
+ RI = "RI",
79
+ SC = "SC",
80
+ SD = "SD",
81
+ TN = "TN",
82
+ TX = "TX",
83
+ UT = "UT",
84
+ VA = "VA",
85
+ VT = "VT",
86
+ WA = "WA",
87
+ WI = "WI",
88
+ WV = "WV",
89
+ WY = "WY"
90
+ }
@@ -0,0 +1,96 @@
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 SupportedStateModelFromJSON(json) {
16
+ return SupportedStateModelFromJSONTyped(json, false);
17
+ }
18
+ export function SupportedStateModelFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'newAlgoEnabled': !exists(json, 'newAlgoEnabled') ? undefined : json['newAlgoEnabled'],
24
+ 'state': !exists(json, 'state') ? undefined : json['state'],
25
+ };
26
+ }
27
+ export function SupportedStateModelToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'newAlgoEnabled': value.newAlgoEnabled,
36
+ 'state': value.state,
37
+ };
38
+ }
39
+ /**
40
+ * @export
41
+ * @enum {string}
42
+ */
43
+ export var SupportedStateModelStateEnum;
44
+ (function (SupportedStateModelStateEnum) {
45
+ SupportedStateModelStateEnum["AK"] = "AK";
46
+ SupportedStateModelStateEnum["AL"] = "AL";
47
+ SupportedStateModelStateEnum["AR"] = "AR";
48
+ SupportedStateModelStateEnum["AZ"] = "AZ";
49
+ SupportedStateModelStateEnum["CA"] = "CA";
50
+ SupportedStateModelStateEnum["CO"] = "CO";
51
+ SupportedStateModelStateEnum["CT"] = "CT";
52
+ SupportedStateModelStateEnum["DC"] = "DC";
53
+ SupportedStateModelStateEnum["DE"] = "DE";
54
+ SupportedStateModelStateEnum["FL"] = "FL";
55
+ SupportedStateModelStateEnum["GA"] = "GA";
56
+ SupportedStateModelStateEnum["HI"] = "HI";
57
+ SupportedStateModelStateEnum["IA"] = "IA";
58
+ SupportedStateModelStateEnum["ID"] = "ID";
59
+ SupportedStateModelStateEnum["IL"] = "IL";
60
+ SupportedStateModelStateEnum["IN"] = "IN";
61
+ SupportedStateModelStateEnum["KS"] = "KS";
62
+ SupportedStateModelStateEnum["KY"] = "KY";
63
+ SupportedStateModelStateEnum["LA"] = "LA";
64
+ SupportedStateModelStateEnum["MA"] = "MA";
65
+ SupportedStateModelStateEnum["MD"] = "MD";
66
+ SupportedStateModelStateEnum["ME"] = "ME";
67
+ SupportedStateModelStateEnum["MI"] = "MI";
68
+ SupportedStateModelStateEnum["MN"] = "MN";
69
+ SupportedStateModelStateEnum["MO"] = "MO";
70
+ SupportedStateModelStateEnum["MS"] = "MS";
71
+ SupportedStateModelStateEnum["MT"] = "MT";
72
+ SupportedStateModelStateEnum["NC"] = "NC";
73
+ SupportedStateModelStateEnum["ND"] = "ND";
74
+ SupportedStateModelStateEnum["NE"] = "NE";
75
+ SupportedStateModelStateEnum["NH"] = "NH";
76
+ SupportedStateModelStateEnum["NJ"] = "NJ";
77
+ SupportedStateModelStateEnum["NM"] = "NM";
78
+ SupportedStateModelStateEnum["NV"] = "NV";
79
+ SupportedStateModelStateEnum["NY"] = "NY";
80
+ SupportedStateModelStateEnum["OH"] = "OH";
81
+ SupportedStateModelStateEnum["OK"] = "OK";
82
+ SupportedStateModelStateEnum["OR"] = "OR";
83
+ SupportedStateModelStateEnum["PA"] = "PA";
84
+ SupportedStateModelStateEnum["RI"] = "RI";
85
+ SupportedStateModelStateEnum["SC"] = "SC";
86
+ SupportedStateModelStateEnum["SD"] = "SD";
87
+ SupportedStateModelStateEnum["TN"] = "TN";
88
+ SupportedStateModelStateEnum["TX"] = "TX";
89
+ SupportedStateModelStateEnum["UT"] = "UT";
90
+ SupportedStateModelStateEnum["VA"] = "VA";
91
+ SupportedStateModelStateEnum["VT"] = "VT";
92
+ SupportedStateModelStateEnum["WA"] = "WA";
93
+ SupportedStateModelStateEnum["WI"] = "WI";
94
+ SupportedStateModelStateEnum["WV"] = "WV";
95
+ SupportedStateModelStateEnum["WY"] = "WY";
96
+ })(SupportedStateModelStateEnum || (SupportedStateModelStateEnum = {}));