@otr-app/shared-backend-generated-client 2.5.82 → 2.5.84

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.
@@ -307,14 +307,15 @@ export class RecurringBillingControllerService {
307
307
  * @param active active
308
308
  * @param audience audience
309
309
  * @param limit limit
310
+ * @param promoOfferType promoOfferType
310
311
  * @param userId userId
311
312
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
312
313
  * @param reportProgress flag to report request and response progress.
313
314
  */
314
- public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, userId?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListBillingProductsResponse>;
315
- public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, userId?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListBillingProductsResponse>>;
316
- public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, userId?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListBillingProductsResponse>>;
317
- public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, userId?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
315
+ public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferType?: 'TRIAL_1M_MONTHLY' | 'TRIAL_2M_YEARLY_UPFRONT', userId?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListBillingProductsResponse>;
316
+ public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferType?: 'TRIAL_1M_MONTHLY' | 'TRIAL_2M_YEARLY_UPFRONT', userId?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListBillingProductsResponse>>;
317
+ public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferType?: 'TRIAL_1M_MONTHLY' | 'TRIAL_2M_YEARLY_UPFRONT', userId?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListBillingProductsResponse>>;
318
+ public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferType?: 'TRIAL_1M_MONTHLY' | 'TRIAL_2M_YEARLY_UPFRONT', userId?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
318
319
 
319
320
  let localVarQueryParameters = new HttpParams({encoder: this.encoder});
320
321
  if (active !== undefined && active !== null) {
@@ -329,6 +330,10 @@ export class RecurringBillingControllerService {
329
330
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
330
331
  <any>limit, 'limit');
331
332
  }
333
+ if (promoOfferType !== undefined && promoOfferType !== null) {
334
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
335
+ <any>promoOfferType, 'promoOfferType');
336
+ }
332
337
  if (userId !== undefined && userId !== null) {
333
338
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
334
339
  <any>userId, 'userId');
@@ -15,6 +15,7 @@ export interface BillingPriceModel {
15
15
  active?: boolean;
16
16
  billingScheme?: BillingPriceModel.BillingSchemeEnum;
17
17
  createdAt?: string;
18
+ finalUnitAmountInCents?: number;
18
19
  id?: string;
19
20
  interval?: BillingPriceModel.IntervalEnum;
20
21
  intervalCount?: number;
@@ -34,6 +34,7 @@ export interface DriverLicenseModel {
34
34
  licenseRestrictions?: string;
35
35
  sex?: string;
36
36
  stateName?: string;
37
+ unsignedImageUrl?: string;
37
38
  userId?: number;
38
39
  weight?: string;
39
40
  }
@@ -683,6 +683,7 @@ angular.module('otrBackendService', [])
683
683
  * @param {boolean} parameters.active - active
684
684
  * @param {string} parameters.audience - audience
685
685
  * @param {integer} parameters.limit - limit
686
+ * @param {string} parameters.promoOfferType - promoOfferType
686
687
  * @param {string} parameters.userId - userId
687
688
  */
688
689
  OtrService.prototype.listBillingProductsUsingGET = function(parameters) {
@@ -717,6 +718,10 @@ angular.module('otrBackendService', [])
717
718
  queryParameters['limit'] = parameters['limit'];
718
719
  }
719
720
 
721
+ if (parameters['promoOfferType'] !== undefined) {
722
+ queryParameters['promoOfferType'] = parameters['promoOfferType'];
723
+ }
724
+
720
725
  if (parameters['userId'] !== undefined) {
721
726
  queryParameters['userId'] = parameters['userId'];
722
727
  }