@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.
@@ -221,20 +221,25 @@ export class CoachingCardsControllerService {
221
221
  /**
222
222
  * listUserCoachingCards
223
223
  * @param userId userId
224
+ * @param coachingCardType coachingCardType
224
225
  * @param includeCreated includeCreated
225
226
  * @param includeReceived includeReceived
226
227
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
227
228
  * @param reportProgress flag to report request and response progress.
228
229
  */
229
- public listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListUserCoachingCardsResponse>;
230
- public listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListUserCoachingCardsResponse>>;
231
- public listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListUserCoachingCardsResponse>>;
232
- public listUserCoachingCardsUsingGET(userId: number, includeCreated?: boolean, includeReceived?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
230
+ public listUserCoachingCardsUsingGET(userId: number, coachingCardType?: 'COACHING' | 'KUDOS', includeCreated?: boolean, includeReceived?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListUserCoachingCardsResponse>;
231
+ public listUserCoachingCardsUsingGET(userId: number, coachingCardType?: 'COACHING' | 'KUDOS', includeCreated?: boolean, includeReceived?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListUserCoachingCardsResponse>>;
232
+ public listUserCoachingCardsUsingGET(userId: number, coachingCardType?: 'COACHING' | 'KUDOS', includeCreated?: boolean, includeReceived?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListUserCoachingCardsResponse>>;
233
+ public listUserCoachingCardsUsingGET(userId: number, coachingCardType?: 'COACHING' | 'KUDOS', includeCreated?: boolean, includeReceived?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
233
234
  if (userId === null || userId === undefined) {
234
235
  throw new Error('Required parameter userId was null or undefined when calling listUserCoachingCardsUsingGET.');
235
236
  }
236
237
 
237
238
  let localVarQueryParameters = new HttpParams({encoder: this.encoder});
239
+ if (coachingCardType !== undefined && coachingCardType !== null) {
240
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
241
+ <any>coachingCardType, 'coachingCardType');
242
+ }
238
243
  if (includeCreated !== undefined && includeCreated !== null) {
239
244
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
240
245
  <any>includeCreated, 'includeCreated');
@@ -109,14 +109,15 @@ export class CustomerServiceAgentBookingsControllerService {
109
109
  * @param sortOrder sortOrder
110
110
  * @param startDate startDate
111
111
  * @param state state
112
+ * @param statusCategory statusCategory
112
113
  * @param timeZoneId timeZoneId
113
114
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
114
115
  * @param reportProgress flag to report request and response progress.
115
116
  */
116
- public 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, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListAgentBookingsResponse>;
117
- public 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, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListAgentBookingsResponse>>;
118
- public 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, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListAgentBookingsResponse>>;
119
- public 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, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
117
+ public 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, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListAgentBookingsResponse>;
118
+ public 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, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListAgentBookingsResponse>>;
119
+ public 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, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListAgentBookingsResponse>>;
120
+ public 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, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
120
121
 
121
122
  let localVarQueryParameters = new HttpParams({encoder: this.encoder});
122
123
  if (agentTeam !== undefined && agentTeam !== null) {
@@ -167,6 +168,10 @@ export class CustomerServiceAgentBookingsControllerService {
167
168
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
168
169
  <any>state, 'state');
169
170
  }
171
+ if (statusCategory !== undefined && statusCategory !== null) {
172
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
173
+ <any>statusCategory, 'statusCategory');
174
+ }
170
175
  if (timeZoneId !== undefined && timeZoneId !== null) {
171
176
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
172
177
  <any>timeZoneId, 'timeZoneId');
@@ -19,6 +19,7 @@ export interface Case {
19
19
  caseSubtotal?: number;
20
20
  otrReferralFee?: number;
21
21
  state?: Case.StateEnum;
22
+ statusCategory?: Case.StatusCategoryEnum;
22
23
  }
23
24
  export namespace Case {
24
25
  export type CaseStatusEnum = 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED';
@@ -115,6 +116,13 @@ export namespace Case {
115
116
  Wv: 'WV' as StateEnum,
116
117
  Wy: 'WY' as StateEnum
117
118
  };
119
+ export type StatusCategoryEnum = 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED';
120
+ export const StatusCategoryEnum = {
121
+ Active: 'ACTIVE' as StatusCategoryEnum,
122
+ Cancelled: 'CANCELLED' as StatusCategoryEnum,
123
+ Resolved: 'RESOLVED' as StatusCategoryEnum,
124
+ Unconfirmed: 'UNCONFIRMED' as StatusCategoryEnum
125
+ };
118
126
  }
119
127
 
120
128
 
@@ -19,8 +19,17 @@ export interface CoachingCardsModel {
19
19
  coachingCardCategoryId?: number;
20
20
  coachingCardId?: number;
21
21
  coachingCardSubcategoryId?: number;
22
+ coachingCardType?: CoachingCardsModel.CoachingCardTypeEnum;
22
23
  coachingCardUsers?: Set<CoachingCardUsersModel>;
23
24
  coachingLinks?: CoachingLinks;
24
25
  coachingText?: string;
25
26
  }
27
+ export namespace CoachingCardsModel {
28
+ export type CoachingCardTypeEnum = 'COACHING' | 'KUDOS';
29
+ export const CoachingCardTypeEnum = {
30
+ Coaching: 'COACHING' as CoachingCardTypeEnum,
31
+ Kudos: 'KUDOS' as CoachingCardTypeEnum
32
+ };
33
+ }
34
+
26
35
 
@@ -16,8 +16,17 @@ import { CoachingLinks } from './coachingLinks';
16
16
  export interface SaveCoachingCardRequest {
17
17
  coachingCardCategoryId?: number;
18
18
  coachingCardSubcategoryId?: number;
19
+ coachingCardType?: SaveCoachingCardRequest.CoachingCardTypeEnum;
19
20
  coachingCardUserRequest?: Array<SaveCoachingCardUserRequest>;
20
21
  coachingLinks?: CoachingLinks;
21
22
  coachingText?: string;
22
23
  }
24
+ export namespace SaveCoachingCardRequest {
25
+ export type CoachingCardTypeEnum = 'COACHING' | 'KUDOS';
26
+ export const CoachingCardTypeEnum = {
27
+ Coaching: 'COACHING' as CoachingCardTypeEnum,
28
+ Kudos: 'KUDOS' as CoachingCardTypeEnum
29
+ };
30
+ }
31
+
23
32
 
@@ -4981,6 +4981,7 @@ angular.module('otrBackendService', [])
4981
4981
  * @method
4982
4982
  * @name OtrService#listUserCoachingCardsUsingGET
4983
4983
  * @param {object} parameters - method options and parameters
4984
+ * @param {string} parameters.coachingCardType - coachingCardType
4984
4985
  * @param {boolean} parameters.includeCreated - includeCreated
4985
4986
  * @param {boolean} parameters.includeReceived - includeReceived
4986
4987
  * @param {integer} parameters.userId - userId
@@ -4999,6 +5000,10 @@ angular.module('otrBackendService', [])
4999
5000
 
5000
5001
  headers['Accept'] = ['*/*'];
5001
5002
 
5003
+ if (parameters['coachingCardType'] !== undefined) {
5004
+ queryParameters['coachingCardType'] = parameters['coachingCardType'];
5005
+ }
5006
+
5002
5007
  /** set default value **/
5003
5008
  queryParameters['includeCreated'] = true;
5004
5009
 
@@ -6823,6 +6828,7 @@ angular.module('otrBackendService', [])
6823
6828
  * @param {string} parameters.sortOrder - sortOrder
6824
6829
  * @param {string} parameters.startDate - startDate
6825
6830
  * @param {string} parameters.state - state
6831
+ * @param {string} parameters.statusCategory - statusCategory
6826
6832
  * @param {string} parameters.timeZoneId - timeZoneId
6827
6833
  */
6828
6834
  OtrService.prototype.listAgentBookingsUsingGET = function(parameters) {
@@ -6890,6 +6896,10 @@ angular.module('otrBackendService', [])
6890
6896
  queryParameters['state'] = parameters['state'];
6891
6897
  }
6892
6898
 
6899
+ if (parameters['statusCategory'] !== undefined) {
6900
+ queryParameters['statusCategory'] = parameters['statusCategory'];
6901
+ }
6902
+
6893
6903
  if (parameters['timeZoneId'] !== undefined) {
6894
6904
  queryParameters['timeZoneId'] = parameters['timeZoneId'];
6895
6905
  }