@otr-app/shared-backend-generated-client 2.5.168 → 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 (32) 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/shortLivedTokenController.service.ts +152 -0
  4. package/dist/angular/api/webSocketController.service.ts +25 -5
  5. package/dist/angular/api.module.ts +1 -0
  6. package/dist/angular/model/issueShortLivedTokenResponse.ts +17 -0
  7. package/dist/angular/model/models.ts +1 -0
  8. package/dist/otrBackendService.js +54 -0
  9. package/dist/otrBackendService.min.js +2 -2
  10. package/dist/typescript/api/ShortLivedTokenControllerApi.d.ts +26 -0
  11. package/dist/typescript/api/ShortLivedTokenControllerApi.js +49 -0
  12. package/dist/typescript/api/WebSocketControllerApi.d.ts +3 -1
  13. package/dist/typescript/api/WebSocketControllerApi.js +17 -1
  14. package/dist/typescript/api/api.d.ts +3 -1
  15. package/dist/typescript/api/api.js +3 -1
  16. package/dist/typescript/api.module.js +1 -0
  17. package/dist/typescript/model/IssueShortLivedTokenResponse.d.ts +14 -0
  18. package/dist/typescript/model/IssueShortLivedTokenResponse.js +12 -0
  19. package/dist/typescript/model/models.d.ts +1 -0
  20. package/dist/typescript/model/models.js +1 -0
  21. package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.d.ts +29 -0
  22. package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.js +57 -0
  23. package/dist/typescript-fetch/apis/WebSocketControllerApi.d.ts +4 -2
  24. package/dist/typescript-fetch/apis/WebSocketControllerApi.js +15 -2
  25. package/dist/typescript-fetch/apis/index.d.ts +1 -0
  26. package/dist/typescript-fetch/apis/index.js +1 -0
  27. package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.d.ts +27 -0
  28. package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.js +36 -0
  29. package/dist/typescript-fetch/models/index.d.ts +1 -0
  30. package/dist/typescript-fetch/models/index.js +1 -0
  31. package/dist/typescript-open-api/otr-backend.d.ts +74 -2
  32. package/package.json +1 -1
@@ -180,6 +180,8 @@ export * from './ReportingControllerApi';
180
180
  import { ReportingControllerApi } from './ReportingControllerApi';
181
181
  export * from './ScheduledTaskControllerApi';
182
182
  import { ScheduledTaskControllerApi } from './ScheduledTaskControllerApi';
183
+ export * from './ShortLivedTokenControllerApi';
184
+ import { ShortLivedTokenControllerApi } from './ShortLivedTokenControllerApi';
183
185
  export * from './SingleSignOnControllerApi';
184
186
  import { SingleSignOnControllerApi } from './SingleSignOnControllerApi';
185
187
  export * from './SnsListenerControllerApi';
@@ -232,4 +234,4 @@ export * from './WebsocketMessageControllerApi';
232
234
  import { WebsocketMessageControllerApi } from './WebsocketMessageControllerApi';
233
235
  export * from './WorkflowStateControllerApi';
234
236
  import { WorkflowStateControllerApi } from './WorkflowStateControllerApi';
235
- export declare const APIS: (typeof ActionRequiredControllerApi | typeof ActivityFeedControllerApi | typeof AddressControllerApi | typeof AlertNotificationControllerApi | typeof AppEventsControllerApi | typeof AuditLawfirmEventsControllerApi | typeof AuditLogControllerApi | typeof AuthenticationControllerApi | typeof AwsCredentialsControllerApi | typeof BranchLinkControllerApi | typeof CaptchaControllerApi | typeof CaseActionsControllerApi | typeof CaseControllerApi | typeof CaseCounterOfferControllerApi | typeof CaseCreationControllerApi | typeof CaseDeclineControllerApi | typeof CaseNotesControllerApi | typeof CasePaymentControllerApi | typeof CaseReferralCodeControllerApi | typeof CaseRefundControllerApi | typeof CaseResolutionControllerApi | typeof CaseStatusControllerApi | typeof CaseTransferControllerApi | typeof CaseUserControllerApi | typeof CitationAuditControllerApi | typeof CitationControllerApi | typeof CoachingCardsControllerApi | typeof ConfigurationControllerApi | typeof ConsoleListControllerApi | typeof ContactLoopWebhookControllerApi | typeof ContactTimelineControllerApi | typeof ConversationControllerApi | typeof CountyControllerApi | typeof CourtControllerApi | typeof CrmControllerApi | typeof CustomerLeadControllerApi | typeof CustomerReviewControllerApi | typeof CustomerServiceAgentBookingsControllerApi | typeof CustomerServiceAgentControllerApi | typeof DashboardControllerApi | typeof DirectMailControllerApi | typeof DripControllerApi | typeof DripWebhooksControllerApi | typeof DriverLicenseControllerApi | typeof EmployeeControllerApi | typeof EventBridgeEmailNotificationControllerApi | typeof ExternalContentVoteControllerApi | typeof ExternalTicketLookupControllerApi | typeof FeedbackControllerApi | typeof FreshcallerControllerApi | typeof FreshdeskTicketControllerApi | typeof GetCaseControllerApi | typeof HouseholdMateControllerApi | typeof HubspotWebhookControllerApi | typeof InsuranceCalculatorControllerApi | typeof IntercomTicketControllerApi | typeof IntercomWebhookControllerApi | typeof LawfirmCaseDecisionControllerApi | typeof LawfirmCasesControllerApi | typeof LawfirmControllerApi | typeof LawfirmDashboardControllerApi | typeof LawfirmDocumentControllerApi | typeof LawfirmFeeCoverageControllerApi | typeof LawfirmPaymentModelControllerApi | typeof LawfirmRatesControllerApi | typeof LawfirmSettingsControllerApi | typeof LawfirmStorefrontControllerApi | typeof LawfirmSurchargeControllerApi | typeof LawfirmTransactionsControllerApi | typeof LawyerControllerApi | typeof LegalServicesControllerApi | typeof LineItemControllerApi | typeof ListCasesControllerApi | typeof MediaCreationControllerApi | typeof MessagesControllerApi | typeof NotesControllerApi | typeof OcrPipelineControllerApi | typeof OcrPredictionControllerApi | typeof OnDemandRequestControllerApi | typeof OneTimePasswordControllerApi | typeof PhoneLeadsControllerApi | typeof PushNotificationControllerApi | typeof RecurringBillingControllerApi | typeof RefLinkControllerApi | typeof ReferralCodeControllerApi | typeof ReferralControllerApi | typeof ReferralSourceControllerApi | typeof RefundEligibilityControllerApi | typeof RegistrationControllerApi | typeof ReportingControllerApi | typeof ScheduledTaskControllerApi | typeof SingleSignOnControllerApi | typeof SnsListenerControllerApi | typeof SocialLoginControllerApi | typeof StripeCardControllerApi | typeof StripeControllerApi | typeof StripeSyncControllerApi | typeof StripeWebhookControllerApi | typeof TicketReviewControllerApi | typeof UrlRedirectControllerApi | typeof UserAccountControllerApi | typeof UserAuditControllerApi | typeof UserControllerApi | typeof UserPasswordControllerApi | typeof UserProfileControllerApi | typeof UserSearchControllerApi | typeof UserSettingsControllerApi | typeof UserSocialProfileControllerApi | typeof UtilityControllerApi | typeof ValidationControllerApi | typeof VerificationControllerApi | typeof ViolationControllerApi | typeof ViolationPenaltyControllerApi | typeof WatchlistsControllerApi | typeof WebSocketControllerApi | typeof WebsocketMessageControllerApi | typeof WorkflowStateControllerApi)[];
237
+ export declare const APIS: (typeof ActionRequiredControllerApi | typeof ActivityFeedControllerApi | typeof AddressControllerApi | typeof AlertNotificationControllerApi | typeof AppEventsControllerApi | typeof AuditLawfirmEventsControllerApi | typeof AuditLogControllerApi | typeof AuthenticationControllerApi | typeof AwsCredentialsControllerApi | typeof BranchLinkControllerApi | typeof CaptchaControllerApi | typeof CaseActionsControllerApi | typeof CaseControllerApi | typeof CaseCounterOfferControllerApi | typeof CaseCreationControllerApi | typeof CaseDeclineControllerApi | typeof CaseNotesControllerApi | typeof CasePaymentControllerApi | typeof CaseReferralCodeControllerApi | typeof CaseRefundControllerApi | typeof CaseResolutionControllerApi | typeof CaseStatusControllerApi | typeof CaseTransferControllerApi | typeof CaseUserControllerApi | typeof CitationAuditControllerApi | typeof CitationControllerApi | typeof CoachingCardsControllerApi | typeof ConfigurationControllerApi | typeof ConsoleListControllerApi | typeof ContactLoopWebhookControllerApi | typeof ContactTimelineControllerApi | typeof ConversationControllerApi | typeof CountyControllerApi | typeof CourtControllerApi | typeof CrmControllerApi | typeof CustomerLeadControllerApi | typeof CustomerReviewControllerApi | typeof CustomerServiceAgentBookingsControllerApi | typeof CustomerServiceAgentControllerApi | typeof DashboardControllerApi | typeof DirectMailControllerApi | typeof DripControllerApi | typeof DripWebhooksControllerApi | typeof DriverLicenseControllerApi | typeof EmployeeControllerApi | typeof EventBridgeEmailNotificationControllerApi | typeof ExternalContentVoteControllerApi | typeof ExternalTicketLookupControllerApi | typeof FeedbackControllerApi | typeof FreshcallerControllerApi | typeof FreshdeskTicketControllerApi | typeof GetCaseControllerApi | typeof HouseholdMateControllerApi | typeof HubspotWebhookControllerApi | typeof InsuranceCalculatorControllerApi | typeof IntercomTicketControllerApi | typeof IntercomWebhookControllerApi | typeof LawfirmCaseDecisionControllerApi | typeof LawfirmCasesControllerApi | typeof LawfirmControllerApi | typeof LawfirmDashboardControllerApi | typeof LawfirmDocumentControllerApi | typeof LawfirmFeeCoverageControllerApi | typeof LawfirmPaymentModelControllerApi | typeof LawfirmRatesControllerApi | typeof LawfirmSettingsControllerApi | typeof LawfirmStorefrontControllerApi | typeof LawfirmSurchargeControllerApi | typeof LawfirmTransactionsControllerApi | typeof LawyerControllerApi | typeof LegalServicesControllerApi | typeof LineItemControllerApi | typeof ListCasesControllerApi | typeof MediaCreationControllerApi | typeof MessagesControllerApi | typeof NotesControllerApi | typeof OcrPipelineControllerApi | typeof OcrPredictionControllerApi | typeof OnDemandRequestControllerApi | typeof OneTimePasswordControllerApi | typeof PhoneLeadsControllerApi | typeof PushNotificationControllerApi | typeof RecurringBillingControllerApi | typeof RefLinkControllerApi | typeof ReferralCodeControllerApi | typeof ReferralControllerApi | typeof ReferralSourceControllerApi | typeof RefundEligibilityControllerApi | typeof RegistrationControllerApi | typeof ReportingControllerApi | typeof ScheduledTaskControllerApi | typeof ShortLivedTokenControllerApi | typeof SingleSignOnControllerApi | typeof SnsListenerControllerApi | typeof SocialLoginControllerApi | typeof StripeCardControllerApi | typeof StripeControllerApi | typeof StripeSyncControllerApi | typeof StripeWebhookControllerApi | typeof TicketReviewControllerApi | typeof UrlRedirectControllerApi | typeof UserAccountControllerApi | typeof UserAuditControllerApi | typeof UserControllerApi | typeof UserPasswordControllerApi | typeof UserProfileControllerApi | typeof UserSearchControllerApi | typeof UserSettingsControllerApi | typeof UserSocialProfileControllerApi | typeof UtilityControllerApi | typeof ValidationControllerApi | typeof VerificationControllerApi | typeof ViolationControllerApi | typeof ViolationPenaltyControllerApi | typeof WatchlistsControllerApi | typeof WebSocketControllerApi | typeof WebsocketMessageControllerApi | typeof WorkflowStateControllerApi)[];
@@ -180,6 +180,8 @@ export * from './ReportingControllerApi';
180
180
  import { ReportingControllerApi } from './ReportingControllerApi';
181
181
  export * from './ScheduledTaskControllerApi';
182
182
  import { ScheduledTaskControllerApi } from './ScheduledTaskControllerApi';
183
+ export * from './ShortLivedTokenControllerApi';
184
+ import { ShortLivedTokenControllerApi } from './ShortLivedTokenControllerApi';
183
185
  export * from './SingleSignOnControllerApi';
184
186
  import { SingleSignOnControllerApi } from './SingleSignOnControllerApi';
185
187
  export * from './SnsListenerControllerApi';
@@ -232,4 +234,4 @@ export * from './WebsocketMessageControllerApi';
232
234
  import { WebsocketMessageControllerApi } from './WebsocketMessageControllerApi';
233
235
  export * from './WorkflowStateControllerApi';
234
236
  import { WorkflowStateControllerApi } from './WorkflowStateControllerApi';
235
- export const APIS = [ActionRequiredControllerApi, ActivityFeedControllerApi, AddressControllerApi, AlertNotificationControllerApi, AppEventsControllerApi, AuditLawfirmEventsControllerApi, AuditLogControllerApi, AuthenticationControllerApi, AwsCredentialsControllerApi, BranchLinkControllerApi, CaptchaControllerApi, CaseActionsControllerApi, CaseControllerApi, CaseCounterOfferControllerApi, CaseCreationControllerApi, CaseDeclineControllerApi, CaseNotesControllerApi, CasePaymentControllerApi, CaseReferralCodeControllerApi, CaseRefundControllerApi, CaseResolutionControllerApi, CaseStatusControllerApi, CaseTransferControllerApi, CaseUserControllerApi, CitationAuditControllerApi, CitationControllerApi, CoachingCardsControllerApi, ConfigurationControllerApi, ConsoleListControllerApi, ContactLoopWebhookControllerApi, ContactTimelineControllerApi, ConversationControllerApi, CountyControllerApi, CourtControllerApi, CrmControllerApi, CustomerLeadControllerApi, CustomerReviewControllerApi, CustomerServiceAgentBookingsControllerApi, CustomerServiceAgentControllerApi, DashboardControllerApi, DirectMailControllerApi, DripControllerApi, DripWebhooksControllerApi, DriverLicenseControllerApi, EmployeeControllerApi, EventBridgeEmailNotificationControllerApi, ExternalContentVoteControllerApi, ExternalTicketLookupControllerApi, FeedbackControllerApi, FreshcallerControllerApi, FreshdeskTicketControllerApi, GetCaseControllerApi, HouseholdMateControllerApi, HubspotWebhookControllerApi, InsuranceCalculatorControllerApi, IntercomTicketControllerApi, IntercomWebhookControllerApi, LawfirmCaseDecisionControllerApi, LawfirmCasesControllerApi, LawfirmControllerApi, LawfirmDashboardControllerApi, LawfirmDocumentControllerApi, LawfirmFeeCoverageControllerApi, LawfirmPaymentModelControllerApi, LawfirmRatesControllerApi, LawfirmSettingsControllerApi, LawfirmStorefrontControllerApi, LawfirmSurchargeControllerApi, LawfirmTransactionsControllerApi, LawyerControllerApi, LegalServicesControllerApi, LineItemControllerApi, ListCasesControllerApi, MediaCreationControllerApi, MessagesControllerApi, NotesControllerApi, OcrPipelineControllerApi, OcrPredictionControllerApi, OnDemandRequestControllerApi, OneTimePasswordControllerApi, PhoneLeadsControllerApi, PushNotificationControllerApi, RecurringBillingControllerApi, RefLinkControllerApi, ReferralCodeControllerApi, ReferralControllerApi, ReferralSourceControllerApi, RefundEligibilityControllerApi, RegistrationControllerApi, ReportingControllerApi, ScheduledTaskControllerApi, SingleSignOnControllerApi, SnsListenerControllerApi, SocialLoginControllerApi, StripeCardControllerApi, StripeControllerApi, StripeSyncControllerApi, StripeWebhookControllerApi, TicketReviewControllerApi, UrlRedirectControllerApi, UserAccountControllerApi, UserAuditControllerApi, UserControllerApi, UserPasswordControllerApi, UserProfileControllerApi, UserSearchControllerApi, UserSettingsControllerApi, UserSocialProfileControllerApi, UtilityControllerApi, ValidationControllerApi, VerificationControllerApi, ViolationControllerApi, ViolationPenaltyControllerApi, WatchlistsControllerApi, WebSocketControllerApi, WebsocketMessageControllerApi, WorkflowStateControllerApi];
237
+ export const APIS = [ActionRequiredControllerApi, ActivityFeedControllerApi, AddressControllerApi, AlertNotificationControllerApi, AppEventsControllerApi, AuditLawfirmEventsControllerApi, AuditLogControllerApi, AuthenticationControllerApi, AwsCredentialsControllerApi, BranchLinkControllerApi, CaptchaControllerApi, CaseActionsControllerApi, CaseControllerApi, CaseCounterOfferControllerApi, CaseCreationControllerApi, CaseDeclineControllerApi, CaseNotesControllerApi, CasePaymentControllerApi, CaseReferralCodeControllerApi, CaseRefundControllerApi, CaseResolutionControllerApi, CaseStatusControllerApi, CaseTransferControllerApi, CaseUserControllerApi, CitationAuditControllerApi, CitationControllerApi, CoachingCardsControllerApi, ConfigurationControllerApi, ConsoleListControllerApi, ContactLoopWebhookControllerApi, ContactTimelineControllerApi, ConversationControllerApi, CountyControllerApi, CourtControllerApi, CrmControllerApi, CustomerLeadControllerApi, CustomerReviewControllerApi, CustomerServiceAgentBookingsControllerApi, CustomerServiceAgentControllerApi, DashboardControllerApi, DirectMailControllerApi, DripControllerApi, DripWebhooksControllerApi, DriverLicenseControllerApi, EmployeeControllerApi, EventBridgeEmailNotificationControllerApi, ExternalContentVoteControllerApi, ExternalTicketLookupControllerApi, FeedbackControllerApi, FreshcallerControllerApi, FreshdeskTicketControllerApi, GetCaseControllerApi, HouseholdMateControllerApi, HubspotWebhookControllerApi, InsuranceCalculatorControllerApi, IntercomTicketControllerApi, IntercomWebhookControllerApi, LawfirmCaseDecisionControllerApi, LawfirmCasesControllerApi, LawfirmControllerApi, LawfirmDashboardControllerApi, LawfirmDocumentControllerApi, LawfirmFeeCoverageControllerApi, LawfirmPaymentModelControllerApi, LawfirmRatesControllerApi, LawfirmSettingsControllerApi, LawfirmStorefrontControllerApi, LawfirmSurchargeControllerApi, LawfirmTransactionsControllerApi, LawyerControllerApi, LegalServicesControllerApi, LineItemControllerApi, ListCasesControllerApi, MediaCreationControllerApi, MessagesControllerApi, NotesControllerApi, OcrPipelineControllerApi, OcrPredictionControllerApi, OnDemandRequestControllerApi, OneTimePasswordControllerApi, PhoneLeadsControllerApi, PushNotificationControllerApi, RecurringBillingControllerApi, RefLinkControllerApi, ReferralCodeControllerApi, ReferralControllerApi, ReferralSourceControllerApi, RefundEligibilityControllerApi, RegistrationControllerApi, ReportingControllerApi, ScheduledTaskControllerApi, ShortLivedTokenControllerApi, SingleSignOnControllerApi, SnsListenerControllerApi, SocialLoginControllerApi, StripeCardControllerApi, StripeControllerApi, StripeSyncControllerApi, StripeWebhookControllerApi, TicketReviewControllerApi, UrlRedirectControllerApi, UserAccountControllerApi, UserAuditControllerApi, UserControllerApi, UserPasswordControllerApi, UserProfileControllerApi, UserSearchControllerApi, UserSettingsControllerApi, UserSocialProfileControllerApi, UtilityControllerApi, ValidationControllerApi, VerificationControllerApi, ViolationControllerApi, ViolationPenaltyControllerApi, WatchlistsControllerApi, WebSocketControllerApi, WebsocketMessageControllerApi, WorkflowStateControllerApi];
@@ -92,6 +92,7 @@ const apiModule = angular.module('api', [])
92
92
  .service('RegistrationControllerApi', api.RegistrationControllerApi)
93
93
  .service('ReportingControllerApi', api.ReportingControllerApi)
94
94
  .service('ScheduledTaskControllerApi', api.ScheduledTaskControllerApi)
95
+ .service('ShortLivedTokenControllerApi', api.ShortLivedTokenControllerApi)
95
96
  .service('SingleSignOnControllerApi', api.SingleSignOnControllerApi)
96
97
  .service('SnsListenerControllerApi', api.SnsListenerControllerApi)
97
98
  .service('SocialLoginControllerApi', api.SocialLoginControllerApi)
@@ -0,0 +1,14 @@
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
+ export interface IssueShortLivedTokenResponse {
13
+ "token"?: string;
14
+ }
@@ -0,0 +1,12 @@
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
+ export {};
@@ -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';
@@ -0,0 +1,29 @@
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 * as runtime from '../runtime';
13
+ import { IssueShortLivedTokenResponse } from '../models';
14
+ export interface IssueShortLivedTokenUsingGETRequest {
15
+ userId: number;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class ShortLivedTokenControllerApi extends runtime.BaseAPI {
21
+ /**
22
+ * issueShortLivedToken
23
+ */
24
+ issueShortLivedTokenUsingGETRaw(requestParameters: IssueShortLivedTokenUsingGETRequest): Promise<runtime.ApiResponse<IssueShortLivedTokenResponse>>;
25
+ /**
26
+ * issueShortLivedToken
27
+ */
28
+ issueShortLivedTokenUsingGET(requestParameters: IssueShortLivedTokenUsingGETRequest): Promise<IssueShortLivedTokenResponse>;
29
+ }
@@ -0,0 +1,57 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { IssueShortLivedTokenResponseFromJSON, } from '../models';
25
+ /**
26
+ *
27
+ */
28
+ export class ShortLivedTokenControllerApi extends runtime.BaseAPI {
29
+ /**
30
+ * issueShortLivedToken
31
+ */
32
+ issueShortLivedTokenUsingGETRaw(requestParameters) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ if (requestParameters.userId === null || requestParameters.userId === undefined) {
35
+ throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling issueShortLivedTokenUsingGET.');
36
+ }
37
+ const queryParameters = {};
38
+ const headerParameters = {};
39
+ const response = yield this.request({
40
+ path: `/api/v1/users/{userId}/short-lived-token`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
41
+ method: 'GET',
42
+ headers: headerParameters,
43
+ query: queryParameters,
44
+ });
45
+ return new runtime.JSONApiResponse(response, (jsonValue) => IssueShortLivedTokenResponseFromJSON(jsonValue));
46
+ });
47
+ }
48
+ /**
49
+ * issueShortLivedToken
50
+ */
51
+ issueShortLivedTokenUsingGET(requestParameters) {
52
+ return __awaiter(this, void 0, void 0, function* () {
53
+ const response = yield this.issueShortLivedTokenUsingGETRaw(requestParameters);
54
+ return yield response.value();
55
+ });
56
+ }
57
+ }
@@ -12,6 +12,8 @@
12
12
  import * as runtime from '../runtime';
13
13
  export interface ConnectUsingPOSTRequest {
14
14
  connectionId: string;
15
+ token: string;
16
+ userId: number;
15
17
  }
16
18
  export interface DefaultHandlerUsingPOSTRequest {
17
19
  connectionId: string;
@@ -26,11 +28,11 @@ export declare class WebSocketControllerApi extends runtime.BaseAPI {
26
28
  /**
27
29
  * connect
28
30
  */
29
- connectUsingPOSTRaw(requestParameters: ConnectUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
31
+ connectUsingPOSTRaw(requestParameters: ConnectUsingPOSTRequest): Promise<runtime.ApiResponse<object>>;
30
32
  /**
31
33
  * connect
32
34
  */
33
- connectUsingPOST(requestParameters: ConnectUsingPOSTRequest): Promise<void>;
35
+ connectUsingPOST(requestParameters: ConnectUsingPOSTRequest): Promise<object>;
34
36
  /**
35
37
  * defaultHandler
36
38
  */
@@ -33,7 +33,19 @@ export class WebSocketControllerApi extends runtime.BaseAPI {
33
33
  if (requestParameters.connectionId === null || requestParameters.connectionId === undefined) {
34
34
  throw new runtime.RequiredError('connectionId', 'Required parameter requestParameters.connectionId was null or undefined when calling connectUsingPOST.');
35
35
  }
36
+ if (requestParameters.token === null || requestParameters.token === undefined) {
37
+ throw new runtime.RequiredError('token', 'Required parameter requestParameters.token was null or undefined when calling connectUsingPOST.');
38
+ }
39
+ if (requestParameters.userId === null || requestParameters.userId === undefined) {
40
+ throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling connectUsingPOST.');
41
+ }
36
42
  const queryParameters = {};
43
+ if (requestParameters.token !== undefined) {
44
+ queryParameters['token'] = requestParameters.token;
45
+ }
46
+ if (requestParameters.userId !== undefined) {
47
+ queryParameters['userId'] = requestParameters.userId;
48
+ }
37
49
  const headerParameters = {};
38
50
  if (requestParameters.connectionId !== undefined && requestParameters.connectionId !== null) {
39
51
  headerParameters['connectionId'] = String(requestParameters.connectionId);
@@ -44,7 +56,7 @@ export class WebSocketControllerApi extends runtime.BaseAPI {
44
56
  headers: headerParameters,
45
57
  query: queryParameters,
46
58
  });
47
- return new runtime.VoidApiResponse(response);
59
+ return new runtime.JSONApiResponse(response);
48
60
  });
49
61
  }
50
62
  /**
@@ -52,7 +64,8 @@ export class WebSocketControllerApi extends runtime.BaseAPI {
52
64
  */
53
65
  connectUsingPOST(requestParameters) {
54
66
  return __awaiter(this, void 0, void 0, function* () {
55
- yield this.connectUsingPOSTRaw(requestParameters);
67
+ const response = yield this.connectUsingPOSTRaw(requestParameters);
68
+ return yield response.value();
56
69
  });
57
70
  }
58
71
  /**
@@ -89,6 +89,7 @@ export * from './RefundEligibilityControllerApi';
89
89
  export * from './RegistrationControllerApi';
90
90
  export * from './ReportingControllerApi';
91
91
  export * from './ScheduledTaskControllerApi';
92
+ export * from './ShortLivedTokenControllerApi';
92
93
  export * from './SingleSignOnControllerApi';
93
94
  export * from './SnsListenerControllerApi';
94
95
  export * from './SocialLoginControllerApi';
@@ -89,6 +89,7 @@ export * from './RefundEligibilityControllerApi';
89
89
  export * from './RegistrationControllerApi';
90
90
  export * from './ReportingControllerApi';
91
91
  export * from './ScheduledTaskControllerApi';
92
+ export * from './ShortLivedTokenControllerApi';
92
93
  export * from './SingleSignOnControllerApi';
93
94
  export * from './SnsListenerControllerApi';
94
95
  export * from './SocialLoginControllerApi';
@@ -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
+ }
@@ -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 */
@@ -35585,6 +35606,50 @@ export interface operations {
35585
35606
  };
35586
35607
  };
35587
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
+ };
35588
35653
  loginWithSSOUsingPOST: {
35589
35654
  parameters: {
35590
35655
  query: {
@@ -40995,7 +41060,12 @@ export interface operations {
40995
41060
  };
40996
41061
  connectUsingPOST: {
40997
41062
  parameters: {
40998
- query?: never;
41063
+ query: {
41064
+ /** @description token */
41065
+ token: string;
41066
+ /** @description userId */
41067
+ userId: number;
41068
+ };
40999
41069
  header: {
41000
41070
  /** @description connectionId */
41001
41071
  connectionId: string;
@@ -41010,7 +41080,9 @@ export interface operations {
41010
41080
  headers: {
41011
41081
  [name: string]: unknown;
41012
41082
  };
41013
- content?: never;
41083
+ content: {
41084
+ "*/*": Record<string, never>;
41085
+ };
41014
41086
  };
41015
41087
  /** @description Created */
41016
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.168",
3
+ "version": "2.5.169",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"