@otr-app/shared-backend-generated-client 2.5.71 → 2.5.73
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/typescript/api/ConversationControllerApi.d.ts +2 -3
- package/dist/typescript/api/ConversationControllerApi.js +4 -8
- package/dist/typescript/model/GetCaseMessagesResponse.d.ts +1 -0
- package/dist/typescript/model/TimelineItem.d.ts +24 -0
- package/dist/typescript/model/TimelineItem.js +19 -0
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/package.json +1 -1
|
@@ -36,10 +36,9 @@ export declare class ConversationControllerApi {
|
|
|
36
36
|
*
|
|
37
37
|
* @summary getConversation
|
|
38
38
|
* @param caseId caseId
|
|
39
|
-
* @param
|
|
40
|
-
* @param page page
|
|
39
|
+
* @param includeActions includeActions
|
|
41
40
|
*/
|
|
42
|
-
getConversationUsingGET(caseId: string,
|
|
41
|
+
getConversationUsingGET(caseId: string, includeActions?: boolean, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetCaseMessagesResponse>;
|
|
43
42
|
/**
|
|
44
43
|
*
|
|
45
44
|
* @summary getMessage
|
|
@@ -92,10 +92,9 @@ export class ConversationControllerApi {
|
|
|
92
92
|
*
|
|
93
93
|
* @summary getConversation
|
|
94
94
|
* @param caseId caseId
|
|
95
|
-
* @param
|
|
96
|
-
* @param page page
|
|
95
|
+
* @param includeActions includeActions
|
|
97
96
|
*/
|
|
98
|
-
getConversationUsingGET(caseId,
|
|
97
|
+
getConversationUsingGET(caseId, includeActions, extraHttpRequestParams) {
|
|
99
98
|
const localVarPath = this.basePath + '/api/v1/cases/{caseId}/conversation'
|
|
100
99
|
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
|
|
101
100
|
let queryParameters = {};
|
|
@@ -104,11 +103,8 @@ export class ConversationControllerApi {
|
|
|
104
103
|
if (caseId === null || caseId === undefined) {
|
|
105
104
|
throw new Error('Required parameter caseId was null or undefined when calling getConversationUsingGET.');
|
|
106
105
|
}
|
|
107
|
-
if (
|
|
108
|
-
queryParameters['
|
|
109
|
-
}
|
|
110
|
-
if (page !== undefined) {
|
|
111
|
-
queryParameters['page'] = page;
|
|
106
|
+
if (includeActions !== undefined) {
|
|
107
|
+
queryParameters['includeActions'] = includeActions;
|
|
112
108
|
}
|
|
113
109
|
let httpRequestParams = {
|
|
114
110
|
method: 'GET',
|
|
@@ -0,0 +1,24 @@
|
|
|
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 './models';
|
|
13
|
+
export interface TimelineItem {
|
|
14
|
+
"action"?: models.CaseActionDomain;
|
|
15
|
+
"itemType"?: TimelineItem.ItemTypeEnum;
|
|
16
|
+
"message"?: models.CaseMessageDomain;
|
|
17
|
+
"timestamp"?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace TimelineItem {
|
|
20
|
+
enum ItemTypeEnum {
|
|
21
|
+
ACTION,
|
|
22
|
+
MESSAGE
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -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
|
+
export var TimelineItem;
|
|
13
|
+
(function (TimelineItem) {
|
|
14
|
+
let ItemTypeEnum;
|
|
15
|
+
(function (ItemTypeEnum) {
|
|
16
|
+
ItemTypeEnum[ItemTypeEnum["ACTION"] = 'ACTION'] = "ACTION";
|
|
17
|
+
ItemTypeEnum[ItemTypeEnum["MESSAGE"] = 'MESSAGE'] = "MESSAGE";
|
|
18
|
+
})(ItemTypeEnum = TimelineItem.ItemTypeEnum || (TimelineItem.ItemTypeEnum = {}));
|
|
19
|
+
})(TimelineItem || (TimelineItem = {}));
|
|
@@ -750,6 +750,7 @@ export * from './TicketTypeAttributesWrapper';
|
|
|
750
750
|
export * from './TimeZone';
|
|
751
751
|
export * from './TimeZoneReq';
|
|
752
752
|
export * from './TimeZoneRes';
|
|
753
|
+
export * from './TimelineItem';
|
|
753
754
|
export * from './Timestamp';
|
|
754
755
|
export * from './TimestampReq';
|
|
755
756
|
export * from './TimestampRes';
|
|
@@ -750,6 +750,7 @@ export * from './TicketTypeAttributesWrapper';
|
|
|
750
750
|
export * from './TimeZone';
|
|
751
751
|
export * from './TimeZoneReq';
|
|
752
752
|
export * from './TimeZoneRes';
|
|
753
|
+
export * from './TimelineItem';
|
|
753
754
|
export * from './Timestamp';
|
|
754
755
|
export * from './TimestampReq';
|
|
755
756
|
export * from './TimestampRes';
|