@otr-app/shared-backend-generated-client 2.4.42 → 2.4.44

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.
@@ -24,8 +24,9 @@ export declare class ActivityFeedControllerApi {
24
24
  * @param limit limit
25
25
  * @param nextPageToken nextPageToken
26
26
  * @param previousPageToken previousPageToken
27
+ * @param regionCode regionCode
27
28
  */
28
- listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActivityFeedResponse>;
29
+ listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActivityFeedResponse>;
29
30
  /**
30
31
  *
31
32
  * @summary listCaseOutcomes
@@ -29,8 +29,9 @@ var ActivityFeedControllerApi = /** @class */ (function () {
29
29
  * @param limit limit
30
30
  * @param nextPageToken nextPageToken
31
31
  * @param previousPageToken previousPageToken
32
+ * @param regionCode regionCode
32
33
  */
33
- ActivityFeedControllerApi.prototype.listActivityFeedUsingGET = function (limit, nextPageToken, previousPageToken, extraHttpRequestParams) {
34
+ ActivityFeedControllerApi.prototype.listActivityFeedUsingGET = function (limit, nextPageToken, previousPageToken, regionCode, extraHttpRequestParams) {
34
35
  var localVarPath = this.basePath + '/api/v1/activity-feed';
35
36
  var queryParameters = {};
36
37
  var headerParams = Object.assign({}, this.defaultHeaders);
@@ -47,6 +48,9 @@ var ActivityFeedControllerApi = /** @class */ (function () {
47
48
  if (previousPageToken !== undefined) {
48
49
  queryParameters['previousPageToken'] = previousPageToken;
49
50
  }
51
+ if (regionCode !== undefined) {
52
+ queryParameters['regionCode'] = regionCode;
53
+ }
50
54
  var httpRequestParams = {
51
55
  method: 'GET',
52
56
  url: localVarPath,
@@ -32,8 +32,9 @@ export class ActivityFeedControllerApi {
32
32
  * @param limit limit
33
33
  * @param nextPageToken nextPageToken
34
34
  * @param previousPageToken previousPageToken
35
+ * @param regionCode regionCode
35
36
  */
36
- public listActivityFeedUsingGET (limit: number, nextPageToken?: string, previousPageToken?: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetActivityFeedResponse> {
37
+ public listActivityFeedUsingGET (limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, extraHttpRequestParams?: any ) : ng.IHttpPromise<models.GetActivityFeedResponse> {
37
38
  const localVarPath = this.basePath + '/api/v1/activity-feed';
38
39
 
39
40
  let queryParameters: any = {};
@@ -55,6 +56,10 @@ export class ActivityFeedControllerApi {
55
56
  queryParameters['previousPageToken'] = previousPageToken;
56
57
  }
57
58
 
59
+ if (regionCode !== undefined) {
60
+ queryParameters['regionCode'] = regionCode;
61
+ }
62
+
58
63
  let httpRequestParams: ng.IRequestConfig = {
59
64
  method: 'GET',
60
65
  url: localVarPath,
@@ -14,9 +14,12 @@ export interface ActivityFeedModel {
14
14
  "activityDescription"?: string;
15
15
  "activityDescriptionInHtml"?: string;
16
16
  "activityType"?: ActivityFeedModel.ActivityTypeEnum;
17
+ "city"?: string;
17
18
  "ownerName"?: string;
18
19
  "privacyMode"?: ActivityFeedModel.PrivacyModeEnum;
19
20
  "profilePicUrl"?: string;
21
+ "regionCode"?: string;
22
+ "violationDescription"?: string;
20
23
  }
21
24
  export declare namespace ActivityFeedModel {
22
25
  enum ActivityTypeEnum {
@@ -17,9 +17,12 @@ export interface ActivityFeedModel {
17
17
  "activityDescription"?: string;
18
18
  "activityDescriptionInHtml"?: string;
19
19
  "activityType"?: ActivityFeedModel.ActivityTypeEnum;
20
+ "city"?: string;
20
21
  "ownerName"?: string;
21
22
  "privacyMode"?: ActivityFeedModel.PrivacyModeEnum;
22
23
  "profilePicUrl"?: string;
24
+ "regionCode"?: string;
25
+ "violationDescription"?: string;
23
26
  }
24
27
 
25
28
  export namespace ActivityFeedModel {
@@ -15,6 +15,7 @@ export interface ListActivityFeedUsingGETRequest {
15
15
  limit: number;
16
16
  nextPageToken?: string;
17
17
  previousPageToken?: string;
18
+ regionCode?: string;
18
19
  }
19
20
  export interface ListCaseOutcomesUsingGETRequest {
20
21
  includeCriminal?: boolean;
@@ -44,6 +44,9 @@ export class ActivityFeedControllerApi extends runtime.BaseAPI {
44
44
  if (requestParameters.previousPageToken !== undefined) {
45
45
  queryParameters['previousPageToken'] = requestParameters.previousPageToken;
46
46
  }
47
+ if (requestParameters.regionCode !== undefined) {
48
+ queryParameters['regionCode'] = requestParameters.regionCode;
49
+ }
47
50
  const headerParameters = {};
48
51
  const response = yield this.request({
49
52
  path: `/api/v1/activity-feed`,
@@ -27,6 +27,7 @@ export interface ListActivityFeedUsingGETRequest {
27
27
  limit: number;
28
28
  nextPageToken?: string;
29
29
  previousPageToken?: string;
30
+ regionCode?: string;
30
31
  }
31
32
 
32
33
  export interface ListCaseOutcomesUsingGETRequest {
@@ -64,6 +65,10 @@ export class ActivityFeedControllerApi extends runtime.BaseAPI {
64
65
  queryParameters['previousPageToken'] = requestParameters.previousPageToken;
65
66
  }
66
67
 
68
+ if (requestParameters.regionCode !== undefined) {
69
+ queryParameters['regionCode'] = requestParameters.regionCode;
70
+ }
71
+
67
72
  const headerParameters: runtime.HTTPHeaders = {};
68
73
 
69
74
  const response = await this.request({
@@ -39,6 +39,12 @@ export interface ActivityFeedModel {
39
39
  * @memberof ActivityFeedModel
40
40
  */
41
41
  activityType?: ActivityFeedModelActivityTypeEnum;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ActivityFeedModel
46
+ */
47
+ city?: string;
42
48
  /**
43
49
  *
44
50
  * @type {string}
@@ -57,6 +63,18 @@ export interface ActivityFeedModel {
57
63
  * @memberof ActivityFeedModel
58
64
  */
59
65
  profilePicUrl?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof ActivityFeedModel
70
+ */
71
+ regionCode?: string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof ActivityFeedModel
76
+ */
77
+ violationDescription?: string;
60
78
  }
61
79
  export declare function ActivityFeedModelFromJSON(json: any): ActivityFeedModel;
62
80
  export declare function ActivityFeedModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActivityFeedModel;
@@ -24,9 +24,12 @@ export function ActivityFeedModelFromJSONTyped(json, ignoreDiscriminator) {
24
24
  'activityDescription': !exists(json, 'activityDescription') ? undefined : json['activityDescription'],
25
25
  'activityDescriptionInHtml': !exists(json, 'activityDescriptionInHtml') ? undefined : json['activityDescriptionInHtml'],
26
26
  'activityType': !exists(json, 'activityType') ? undefined : json['activityType'],
27
+ 'city': !exists(json, 'city') ? undefined : json['city'],
27
28
  'ownerName': !exists(json, 'ownerName') ? undefined : json['ownerName'],
28
29
  'privacyMode': !exists(json, 'privacyMode') ? undefined : json['privacyMode'],
29
30
  'profilePicUrl': !exists(json, 'profilePicUrl') ? undefined : json['profilePicUrl'],
31
+ 'regionCode': !exists(json, 'regionCode') ? undefined : json['regionCode'],
32
+ 'violationDescription': !exists(json, 'violationDescription') ? undefined : json['violationDescription'],
30
33
  };
31
34
  }
32
35
  export function ActivityFeedModelToJSON(value) {
@@ -41,9 +44,12 @@ export function ActivityFeedModelToJSON(value) {
41
44
  'activityDescription': value.activityDescription,
42
45
  'activityDescriptionInHtml': value.activityDescriptionInHtml,
43
46
  'activityType': value.activityType,
47
+ 'city': value.city,
44
48
  'ownerName': value.ownerName,
45
49
  'privacyMode': value.privacyMode,
46
50
  'profilePicUrl': value.profilePicUrl,
51
+ 'regionCode': value.regionCode,
52
+ 'violationDescription': value.violationDescription,
47
53
  };
48
54
  }
49
55
  /**
@@ -43,6 +43,12 @@ export interface ActivityFeedModel {
43
43
  * @memberof ActivityFeedModel
44
44
  */
45
45
  activityType?: ActivityFeedModelActivityTypeEnum;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ActivityFeedModel
50
+ */
51
+ city?: string;
46
52
  /**
47
53
  *
48
54
  * @type {string}
@@ -61,6 +67,18 @@ export interface ActivityFeedModel {
61
67
  * @memberof ActivityFeedModel
62
68
  */
63
69
  profilePicUrl?: string;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof ActivityFeedModel
74
+ */
75
+ regionCode?: string;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof ActivityFeedModel
80
+ */
81
+ violationDescription?: string;
64
82
  }
65
83
 
66
84
  export function ActivityFeedModelFromJSON(json: any): ActivityFeedModel {
@@ -77,9 +95,12 @@ export function ActivityFeedModelFromJSONTyped(json: any, ignoreDiscriminator: b
77
95
  'activityDescription': !exists(json, 'activityDescription') ? undefined : json['activityDescription'],
78
96
  'activityDescriptionInHtml': !exists(json, 'activityDescriptionInHtml') ? undefined : json['activityDescriptionInHtml'],
79
97
  'activityType': !exists(json, 'activityType') ? undefined : json['activityType'],
98
+ 'city': !exists(json, 'city') ? undefined : json['city'],
80
99
  'ownerName': !exists(json, 'ownerName') ? undefined : json['ownerName'],
81
100
  'privacyMode': !exists(json, 'privacyMode') ? undefined : json['privacyMode'],
82
101
  'profilePicUrl': !exists(json, 'profilePicUrl') ? undefined : json['profilePicUrl'],
102
+ 'regionCode': !exists(json, 'regionCode') ? undefined : json['regionCode'],
103
+ 'violationDescription': !exists(json, 'violationDescription') ? undefined : json['violationDescription'],
83
104
  };
84
105
  }
85
106
 
@@ -96,9 +117,12 @@ export function ActivityFeedModelToJSON(value?: ActivityFeedModel | null): any {
96
117
  'activityDescription': value.activityDescription,
97
118
  'activityDescriptionInHtml': value.activityDescriptionInHtml,
98
119
  'activityType': value.activityType,
120
+ 'city': value.city,
99
121
  'ownerName': value.ownerName,
100
122
  'privacyMode': value.privacyMode,
101
123
  'profilePicUrl': value.profilePicUrl,
124
+ 'regionCode': value.regionCode,
125
+ 'violationDescription': value.violationDescription,
102
126
  };
103
127
  }
104
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.42",
3
+ "version": "2.4.44",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"