@otr-app/shared-backend-generated-client 2.4.92 → 2.4.93
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/api/activityFeedController.service.ts +19 -4
- package/dist/otrBackendService.js +15 -0
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/ActivityFeedControllerApi.d.ts +4 -1
- package/dist/typescript/api/ActivityFeedControllerApi.js +13 -1
- package/dist/typescript-fetch/apis/ActivityFeedControllerApi.d.ts +14 -0
- package/dist/typescript-fetch/apis/ActivityFeedControllerApi.js +21 -0
- package/package.json +1 -1
|
@@ -22,11 +22,14 @@ export declare class ActivityFeedControllerApi {
|
|
|
22
22
|
*
|
|
23
23
|
* @summary listActivityFeed
|
|
24
24
|
* @param limit limit
|
|
25
|
+
* @param activityType activityType
|
|
26
|
+
* @param courtId courtId
|
|
27
|
+
* @param hasProfilePicture hasProfilePicture
|
|
25
28
|
* @param nextPageToken nextPageToken
|
|
26
29
|
* @param previousPageToken previousPageToken
|
|
27
30
|
* @param regionCode regionCode
|
|
28
31
|
*/
|
|
29
|
-
listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActivityFeedResponse>;
|
|
32
|
+
listActivityFeedUsingGET(limit: number, activityType?: 'PURCHASE' | 'REFERRAL' | 'REFUND' | 'RESOLUTION' | 'TICKET_REVIEW', courtId?: number, hasProfilePicture?: boolean, nextPageToken?: string, previousPageToken?: string, regionCode?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActivityFeedResponse>;
|
|
30
33
|
/**
|
|
31
34
|
*
|
|
32
35
|
* @summary listCaseOutcomes
|
|
@@ -24,11 +24,14 @@ export class ActivityFeedControllerApi {
|
|
|
24
24
|
*
|
|
25
25
|
* @summary listActivityFeed
|
|
26
26
|
* @param limit limit
|
|
27
|
+
* @param activityType activityType
|
|
28
|
+
* @param courtId courtId
|
|
29
|
+
* @param hasProfilePicture hasProfilePicture
|
|
27
30
|
* @param nextPageToken nextPageToken
|
|
28
31
|
* @param previousPageToken previousPageToken
|
|
29
32
|
* @param regionCode regionCode
|
|
30
33
|
*/
|
|
31
|
-
listActivityFeedUsingGET(limit, nextPageToken, previousPageToken, regionCode, extraHttpRequestParams) {
|
|
34
|
+
listActivityFeedUsingGET(limit, activityType, courtId, hasProfilePicture, nextPageToken, previousPageToken, regionCode, extraHttpRequestParams) {
|
|
32
35
|
const localVarPath = this.basePath + '/api/v1/activity-feed';
|
|
33
36
|
let queryParameters = {};
|
|
34
37
|
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -36,6 +39,15 @@ export class ActivityFeedControllerApi {
|
|
|
36
39
|
if (limit === null || limit === undefined) {
|
|
37
40
|
throw new Error('Required parameter limit was null or undefined when calling listActivityFeedUsingGET.');
|
|
38
41
|
}
|
|
42
|
+
if (activityType !== undefined) {
|
|
43
|
+
queryParameters['activityType'] = activityType;
|
|
44
|
+
}
|
|
45
|
+
if (courtId !== undefined) {
|
|
46
|
+
queryParameters['courtId'] = courtId;
|
|
47
|
+
}
|
|
48
|
+
if (hasProfilePicture !== undefined) {
|
|
49
|
+
queryParameters['hasProfilePicture'] = hasProfilePicture;
|
|
50
|
+
}
|
|
39
51
|
if (limit !== undefined) {
|
|
40
52
|
queryParameters['limit'] = limit;
|
|
41
53
|
}
|
|
@@ -13,6 +13,9 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import { GetActivityFeedResponse, ListCaseOutcomesResponse } from '../models';
|
|
14
14
|
export interface ListActivityFeedUsingGETRequest {
|
|
15
15
|
limit: number;
|
|
16
|
+
activityType?: ListActivityFeedUsingGETActivityTypeEnum;
|
|
17
|
+
courtId?: number;
|
|
18
|
+
hasProfilePicture?: boolean;
|
|
16
19
|
nextPageToken?: string;
|
|
17
20
|
previousPageToken?: string;
|
|
18
21
|
regionCode?: string;
|
|
@@ -45,6 +48,17 @@ export declare class ActivityFeedControllerApi extends runtime.BaseAPI {
|
|
|
45
48
|
*/
|
|
46
49
|
listCaseOutcomesUsingGET(requestParameters: ListCaseOutcomesUsingGETRequest): Promise<ListCaseOutcomesResponse>;
|
|
47
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
* @enum {string}
|
|
54
|
+
*/
|
|
55
|
+
export declare enum ListActivityFeedUsingGETActivityTypeEnum {
|
|
56
|
+
PURCHASE = "PURCHASE",
|
|
57
|
+
REFERRAL = "REFERRAL",
|
|
58
|
+
REFUND = "REFUND",
|
|
59
|
+
RESOLUTION = "RESOLUTION",
|
|
60
|
+
TICKETREVIEW = "TICKET_REVIEW"
|
|
61
|
+
}
|
|
48
62
|
/**
|
|
49
63
|
* @export
|
|
50
64
|
* @enum {string}
|
|
@@ -35,6 +35,15 @@ export class ActivityFeedControllerApi extends runtime.BaseAPI {
|
|
|
35
35
|
throw new runtime.RequiredError('limit', 'Required parameter requestParameters.limit was null or undefined when calling listActivityFeedUsingGET.');
|
|
36
36
|
}
|
|
37
37
|
const queryParameters = {};
|
|
38
|
+
if (requestParameters.activityType !== undefined) {
|
|
39
|
+
queryParameters['activityType'] = requestParameters.activityType;
|
|
40
|
+
}
|
|
41
|
+
if (requestParameters.courtId !== undefined) {
|
|
42
|
+
queryParameters['courtId'] = requestParameters.courtId;
|
|
43
|
+
}
|
|
44
|
+
if (requestParameters.hasProfilePicture !== undefined) {
|
|
45
|
+
queryParameters['hasProfilePicture'] = requestParameters.hasProfilePicture;
|
|
46
|
+
}
|
|
38
47
|
if (requestParameters.limit !== undefined) {
|
|
39
48
|
queryParameters['limit'] = requestParameters.limit;
|
|
40
49
|
}
|
|
@@ -107,6 +116,18 @@ export class ActivityFeedControllerApi extends runtime.BaseAPI {
|
|
|
107
116
|
});
|
|
108
117
|
}
|
|
109
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* @export
|
|
121
|
+
* @enum {string}
|
|
122
|
+
*/
|
|
123
|
+
export var ListActivityFeedUsingGETActivityTypeEnum;
|
|
124
|
+
(function (ListActivityFeedUsingGETActivityTypeEnum) {
|
|
125
|
+
ListActivityFeedUsingGETActivityTypeEnum["PURCHASE"] = "PURCHASE";
|
|
126
|
+
ListActivityFeedUsingGETActivityTypeEnum["REFERRAL"] = "REFERRAL";
|
|
127
|
+
ListActivityFeedUsingGETActivityTypeEnum["REFUND"] = "REFUND";
|
|
128
|
+
ListActivityFeedUsingGETActivityTypeEnum["RESOLUTION"] = "RESOLUTION";
|
|
129
|
+
ListActivityFeedUsingGETActivityTypeEnum["TICKETREVIEW"] = "TICKET_REVIEW";
|
|
130
|
+
})(ListActivityFeedUsingGETActivityTypeEnum || (ListActivityFeedUsingGETActivityTypeEnum = {}));
|
|
110
131
|
/**
|
|
111
132
|
* @export
|
|
112
133
|
* @enum {string}
|