@otr-app/shared-backend-generated-client 2.3.184 → 2.3.186

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.
@@ -99,13 +99,20 @@ export declare class ConsoleListControllerApi {
99
99
  /**
100
100
  *
101
101
  * @summary listBillingSubscribers
102
+ * @param billingInterval billingInterval
103
+ * @param billingSubscriptionStatus billingSubscriptionStatus
104
+ * @param endDate endDate
102
105
  * @param length length
103
106
  * @param page page
104
- * @param start start
105
- * @param statuses statuses
106
- * @param request request
107
- */
108
- listBillingSubscribersUsingPOST(length?: number, page?: number, start?: string, statuses?: 'ACTIVE' | 'CANCELED' | 'INCOMPLETE' | 'INCOMPLETE_EXPIRED' | 'IN_TRIAL_PERIOD' | 'PAST_DUE' | 'UNKNOWN' | 'UNPAID', request?: models.ListBillingSubscribersRequest, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListBillingSubscribersResponse>;
107
+ * @param planName planName
108
+ * @param shouldIncludeSubscribers shouldIncludeSubscribers
109
+ * @param sortBy sortBy
110
+ * @param sortOrder sortOrder
111
+ * @param startDate startDate
112
+ * @param subscriberName subscriberName
113
+ * @param timeZoneId timeZoneId
114
+ */
115
+ listBillingSubscribersUsingGET(billingInterval?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', billingSubscriptionStatus?: 'ACTIVE' | 'CANCELED' | 'INCOMPLETE' | 'INCOMPLETE_EXPIRED' | 'IN_TRIAL_PERIOD' | 'PAST_DUE' | 'UNKNOWN' | 'UNPAID', endDate?: string, length?: number, page?: number, planName?: string, shouldIncludeSubscribers?: boolean, sortBy?: string, sortOrder?: string, startDate?: string, subscriberName?: string, timeZoneId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListBillingSubscribersResponse>;
109
116
  /**
110
117
  *
111
118
  * @summary listLawfirmLeads
@@ -351,32 +351,62 @@ var ConsoleListControllerApi = /** @class */ (function () {
351
351
  /**
352
352
  *
353
353
  * @summary listBillingSubscribers
354
+ * @param billingInterval billingInterval
355
+ * @param billingSubscriptionStatus billingSubscriptionStatus
356
+ * @param endDate endDate
354
357
  * @param length length
355
358
  * @param page page
356
- * @param start start
357
- * @param statuses statuses
358
- * @param request request
359
+ * @param planName planName
360
+ * @param shouldIncludeSubscribers shouldIncludeSubscribers
361
+ * @param sortBy sortBy
362
+ * @param sortOrder sortOrder
363
+ * @param startDate startDate
364
+ * @param subscriberName subscriberName
365
+ * @param timeZoneId timeZoneId
359
366
  */
360
- ConsoleListControllerApi.prototype.listBillingSubscribersUsingPOST = function (length, page, start, statuses, request, extraHttpRequestParams) {
367
+ ConsoleListControllerApi.prototype.listBillingSubscribersUsingGET = function (billingInterval, billingSubscriptionStatus, endDate, length, page, planName, shouldIncludeSubscribers, sortBy, sortOrder, startDate, subscriberName, timeZoneId, extraHttpRequestParams) {
361
368
  var localVarPath = this.basePath + '/api/v1/billing/subscribers';
362
369
  var queryParameters = {};
363
370
  var headerParams = Object.assign({}, this.defaultHeaders);
371
+ if (billingInterval !== undefined) {
372
+ queryParameters['billingInterval'] = billingInterval;
373
+ }
374
+ if (billingSubscriptionStatus !== undefined) {
375
+ queryParameters['billingSubscriptionStatus'] = billingSubscriptionStatus;
376
+ }
377
+ if (endDate !== undefined) {
378
+ queryParameters['endDate'] = endDate;
379
+ }
364
380
  if (length !== undefined) {
365
381
  queryParameters['length'] = length;
366
382
  }
367
383
  if (page !== undefined) {
368
384
  queryParameters['page'] = page;
369
385
  }
370
- if (start !== undefined) {
371
- queryParameters['start'] = start;
386
+ if (planName !== undefined) {
387
+ queryParameters['planName'] = planName;
388
+ }
389
+ if (shouldIncludeSubscribers !== undefined) {
390
+ queryParameters['shouldIncludeSubscribers'] = shouldIncludeSubscribers;
391
+ }
392
+ if (sortBy !== undefined) {
393
+ queryParameters['sortBy'] = sortBy;
372
394
  }
373
- if (statuses !== undefined) {
374
- queryParameters['statuses'] = statuses;
395
+ if (sortOrder !== undefined) {
396
+ queryParameters['sortOrder'] = sortOrder;
397
+ }
398
+ if (startDate !== undefined) {
399
+ queryParameters['startDate'] = startDate;
400
+ }
401
+ if (subscriberName !== undefined) {
402
+ queryParameters['subscriberName'] = subscriberName;
403
+ }
404
+ if (timeZoneId !== undefined) {
405
+ queryParameters['timeZoneId'] = timeZoneId;
375
406
  }
376
407
  var httpRequestParams = {
377
- method: 'POST',
408
+ method: 'GET',
378
409
  url: localVarPath,
379
- data: request,
380
410
  params: queryParameters,
381
411
  headers: headerParams
382
412
  };
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export interface BillingSubscriberAggregateModel {
13
- "totalSubscribers"?: number;
13
+ "totalRecords"?: number;
14
14
  "totalUniqueActiveSubscriptions"?: number;
15
15
  "totalUniqueCancelledSubscriptions"?: number;
16
16
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface ListBillingSubscribersResponse {
14
- "aggregates"?: models.BillingSubscriberAggregateModel;
14
+ "matchingAggregates"?: models.BillingSubscriberAggregateModel;
15
15
  "subscribers"?: Array<models.BillingSubscriberModel>;
16
+ "totalAggregates"?: models.BillingSubscriberAggregateModel;
16
17
  }
@@ -28,4 +28,5 @@ export interface SaveDriverLicenseRequest {
28
28
  "licenseRestrictions"?: string;
29
29
  "postalCode"?: string;
30
30
  "regionCode"?: string;
31
+ "sex"?: string;
31
32
  }
@@ -429,7 +429,6 @@ export * from './LineItemModel';
429
429
  export * from './LineItemRequest';
430
430
  export * from './ListAgentBookingsResponse';
431
431
  export * from './ListBillingProductsResponse';
432
- export * from './ListBillingSubscribersRequest';
433
432
  export * from './ListBillingSubscribersResponse';
434
433
  export * from './ListBillingSubscriptionModel';
435
434
  export * from './ListBillingSubscriptionsResponse';
@@ -441,7 +441,6 @@ __exportStar(require("./LineItemModel"), exports);
441
441
  __exportStar(require("./LineItemRequest"), exports);
442
442
  __exportStar(require("./ListAgentBookingsResponse"), exports);
443
443
  __exportStar(require("./ListBillingProductsResponse"), exports);
444
- __exportStar(require("./ListBillingSubscribersRequest"), exports);
445
444
  __exportStar(require("./ListBillingSubscribersResponse"), exports);
446
445
  __exportStar(require("./ListBillingSubscriptionModel"), exports);
447
446
  __exportStar(require("./ListBillingSubscriptionsResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.3.184",
3
+ "version": "2.3.186",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"