@otr-app/shared-backend-generated-client 2.3.198 → 2.3.200

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
  }
@@ -33,9 +33,10 @@ export declare class CustomerServiceAgentBookingsControllerApi {
33
33
  * @param sortOrder sortOrder
34
34
  * @param startDate startDate
35
35
  * @param state state
36
+ * @param statusCategory statusCategory
36
37
  * @param timeZoneId timeZoneId
37
38
  */
38
- listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, timeZoneId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListAgentBookingsResponse>;
39
+ listAgentBookingsUsingGET(agentTeam?: string, agentUserId?: number, caseStatus?: string, channel?: string, direction?: string, endDate?: string, length?: number, offset?: number, sortBy?: string, sortOrder?: string, startDate?: string, state?: string, statusCategory?: string, timeZoneId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListAgentBookingsResponse>;
39
40
  /**
40
41
  *
41
42
  * @summary saveAgentBooking
@@ -38,9 +38,10 @@ var CustomerServiceAgentBookingsControllerApi = /** @class */ (function () {
38
38
  * @param sortOrder sortOrder
39
39
  * @param startDate startDate
40
40
  * @param state state
41
+ * @param statusCategory statusCategory
41
42
  * @param timeZoneId timeZoneId
42
43
  */
43
- CustomerServiceAgentBookingsControllerApi.prototype.listAgentBookingsUsingGET = function (agentTeam, agentUserId, caseStatus, channel, direction, endDate, length, offset, sortBy, sortOrder, startDate, state, timeZoneId, extraHttpRequestParams) {
44
+ CustomerServiceAgentBookingsControllerApi.prototype.listAgentBookingsUsingGET = function (agentTeam, agentUserId, caseStatus, channel, direction, endDate, length, offset, sortBy, sortOrder, startDate, state, statusCategory, timeZoneId, extraHttpRequestParams) {
44
45
  var localVarPath = this.basePath + '/api/v1/cs-agent-bookings';
45
46
  var queryParameters = {};
46
47
  var headerParams = Object.assign({}, this.defaultHeaders);
@@ -80,6 +81,9 @@ var CustomerServiceAgentBookingsControllerApi = /** @class */ (function () {
80
81
  if (state !== undefined) {
81
82
  queryParameters['state'] = state;
82
83
  }
84
+ if (statusCategory !== undefined) {
85
+ queryParameters['statusCategory'] = statusCategory;
86
+ }
83
87
  if (timeZoneId !== undefined) {
84
88
  queryParameters['timeZoneId'] = timeZoneId;
85
89
  }
@@ -17,6 +17,7 @@ export interface Case {
17
17
  "caseSubtotal"?: number;
18
18
  "otrReferralFee"?: number;
19
19
  "state"?: Case.StateEnum;
20
+ "statusCategory"?: Case.StatusCategoryEnum;
20
21
  }
21
22
  export declare namespace Case {
22
23
  enum CaseStatusEnum {
@@ -111,4 +112,10 @@ export declare namespace Case {
111
112
  WV,
112
113
  WY
113
114
  }
115
+ enum StatusCategoryEnum {
116
+ ACTIVE,
117
+ CANCELLED,
118
+ RESOLVED,
119
+ UNCONFIRMED
120
+ }
114
121
  }
@@ -108,4 +108,11 @@ var Case;
108
108
  StateEnum[StateEnum["WV"] = 'WV'] = "WV";
109
109
  StateEnum[StateEnum["WY"] = 'WY'] = "WY";
110
110
  })(StateEnum = Case.StateEnum || (Case.StateEnum = {}));
111
+ var StatusCategoryEnum;
112
+ (function (StatusCategoryEnum) {
113
+ StatusCategoryEnum[StatusCategoryEnum["ACTIVE"] = 'ACTIVE'] = "ACTIVE";
114
+ StatusCategoryEnum[StatusCategoryEnum["CANCELLED"] = 'CANCELLED'] = "CANCELLED";
115
+ StatusCategoryEnum[StatusCategoryEnum["RESOLVED"] = 'RESOLVED'] = "RESOLVED";
116
+ StatusCategoryEnum[StatusCategoryEnum["UNCONFIRMED"] = 'UNCONFIRMED'] = "UNCONFIRMED";
117
+ })(StatusCategoryEnum = Case.StatusCategoryEnum || (Case.StatusCategoryEnum = {}));
111
118
  })(Case = exports.Case || (exports.Case = {}));
@@ -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 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.3.198",
3
+ "version": "2.3.200",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"