@otr-app/shared-backend-generated-client 2.3.271 → 2.3.273
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 +11 -1
- package/dist/angular/api/caseController.service.ts +12 -4
- package/dist/angular/api/contactLoopWebhookController.service.ts +8 -10
- package/dist/angular/api/userController.service.ts +12 -4
- package/dist/angular/model/contact.ts +19 -0
- package/dist/angular/model/contactList.ts +19 -0
- package/dist/angular/model/getSupportTicketsResponse.ts +2 -0
- package/dist/angular/model/intercomCreateTicketResponse.ts +40 -0
- package/dist/angular/model/intercomSearchTicketsResponse.ts +19 -0
- package/dist/angular/model/intercomTicketAttributes.ts +18 -0
- package/dist/angular/model/linkedObjects.ts +18 -0
- package/dist/angular/model/models.ts +11 -1
- package/dist/angular/model/ticketPart.ts +21 -0
- package/dist/angular/model/ticketPartsWrapper.ts +19 -0
- package/dist/angular/model/ticketType.ts +26 -0
- package/dist/angular/model/ticketTypeAttribute.ts +23 -0
- package/dist/angular/model/ticketTypeAttributesWrapper.ts +19 -0
- package/dist/otrBackendService.js +21 -5
- package/dist/otrBackendService.min.js +4 -4
- package/dist/typescript/api/CaseControllerApi.d.ts +2 -1
- package/dist/typescript/api/CaseControllerApi.js +5 -1
- package/dist/typescript/api/ContactLoopWebhookControllerApi.d.ts +2 -3
- package/dist/typescript/api/ContactLoopWebhookControllerApi.js +6 -6
- package/dist/typescript/api/UserControllerApi.d.ts +2 -1
- package/dist/typescript/api/UserControllerApi.js +5 -1
- package/dist/typescript/model/Contact.d.ts +16 -0
- package/dist/typescript/model/Contact.js +13 -0
- package/dist/typescript/model/ContactList.d.ts +16 -0
- package/dist/typescript/model/ContactList.js +13 -0
- package/dist/typescript/model/GetSupportTicketsResponse.d.ts +1 -0
- package/dist/typescript/model/IntercomCreateTicketResponse.d.ts +33 -0
- package/dist/typescript/model/IntercomCreateTicketResponse.js +13 -0
- package/dist/typescript/model/IntercomSearchTicketsResponse.d.ts +16 -0
- package/dist/typescript/model/IntercomSearchTicketsResponse.js +13 -0
- package/dist/typescript/model/IntercomTicketAttributes.d.ts +15 -0
- package/dist/typescript/model/IntercomTicketAttributes.js +13 -0
- package/dist/typescript/model/LinkedObjects.d.ts +15 -0
- package/dist/typescript/model/LinkedObjects.js +13 -0
- package/dist/typescript/model/TicketPart.d.ts +18 -0
- package/dist/typescript/model/TicketPart.js +13 -0
- package/dist/typescript/model/TicketPartsWrapper.d.ts +16 -0
- package/dist/typescript/model/TicketPartsWrapper.js +13 -0
- package/dist/typescript/model/TicketType.d.ts +23 -0
- package/dist/typescript/model/TicketType.js +13 -0
- package/dist/typescript/model/TicketTypeAttribute.d.ts +20 -0
- package/dist/typescript/model/TicketTypeAttribute.js +13 -0
- package/dist/typescript/model/TicketTypeAttributesWrapper.d.ts +16 -0
- package/dist/typescript/model/TicketTypeAttributesWrapper.js +13 -0
- package/dist/typescript/model/models.d.ts +11 -1
- package/dist/typescript/model/models.js +11 -1
- package/package.json +1 -1
|
@@ -257,7 +257,8 @@ model/coachingCardsModel.ts
|
|
|
257
257
|
model/coachingLinks.ts
|
|
258
258
|
model/commonHeader.ts
|
|
259
259
|
model/confidenceField.ts
|
|
260
|
-
model/
|
|
260
|
+
model/contact.ts
|
|
261
|
+
model/contactList.ts
|
|
261
262
|
model/contactTimelineResponse.ts
|
|
262
263
|
model/convertPdfToImageModel.ts
|
|
263
264
|
model/convertPdfToImageRequest.ts
|
|
@@ -518,6 +519,9 @@ model/initiateCaseCounterRequest.ts
|
|
|
518
519
|
model/initiateCaseCounterResponse.ts
|
|
519
520
|
model/insertCaseLineItemResponse.ts
|
|
520
521
|
model/insertInvoiceLineItemRequest.ts
|
|
522
|
+
model/intercomCreateTicketResponse.ts
|
|
523
|
+
model/intercomSearchTicketsResponse.ts
|
|
524
|
+
model/intercomTicketAttributes.ts
|
|
521
525
|
model/inviteHouseholdMateRequest.ts
|
|
522
526
|
model/inviteLawyerToLawfirmRequest.ts
|
|
523
527
|
model/isRefundEligibleResponse.ts
|
|
@@ -560,6 +564,7 @@ model/letterOfEngagement.ts
|
|
|
560
564
|
model/lineItem.ts
|
|
561
565
|
model/lineItemModel.ts
|
|
562
566
|
model/lineItemRequest.ts
|
|
567
|
+
model/linkedObjects.ts
|
|
563
568
|
model/listAgentBookingsResponse.ts
|
|
564
569
|
model/listBillingProductsResponse.ts
|
|
565
570
|
model/listBillingSubscribersResponse.ts
|
|
@@ -797,9 +802,14 @@ model/syncStripeTransfersRequest.ts
|
|
|
797
802
|
model/syncStripeTransfersResponse.ts
|
|
798
803
|
model/temporalUnit.ts
|
|
799
804
|
model/ticketLeadDomain.ts
|
|
805
|
+
model/ticketPart.ts
|
|
806
|
+
model/ticketPartsWrapper.ts
|
|
800
807
|
model/ticketReviewRequest.ts
|
|
801
808
|
model/ticketReviewRequestReq.ts
|
|
802
809
|
model/ticketReviewRequestRes.ts
|
|
810
|
+
model/ticketType.ts
|
|
811
|
+
model/ticketTypeAttribute.ts
|
|
812
|
+
model/ticketTypeAttributesWrapper.ts
|
|
803
813
|
model/timeZone.ts
|
|
804
814
|
model/timeZoneReq.ts
|
|
805
815
|
model/timeZoneRes.ts
|
|
@@ -431,17 +431,24 @@ export class CaseControllerService {
|
|
|
431
431
|
/**
|
|
432
432
|
* getSupportTicketsForCase
|
|
433
433
|
* @param caseId caseId
|
|
434
|
+
* @param limit limit
|
|
434
435
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
435
436
|
* @param reportProgress flag to report request and response progress.
|
|
436
437
|
*/
|
|
437
|
-
public getSupportTicketsForCaseUsingGET(caseId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetSupportTicketsResponse>;
|
|
438
|
-
public getSupportTicketsForCaseUsingGET(caseId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetSupportTicketsResponse>>;
|
|
439
|
-
public getSupportTicketsForCaseUsingGET(caseId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetSupportTicketsResponse>>;
|
|
440
|
-
public getSupportTicketsForCaseUsingGET(caseId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
438
|
+
public getSupportTicketsForCaseUsingGET(caseId: string, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetSupportTicketsResponse>;
|
|
439
|
+
public getSupportTicketsForCaseUsingGET(caseId: string, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetSupportTicketsResponse>>;
|
|
440
|
+
public getSupportTicketsForCaseUsingGET(caseId: string, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetSupportTicketsResponse>>;
|
|
441
|
+
public getSupportTicketsForCaseUsingGET(caseId: string, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
441
442
|
if (caseId === null || caseId === undefined) {
|
|
442
443
|
throw new Error('Required parameter caseId was null or undefined when calling getSupportTicketsForCaseUsingGET.');
|
|
443
444
|
}
|
|
444
445
|
|
|
446
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
447
|
+
if (limit !== undefined && limit !== null) {
|
|
448
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
449
|
+
<any>limit, 'limit');
|
|
450
|
+
}
|
|
451
|
+
|
|
445
452
|
let localVarHeaders = this.defaultHeaders;
|
|
446
453
|
|
|
447
454
|
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
@@ -477,6 +484,7 @@ export class CaseControllerService {
|
|
|
477
484
|
return this.httpClient.request<GetSupportTicketsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
478
485
|
{
|
|
479
486
|
context: localVarHttpContext,
|
|
487
|
+
params: localVarQueryParameters,
|
|
480
488
|
responseType: <any>responseType_,
|
|
481
489
|
withCredentials: this.configuration.withCredentials,
|
|
482
490
|
headers: localVarHeaders,
|
|
@@ -18,8 +18,6 @@ import { HttpClient, HttpHeaders, HttpParams,
|
|
|
18
18
|
import { CustomHttpParameterCodec } from '../encoder';
|
|
19
19
|
import { Observable } from 'rxjs';
|
|
20
20
|
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
import { ContactLoopWebhookRequest } from '../model/contactLoopWebhookRequest';
|
|
23
21
|
|
|
24
22
|
// @ts-ignore
|
|
25
23
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
@@ -93,16 +91,16 @@ export class ContactLoopWebhookControllerService {
|
|
|
93
91
|
|
|
94
92
|
/**
|
|
95
93
|
* handleContactLoopEvent
|
|
96
|
-
* @param
|
|
94
|
+
* @param requestString requestString
|
|
97
95
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
98
96
|
* @param reportProgress flag to report request and response progress.
|
|
99
97
|
*/
|
|
100
|
-
public handleContactLoopEventUsingPOST(
|
|
101
|
-
public handleContactLoopEventUsingPOST(
|
|
102
|
-
public handleContactLoopEventUsingPOST(
|
|
103
|
-
public handleContactLoopEventUsingPOST(
|
|
104
|
-
if (
|
|
105
|
-
throw new Error('Required parameter
|
|
98
|
+
public handleContactLoopEventUsingPOST(requestString: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<string>;
|
|
99
|
+
public handleContactLoopEventUsingPOST(requestString: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<string>>;
|
|
100
|
+
public handleContactLoopEventUsingPOST(requestString: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<string>>;
|
|
101
|
+
public handleContactLoopEventUsingPOST(requestString: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
102
|
+
if (requestString === null || requestString === undefined) {
|
|
103
|
+
throw new Error('Required parameter requestString was null or undefined when calling handleContactLoopEventUsingPOST.');
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -149,7 +147,7 @@ export class ContactLoopWebhookControllerService {
|
|
|
149
147
|
return this.httpClient.request<string>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
150
148
|
{
|
|
151
149
|
context: localVarHttpContext,
|
|
152
|
-
body:
|
|
150
|
+
body: requestString,
|
|
153
151
|
responseType: <any>responseType_,
|
|
154
152
|
withCredentials: this.configuration.withCredentials,
|
|
155
153
|
headers: localVarHeaders,
|
|
@@ -297,17 +297,24 @@ export class UserControllerService {
|
|
|
297
297
|
/**
|
|
298
298
|
* getSupportTicketsForUser
|
|
299
299
|
* @param email email
|
|
300
|
+
* @param limit limit
|
|
300
301
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
301
302
|
* @param reportProgress flag to report request and response progress.
|
|
302
303
|
*/
|
|
303
|
-
public getSupportTicketsForUserUsingGET(email: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetSupportTicketsResponse>;
|
|
304
|
-
public getSupportTicketsForUserUsingGET(email: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetSupportTicketsResponse>>;
|
|
305
|
-
public getSupportTicketsForUserUsingGET(email: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetSupportTicketsResponse>>;
|
|
306
|
-
public getSupportTicketsForUserUsingGET(email: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
304
|
+
public getSupportTicketsForUserUsingGET(email: string, limit?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetSupportTicketsResponse>;
|
|
305
|
+
public getSupportTicketsForUserUsingGET(email: string, limit?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetSupportTicketsResponse>>;
|
|
306
|
+
public getSupportTicketsForUserUsingGET(email: string, limit?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetSupportTicketsResponse>>;
|
|
307
|
+
public getSupportTicketsForUserUsingGET(email: string, limit?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
307
308
|
if (email === null || email === undefined) {
|
|
308
309
|
throw new Error('Required parameter email was null or undefined when calling getSupportTicketsForUserUsingGET.');
|
|
309
310
|
}
|
|
310
311
|
|
|
312
|
+
let localVarQueryParameters = new HttpParams({encoder: this.encoder});
|
|
313
|
+
if (limit !== undefined && limit !== null) {
|
|
314
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
315
|
+
<any>limit, 'limit');
|
|
316
|
+
}
|
|
317
|
+
|
|
311
318
|
let localVarHeaders = this.defaultHeaders;
|
|
312
319
|
|
|
313
320
|
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
@@ -343,6 +350,7 @@ export class UserControllerService {
|
|
|
343
350
|
return this.httpClient.request<GetSupportTicketsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
344
351
|
{
|
|
345
352
|
context: localVarHttpContext,
|
|
353
|
+
params: localVarQueryParameters,
|
|
346
354
|
responseType: <any>responseType_,
|
|
347
355
|
withCredentials: this.configuration.withCredentials,
|
|
348
356
|
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 Contact {
|
|
15
|
+
external_id?: string;
|
|
16
|
+
id?: 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 { Contact } from './contact';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface ContactList {
|
|
16
|
+
contacts?: Array<Contact>;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { IntercomSearchTicketsResponse } from './intercomSearchTicketsResponse';
|
|
12
13
|
import { FreshDeskTicket } from './freshDeskTicket';
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
export interface GetSupportTicketsResponse {
|
|
17
|
+
intercomTickets?: IntercomSearchTicketsResponse;
|
|
16
18
|
supportTickets?: Array<FreshDeskTicket>;
|
|
17
19
|
}
|
|
18
20
|
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { ContactList } from './contactList';
|
|
14
|
+
import { TicketType } from './ticketType';
|
|
15
|
+
import { TicketPartsWrapper } from './ticketPartsWrapper';
|
|
16
|
+
import { IntercomTicketAttributes } from './intercomTicketAttributes';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export interface IntercomCreateTicketResponse {
|
|
20
|
+
admin_assignee_id?: string;
|
|
21
|
+
category?: string;
|
|
22
|
+
contacts?: ContactList;
|
|
23
|
+
created_at?: number;
|
|
24
|
+
id?: string;
|
|
25
|
+
is_shared?: boolean;
|
|
26
|
+
linked_objects?: LinkedObjects;
|
|
27
|
+
open?: boolean;
|
|
28
|
+
snoozed_until?: number;
|
|
29
|
+
team_assignee_id?: string;
|
|
30
|
+
ticket_attributes?: IntercomTicketAttributes;
|
|
31
|
+
ticket_id?: string;
|
|
32
|
+
ticket_parts?: TicketPartsWrapper;
|
|
33
|
+
ticket_state?: string;
|
|
34
|
+
ticket_state_external_label?: string;
|
|
35
|
+
ticket_state_internal_label?: string;
|
|
36
|
+
ticket_type?: TicketType;
|
|
37
|
+
type?: string;
|
|
38
|
+
updated_at?: number;
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -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 { IntercomCreateTicketResponse } from './intercomCreateTicketResponse';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface IntercomSearchTicketsResponse {
|
|
16
|
+
tickets?: Array<IntercomCreateTicketResponse>;
|
|
17
|
+
total_count?: number;
|
|
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 IntercomTicketAttributes {
|
|
15
|
+
_default_description_?: string;
|
|
16
|
+
_default_title_?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -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 LinkedObjects {
|
|
15
|
+
linked_conversations?: Array<string>;
|
|
16
|
+
linked_tickets?: Array<string>;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -135,7 +135,8 @@ export * from './coachingCardsModel';
|
|
|
135
135
|
export * from './coachingLinks';
|
|
136
136
|
export * from './commonHeader';
|
|
137
137
|
export * from './confidenceField';
|
|
138
|
-
export * from './
|
|
138
|
+
export * from './contact';
|
|
139
|
+
export * from './contactList';
|
|
139
140
|
export * from './contactTimelineResponse';
|
|
140
141
|
export * from './convertPdfToImageModel';
|
|
141
142
|
export * from './convertPdfToImageRequest';
|
|
@@ -396,6 +397,9 @@ export * from './initiateCaseCounterRequest';
|
|
|
396
397
|
export * from './initiateCaseCounterResponse';
|
|
397
398
|
export * from './insertCaseLineItemResponse';
|
|
398
399
|
export * from './insertInvoiceLineItemRequest';
|
|
400
|
+
export * from './intercomCreateTicketResponse';
|
|
401
|
+
export * from './intercomSearchTicketsResponse';
|
|
402
|
+
export * from './intercomTicketAttributes';
|
|
399
403
|
export * from './inviteHouseholdMateRequest';
|
|
400
404
|
export * from './inviteLawyerToLawfirmRequest';
|
|
401
405
|
export * from './isRefundEligibleResponse';
|
|
@@ -438,6 +442,7 @@ export * from './letterOfEngagement';
|
|
|
438
442
|
export * from './lineItem';
|
|
439
443
|
export * from './lineItemModel';
|
|
440
444
|
export * from './lineItemRequest';
|
|
445
|
+
export * from './linkedObjects';
|
|
441
446
|
export * from './listAgentBookingsResponse';
|
|
442
447
|
export * from './listBillingProductsResponse';
|
|
443
448
|
export * from './listBillingSubscribersResponse';
|
|
@@ -674,9 +679,14 @@ export * from './syncStripeTransfersRequest';
|
|
|
674
679
|
export * from './syncStripeTransfersResponse';
|
|
675
680
|
export * from './temporalUnit';
|
|
676
681
|
export * from './ticketLeadDomain';
|
|
682
|
+
export * from './ticketPart';
|
|
683
|
+
export * from './ticketPartsWrapper';
|
|
677
684
|
export * from './ticketReviewRequest';
|
|
678
685
|
export * from './ticketReviewRequestReq';
|
|
679
686
|
export * from './ticketReviewRequestRes';
|
|
687
|
+
export * from './ticketType';
|
|
688
|
+
export * from './ticketTypeAttribute';
|
|
689
|
+
export * from './ticketTypeAttributesWrapper';
|
|
680
690
|
export * from './timeZone';
|
|
681
691
|
export * from './timeZoneReq';
|
|
682
692
|
export * from './timeZoneRes';
|
|
@@ -0,0 +1,21 @@
|
|
|
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 TicketPart {
|
|
15
|
+
content?: string;
|
|
16
|
+
created_at?: number;
|
|
17
|
+
id?: string;
|
|
18
|
+
type?: string;
|
|
19
|
+
updated_at?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -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 { TicketPart } from './ticketPart';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface TicketPartsWrapper {
|
|
16
|
+
ticket_parts?: Array<TicketPart>;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -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 { TicketTypeAttributesWrapper } from './ticketTypeAttributesWrapper';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface TicketType {
|
|
16
|
+
archived?: boolean;
|
|
17
|
+
created_at?: number;
|
|
18
|
+
description?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
is_internal?: boolean;
|
|
21
|
+
name?: string;
|
|
22
|
+
ticket_type_attributes?: TicketTypeAttributesWrapper;
|
|
23
|
+
type?: string;
|
|
24
|
+
updated_at?: number;
|
|
25
|
+
}
|
|
26
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
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 TicketTypeAttribute {
|
|
15
|
+
data_type?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
required_to_create?: boolean;
|
|
20
|
+
type?: string;
|
|
21
|
+
visible_on_create?: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -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 { TicketTypeAttribute } from './ticketTypeAttribute';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface TicketTypeAttributesWrapper {
|
|
16
|
+
data?: Array<TicketTypeAttribute>;
|
|
17
|
+
type?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -3772,6 +3772,7 @@ angular.module('otrBackendService', [])
|
|
|
3772
3772
|
* @name OtrService#getSupportTicketsForCaseUsingGET
|
|
3773
3773
|
* @param {object} parameters - method options and parameters
|
|
3774
3774
|
* @param {string} parameters.caseId - caseId
|
|
3775
|
+
* @param {integer} parameters.limit - limit
|
|
3775
3776
|
*/
|
|
3776
3777
|
OtrService.prototype.getSupportTicketsForCaseUsingGET = function(parameters) {
|
|
3777
3778
|
if (parameters === undefined) {
|
|
@@ -3794,6 +3795,13 @@ angular.module('otrBackendService', [])
|
|
|
3794
3795
|
return deferred.promise;
|
|
3795
3796
|
}
|
|
3796
3797
|
|
|
3798
|
+
/** set default value **/
|
|
3799
|
+
queryParameters['limit'] = 100;
|
|
3800
|
+
|
|
3801
|
+
if (parameters['limit'] !== undefined) {
|
|
3802
|
+
queryParameters['limit'] = parameters['limit'];
|
|
3803
|
+
}
|
|
3804
|
+
|
|
3797
3805
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
3798
3806
|
|
|
3799
3807
|
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
@@ -6321,7 +6329,7 @@ angular.module('otrBackendService', [])
|
|
|
6321
6329
|
* @method
|
|
6322
6330
|
* @name OtrService#handleContactLoopEventUsingPOST
|
|
6323
6331
|
* @param {object} parameters - method options and parameters
|
|
6324
|
-
* @param {} parameters.
|
|
6332
|
+
* @param {} parameters.requestString - requestString
|
|
6325
6333
|
*/
|
|
6326
6334
|
OtrService.prototype.handleContactLoopEventUsingPOST = function(parameters) {
|
|
6327
6335
|
if (parameters === undefined) {
|
|
@@ -6338,12 +6346,12 @@ angular.module('otrBackendService', [])
|
|
|
6338
6346
|
headers['Accept'] = ['*/*'];
|
|
6339
6347
|
headers['Content-Type'] = ['application/json'];
|
|
6340
6348
|
|
|
6341
|
-
if (parameters['
|
|
6342
|
-
body = parameters['
|
|
6349
|
+
if (parameters['requestString'] !== undefined) {
|
|
6350
|
+
body = parameters['requestString'];
|
|
6343
6351
|
}
|
|
6344
6352
|
|
|
6345
|
-
if (parameters['
|
|
6346
|
-
deferred.reject(new Error('Missing required parameter:
|
|
6353
|
+
if (parameters['requestString'] === undefined) {
|
|
6354
|
+
deferred.reject(new Error('Missing required parameter: requestString'));
|
|
6347
6355
|
return deferred.promise;
|
|
6348
6356
|
}
|
|
6349
6357
|
|
|
@@ -15240,6 +15248,7 @@ angular.module('otrBackendService', [])
|
|
|
15240
15248
|
* @name OtrService#getSupportTicketsForUserUsingGET
|
|
15241
15249
|
* @param {object} parameters - method options and parameters
|
|
15242
15250
|
* @param {string} parameters.email - email
|
|
15251
|
+
* @param {integer} parameters.limit - limit
|
|
15243
15252
|
*/
|
|
15244
15253
|
OtrService.prototype.getSupportTicketsForUserUsingGET = function(parameters) {
|
|
15245
15254
|
if (parameters === undefined) {
|
|
@@ -15262,6 +15271,13 @@ angular.module('otrBackendService', [])
|
|
|
15262
15271
|
return deferred.promise;
|
|
15263
15272
|
}
|
|
15264
15273
|
|
|
15274
|
+
/** set default value **/
|
|
15275
|
+
queryParameters['limit'] = 100;
|
|
15276
|
+
|
|
15277
|
+
if (parameters['limit'] !== undefined) {
|
|
15278
|
+
queryParameters['limit'] = parameters['limit'];
|
|
15279
|
+
}
|
|
15280
|
+
|
|
15265
15281
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
15266
15282
|
|
|
15267
15283
|
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|