@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.
@@ -36,10 +36,9 @@ export declare class ConversationControllerApi {
36
36
  *
37
37
  * @summary getConversation
38
38
  * @param caseId caseId
39
- * @param length length
40
- * @param page page
39
+ * @param includeActions includeActions
41
40
  */
42
- getConversationUsingGET(caseId: string, length?: number, page?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetCaseMessagesResponse>;
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 length length
96
- * @param page page
95
+ * @param includeActions includeActions
97
96
  */
98
- getConversationUsingGET(caseId, length, page, extraHttpRequestParams) {
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 (length !== undefined) {
108
- queryParameters['length'] = length;
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',
@@ -12,5 +12,6 @@
12
12
  import * as models from './models';
13
13
  export interface GetCaseMessagesResponse {
14
14
  "messages"?: Array<models.CaseMessageDomain>;
15
+ "timeline"?: Array<models.TimelineItem>;
15
16
  "totalRecords"?: number;
16
17
  }
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.71",
3
+ "version": "2.5.73",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"