@otr-app/shared-backend-generated-client 2.5.168 → 2.5.170

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 (42) hide show
  1. package/dist/angular/.openapi-generator/FILES +2 -0
  2. package/dist/angular/api/api.ts +3 -1
  3. package/dist/angular/api/lawfirmController.service.ts +18 -8
  4. package/dist/angular/api/pushNotificationController.service.ts +12 -4
  5. package/dist/angular/api/shortLivedTokenController.service.ts +152 -0
  6. package/dist/angular/api/webSocketController.service.ts +25 -5
  7. package/dist/angular/api.module.ts +1 -0
  8. package/dist/angular/model/issueShortLivedTokenResponse.ts +17 -0
  9. package/dist/angular/model/models.ts +1 -0
  10. package/dist/otrBackendService.js +69 -0
  11. package/dist/otrBackendService.min.js +5 -5
  12. package/dist/typescript/api/LawfirmControllerApi.d.ts +4 -2
  13. package/dist/typescript/api/LawfirmControllerApi.js +10 -2
  14. package/dist/typescript/api/PushNotificationControllerApi.d.ts +2 -1
  15. package/dist/typescript/api/PushNotificationControllerApi.js +5 -1
  16. package/dist/typescript/api/ShortLivedTokenControllerApi.d.ts +26 -0
  17. package/dist/typescript/api/ShortLivedTokenControllerApi.js +49 -0
  18. package/dist/typescript/api/WebSocketControllerApi.d.ts +3 -1
  19. package/dist/typescript/api/WebSocketControllerApi.js +17 -1
  20. package/dist/typescript/api/api.d.ts +3 -1
  21. package/dist/typescript/api/api.js +3 -1
  22. package/dist/typescript/api.module.js +1 -0
  23. package/dist/typescript/model/IssueShortLivedTokenResponse.d.ts +14 -0
  24. package/dist/typescript/model/IssueShortLivedTokenResponse.js +12 -0
  25. package/dist/typescript/model/models.d.ts +1 -0
  26. package/dist/typescript/model/models.js +1 -0
  27. package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +2 -0
  28. package/dist/typescript-fetch/apis/LawfirmControllerApi.js +6 -0
  29. package/dist/typescript-fetch/apis/PushNotificationControllerApi.d.ts +1 -0
  30. package/dist/typescript-fetch/apis/PushNotificationControllerApi.js +3 -0
  31. package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.d.ts +29 -0
  32. package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.js +57 -0
  33. package/dist/typescript-fetch/apis/WebSocketControllerApi.d.ts +4 -2
  34. package/dist/typescript-fetch/apis/WebSocketControllerApi.js +15 -2
  35. package/dist/typescript-fetch/apis/index.d.ts +1 -0
  36. package/dist/typescript-fetch/apis/index.js +1 -0
  37. package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.d.ts +27 -0
  38. package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.js +36 -0
  39. package/dist/typescript-fetch/models/index.d.ts +1 -0
  40. package/dist/typescript-fetch/models/index.js +1 -0
  41. package/dist/typescript-open-api/otr-backend.d.ts +82 -3
  42. package/package.json +1 -1
@@ -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
+ }
@@ -447,6 +447,7 @@ export * from './InviteLawyerToLawfirmRequest';
447
447
  export * from './InvoiceLineItemModel';
448
448
  export * from './IsRefundEligibleResponse';
449
449
  export * from './IsUserLoggedInResponse';
450
+ export * from './IssueShortLivedTokenResponse';
450
451
  export * from './Item';
451
452
  export * from './LastLoginAttributes';
452
453
  export * from './LastLoginDateByUserAccount';
@@ -447,6 +447,7 @@ export * from './InviteLawyerToLawfirmRequest';
447
447
  export * from './InvoiceLineItemModel';
448
448
  export * from './IsRefundEligibleResponse';
449
449
  export * from './IsUserLoggedInResponse';
450
+ export * from './IssueShortLivedTokenResponse';
450
451
  export * from './Item';
451
452
  export * from './LastLoginAttributes';
452
453
  export * from './LastLoginDateByUserAccount';
@@ -5664,6 +5664,23 @@ export interface paths {
5664
5664
  patch?: never;
5665
5665
  trace?: never;
5666
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
+ };
5667
5684
  "/api/v1/authentication/sso/login": {
5668
5685
  parameters: {
5669
5686
  query?: never;
@@ -12300,6 +12317,10 @@ export interface components {
12300
12317
  /** Format: int64 */
12301
12318
  userId?: number;
12302
12319
  };
12320
+ /** IssueShortLivedTokenResponse */
12321
+ IssueShortLivedTokenResponse: {
12322
+ token?: string;
12323
+ };
12303
12324
  /** Item */
12304
12325
  Item: {
12305
12326
  /** Format: double */
@@ -29005,6 +29026,8 @@ export interface operations {
29005
29026
  getLawfirmCaseStatsUsingGET: {
29006
29027
  parameters: {
29007
29028
  query?: {
29029
+ /** @description userId */
29030
+ userId?: number;
29008
29031
  /** @description includeExtendedCounts */
29009
29032
  includeExtendedCounts?: boolean;
29010
29033
  };
@@ -29126,6 +29149,8 @@ export interface operations {
29126
29149
  courtDateFilter?: PathsApiV2LawfirmLawfirmIdStringCasesPostParametersQueryCourtDateFilter;
29127
29150
  /** @description latestMessageBy */
29128
29151
  latestMessageBy?: PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy;
29152
+ /** @description userId */
29153
+ userId?: number;
29129
29154
  };
29130
29155
  header?: never;
29131
29156
  path: {
@@ -34111,7 +34136,10 @@ export interface operations {
34111
34136
  };
34112
34137
  markPageTypesAsReadUsingDELETE: {
34113
34138
  parameters: {
34114
- query?: never;
34139
+ query?: {
34140
+ /** @description userId */
34141
+ userId?: number;
34142
+ };
34115
34143
  header?: never;
34116
34144
  path: {
34117
34145
  /** @description caseId */
@@ -35585,6 +35613,50 @@ export interface operations {
35585
35613
  };
35586
35614
  };
35587
35615
  };
35616
+ issueShortLivedTokenUsingGET: {
35617
+ parameters: {
35618
+ query?: never;
35619
+ header?: never;
35620
+ path: {
35621
+ /** @description userId */
35622
+ userId: number;
35623
+ };
35624
+ cookie?: never;
35625
+ };
35626
+ requestBody?: never;
35627
+ responses: {
35628
+ /** @description OK */
35629
+ 200: {
35630
+ headers: {
35631
+ [name: string]: unknown;
35632
+ };
35633
+ content: {
35634
+ "*/*": components["schemas"]["IssueShortLivedTokenResponse"];
35635
+ };
35636
+ };
35637
+ /** @description Unauthorized */
35638
+ 401: {
35639
+ headers: {
35640
+ [name: string]: unknown;
35641
+ };
35642
+ content?: never;
35643
+ };
35644
+ /** @description Forbidden */
35645
+ 403: {
35646
+ headers: {
35647
+ [name: string]: unknown;
35648
+ };
35649
+ content?: never;
35650
+ };
35651
+ /** @description Not Found */
35652
+ 404: {
35653
+ headers: {
35654
+ [name: string]: unknown;
35655
+ };
35656
+ content?: never;
35657
+ };
35658
+ };
35659
+ };
35588
35660
  loginWithSSOUsingPOST: {
35589
35661
  parameters: {
35590
35662
  query: {
@@ -40995,7 +41067,12 @@ export interface operations {
40995
41067
  };
40996
41068
  connectUsingPOST: {
40997
41069
  parameters: {
40998
- query?: never;
41070
+ query: {
41071
+ /** @description token */
41072
+ token: string;
41073
+ /** @description userId */
41074
+ userId: number;
41075
+ };
40999
41076
  header: {
41000
41077
  /** @description connectionId */
41001
41078
  connectionId: string;
@@ -41010,7 +41087,9 @@ export interface operations {
41010
41087
  headers: {
41011
41088
  [name: string]: unknown;
41012
41089
  };
41013
- content?: never;
41090
+ content: {
41091
+ "*/*": Record<string, never>;
41092
+ };
41014
41093
  };
41015
41094
  /** @description Created */
41016
41095
  201: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.168",
3
+ "version": "2.5.170",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"