@otr-app/shared-backend-generated-client 2.3.197 → 2.3.199

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.
@@ -33,10 +33,11 @@ export declare class CoachingCardsControllerApi {
33
33
  *
34
34
  * @summary listUserCoachingCards
35
35
  * @param userId userId
36
+ * @param coachingCardType coachingCardType
36
37
  * @param includeCreated includeCreated
37
38
  * @param includeReceived includeReceived
38
39
  */
39
- listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListUserCoachingCardsResponse>;
40
+ listUserCoachingCardsUsingGET(userId: number, coachingCardType?: 'COACHING' | 'KUDOS', includeCreated?: boolean, includeReceived?: boolean, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListUserCoachingCardsResponse>;
40
41
  /**
41
42
  *
42
43
  * @summary saveCoachingCard
@@ -71,10 +71,11 @@ var CoachingCardsControllerApi = /** @class */ (function () {
71
71
  *
72
72
  * @summary listUserCoachingCards
73
73
  * @param userId userId
74
+ * @param coachingCardType coachingCardType
74
75
  * @param includeCreated includeCreated
75
76
  * @param includeReceived includeReceived
76
77
  */
77
- CoachingCardsControllerApi.prototype.listUserCoachingCardsUsingGET = function (userId, includeCreated, includeReceived, extraHttpRequestParams) {
78
+ CoachingCardsControllerApi.prototype.listUserCoachingCardsUsingGET = function (userId, coachingCardType, includeCreated, includeReceived, extraHttpRequestParams) {
78
79
  var localVarPath = this.basePath + '/api/v1/coaching-cards/{userId}/cards'
79
80
  .replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
80
81
  var queryParameters = {};
@@ -83,6 +84,9 @@ var CoachingCardsControllerApi = /** @class */ (function () {
83
84
  if (userId === null || userId === undefined) {
84
85
  throw new Error('Required parameter userId was null or undefined when calling listUserCoachingCardsUsingGET.');
85
86
  }
87
+ if (coachingCardType !== undefined) {
88
+ queryParameters['coachingCardType'] = coachingCardType;
89
+ }
86
90
  if (includeCreated !== undefined) {
87
91
  queryParameters['includeCreated'] = includeCreated;
88
92
  }
@@ -16,7 +16,14 @@ export interface CoachingCardsModel {
16
16
  "coachingCardCategoryId"?: number;
17
17
  "coachingCardId"?: number;
18
18
  "coachingCardSubcategoryId"?: number;
19
+ "coachingCardType"?: CoachingCardsModel.CoachingCardTypeEnum;
19
20
  "coachingCardUsers"?: Array<models.CoachingCardUsersModel>;
20
21
  "coachingLinks"?: models.CoachingLinks;
21
22
  "coachingText"?: string;
22
23
  }
24
+ export declare namespace CoachingCardsModel {
25
+ enum CoachingCardTypeEnum {
26
+ COACHING,
27
+ KUDOS
28
+ }
29
+ }
@@ -11,3 +11,12 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.CoachingCardsModel = void 0;
15
+ var CoachingCardsModel;
16
+ (function (CoachingCardsModel) {
17
+ var CoachingCardTypeEnum;
18
+ (function (CoachingCardTypeEnum) {
19
+ CoachingCardTypeEnum[CoachingCardTypeEnum["COACHING"] = 'COACHING'] = "COACHING";
20
+ CoachingCardTypeEnum[CoachingCardTypeEnum["KUDOS"] = 'KUDOS'] = "KUDOS";
21
+ })(CoachingCardTypeEnum = CoachingCardsModel.CoachingCardTypeEnum || (CoachingCardsModel.CoachingCardTypeEnum = {}));
22
+ })(CoachingCardsModel = exports.CoachingCardsModel || (exports.CoachingCardsModel = {}));
@@ -20,6 +20,7 @@ export interface CourtEntity {
20
20
  "courtType"?: CourtEntity.CourtTypeEnum;
21
21
  "lookupCaseInfoLink"?: string;
22
22
  "otrTargetFee"?: number;
23
+ "similarityScore"?: number;
23
24
  "website"?: string;
24
25
  }
25
26
  export declare namespace CourtEntity {
@@ -16,5 +16,6 @@ export interface OCRCourtModel {
16
16
  "courtName"?: string;
17
17
  "courtNameAdditional"?: string;
18
18
  "regionCode"?: string;
19
+ "similarityScore"?: number;
19
20
  "timeZoneName"?: string;
20
21
  }
@@ -12,6 +12,7 @@
12
12
  export interface OCRViolationModel {
13
13
  "classDescription"?: string;
14
14
  "criminal"?: boolean;
15
+ "similarityScore"?: number;
15
16
  "violationClassification"?: OCRViolationModel.ViolationClassificationEnum;
16
17
  "violationDescription"?: string;
17
18
  "violationId"?: number;
@@ -13,7 +13,14 @@ import * as models from './models';
13
13
  export interface SaveCoachingCardRequest {
14
14
  "coachingCardCategoryId"?: number;
15
15
  "coachingCardSubcategoryId"?: number;
16
+ "coachingCardType"?: SaveCoachingCardRequest.CoachingCardTypeEnum;
16
17
  "coachingCardUserRequest"?: Array<models.SaveCoachingCardUserRequest>;
17
18
  "coachingLinks"?: models.CoachingLinks;
18
19
  "coachingText"?: string;
19
20
  }
21
+ export declare namespace SaveCoachingCardRequest {
22
+ enum CoachingCardTypeEnum {
23
+ COACHING,
24
+ KUDOS
25
+ }
26
+ }
@@ -11,3 +11,12 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.SaveCoachingCardRequest = void 0;
15
+ var SaveCoachingCardRequest;
16
+ (function (SaveCoachingCardRequest) {
17
+ var CoachingCardTypeEnum;
18
+ (function (CoachingCardTypeEnum) {
19
+ CoachingCardTypeEnum[CoachingCardTypeEnum["COACHING"] = 'COACHING'] = "COACHING";
20
+ CoachingCardTypeEnum[CoachingCardTypeEnum["KUDOS"] = 'KUDOS'] = "KUDOS";
21
+ })(CoachingCardTypeEnum = SaveCoachingCardRequest.CoachingCardTypeEnum || (SaveCoachingCardRequest.CoachingCardTypeEnum = {}));
22
+ })(SaveCoachingCardRequest = exports.SaveCoachingCardRequest || (exports.SaveCoachingCardRequest = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.3.197",
3
+ "version": "2.3.199",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"