@otr-app/shared-backend-generated-client 2.2.3 → 2.2.6

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.
@@ -113,10 +113,10 @@ angular.module('otrBackendService', [])
113
113
  /**
114
114
  * unmappedRequest
115
115
  * @method
116
- * @name OtrService#unmappedRequestUsingGET
116
+ * @name OtrService#unmappedRequestUsingGET_1
117
117
  * @param {object} parameters - method options and parameters
118
118
  */
119
- OtrService.prototype.unmappedRequestUsingGET = function(parameters) {
119
+ OtrService.prototype.unmappedRequestUsingGET_1 = function(parameters) {
120
120
  if (parameters === undefined) {
121
121
  parameters = {};
122
122
  }
@@ -139,10 +139,10 @@ angular.module('otrBackendService', [])
139
139
  /**
140
140
  * unmappedRequest
141
141
  * @method
142
- * @name OtrService#unmappedRequestUsingHEAD
142
+ * @name OtrService#unmappedRequestUsingHEAD_1
143
143
  * @param {object} parameters - method options and parameters
144
144
  */
145
- OtrService.prototype.unmappedRequestUsingHEAD = function(parameters) {
145
+ OtrService.prototype.unmappedRequestUsingHEAD_1 = function(parameters) {
146
146
  if (parameters === undefined) {
147
147
  parameters = {};
148
148
  }
@@ -166,10 +166,10 @@ angular.module('otrBackendService', [])
166
166
  /**
167
167
  * unmappedRequest
168
168
  * @method
169
- * @name OtrService#unmappedRequestUsingPOST
169
+ * @name OtrService#unmappedRequestUsingPOST_1
170
170
  * @param {object} parameters - method options and parameters
171
171
  */
172
- OtrService.prototype.unmappedRequestUsingPOST = function(parameters) {
172
+ OtrService.prototype.unmappedRequestUsingPOST_1 = function(parameters) {
173
173
  if (parameters === undefined) {
174
174
  parameters = {};
175
175
  }
@@ -193,10 +193,10 @@ angular.module('otrBackendService', [])
193
193
  /**
194
194
  * unmappedRequest
195
195
  * @method
196
- * @name OtrService#unmappedRequestUsingPUT
196
+ * @name OtrService#unmappedRequestUsingPUT_1
197
197
  * @param {object} parameters - method options and parameters
198
198
  */
199
- OtrService.prototype.unmappedRequestUsingPUT = function(parameters) {
199
+ OtrService.prototype.unmappedRequestUsingPUT_1 = function(parameters) {
200
200
  if (parameters === undefined) {
201
201
  parameters = {};
202
202
  }
@@ -220,10 +220,10 @@ angular.module('otrBackendService', [])
220
220
  /**
221
221
  * unmappedRequest
222
222
  * @method
223
- * @name OtrService#unmappedRequestUsingDELETE
223
+ * @name OtrService#unmappedRequestUsingDELETE_1
224
224
  * @param {object} parameters - method options and parameters
225
225
  */
226
- OtrService.prototype.unmappedRequestUsingDELETE = function(parameters) {
226
+ OtrService.prototype.unmappedRequestUsingDELETE_1 = function(parameters) {
227
227
  if (parameters === undefined) {
228
228
  parameters = {};
229
229
  }
@@ -246,10 +246,10 @@ angular.module('otrBackendService', [])
246
246
  /**
247
247
  * unmappedRequest
248
248
  * @method
249
- * @name OtrService#unmappedRequestUsingOPTIONS
249
+ * @name OtrService#unmappedRequestUsingOPTIONS_1
250
250
  * @param {object} parameters - method options and parameters
251
251
  */
252
- OtrService.prototype.unmappedRequestUsingOPTIONS = function(parameters) {
252
+ OtrService.prototype.unmappedRequestUsingOPTIONS_1 = function(parameters) {
253
253
  if (parameters === undefined) {
254
254
  parameters = {};
255
255
  }
@@ -273,10 +273,10 @@ angular.module('otrBackendService', [])
273
273
  /**
274
274
  * unmappedRequest
275
275
  * @method
276
- * @name OtrService#unmappedRequestUsingPATCH
276
+ * @name OtrService#unmappedRequestUsingPATCH_1
277
277
  * @param {object} parameters - method options and parameters
278
278
  */
279
- OtrService.prototype.unmappedRequestUsingPATCH = function(parameters) {
279
+ OtrService.prototype.unmappedRequestUsingPATCH_1 = function(parameters) {
280
280
  if (parameters === undefined) {
281
281
  parameters = {};
282
282
  }
@@ -8018,6 +8018,53 @@ angular.module('otrBackendService', [])
8018
8018
 
8019
8019
  return deferred.promise;
8020
8020
  };
8021
+ /**
8022
+ * getInboxMessages
8023
+ * @method
8024
+ * @name OtrService#getInboxMessagesUsingGET
8025
+ * @param {object} parameters - method options and parameters
8026
+ * @param {integer} parameters.lawfirmId - lawfirmId
8027
+ * @param {integer} parameters.length - length
8028
+ * @param {integer} parameters.page - page
8029
+ */
8030
+ OtrService.prototype.getInboxMessagesUsingGET = function(parameters) {
8031
+ if (parameters === undefined) {
8032
+ parameters = {};
8033
+ }
8034
+ var deferred = $q.defer();
8035
+ var domain = this.domain,
8036
+ path = '/api/v1/lawfirms/{lawfirmId}/inbox-messages';
8037
+ var body = {},
8038
+ queryParameters = {},
8039
+ headers = {},
8040
+ form = {};
8041
+
8042
+ headers['Accept'] = ['*/*'];
8043
+
8044
+ path = path.replace('{lawfirmId}', parameters['lawfirmId']);
8045
+
8046
+ if (parameters['lawfirmId'] === undefined) {
8047
+ deferred.reject(new Error('Missing required parameter: lawfirmId'));
8048
+ return deferred.promise;
8049
+ }
8050
+
8051
+ /** set default value **/
8052
+ queryParameters['length'] = 100;
8053
+
8054
+ if (parameters['length'] !== undefined) {
8055
+ queryParameters['length'] = parameters['length'];
8056
+ }
8057
+
8058
+ if (parameters['page'] !== undefined) {
8059
+ queryParameters['page'] = parameters['page'];
8060
+ }
8061
+
8062
+ queryParameters = mergeQueryParams(parameters, queryParameters);
8063
+
8064
+ this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
8065
+
8066
+ return deferred.promise;
8067
+ };
8021
8068
  /**
8022
8069
  * getLawfirmLawyers
8023
8070
  * @method
@@ -8057,7 +8104,6 @@ angular.module('otrBackendService', [])
8057
8104
  * @method
8058
8105
  * @name OtrService#getLawfirmInboxMessagesUsingGET
8059
8106
  * @param {object} parameters - method options and parameters
8060
- * @param {string} parameters.caseId - caseId
8061
8107
  * @param {integer} parameters.lawfirmId - lawfirmId
8062
8108
  * @param {integer} parameters.length - length
8063
8109
  * @param {integer} parameters.page - page
@@ -8076,10 +8122,6 @@ angular.module('otrBackendService', [])
8076
8122
 
8077
8123
  headers['Accept'] = ['*/*'];
8078
8124
 
8079
- if (parameters['caseId'] !== undefined) {
8080
- queryParameters['caseId'] = parameters['caseId'];
8081
- }
8082
-
8083
8125
  path = path.replace('{lawfirmId}', parameters['lawfirmId']);
8084
8126
 
8085
8127
  if (parameters['lawfirmId'] === undefined) {