@otr-app/shared-backend-generated-client 2.3.198 → 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.
- package/dist/angular/api/coachingCardsController.service.ts +9 -4
- package/dist/angular/model/coachingCardsModel.ts +9 -0
- package/dist/angular/model/saveCoachingCardRequest.ts +9 -0
- package/dist/otrBackendService.js +5 -0
- package/dist/otrBackendService.min.js +6 -6
- package/dist/typescript/api/CoachingCardsControllerApi.d.ts +2 -1
- package/dist/typescript/api/CoachingCardsControllerApi.js +5 -1
- package/dist/typescript/model/CoachingCardsModel.d.ts +7 -0
- package/dist/typescript/model/CoachingCardsModel.js +9 -0
- package/dist/typescript/model/SaveCoachingCardRequest.d.ts +7 -0
- package/dist/typescript/model/SaveCoachingCardRequest.js +9 -0
- package/package.json +1 -1
|
@@ -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 = {}));
|
|
@@ -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 = {}));
|