@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.
- package/dist/angular/.openapi-generator/FILES +2 -0
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/lawfirmController.service.ts +18 -8
- package/dist/angular/api/pushNotificationController.service.ts +12 -4
- package/dist/angular/api/shortLivedTokenController.service.ts +152 -0
- package/dist/angular/api/webSocketController.service.ts +25 -5
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/issueShortLivedTokenResponse.ts +17 -0
- package/dist/angular/model/models.ts +1 -0
- package/dist/otrBackendService.js +69 -0
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/LawfirmControllerApi.d.ts +4 -2
- package/dist/typescript/api/LawfirmControllerApi.js +10 -2
- package/dist/typescript/api/PushNotificationControllerApi.d.ts +2 -1
- package/dist/typescript/api/PushNotificationControllerApi.js +5 -1
- package/dist/typescript/api/ShortLivedTokenControllerApi.d.ts +26 -0
- package/dist/typescript/api/ShortLivedTokenControllerApi.js +49 -0
- package/dist/typescript/api/WebSocketControllerApi.d.ts +3 -1
- package/dist/typescript/api/WebSocketControllerApi.js +17 -1
- package/dist/typescript/api/api.d.ts +3 -1
- package/dist/typescript/api/api.js +3 -1
- package/dist/typescript/api.module.js +1 -0
- package/dist/typescript/model/IssueShortLivedTokenResponse.d.ts +14 -0
- package/dist/typescript/model/IssueShortLivedTokenResponse.js +12 -0
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +2 -0
- package/dist/typescript-fetch/apis/LawfirmControllerApi.js +6 -0
- package/dist/typescript-fetch/apis/PushNotificationControllerApi.d.ts +1 -0
- package/dist/typescript-fetch/apis/PushNotificationControllerApi.js +3 -0
- package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.d.ts +29 -0
- package/dist/typescript-fetch/apis/ShortLivedTokenControllerApi.js +57 -0
- package/dist/typescript-fetch/apis/WebSocketControllerApi.d.ts +4 -2
- package/dist/typescript-fetch/apis/WebSocketControllerApi.js +15 -2
- package/dist/typescript-fetch/apis/index.d.ts +1 -0
- package/dist/typescript-fetch/apis/index.js +1 -0
- package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.d.ts +27 -0
- package/dist/typescript-fetch/models/IssueShortLivedTokenResponse.js +36 -0
- package/dist/typescript-fetch/models/index.d.ts +1 -0
- package/dist/typescript-fetch/models/index.js +1 -0
- package/dist/typescript-open-api/otr-backend.d.ts +82 -3
- package/package.json +1 -1
|
@@ -73,8 +73,9 @@ export declare class LawfirmControllerApi {
|
|
|
73
73
|
* @param query query
|
|
74
74
|
* @param regionCodes regionCodes
|
|
75
75
|
* @param statusCategories statusCategories
|
|
76
|
+
* @param userId userId
|
|
76
77
|
*/
|
|
77
|
-
getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', extraHttpRequestParams?: any): ng.IHttpPromise<models.GetLawfirmInboxMessagesResponse>;
|
|
78
|
+
getInboxMessagesUsingGET(lawfirmId: number, caseCounterOfferStatuses?: 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN', caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', countyIds?: number, courtDateFilter?: 'NO_COURT_DATE' | 'PAST_DUE' | 'PAST_DUE_AND_NO_COURT_DATE' | 'UPCOMING', courtIds?: number, filter?: 'ARCHIVE' | 'DEFAULT' | 'FLAG_ONLY' | 'STAR_ONLY', hasUnread?: boolean, isOverdue?: boolean, latestMessageBy?: 'ADMIN' | 'CLIENT' | 'LAWYER', lawfirmCaseDecisionStatus?: 'ACCEPTED' | 'CREATED' | 'DECLINED' | 'PENDING', length?: number, page?: number, query?: string, regionCodes?: 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', userId?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetLawfirmInboxMessagesResponse>;
|
|
78
79
|
/**
|
|
79
80
|
*
|
|
80
81
|
* @summary getLawfirmAddresses
|
|
@@ -98,8 +99,9 @@ export declare class LawfirmControllerApi {
|
|
|
98
99
|
* @summary getLawfirmCaseStats
|
|
99
100
|
* @param lawfirmId lawfirmId
|
|
100
101
|
* @param includeExtendedCounts includeExtendedCounts
|
|
102
|
+
* @param userId userId
|
|
101
103
|
*/
|
|
102
|
-
getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetLawfirmCaseStatsResponse>;
|
|
104
|
+
getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, userId?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetLawfirmCaseStatsResponse>;
|
|
103
105
|
/**
|
|
104
106
|
*
|
|
105
107
|
* @summary getLawfirmJobTitles
|
|
@@ -195,8 +195,9 @@ export class LawfirmControllerApi {
|
|
|
195
195
|
* @param query query
|
|
196
196
|
* @param regionCodes regionCodes
|
|
197
197
|
* @param statusCategories statusCategories
|
|
198
|
+
* @param userId userId
|
|
198
199
|
*/
|
|
199
|
-
getInboxMessagesUsingGET(lawfirmId, caseCounterOfferStatuses, caseStatuses, countyIds, courtDateFilter, courtIds, filter, hasUnread, isOverdue, latestMessageBy, lawfirmCaseDecisionStatus, length, page, query, regionCodes, statusCategories, extraHttpRequestParams) {
|
|
200
|
+
getInboxMessagesUsingGET(lawfirmId, caseCounterOfferStatuses, caseStatuses, countyIds, courtDateFilter, courtIds, filter, hasUnread, isOverdue, latestMessageBy, lawfirmCaseDecisionStatus, length, page, query, regionCodes, statusCategories, userId, extraHttpRequestParams) {
|
|
200
201
|
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/inbox-messages'
|
|
201
202
|
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
202
203
|
let queryParameters = {};
|
|
@@ -250,6 +251,9 @@ export class LawfirmControllerApi {
|
|
|
250
251
|
if (statusCategories !== undefined) {
|
|
251
252
|
queryParameters['statusCategories'] = statusCategories;
|
|
252
253
|
}
|
|
254
|
+
if (userId !== undefined) {
|
|
255
|
+
queryParameters['userId'] = userId;
|
|
256
|
+
}
|
|
253
257
|
let httpRequestParams = {
|
|
254
258
|
method: 'GET',
|
|
255
259
|
url: localVarPath,
|
|
@@ -343,8 +347,9 @@ export class LawfirmControllerApi {
|
|
|
343
347
|
* @summary getLawfirmCaseStats
|
|
344
348
|
* @param lawfirmId lawfirmId
|
|
345
349
|
* @param includeExtendedCounts includeExtendedCounts
|
|
350
|
+
* @param userId userId
|
|
346
351
|
*/
|
|
347
|
-
getLawfirmCaseStatsUsingGET(lawfirmId, includeExtendedCounts, extraHttpRequestParams) {
|
|
352
|
+
getLawfirmCaseStatsUsingGET(lawfirmId, includeExtendedCounts, userId, extraHttpRequestParams) {
|
|
348
353
|
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/cases/stats'
|
|
349
354
|
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
350
355
|
let queryParameters = {};
|
|
@@ -356,6 +361,9 @@ export class LawfirmControllerApi {
|
|
|
356
361
|
if (includeExtendedCounts !== undefined) {
|
|
357
362
|
queryParameters['includeExtendedCounts'] = includeExtendedCounts;
|
|
358
363
|
}
|
|
364
|
+
if (userId !== undefined) {
|
|
365
|
+
queryParameters['userId'] = userId;
|
|
366
|
+
}
|
|
359
367
|
let httpRequestParams = {
|
|
360
368
|
method: 'GET',
|
|
361
369
|
url: localVarPath,
|
|
@@ -43,8 +43,9 @@ export declare class PushNotificationControllerApi {
|
|
|
43
43
|
* @summary markPageTypesAsRead
|
|
44
44
|
* @param caseId caseId
|
|
45
45
|
* @param request request
|
|
46
|
+
* @param userId userId
|
|
46
47
|
*/
|
|
47
|
-
markPageTypesAsReadUsingDELETE(caseId: string, request: models.DeleteNotificationByPagesRequest, extraHttpRequestParams?: any): ng.IHttpPromise<models.NotificationEvents>;
|
|
48
|
+
markPageTypesAsReadUsingDELETE(caseId: string, request: models.DeleteNotificationByPagesRequest, userId?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.NotificationEvents>;
|
|
48
49
|
/**
|
|
49
50
|
*
|
|
50
51
|
* @summary markRead
|
|
@@ -112,8 +112,9 @@ export class PushNotificationControllerApi {
|
|
|
112
112
|
* @summary markPageTypesAsRead
|
|
113
113
|
* @param caseId caseId
|
|
114
114
|
* @param request request
|
|
115
|
+
* @param userId userId
|
|
115
116
|
*/
|
|
116
|
-
markPageTypesAsReadUsingDELETE(caseId, request, extraHttpRequestParams) {
|
|
117
|
+
markPageTypesAsReadUsingDELETE(caseId, request, userId, extraHttpRequestParams) {
|
|
117
118
|
const localVarPath = this.basePath + '/api/v2/notifications/unread/{caseId}'
|
|
118
119
|
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
|
|
119
120
|
let queryParameters = {};
|
|
@@ -126,6 +127,9 @@ export class PushNotificationControllerApi {
|
|
|
126
127
|
if (request === null || request === undefined) {
|
|
127
128
|
throw new Error('Required parameter request was null or undefined when calling markPageTypesAsReadUsingDELETE.');
|
|
128
129
|
}
|
|
130
|
+
if (userId !== undefined) {
|
|
131
|
+
queryParameters['userId'] = userId;
|
|
132
|
+
}
|
|
129
133
|
let httpRequestParams = {
|
|
130
134
|
method: 'DELETE',
|
|
131
135
|
url: localVarPath,
|
|
@@ -0,0 +1,26 @@
|
|
|
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 models from '../model/models';
|
|
13
|
+
export declare class ShortLivedTokenControllerApi {
|
|
14
|
+
protected $http: ng.IHttpService;
|
|
15
|
+
protected $httpParamSerializer?: (d: any) => any;
|
|
16
|
+
protected basePath: string;
|
|
17
|
+
defaultHeaders: any;
|
|
18
|
+
static $inject: string[];
|
|
19
|
+
constructor($http: ng.IHttpService, $httpParamSerializer?: (d: any) => any, basePath?: string);
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary issueShortLivedToken
|
|
23
|
+
* @param userId userId
|
|
24
|
+
*/
|
|
25
|
+
issueShortLivedTokenUsingGET(userId: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.IssueShortLivedTokenResponse>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
13
|
+
export class ShortLivedTokenControllerApi {
|
|
14
|
+
constructor($http, $httpParamSerializer, basePath) {
|
|
15
|
+
this.$http = $http;
|
|
16
|
+
this.$httpParamSerializer = $httpParamSerializer;
|
|
17
|
+
this.basePath = 'http://otr-backend-service-us-devo.offtherecord.com';
|
|
18
|
+
this.defaultHeaders = {};
|
|
19
|
+
if (basePath !== undefined) {
|
|
20
|
+
this.basePath = basePath;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary issueShortLivedToken
|
|
26
|
+
* @param userId userId
|
|
27
|
+
*/
|
|
28
|
+
issueShortLivedTokenUsingGET(userId, extraHttpRequestParams) {
|
|
29
|
+
const localVarPath = this.basePath + '/api/v1/users/{userId}/short-lived-token'
|
|
30
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
31
|
+
let queryParameters = {};
|
|
32
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
33
|
+
// verify required parameter 'userId' is not null or undefined
|
|
34
|
+
if (userId === null || userId === undefined) {
|
|
35
|
+
throw new Error('Required parameter userId was null or undefined when calling issueShortLivedTokenUsingGET.');
|
|
36
|
+
}
|
|
37
|
+
let httpRequestParams = {
|
|
38
|
+
method: 'GET',
|
|
39
|
+
url: localVarPath,
|
|
40
|
+
params: queryParameters,
|
|
41
|
+
headers: headerParams
|
|
42
|
+
};
|
|
43
|
+
if (extraHttpRequestParams) {
|
|
44
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
45
|
+
}
|
|
46
|
+
return this.$http(httpRequestParams);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
ShortLivedTokenControllerApi.$inject = ['$http', '$httpParamSerializer', 'basePath'];
|
|
@@ -20,8 +20,10 @@ export declare class WebSocketControllerApi {
|
|
|
20
20
|
*
|
|
21
21
|
* @summary connect
|
|
22
22
|
* @param connectionId connectionId
|
|
23
|
+
* @param token token
|
|
24
|
+
* @param userId userId
|
|
23
25
|
*/
|
|
24
|
-
connectUsingPOST(connectionId: string, extraHttpRequestParams?: any): ng.IHttpPromise<
|
|
26
|
+
connectUsingPOST(connectionId: string, token: string, userId: number, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
|
|
25
27
|
/**
|
|
26
28
|
*
|
|
27
29
|
* @summary defaultHandler
|
|
@@ -24,8 +24,10 @@ export class WebSocketControllerApi {
|
|
|
24
24
|
*
|
|
25
25
|
* @summary connect
|
|
26
26
|
* @param connectionId connectionId
|
|
27
|
+
* @param token token
|
|
28
|
+
* @param userId userId
|
|
27
29
|
*/
|
|
28
|
-
connectUsingPOST(connectionId, extraHttpRequestParams) {
|
|
30
|
+
connectUsingPOST(connectionId, token, userId, extraHttpRequestParams) {
|
|
29
31
|
const localVarPath = this.basePath + '/api/v1/websocket/connect';
|
|
30
32
|
let queryParameters = {};
|
|
31
33
|
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -33,6 +35,20 @@ export class WebSocketControllerApi {
|
|
|
33
35
|
if (connectionId === null || connectionId === undefined) {
|
|
34
36
|
throw new Error('Required parameter connectionId was null or undefined when calling connectUsingPOST.');
|
|
35
37
|
}
|
|
38
|
+
// verify required parameter 'token' is not null or undefined
|
|
39
|
+
if (token === null || token === undefined) {
|
|
40
|
+
throw new Error('Required parameter token was null or undefined when calling connectUsingPOST.');
|
|
41
|
+
}
|
|
42
|
+
// verify required parameter 'userId' is not null or undefined
|
|
43
|
+
if (userId === null || userId === undefined) {
|
|
44
|
+
throw new Error('Required parameter userId was null or undefined when calling connectUsingPOST.');
|
|
45
|
+
}
|
|
46
|
+
if (token !== undefined) {
|
|
47
|
+
queryParameters['token'] = token;
|
|
48
|
+
}
|
|
49
|
+
if (userId !== undefined) {
|
|
50
|
+
queryParameters['userId'] = userId;
|
|
51
|
+
}
|
|
36
52
|
headerParams['connectionId'] = connectionId;
|
|
37
53
|
let httpRequestParams = {
|
|
38
54
|
method: 'POST',
|
|
@@ -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';
|
|
@@ -45,6 +45,7 @@ export interface GetInboxMessagesUsingGETRequest {
|
|
|
45
45
|
query?: string;
|
|
46
46
|
regionCodes?: GetInboxMessagesUsingGETRegionCodesEnum;
|
|
47
47
|
statusCategories?: GetInboxMessagesUsingGETStatusCategoriesEnum;
|
|
48
|
+
userId?: number;
|
|
48
49
|
}
|
|
49
50
|
export interface GetLawfirmAddressesUsingGETRequest {
|
|
50
51
|
lawfirmId: number;
|
|
@@ -58,6 +59,7 @@ export interface GetLawfirmByUrlUsingGETRequest {
|
|
|
58
59
|
export interface GetLawfirmCaseStatsUsingGETRequest {
|
|
59
60
|
lawfirmId: number;
|
|
60
61
|
includeExtendedCounts?: boolean;
|
|
62
|
+
userId?: number;
|
|
61
63
|
}
|
|
62
64
|
export interface GetLawfirmLawyersUsingGETRequest {
|
|
63
65
|
lawfirmId: number;
|
|
@@ -253,6 +253,9 @@ export class LawfirmControllerApi extends runtime.BaseAPI {
|
|
|
253
253
|
if (requestParameters.statusCategories !== undefined) {
|
|
254
254
|
queryParameters['statusCategories'] = requestParameters.statusCategories;
|
|
255
255
|
}
|
|
256
|
+
if (requestParameters.userId !== undefined) {
|
|
257
|
+
queryParameters['userId'] = requestParameters.userId;
|
|
258
|
+
}
|
|
256
259
|
const headerParameters = {};
|
|
257
260
|
const response = yield this.request({
|
|
258
261
|
path: `/api/v1/lawfirms/{lawfirmId}/inbox-messages`.replace(`{${"lawfirmId"}}`, encodeURIComponent(String(requestParameters.lawfirmId))),
|
|
@@ -371,6 +374,9 @@ export class LawfirmControllerApi extends runtime.BaseAPI {
|
|
|
371
374
|
if (requestParameters.includeExtendedCounts !== undefined) {
|
|
372
375
|
queryParameters['includeExtendedCounts'] = requestParameters.includeExtendedCounts;
|
|
373
376
|
}
|
|
377
|
+
if (requestParameters.userId !== undefined) {
|
|
378
|
+
queryParameters['userId'] = requestParameters.userId;
|
|
379
|
+
}
|
|
374
380
|
const headerParameters = {};
|
|
375
381
|
const response = yield this.request({
|
|
376
382
|
path: `/api/v1/lawfirms/{lawfirmId}/cases/stats`.replace(`{${"lawfirmId"}}`, encodeURIComponent(String(requestParameters.lawfirmId))),
|
|
@@ -26,6 +26,7 @@ export interface MarkCaseNotificationsAsUnreadUsingPUTRequest {
|
|
|
26
26
|
export interface MarkPageTypesAsReadUsingDELETERequest {
|
|
27
27
|
caseId: string;
|
|
28
28
|
request: DeleteNotificationByPagesRequest;
|
|
29
|
+
userId?: number;
|
|
29
30
|
}
|
|
30
31
|
export interface MarkReadUsingDELETERequest {
|
|
31
32
|
caseId: string;
|
|
@@ -129,6 +129,9 @@ export class PushNotificationControllerApi extends runtime.BaseAPI {
|
|
|
129
129
|
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling markPageTypesAsReadUsingDELETE.');
|
|
130
130
|
}
|
|
131
131
|
const queryParameters = {};
|
|
132
|
+
if (requestParameters.userId !== undefined) {
|
|
133
|
+
queryParameters['userId'] = requestParameters.userId;
|
|
134
|
+
}
|
|
132
135
|
const headerParameters = {};
|
|
133
136
|
headerParameters['Content-Type'] = 'application/json';
|
|
134
137
|
const response = yield this.request({
|
|
@@ -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<
|
|
31
|
+
connectUsingPOSTRaw(requestParameters: ConnectUsingPOSTRequest): Promise<runtime.ApiResponse<object>>;
|
|
30
32
|
/**
|
|
31
33
|
* connect
|
|
32
34
|
*/
|
|
33
|
-
connectUsingPOST(requestParameters: ConnectUsingPOSTRequest): Promise<
|
|
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.
|
|
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;
|