@otr-app/shared-backend-generated-client 2.5.167 → 2.5.169

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 (47) hide show
  1. package/dist/angular/.openapi-generator/FILES +4 -0
  2. package/dist/angular/api/api.ts +3 -1
  3. package/dist/angular/api/lawfirmDashboardController.service.ts +60 -0
  4. package/dist/angular/api/shortLivedTokenController.service.ts +152 -0
  5. package/dist/angular/api/webSocketController.service.ts +25 -5
  6. package/dist/angular/api.module.ts +1 -0
  7. package/dist/angular/model/ageBracketModel.ts +19 -0
  8. package/dist/angular/model/getActiveCasesByAgeResponse.ts +21 -0
  9. package/dist/angular/model/issueShortLivedTokenResponse.ts +17 -0
  10. package/dist/angular/model/models.ts +3 -0
  11. package/dist/otrBackendService.js +88 -0
  12. package/dist/otrBackendService.min.js +5 -5
  13. package/dist/typescript/api/LawfirmDashboardControllerApi.d.ts +6 -0
  14. package/dist/typescript/api/LawfirmDashboardControllerApi.js +25 -0
  15. package/dist/typescript/api/ShortLivedTokenControllerApi.d.ts +26 -0
  16. package/dist/typescript/api/ShortLivedTokenControllerApi.js +49 -0
  17. package/dist/typescript/api/WebSocketControllerApi.d.ts +3 -1
  18. package/dist/typescript/api/WebSocketControllerApi.js +17 -1
  19. package/dist/typescript/api/api.d.ts +3 -1
  20. package/dist/typescript/api/api.js +3 -1
  21. package/dist/typescript/api.module.js +1 -0
  22. package/dist/typescript/model/AgeBracketModel.d.ts +16 -0
  23. package/dist/typescript/model/AgeBracketModel.js +12 -0
  24. package/dist/typescript/model/GetActiveCasesByAgeResponse.d.ts +18 -0
  25. package/dist/typescript/model/GetActiveCasesByAgeResponse.js +12 -0
  26. package/dist/typescript/model/IssueShortLivedTokenResponse.d.ts +14 -0
  27. package/dist/typescript/model/IssueShortLivedTokenResponse.js +12 -0
  28. package/dist/typescript/model/models.d.ts +3 -0
  29. package/dist/typescript/model/models.js +3 -0
  30. package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.d.ts +12 -1
  31. package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.js +29 -1
  32. package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.d.ts +29 -0
  33. package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.js +57 -0
  34. package/dist/typescript-fetch/apis/WebSocketControllerApi.d.ts +4 -2
  35. package/dist/typescript-fetch/apis/WebSocketControllerApi.js +15 -2
  36. package/dist/typescript-fetch/apis/index.d.ts +1 -0
  37. package/dist/typescript-fetch/apis/index.js +1 -0
  38. package/dist/typescript-fetch/models/AgeBracketModel.d.ts +39 -0
  39. package/dist/typescript-fetch/models/AgeBracketModel.js +40 -0
  40. package/dist/typescript-fetch/models/GetActiveCasesByAgeResponse.d.ts +46 -0
  41. package/dist/typescript-fetch/models/GetActiveCasesByAgeResponse.js +43 -0
  42. package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.d.ts +27 -0
  43. package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.js +36 -0
  44. package/dist/typescript-fetch/models/index.d.ts +3 -0
  45. package/dist/typescript-fetch/models/index.js +3 -0
  46. package/dist/typescript-open-api/otr-backend.d.ts +153 -2
  47. package/package.json +1 -1
@@ -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 AgeBracketModel
16
+ */
17
+ export interface AgeBracketModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AgeBracketModel
22
+ */
23
+ bracket?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof AgeBracketModel
28
+ */
29
+ count?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof AgeBracketModel
34
+ */
35
+ percentageOfTotal?: number;
36
+ }
37
+ export declare function AgeBracketModelFromJSON(json: any): AgeBracketModel;
38
+ export declare function AgeBracketModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgeBracketModel;
39
+ export declare function AgeBracketModelToJSON(value?: AgeBracketModel | 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 AgeBracketModelFromJSON(json) {
16
+ return AgeBracketModelFromJSONTyped(json, false);
17
+ }
18
+ export function AgeBracketModelFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'bracket': !exists(json, 'bracket') ? undefined : json['bracket'],
24
+ 'count': !exists(json, 'count') ? undefined : json['count'],
25
+ 'percentageOfTotal': !exists(json, 'percentageOfTotal') ? undefined : json['percentageOfTotal'],
26
+ };
27
+ }
28
+ export function AgeBracketModelToJSON(value) {
29
+ if (value === undefined) {
30
+ return undefined;
31
+ }
32
+ if (value === null) {
33
+ return null;
34
+ }
35
+ return {
36
+ 'bracket': value.bracket,
37
+ 'count': value.count,
38
+ 'percentageOfTotal': value.percentageOfTotal,
39
+ };
40
+ }
@@ -0,0 +1,46 @@
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 { AgeBracketModel } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetActiveCasesByAgeResponse
17
+ */
18
+ export interface GetActiveCasesByAgeResponse {
19
+ /**
20
+ *
21
+ * @type {Array<AgeBracketModel>}
22
+ * @memberof GetActiveCasesByAgeResponse
23
+ */
24
+ ageBreakdown?: Array<AgeBracketModel>;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof GetActiveCasesByAgeResponse
29
+ */
30
+ medianAgeInDays?: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof GetActiveCasesByAgeResponse
35
+ */
36
+ networkMedianAgeInDays?: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GetActiveCasesByAgeResponse
41
+ */
42
+ totalActiveCases?: number;
43
+ }
44
+ export declare function GetActiveCasesByAgeResponseFromJSON(json: any): GetActiveCasesByAgeResponse;
45
+ export declare function GetActiveCasesByAgeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetActiveCasesByAgeResponse;
46
+ export declare function GetActiveCasesByAgeResponseToJSON(value?: GetActiveCasesByAgeResponse | null): any;
@@ -0,0 +1,43 @@
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 { AgeBracketModelFromJSON, AgeBracketModelToJSON, } from './';
16
+ export function GetActiveCasesByAgeResponseFromJSON(json) {
17
+ return GetActiveCasesByAgeResponseFromJSONTyped(json, false);
18
+ }
19
+ export function GetActiveCasesByAgeResponseFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'ageBreakdown': !exists(json, 'ageBreakdown') ? undefined : (json['ageBreakdown'].map(AgeBracketModelFromJSON)),
25
+ 'medianAgeInDays': !exists(json, 'medianAgeInDays') ? undefined : json['medianAgeInDays'],
26
+ 'networkMedianAgeInDays': !exists(json, 'networkMedianAgeInDays') ? undefined : json['networkMedianAgeInDays'],
27
+ 'totalActiveCases': !exists(json, 'totalActiveCases') ? undefined : json['totalActiveCases'],
28
+ };
29
+ }
30
+ export function GetActiveCasesByAgeResponseToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'ageBreakdown': value.ageBreakdown === undefined ? undefined : (value.ageBreakdown.map(AgeBracketModelToJSON)),
39
+ 'medianAgeInDays': value.medianAgeInDays,
40
+ 'networkMedianAgeInDays': value.networkMedianAgeInDays,
41
+ 'totalActiveCases': value.totalActiveCases,
42
+ };
43
+ }
@@ -0,0 +1,27 @@
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 IssueShortLivedTokenResponse
16
+ */
17
+ export interface IssueShortLivedTokenResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IssueShortLivedTokenResponse
22
+ */
23
+ token?: string;
24
+ }
25
+ export declare function IssueShortLivedTokenResponseFromJSON(json: any): IssueShortLivedTokenResponse;
26
+ export declare function IssueShortLivedTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueShortLivedTokenResponse;
27
+ export declare function IssueShortLivedTokenResponseToJSON(value?: IssueShortLivedTokenResponse | null): any;
@@ -0,0 +1,36 @@
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 IssueShortLivedTokenResponseFromJSON(json) {
16
+ return IssueShortLivedTokenResponseFromJSONTyped(json, false);
17
+ }
18
+ export function IssueShortLivedTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'token': !exists(json, 'token') ? undefined : json['token'],
24
+ };
25
+ }
26
+ export function IssueShortLivedTokenResponseToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'token': value.token,
35
+ };
36
+ }
@@ -34,6 +34,7 @@ export * from './AddressDomainReq';
34
34
  export * from './AddressDomainRes';
35
35
  export * from './AddressEntity';
36
36
  export * from './Admin';
37
+ export * from './AgeBracketModel';
37
38
  export * from './AgentBookingStats';
38
39
  export * from './AgentBookingsSummary';
39
40
  export * from './AggregateBySource';
@@ -275,6 +276,7 @@ export * from './GenericAdminListRequest';
275
276
  export * from './GeoRatesRequest';
276
277
  export * from './GetAcceptedCaseBreakdownResponse';
277
278
  export * from './GetAccountManagersResponse';
279
+ export * from './GetActiveCasesByAgeResponse';
278
280
  export * from './GetActivityFeedResponse';
279
281
  export * from './GetAddressInnerResponse';
280
282
  export * from './GetAnonymousTicketUploads';
@@ -445,6 +447,7 @@ export * from './InviteLawyerToLawfirmRequest';
445
447
  export * from './InvoiceLineItemModel';
446
448
  export * from './IsRefundEligibleResponse';
447
449
  export * from './IsUserLoggedInResponse';
450
+ export * from './IssueShortLivedTokenResponse';
448
451
  export * from './Item';
449
452
  export * from './LastLoginAttributes';
450
453
  export * from './LastLoginDateByUserAccount';
@@ -34,6 +34,7 @@ export * from './AddressDomainReq';
34
34
  export * from './AddressDomainRes';
35
35
  export * from './AddressEntity';
36
36
  export * from './Admin';
37
+ export * from './AgeBracketModel';
37
38
  export * from './AgentBookingStats';
38
39
  export * from './AgentBookingsSummary';
39
40
  export * from './AggregateBySource';
@@ -275,6 +276,7 @@ export * from './GenericAdminListRequest';
275
276
  export * from './GeoRatesRequest';
276
277
  export * from './GetAcceptedCaseBreakdownResponse';
277
278
  export * from './GetAccountManagersResponse';
279
+ export * from './GetActiveCasesByAgeResponse';
278
280
  export * from './GetActivityFeedResponse';
279
281
  export * from './GetAddressInnerResponse';
280
282
  export * from './GetAnonymousTicketUploads';
@@ -445,6 +447,7 @@ export * from './InviteLawyerToLawfirmRequest';
445
447
  export * from './InvoiceLineItemModel';
446
448
  export * from './IsRefundEligibleResponse';
447
449
  export * from './IsUserLoggedInResponse';
450
+ export * from './IssueShortLivedTokenResponse';
448
451
  export * from './Item';
449
452
  export * from './LastLoginAttributes';
450
453
  export * from './LastLoginDateByUserAccount';
@@ -3879,6 +3879,23 @@ export interface paths {
3879
3879
  patch?: never;
3880
3880
  trace?: never;
3881
3881
  };
3882
+ "/api/v1/lawfirms/{lawfirmId}/dashboard/active-cases-by-age": {
3883
+ parameters: {
3884
+ query?: never;
3885
+ header?: never;
3886
+ path?: never;
3887
+ cookie?: never;
3888
+ };
3889
+ /** getActiveCasesByAge */
3890
+ get: operations["getActiveCasesByAgeUsingGET"];
3891
+ put?: never;
3892
+ post?: never;
3893
+ delete?: never;
3894
+ options?: never;
3895
+ head?: never;
3896
+ patch?: never;
3897
+ trace?: never;
3898
+ };
3882
3899
  "/api/v1/lawfirms/{lawfirmId}/dashboard/earnings/top-courts": {
3883
3900
  parameters: {
3884
3901
  query?: never;
@@ -5647,6 +5664,23 @@ export interface paths {
5647
5664
  patch?: never;
5648
5665
  trace?: never;
5649
5666
  };
5667
+ "/api/v1/users/{userId}/short-lived-token": {
5668
+ parameters: {
5669
+ query?: never;
5670
+ header?: never;
5671
+ path?: never;
5672
+ cookie?: never;
5673
+ };
5674
+ /** issueShortLivedToken */
5675
+ get: operations["issueShortLivedTokenUsingGET"];
5676
+ put?: never;
5677
+ post?: never;
5678
+ delete?: never;
5679
+ options?: never;
5680
+ head?: never;
5681
+ patch?: never;
5682
+ trace?: never;
5683
+ };
5650
5684
  "/api/v1/authentication/sso/login": {
5651
5685
  parameters: {
5652
5686
  query?: never;
@@ -7747,6 +7781,14 @@ export interface components {
7747
7781
  name?: string;
7748
7782
  type?: string;
7749
7783
  };
7784
+ /** AgeBracketModel */
7785
+ AgeBracketModel: {
7786
+ bracket?: string;
7787
+ /** Format: int32 */
7788
+ count?: number;
7789
+ /** Format: bigdecimal */
7790
+ percentageOfTotal?: number;
7791
+ };
7750
7792
  /** AgentBookingStats */
7751
7793
  AgentBookingStats: {
7752
7794
  /** Format: int32 */
@@ -10900,6 +10942,16 @@ export interface components {
10900
10942
  GetAccountManagersResponse: {
10901
10943
  accountManagers?: components["schemas"]["AccountManagerModel"][];
10902
10944
  };
10945
+ /** GetActiveCasesByAgeResponse */
10946
+ GetActiveCasesByAgeResponse: {
10947
+ ageBreakdown?: components["schemas"]["AgeBracketModel"][];
10948
+ /** Format: int64 */
10949
+ medianAgeInDays?: number;
10950
+ /** Format: int64 */
10951
+ networkMedianAgeInDays?: number;
10952
+ /** Format: int32 */
10953
+ totalActiveCases?: number;
10954
+ };
10903
10955
  /** GetActivityFeedResponse */
10904
10956
  GetActivityFeedResponse: {
10905
10957
  activity?: components["schemas"]["ActivityFeedModel"][];
@@ -12265,6 +12317,10 @@ export interface components {
12265
12317
  /** Format: int64 */
12266
12318
  userId?: number;
12267
12319
  };
12320
+ /** IssueShortLivedTokenResponse */
12321
+ IssueShortLivedTokenResponse: {
12322
+ token?: string;
12323
+ };
12268
12324
  /** Item */
12269
12325
  Item: {
12270
12326
  /** Format: double */
@@ -29627,6 +29683,50 @@ export interface operations {
29627
29683
  };
29628
29684
  };
29629
29685
  };
29686
+ getActiveCasesByAgeUsingGET: {
29687
+ parameters: {
29688
+ query?: never;
29689
+ header?: never;
29690
+ path: {
29691
+ /** @description lawfirmId */
29692
+ lawfirmId: number;
29693
+ };
29694
+ cookie?: never;
29695
+ };
29696
+ requestBody?: never;
29697
+ responses: {
29698
+ /** @description OK */
29699
+ 200: {
29700
+ headers: {
29701
+ [name: string]: unknown;
29702
+ };
29703
+ content: {
29704
+ "*/*": components["schemas"]["GetActiveCasesByAgeResponse"];
29705
+ };
29706
+ };
29707
+ /** @description Unauthorized */
29708
+ 401: {
29709
+ headers: {
29710
+ [name: string]: unknown;
29711
+ };
29712
+ content?: never;
29713
+ };
29714
+ /** @description Forbidden */
29715
+ 403: {
29716
+ headers: {
29717
+ [name: string]: unknown;
29718
+ };
29719
+ content?: never;
29720
+ };
29721
+ /** @description Not Found */
29722
+ 404: {
29723
+ headers: {
29724
+ [name: string]: unknown;
29725
+ };
29726
+ content?: never;
29727
+ };
29728
+ };
29729
+ };
29630
29730
  getTopCourtEarningsUsingGET: {
29631
29731
  parameters: {
29632
29732
  query?: {
@@ -35506,6 +35606,50 @@ export interface operations {
35506
35606
  };
35507
35607
  };
35508
35608
  };
35609
+ issueShortLivedTokenUsingGET: {
35610
+ parameters: {
35611
+ query?: never;
35612
+ header?: never;
35613
+ path: {
35614
+ /** @description userId */
35615
+ userId: number;
35616
+ };
35617
+ cookie?: never;
35618
+ };
35619
+ requestBody?: never;
35620
+ responses: {
35621
+ /** @description OK */
35622
+ 200: {
35623
+ headers: {
35624
+ [name: string]: unknown;
35625
+ };
35626
+ content: {
35627
+ "*/*": components["schemas"]["IssueShortLivedTokenResponse"];
35628
+ };
35629
+ };
35630
+ /** @description Unauthorized */
35631
+ 401: {
35632
+ headers: {
35633
+ [name: string]: unknown;
35634
+ };
35635
+ content?: never;
35636
+ };
35637
+ /** @description Forbidden */
35638
+ 403: {
35639
+ headers: {
35640
+ [name: string]: unknown;
35641
+ };
35642
+ content?: never;
35643
+ };
35644
+ /** @description Not Found */
35645
+ 404: {
35646
+ headers: {
35647
+ [name: string]: unknown;
35648
+ };
35649
+ content?: never;
35650
+ };
35651
+ };
35652
+ };
35509
35653
  loginWithSSOUsingPOST: {
35510
35654
  parameters: {
35511
35655
  query: {
@@ -40916,7 +41060,12 @@ export interface operations {
40916
41060
  };
40917
41061
  connectUsingPOST: {
40918
41062
  parameters: {
40919
- query?: never;
41063
+ query: {
41064
+ /** @description token */
41065
+ token: string;
41066
+ /** @description userId */
41067
+ userId: number;
41068
+ };
40920
41069
  header: {
40921
41070
  /** @description connectionId */
40922
41071
  connectionId: string;
@@ -40931,7 +41080,9 @@ export interface operations {
40931
41080
  headers: {
40932
41081
  [name: string]: unknown;
40933
41082
  };
40934
- content?: never;
41083
+ content: {
41084
+ "*/*": Record<string, never>;
41085
+ };
40935
41086
  };
40936
41087
  /** @description Created */
40937
41088
  201: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.167",
3
+ "version": "2.5.169",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"