@otr-app/shared-backend-generated-client 2.3.272 → 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 -0
- package/dist/angular/api/caseController.service.ts +12 -4
- 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 -0
- 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 +16 -0
- 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/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 -0
- package/dist/typescript/model/models.js +11 -0
- package/package.json +1 -1
|
@@ -257,6 +257,8 @@ model/coachingCardsModel.ts
|
|
|
257
257
|
model/coachingLinks.ts
|
|
258
258
|
model/commonHeader.ts
|
|
259
259
|
model/confidenceField.ts
|
|
260
|
+
model/contact.ts
|
|
261
|
+
model/contactList.ts
|
|
260
262
|
model/contactTimelineResponse.ts
|
|
261
263
|
model/convertPdfToImageModel.ts
|
|
262
264
|
model/convertPdfToImageRequest.ts
|
|
@@ -517,6 +519,9 @@ model/initiateCaseCounterRequest.ts
|
|
|
517
519
|
model/initiateCaseCounterResponse.ts
|
|
518
520
|
model/insertCaseLineItemResponse.ts
|
|
519
521
|
model/insertInvoiceLineItemRequest.ts
|
|
522
|
+
model/intercomCreateTicketResponse.ts
|
|
523
|
+
model/intercomSearchTicketsResponse.ts
|
|
524
|
+
model/intercomTicketAttributes.ts
|
|
520
525
|
model/inviteHouseholdMateRequest.ts
|
|
521
526
|
model/inviteLawyerToLawfirmRequest.ts
|
|
522
527
|
model/isRefundEligibleResponse.ts
|
|
@@ -559,6 +564,7 @@ model/letterOfEngagement.ts
|
|
|
559
564
|
model/lineItem.ts
|
|
560
565
|
model/lineItemModel.ts
|
|
561
566
|
model/lineItemRequest.ts
|
|
567
|
+
model/linkedObjects.ts
|
|
562
568
|
model/listAgentBookingsResponse.ts
|
|
563
569
|
model/listBillingProductsResponse.ts
|
|
564
570
|
model/listBillingSubscribersResponse.ts
|
|
@@ -796,9 +802,14 @@ model/syncStripeTransfersRequest.ts
|
|
|
796
802
|
model/syncStripeTransfersResponse.ts
|
|
797
803
|
model/temporalUnit.ts
|
|
798
804
|
model/ticketLeadDomain.ts
|
|
805
|
+
model/ticketPart.ts
|
|
806
|
+
model/ticketPartsWrapper.ts
|
|
799
807
|
model/ticketReviewRequest.ts
|
|
800
808
|
model/ticketReviewRequestReq.ts
|
|
801
809
|
model/ticketReviewRequestRes.ts
|
|
810
|
+
model/ticketType.ts
|
|
811
|
+
model/ticketTypeAttribute.ts
|
|
812
|
+
model/ticketTypeAttributesWrapper.ts
|
|
802
813
|
model/timeZone.ts
|
|
803
814
|
model/timeZoneReq.ts
|
|
804
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,
|
|
@@ -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,6 +135,8 @@ export * from './coachingCardsModel';
|
|
|
135
135
|
export * from './coachingLinks';
|
|
136
136
|
export * from './commonHeader';
|
|
137
137
|
export * from './confidenceField';
|
|
138
|
+
export * from './contact';
|
|
139
|
+
export * from './contactList';
|
|
138
140
|
export * from './contactTimelineResponse';
|
|
139
141
|
export * from './convertPdfToImageModel';
|
|
140
142
|
export * from './convertPdfToImageRequest';
|
|
@@ -395,6 +397,9 @@ export * from './initiateCaseCounterRequest';
|
|
|
395
397
|
export * from './initiateCaseCounterResponse';
|
|
396
398
|
export * from './insertCaseLineItemResponse';
|
|
397
399
|
export * from './insertInvoiceLineItemRequest';
|
|
400
|
+
export * from './intercomCreateTicketResponse';
|
|
401
|
+
export * from './intercomSearchTicketsResponse';
|
|
402
|
+
export * from './intercomTicketAttributes';
|
|
398
403
|
export * from './inviteHouseholdMateRequest';
|
|
399
404
|
export * from './inviteLawyerToLawfirmRequest';
|
|
400
405
|
export * from './isRefundEligibleResponse';
|
|
@@ -437,6 +442,7 @@ export * from './letterOfEngagement';
|
|
|
437
442
|
export * from './lineItem';
|
|
438
443
|
export * from './lineItemModel';
|
|
439
444
|
export * from './lineItemRequest';
|
|
445
|
+
export * from './linkedObjects';
|
|
440
446
|
export * from './listAgentBookingsResponse';
|
|
441
447
|
export * from './listBillingProductsResponse';
|
|
442
448
|
export * from './listBillingSubscribersResponse';
|
|
@@ -673,9 +679,14 @@ export * from './syncStripeTransfersRequest';
|
|
|
673
679
|
export * from './syncStripeTransfersResponse';
|
|
674
680
|
export * from './temporalUnit';
|
|
675
681
|
export * from './ticketLeadDomain';
|
|
682
|
+
export * from './ticketPart';
|
|
683
|
+
export * from './ticketPartsWrapper';
|
|
676
684
|
export * from './ticketReviewRequest';
|
|
677
685
|
export * from './ticketReviewRequestReq';
|
|
678
686
|
export * from './ticketReviewRequestRes';
|
|
687
|
+
export * from './ticketType';
|
|
688
|
+
export * from './ticketTypeAttribute';
|
|
689
|
+
export * from './ticketTypeAttributesWrapper';
|
|
679
690
|
export * from './timeZone';
|
|
680
691
|
export * from './timeZoneReq';
|
|
681
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);
|
|
@@ -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);
|