@otr-app/shared-backend-generated-client 2.3.114 → 2.3.116

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.
@@ -21,19 +21,20 @@ export declare class ExternalTicketLookupControllerApi {
21
21
  /**
22
22
  *
23
23
  * @summary getExternalTickets
24
- * @param countyId countyId
25
24
  * @param regionCode regionCode
26
25
  * @param attempts attempts
27
26
  * @param citationId citationId
27
+ * @param countyId countyId
28
28
  * @param dateOfBirth dateOfBirth
29
29
  * @param driversLicenseId driversLicenseId
30
30
  * @param lastName lastName
31
31
  * @param organizationName organizationName
32
32
  * @param searchType searchType
33
33
  * @param searchValue searchValue
34
+ * @param sessionId sessionId
34
35
  * @param userId userId
35
36
  */
36
- getExternalTicketsUsingGET(countyId: number, regionCode: string, attempts?: number, citationId?: string, dateOfBirth?: string, driversLicenseId?: string, lastName?: string, organizationName?: string, searchType?: string, searchValue?: string, userId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetExternalTicketsResponse>;
37
+ getExternalTicketsUsingGET(regionCode: string, attempts?: number, citationId?: string, countyId?: number, dateOfBirth?: string, driversLicenseId?: string, lastName?: string, organizationName?: string, searchType?: string, searchValue?: string, sessionId?: string, userId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetExternalTicketsResponse>;
37
38
  /**
38
39
  *
39
40
  * @summary getInputParameters
@@ -26,26 +26,23 @@ var ExternalTicketLookupControllerApi = /** @class */ (function () {
26
26
  /**
27
27
  *
28
28
  * @summary getExternalTickets
29
- * @param countyId countyId
30
29
  * @param regionCode regionCode
31
30
  * @param attempts attempts
32
31
  * @param citationId citationId
32
+ * @param countyId countyId
33
33
  * @param dateOfBirth dateOfBirth
34
34
  * @param driversLicenseId driversLicenseId
35
35
  * @param lastName lastName
36
36
  * @param organizationName organizationName
37
37
  * @param searchType searchType
38
38
  * @param searchValue searchValue
39
+ * @param sessionId sessionId
39
40
  * @param userId userId
40
41
  */
41
- ExternalTicketLookupControllerApi.prototype.getExternalTicketsUsingGET = function (countyId, regionCode, attempts, citationId, dateOfBirth, driversLicenseId, lastName, organizationName, searchType, searchValue, userId, extraHttpRequestParams) {
42
+ ExternalTicketLookupControllerApi.prototype.getExternalTicketsUsingGET = function (regionCode, attempts, citationId, countyId, dateOfBirth, driversLicenseId, lastName, organizationName, searchType, searchValue, sessionId, userId, extraHttpRequestParams) {
42
43
  var localVarPath = this.basePath + '/api/v1/external-tickets';
43
44
  var queryParameters = {};
44
45
  var headerParams = Object.assign({}, this.defaultHeaders);
45
- // verify required parameter 'countyId' is not null or undefined
46
- if (countyId === null || countyId === undefined) {
47
- throw new Error('Required parameter countyId was null or undefined when calling getExternalTicketsUsingGET.');
48
- }
49
46
  // verify required parameter 'regionCode' is not null or undefined
50
47
  if (regionCode === null || regionCode === undefined) {
51
48
  throw new Error('Required parameter regionCode was null or undefined when calling getExternalTicketsUsingGET.');
@@ -80,6 +77,9 @@ var ExternalTicketLookupControllerApi = /** @class */ (function () {
80
77
  if (searchValue !== undefined) {
81
78
  queryParameters['searchValue'] = searchValue;
82
79
  }
80
+ if (sessionId !== undefined) {
81
+ queryParameters['sessionId'] = sessionId;
82
+ }
83
83
  if (userId !== undefined) {
84
84
  queryParameters['userId'] = userId;
85
85
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /// <reference types="angular" />
13
+ import * as models from '../model/models';
13
14
  export declare class WebsocketMessageControllerApi {
14
15
  protected $http: ng.IHttpService;
15
16
  protected $httpParamSerializer?: (d: any) => any;
@@ -21,7 +22,7 @@ export declare class WebsocketMessageControllerApi {
21
22
  *
22
23
  * @summary forwardMessage
23
24
  * @param xSessionId X-Session-Id
24
- * @param message message
25
+ * @param request request
25
26
  */
26
- forwardMessageUsingPOST(xSessionId: string, message: string, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
27
+ forwardMessageUsingPOST(xSessionId: string, request: models.ForwardMessageRequest, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
27
28
  }
@@ -27,9 +27,9 @@ var WebsocketMessageControllerApi = /** @class */ (function () {
27
27
  *
28
28
  * @summary forwardMessage
29
29
  * @param xSessionId X-Session-Id
30
- * @param message message
30
+ * @param request request
31
31
  */
32
- WebsocketMessageControllerApi.prototype.forwardMessageUsingPOST = function (xSessionId, message, extraHttpRequestParams) {
32
+ WebsocketMessageControllerApi.prototype.forwardMessageUsingPOST = function (xSessionId, request, extraHttpRequestParams) {
33
33
  var localVarPath = this.basePath + '/api/v1/forward-message';
34
34
  var queryParameters = {};
35
35
  var headerParams = Object.assign({}, this.defaultHeaders);
@@ -37,15 +37,15 @@ var WebsocketMessageControllerApi = /** @class */ (function () {
37
37
  if (xSessionId === null || xSessionId === undefined) {
38
38
  throw new Error('Required parameter xSessionId was null or undefined when calling forwardMessageUsingPOST.');
39
39
  }
40
- // verify required parameter 'message' is not null or undefined
41
- if (message === null || message === undefined) {
42
- throw new Error('Required parameter message was null or undefined when calling forwardMessageUsingPOST.');
40
+ // verify required parameter 'request' is not null or undefined
41
+ if (request === null || request === undefined) {
42
+ throw new Error('Required parameter request was null or undefined when calling forwardMessageUsingPOST.');
43
43
  }
44
44
  headerParams['X-Session-Id'] = xSessionId;
45
45
  var httpRequestParams = {
46
46
  method: 'POST',
47
47
  url: localVarPath,
48
- data: message,
48
+ data: request,
49
49
  params: queryParameters,
50
50
  headers: headerParams
51
51
  };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface ForwardMessageRequest {
13
+ "countyName"?: string;
14
+ "htmlText"?: string;
15
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * OffTheRecord Rest Service API - Devo
4
+ * A service to handle your traffic tickets
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -89,6 +89,7 @@ export declare namespace ValidateDirectMailResponse {
89
89
  FAILEDTOREVERSETRANSFER,
90
90
  FRESHDESKTICKETNOTFOUND,
91
91
  FRESHDESKUNEXPECTEDNUMBEROFRESULTS,
92
+ GHOSTUSERNOTALLOWED,
92
93
  HTTPREQUESTERROR,
93
94
  IMAGENOTCOMPRESSEDPROPERLY,
94
95
  INACTIVESTOREFRONT,
@@ -91,6 +91,7 @@ var ValidateDirectMailResponse;
91
91
  OtrErrorEnum[OtrErrorEnum["FAILEDTOREVERSETRANSFER"] = 'FAILED_TO_REVERSE_TRANSFER'] = "FAILEDTOREVERSETRANSFER";
92
92
  OtrErrorEnum[OtrErrorEnum["FRESHDESKTICKETNOTFOUND"] = 'FRESHDESK_TICKET_NOT_FOUND'] = "FRESHDESKTICKETNOTFOUND";
93
93
  OtrErrorEnum[OtrErrorEnum["FRESHDESKUNEXPECTEDNUMBEROFRESULTS"] = 'FRESHDESK_UNEXPECTED_NUMBER_OF_RESULTS'] = "FRESHDESKUNEXPECTEDNUMBEROFRESULTS";
94
+ OtrErrorEnum[OtrErrorEnum["GHOSTUSERNOTALLOWED"] = 'GHOST_USER_NOT_ALLOWED'] = "GHOSTUSERNOTALLOWED";
94
95
  OtrErrorEnum[OtrErrorEnum["HTTPREQUESTERROR"] = 'HTTP_REQUEST_ERROR'] = "HTTPREQUESTERROR";
95
96
  OtrErrorEnum[OtrErrorEnum["IMAGENOTCOMPRESSEDPROPERLY"] = 'IMAGE_NOT_COMPRESSED_PROPERLY'] = "IMAGENOTCOMPRESSEDPROPERLY";
96
97
  OtrErrorEnum[OtrErrorEnum["INACTIVESTOREFRONT"] = 'INACTIVE_STOREFRONT'] = "INACTIVESTOREFRONT";
@@ -196,6 +196,7 @@ export * from './FindMatchingUser';
196
196
  export * from './FindMatchingUsersRequest';
197
197
  export * from './FindMatchingUsersResponse';
198
198
  export * from './FindsCourtsResponse';
199
+ export * from './ForwardMessageRequest';
199
200
  export * from './FreshDeskConversation';
200
201
  export * from './FreshDeskRequester';
201
202
  export * from './FreshDeskTicket';
@@ -208,6 +208,7 @@ __exportStar(require("./FindMatchingUser"), exports);
208
208
  __exportStar(require("./FindMatchingUsersRequest"), exports);
209
209
  __exportStar(require("./FindMatchingUsersResponse"), exports);
210
210
  __exportStar(require("./FindsCourtsResponse"), exports);
211
+ __exportStar(require("./ForwardMessageRequest"), exports);
211
212
  __exportStar(require("./FreshDeskConversation"), exports);
212
213
  __exportStar(require("./FreshDeskRequester"), exports);
213
214
  __exportStar(require("./FreshDeskTicket"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.3.114",
3
+ "version": "2.3.116",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"