@otr-app/shared-backend-generated-client 2.4.17 → 2.4.19
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 +13 -0
- package/dist/angular/api/intercomTicketController.service.ts +72 -0
- package/dist/angular/api/lawfirmController.service.ts +12 -4
- package/dist/angular/model/admin.ts +19 -0
- package/dist/angular/model/attachment.ts +18 -0
- package/dist/angular/model/author.ts +20 -0
- package/dist/angular/model/firstContactReply.ts +19 -0
- package/dist/angular/model/intercomConversationResponse.ts +50 -0
- package/dist/angular/model/intercomSearchConversationsResponse.ts +19 -0
- package/dist/angular/model/models.ts +13 -0
- package/dist/angular/model/source.ts +36 -0
- package/dist/angular/model/statistics.ts +35 -0
- package/dist/angular/model/tag.ts +19 -0
- package/dist/angular/model/tags.ts +19 -0
- package/dist/angular/model/teammates.ts +19 -0
- package/dist/angular/model/topic.ts +19 -0
- package/dist/angular/model/topics.ts +20 -0
- package/dist/otrBackendService.js +49 -0
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/IntercomTicketControllerApi.d.ts +7 -0
- package/dist/typescript/api/IntercomTicketControllerApi.js +31 -0
- package/dist/typescript/api/LawfirmControllerApi.d.ts +2 -1
- package/dist/typescript/api/LawfirmControllerApi.js +5 -1
- package/dist/typescript/model/Admin.d.ts +16 -0
- package/dist/typescript/model/Admin.js +13 -0
- package/dist/typescript/model/Attachment.d.ts +15 -0
- package/dist/typescript/model/Attachment.js +13 -0
- package/dist/typescript/model/Author.d.ts +17 -0
- package/dist/typescript/model/Author.js +13 -0
- package/dist/typescript/model/FirstContactReply.d.ts +16 -0
- package/dist/typescript/model/FirstContactReply.js +13 -0
- package/dist/typescript/model/IntercomConversationResponse.d.ts +40 -0
- package/dist/typescript/model/IntercomConversationResponse.js +13 -0
- package/dist/typescript/model/IntercomSearchConversationsResponse.d.ts +16 -0
- package/dist/typescript/model/IntercomSearchConversationsResponse.js +13 -0
- package/dist/typescript/model/Source.d.ts +30 -0
- package/dist/typescript/model/Source.js +23 -0
- package/dist/typescript/model/Statistics.d.ts +32 -0
- package/dist/typescript/model/Statistics.js +13 -0
- package/dist/typescript/model/Tag.d.ts +16 -0
- package/dist/typescript/model/Tag.js +13 -0
- package/dist/typescript/model/Tags.d.ts +16 -0
- package/dist/typescript/model/Tags.js +13 -0
- package/dist/typescript/model/Teammates.d.ts +16 -0
- package/dist/typescript/model/Teammates.js +13 -0
- package/dist/typescript/model/Topic.d.ts +16 -0
- package/dist/typescript/model/Topic.js +13 -0
- package/dist/typescript/model/Topics.d.ts +17 -0
- package/dist/typescript/model/Topics.js +13 -0
- package/dist/typescript/model/models.d.ts +13 -0
- package/dist/typescript/model/models.js +13 -0
- package/package.json +1 -1
|
@@ -153,6 +153,7 @@ model/addressDomain.ts
|
|
|
153
153
|
model/addressDomainReq.ts
|
|
154
154
|
model/addressDomainRes.ts
|
|
155
155
|
model/addressEntity.ts
|
|
156
|
+
model/admin.ts
|
|
156
157
|
model/agentBookingStats.ts
|
|
157
158
|
model/agentBookingsSummary.ts
|
|
158
159
|
model/aggregateBySource.ts
|
|
@@ -167,7 +168,9 @@ model/appEventCreateRequest.ts
|
|
|
167
168
|
model/appearanceAttorneyDomain.ts
|
|
168
169
|
model/appleLoginRequest.ts
|
|
169
170
|
model/assignCitationOwnerRequest.ts
|
|
171
|
+
model/attachment.ts
|
|
170
172
|
model/auditLog.ts
|
|
173
|
+
model/author.ts
|
|
171
174
|
model/authorModel.ts
|
|
172
175
|
model/authorizeChargeForCasePaymentRequest.ts
|
|
173
176
|
model/authorizeChargeForCasePaymentResponse.ts
|
|
@@ -355,6 +358,7 @@ model/findMatchingUsersRequest.ts
|
|
|
355
358
|
model/findMatchingUsersResponse.ts
|
|
356
359
|
model/findsCourtsResponse.ts
|
|
357
360
|
model/fineInformation.ts
|
|
361
|
+
model/firstContactReply.ts
|
|
358
362
|
model/forwardMessageRequest.ts
|
|
359
363
|
model/freshDeskConversation.ts
|
|
360
364
|
model/freshDeskRequester.ts
|
|
@@ -520,7 +524,9 @@ model/initiateCaseCounterRequest.ts
|
|
|
520
524
|
model/initiateCaseCounterResponse.ts
|
|
521
525
|
model/insertCaseLineItemResponse.ts
|
|
522
526
|
model/insertInvoiceLineItemRequest.ts
|
|
527
|
+
model/intercomConversationResponse.ts
|
|
523
528
|
model/intercomCreateTicketResponse.ts
|
|
529
|
+
model/intercomSearchConversationsResponse.ts
|
|
524
530
|
model/intercomSearchTicketsResponse.ts
|
|
525
531
|
model/intercomTicketAttributes.ts
|
|
526
532
|
model/inviteHouseholdMateRequest.ts
|
|
@@ -762,7 +768,9 @@ model/socialLoginRequest.ts
|
|
|
762
768
|
model/socialLoginResponse.ts
|
|
763
769
|
model/socialLoginUser.ts
|
|
764
770
|
model/socialPhoneNumber.ts
|
|
771
|
+
model/source.ts
|
|
765
772
|
model/sqlResponse.ts
|
|
773
|
+
model/statistics.ts
|
|
766
774
|
model/stripeAccountLinkDomain.ts
|
|
767
775
|
model/stripeApplicationFeeDomain.ts
|
|
768
776
|
model/stripeApplicationFeeRefundDomain.ts
|
|
@@ -801,6 +809,9 @@ model/syncStripePaymentsResponse.ts
|
|
|
801
809
|
model/syncStripeRefundsRequest.ts
|
|
802
810
|
model/syncStripeTransfersRequest.ts
|
|
803
811
|
model/syncStripeTransfersResponse.ts
|
|
812
|
+
model/tag.ts
|
|
813
|
+
model/tags.ts
|
|
814
|
+
model/teammates.ts
|
|
804
815
|
model/temporalUnit.ts
|
|
805
816
|
model/ticketLeadDomain.ts
|
|
806
817
|
model/ticketPart.ts
|
|
@@ -817,6 +828,8 @@ model/timeZoneRes.ts
|
|
|
817
828
|
model/timestamp.ts
|
|
818
829
|
model/timestampReq.ts
|
|
819
830
|
model/timestampRes.ts
|
|
831
|
+
model/topic.ts
|
|
832
|
+
model/topics.ts
|
|
820
833
|
model/trafficViolationInputRequest.ts
|
|
821
834
|
model/transferCaseRequest.ts
|
|
822
835
|
model/uSStateDomain.ts
|
|
@@ -18,6 +18,8 @@ import { HttpClient, HttpHeaders, HttpParams,
|
|
|
18
18
|
import { CustomHttpParameterCodec } from '../encoder';
|
|
19
19
|
import { Observable } from 'rxjs';
|
|
20
20
|
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { IntercomSearchConversationsResponse } from '../model/intercomSearchConversationsResponse';
|
|
21
23
|
// @ts-ignore
|
|
22
24
|
import { IntercomSearchTicketsResponse } from '../model/intercomSearchTicketsResponse';
|
|
23
25
|
|
|
@@ -91,6 +93,76 @@ export class IntercomTicketControllerService {
|
|
|
91
93
|
return httpParams;
|
|
92
94
|
}
|
|
93
95
|
|
|
96
|
+
/**
|
|
97
|
+
* getConversations
|
|
98
|
+
* @param email email
|
|
99
|
+
* @param length length
|
|
100
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
101
|
+
* @param reportProgress flag to report request and response progress.
|
|
102
|
+
*/
|
|
103
|
+
public getConversationsUsingGET(email: string, length?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<IntercomSearchConversationsResponse>;
|
|
104
|
+
public getConversationsUsingGET(email: string, length?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<IntercomSearchConversationsResponse>>;
|
|
105
|
+
public getConversationsUsingGET(email: string, length?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<IntercomSearchConversationsResponse>>;
|
|
106
|
+
public getConversationsUsingGET(email: string, length?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
|
|
107
|
+
if (email === null || email === undefined) {
|
|
108
|
+
throw new Error('Required parameter email was null or undefined when calling getConversationsUsingGET.');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
112
|
+
if (email !== undefined && email !== null) {
|
|
113
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
114
|
+
<any>email, 'email');
|
|
115
|
+
}
|
|
116
|
+
if (length !== undefined && length !== null) {
|
|
117
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
118
|
+
<any>length, 'length');
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
let localVarHeaders = this.defaultHeaders;
|
|
122
|
+
|
|
123
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
124
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
125
|
+
// to determine the Accept header
|
|
126
|
+
const httpHeaderAccepts: string[] = [
|
|
127
|
+
'application/json'
|
|
128
|
+
];
|
|
129
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
130
|
+
}
|
|
131
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
132
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
136
|
+
if (localVarHttpContext === undefined) {
|
|
137
|
+
localVarHttpContext = new HttpContext();
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
142
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
143
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
144
|
+
responseType_ = 'text';
|
|
145
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
146
|
+
responseType_ = 'json';
|
|
147
|
+
} else {
|
|
148
|
+
responseType_ = 'blob';
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
let localVarPath = `/api/v1/intercom/conversations`;
|
|
153
|
+
return this.httpClient.request<IntercomSearchConversationsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
154
|
+
{
|
|
155
|
+
context: localVarHttpContext,
|
|
156
|
+
params: localVarQueryParameters,
|
|
157
|
+
responseType: <any>responseType_,
|
|
158
|
+
withCredentials: this.configuration.withCredentials,
|
|
159
|
+
headers: localVarHeaders,
|
|
160
|
+
observe: observe,
|
|
161
|
+
reportProgress: reportProgress
|
|
162
|
+
}
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
|
|
94
166
|
/**
|
|
95
167
|
* getTickets
|
|
96
168
|
* @param userId userId
|
|
@@ -782,17 +782,24 @@ export class LawfirmControllerService {
|
|
|
782
782
|
/**
|
|
783
783
|
* getLawfirmLawyers
|
|
784
784
|
* @param lawfirmId lawfirmId
|
|
785
|
+
* @param settingName settingName
|
|
785
786
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
786
787
|
* @param reportProgress flag to report request and response progress.
|
|
787
788
|
*/
|
|
788
|
-
public getLawfirmLawyersUsingGET(lawfirmId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmLawyersResponse>;
|
|
789
|
-
public getLawfirmLawyersUsingGET(lawfirmId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmLawyersResponse>>;
|
|
790
|
-
public getLawfirmLawyersUsingGET(lawfirmId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmLawyersResponse>>;
|
|
791
|
-
public getLawfirmLawyersUsingGET(lawfirmId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
789
|
+
public getLawfirmLawyersUsingGET(lawfirmId: number, settingName?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmLawyersResponse>;
|
|
790
|
+
public getLawfirmLawyersUsingGET(lawfirmId: number, settingName?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmLawyersResponse>>;
|
|
791
|
+
public getLawfirmLawyersUsingGET(lawfirmId: number, settingName?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmLawyersResponse>>;
|
|
792
|
+
public getLawfirmLawyersUsingGET(lawfirmId: number, settingName?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
792
793
|
if (lawfirmId === null || lawfirmId === undefined) {
|
|
793
794
|
throw new Error('Required parameter lawfirmId was null or undefined when calling getLawfirmLawyersUsingGET.');
|
|
794
795
|
}
|
|
795
796
|
|
|
797
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
798
|
+
if (settingName !== undefined && settingName !== null) {
|
|
799
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
800
|
+
<any>settingName, 'settingName');
|
|
801
|
+
}
|
|
802
|
+
|
|
796
803
|
let localVarHeaders = this.defaultHeaders;
|
|
797
804
|
|
|
798
805
|
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
@@ -828,6 +835,7 @@ export class LawfirmControllerService {
|
|
|
828
835
|
return this.httpClient.request<GetLawfirmLawyersResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
829
836
|
{
|
|
830
837
|
context: localVarHttpContext,
|
|
838
|
+
params: localVarQueryParameters,
|
|
831
839
|
responseType: <any>responseType_,
|
|
832
840
|
withCredentials: this.configuration.withCredentials,
|
|
833
841
|
headers: localVarHeaders,
|
|
@@ -0,0 +1,19 @@
|
|
|
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 interface Admin {
|
|
15
|
+
id?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
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 interface Attachment {
|
|
15
|
+
type?: string;
|
|
16
|
+
url?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
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 interface Author {
|
|
15
|
+
email?: string;
|
|
16
|
+
id?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
type?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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 interface FirstContactReply {
|
|
15
|
+
createdAt?: number;
|
|
16
|
+
type?: string;
|
|
17
|
+
url?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { LinkedObjects } from './linkedObjects';
|
|
13
|
+
import { Topics } from './topics';
|
|
14
|
+
import { Teammates } from './teammates';
|
|
15
|
+
import { ContactList } from './contactList';
|
|
16
|
+
import { Statistics } from './statistics';
|
|
17
|
+
import { Source } from './source';
|
|
18
|
+
import { Tags } from './tags';
|
|
19
|
+
import { FirstContactReply } from './firstContactReply';
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
export interface IntercomConversationResponse {
|
|
23
|
+
admin_assignee_id?: string;
|
|
24
|
+
ai_agent?: string;
|
|
25
|
+
ai_agent_participated?: boolean;
|
|
26
|
+
contacts?: ContactList;
|
|
27
|
+
conversation_rating?: string;
|
|
28
|
+
created_at?: number;
|
|
29
|
+
custom_attributes?: object;
|
|
30
|
+
first_contact_reply?: FirstContactReply;
|
|
31
|
+
id?: string;
|
|
32
|
+
linked_objects?: LinkedObjects;
|
|
33
|
+
open?: boolean;
|
|
34
|
+
priority?: string;
|
|
35
|
+
read?: boolean;
|
|
36
|
+
sla_applied?: string;
|
|
37
|
+
snoozed_until?: number;
|
|
38
|
+
source?: Source;
|
|
39
|
+
state?: string;
|
|
40
|
+
statistics?: Statistics;
|
|
41
|
+
tags?: Tags;
|
|
42
|
+
team_assignee_id?: string;
|
|
43
|
+
teammates?: Teammates;
|
|
44
|
+
title?: string;
|
|
45
|
+
topics?: Topics;
|
|
46
|
+
type?: string;
|
|
47
|
+
updated_at?: number;
|
|
48
|
+
waiting_since?: number;
|
|
49
|
+
}
|
|
50
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { IntercomConversationResponse } from './intercomConversationResponse';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface IntercomSearchConversationsResponse {
|
|
16
|
+
conversations?: Array<IntercomConversationResponse>;
|
|
17
|
+
total_count?: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -30,6 +30,7 @@ export * from './addressDomain';
|
|
|
30
30
|
export * from './addressDomainReq';
|
|
31
31
|
export * from './addressDomainRes';
|
|
32
32
|
export * from './addressEntity';
|
|
33
|
+
export * from './admin';
|
|
33
34
|
export * from './agentBookingStats';
|
|
34
35
|
export * from './agentBookingsSummary';
|
|
35
36
|
export * from './aggregateBySource';
|
|
@@ -44,7 +45,9 @@ export * from './appEventCreateRequest';
|
|
|
44
45
|
export * from './appearanceAttorneyDomain';
|
|
45
46
|
export * from './appleLoginRequest';
|
|
46
47
|
export * from './assignCitationOwnerRequest';
|
|
48
|
+
export * from './attachment';
|
|
47
49
|
export * from './auditLog';
|
|
50
|
+
export * from './author';
|
|
48
51
|
export * from './authorModel';
|
|
49
52
|
export * from './authorizeChargeForCasePaymentRequest';
|
|
50
53
|
export * from './authorizeChargeForCasePaymentResponse';
|
|
@@ -232,6 +235,7 @@ export * from './findMatchingUsersRequest';
|
|
|
232
235
|
export * from './findMatchingUsersResponse';
|
|
233
236
|
export * from './findsCourtsResponse';
|
|
234
237
|
export * from './fineInformation';
|
|
238
|
+
export * from './firstContactReply';
|
|
235
239
|
export * from './forwardMessageRequest';
|
|
236
240
|
export * from './freshDeskConversation';
|
|
237
241
|
export * from './freshDeskRequester';
|
|
@@ -397,7 +401,9 @@ export * from './initiateCaseCounterRequest';
|
|
|
397
401
|
export * from './initiateCaseCounterResponse';
|
|
398
402
|
export * from './insertCaseLineItemResponse';
|
|
399
403
|
export * from './insertInvoiceLineItemRequest';
|
|
404
|
+
export * from './intercomConversationResponse';
|
|
400
405
|
export * from './intercomCreateTicketResponse';
|
|
406
|
+
export * from './intercomSearchConversationsResponse';
|
|
401
407
|
export * from './intercomSearchTicketsResponse';
|
|
402
408
|
export * from './intercomTicketAttributes';
|
|
403
409
|
export * from './inviteHouseholdMateRequest';
|
|
@@ -638,7 +644,9 @@ export * from './socialLoginRequest';
|
|
|
638
644
|
export * from './socialLoginResponse';
|
|
639
645
|
export * from './socialLoginUser';
|
|
640
646
|
export * from './socialPhoneNumber';
|
|
647
|
+
export * from './source';
|
|
641
648
|
export * from './sqlResponse';
|
|
649
|
+
export * from './statistics';
|
|
642
650
|
export * from './stripeAccountLinkDomain';
|
|
643
651
|
export * from './stripeApplicationFeeDomain';
|
|
644
652
|
export * from './stripeApplicationFeeRefundDomain';
|
|
@@ -677,6 +685,9 @@ export * from './syncStripePaymentsResponse';
|
|
|
677
685
|
export * from './syncStripeRefundsRequest';
|
|
678
686
|
export * from './syncStripeTransfersRequest';
|
|
679
687
|
export * from './syncStripeTransfersResponse';
|
|
688
|
+
export * from './tag';
|
|
689
|
+
export * from './tags';
|
|
690
|
+
export * from './teammates';
|
|
680
691
|
export * from './temporalUnit';
|
|
681
692
|
export * from './ticketLeadDomain';
|
|
682
693
|
export * from './ticketPart';
|
|
@@ -693,6 +704,8 @@ export * from './timeZoneRes';
|
|
|
693
704
|
export * from './timestamp';
|
|
694
705
|
export * from './timestampReq';
|
|
695
706
|
export * from './timestampRes';
|
|
707
|
+
export * from './topic';
|
|
708
|
+
export * from './topics';
|
|
696
709
|
export * from './trafficViolationInputRequest';
|
|
697
710
|
export * from './transferCaseRequest';
|
|
698
711
|
export * from './uSStateDomain';
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { Author } from './author';
|
|
13
|
+
import { Attachment } from './attachment';
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export interface Source {
|
|
17
|
+
attachments?: Array<Attachment>;
|
|
18
|
+
author?: Author;
|
|
19
|
+
body?: string;
|
|
20
|
+
delivered_as?: Source.DeliveredAsEnum;
|
|
21
|
+
id?: string;
|
|
22
|
+
redacted?: boolean;
|
|
23
|
+
subject?: string;
|
|
24
|
+
type?: string;
|
|
25
|
+
url?: string;
|
|
26
|
+
}
|
|
27
|
+
export namespace Source {
|
|
28
|
+
export type DeliveredAsEnum = 'ADMIN_INITIATED' | 'INBOUND' | 'OUTBOUND';
|
|
29
|
+
export const DeliveredAsEnum = {
|
|
30
|
+
AdminInitiated: 'ADMIN_INITIATED' as DeliveredAsEnum,
|
|
31
|
+
Inbound: 'INBOUND' as DeliveredAsEnum,
|
|
32
|
+
Outbound: 'OUTBOUND' as DeliveredAsEnum
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
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 interface Statistics {
|
|
15
|
+
count_assignments?: number;
|
|
16
|
+
count_conversation_parts?: number;
|
|
17
|
+
count_reopens?: number;
|
|
18
|
+
first_admin_reply_at?: number;
|
|
19
|
+
first_assignment_at?: number;
|
|
20
|
+
first_close_at?: number;
|
|
21
|
+
first_contact_reply_at?: number;
|
|
22
|
+
last_admin_reply_at?: number;
|
|
23
|
+
last_assignment_admin_reply_at?: number;
|
|
24
|
+
last_assignment_at?: number;
|
|
25
|
+
last_close_at?: number;
|
|
26
|
+
last_closed_by_id?: string;
|
|
27
|
+
last_contact_reply_at?: number;
|
|
28
|
+
median_time_to_reply?: number;
|
|
29
|
+
time_to_admin_reply?: number;
|
|
30
|
+
time_to_assignment?: number;
|
|
31
|
+
time_to_first_close?: number;
|
|
32
|
+
time_to_last_close?: number;
|
|
33
|
+
type?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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 interface Tag {
|
|
15
|
+
id?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { Tag } from './tag';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface Tags {
|
|
16
|
+
tags?: Array<Tag>;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { Admin } from './admin';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface Teammates {
|
|
16
|
+
admins?: Array<Admin>;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
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 interface Topic {
|
|
15
|
+
id?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { Topic } from './topic';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface Topics {
|
|
16
|
+
topics?: Array<Topic>;
|
|
17
|
+
total_count?: number;
|
|
18
|
+
type?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -8503,6 +8503,50 @@ angular.module('otrBackendService', [])
|
|
|
8503
8503
|
|
|
8504
8504
|
return deferred.promise;
|
|
8505
8505
|
};
|
|
8506
|
+
/**
|
|
8507
|
+
* getConversations
|
|
8508
|
+
* @method
|
|
8509
|
+
* @name OtrService#getConversationsUsingGET
|
|
8510
|
+
* @param {object} parameters - method options and parameters
|
|
8511
|
+
* @param {string} parameters.email - email
|
|
8512
|
+
* @param {integer} parameters.length - length
|
|
8513
|
+
*/
|
|
8514
|
+
OtrService.prototype.getConversationsUsingGET = function(parameters) {
|
|
8515
|
+
if (parameters === undefined) {
|
|
8516
|
+
parameters = {};
|
|
8517
|
+
}
|
|
8518
|
+
var deferred = $q.defer();
|
|
8519
|
+
var domain = this.domain,
|
|
8520
|
+
path = '/api/v1/intercom/conversations';
|
|
8521
|
+
var body = {},
|
|
8522
|
+
queryParameters = {},
|
|
8523
|
+
headers = {},
|
|
8524
|
+
form = {};
|
|
8525
|
+
|
|
8526
|
+
headers['Accept'] = ['application/json'];
|
|
8527
|
+
|
|
8528
|
+
if (parameters['email'] !== undefined) {
|
|
8529
|
+
queryParameters['email'] = parameters['email'];
|
|
8530
|
+
}
|
|
8531
|
+
|
|
8532
|
+
if (parameters['email'] === undefined) {
|
|
8533
|
+
deferred.reject(new Error('Missing required parameter: email'));
|
|
8534
|
+
return deferred.promise;
|
|
8535
|
+
}
|
|
8536
|
+
|
|
8537
|
+
/** set default value **/
|
|
8538
|
+
queryParameters['length'] = 100;
|
|
8539
|
+
|
|
8540
|
+
if (parameters['length'] !== undefined) {
|
|
8541
|
+
queryParameters['length'] = parameters['length'];
|
|
8542
|
+
}
|
|
8543
|
+
|
|
8544
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
8545
|
+
|
|
8546
|
+
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
8547
|
+
|
|
8548
|
+
return deferred.promise;
|
|
8549
|
+
};
|
|
8506
8550
|
/**
|
|
8507
8551
|
* getTickets
|
|
8508
8552
|
* @method
|
|
@@ -10468,6 +10512,7 @@ angular.module('otrBackendService', [])
|
|
|
10468
10512
|
* @name OtrService#getLawfirmLawyersUsingGET
|
|
10469
10513
|
* @param {object} parameters - method options and parameters
|
|
10470
10514
|
* @param {integer} parameters.lawfirmId - lawfirmId
|
|
10515
|
+
* @param {string} parameters.settingName - settingName
|
|
10471
10516
|
*/
|
|
10472
10517
|
OtrService.prototype.getLawfirmLawyersUsingGET = function(parameters) {
|
|
10473
10518
|
if (parameters === undefined) {
|
|
@@ -10490,6 +10535,10 @@ angular.module('otrBackendService', [])
|
|
|
10490
10535
|
return deferred.promise;
|
|
10491
10536
|
}
|
|
10492
10537
|
|
|
10538
|
+
if (parameters['settingName'] !== undefined) {
|
|
10539
|
+
queryParameters['settingName'] = parameters['settingName'];
|
|
10540
|
+
}
|
|
10541
|
+
|
|
10493
10542
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
10494
10543
|
|
|
10495
10544
|
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|