@otr-app/shared-backend-generated-client 2.5.85 → 2.5.86

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,15 +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
+ * @param promoOfferCampaign promoOfferCampaign
311
311
  * @param userId userId
312
312
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
313
313
  * @param reportProgress flag to report request and response progress.
314
314
  */
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> {
315
+ public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferCampaign?: 'FALL_2025_OFFER', userId?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListBillingProductsResponse>;
316
+ public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferCampaign?: 'FALL_2025_OFFER', userId?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListBillingProductsResponse>>;
317
+ public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferCampaign?: 'FALL_2025_OFFER', userId?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListBillingProductsResponse>>;
318
+ public listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferCampaign?: 'FALL_2025_OFFER', userId?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
319
319
 
320
320
  let localVarQueryParameters = new HttpParams({encoder: this.encoder});
321
321
  if (active !== undefined && active !== null) {
@@ -330,9 +330,9 @@ export class RecurringBillingControllerService {
330
330
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
331
331
  <any>limit, 'limit');
332
332
  }
333
- if (promoOfferType !== undefined && promoOfferType !== null) {
333
+ if (promoOfferCampaign !== undefined && promoOfferCampaign !== null) {
334
334
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
335
- <any>promoOfferType, 'promoOfferType');
335
+ <any>promoOfferCampaign, 'promoOfferCampaign');
336
336
  }
337
337
  if (userId !== undefined && userId !== null) {
338
338
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
@@ -680,11 +680,11 @@ angular.module('otrBackendService', [])
680
680
  * @method
681
681
  * @name OtrService#listBillingProductsUsingGET
682
682
  * @param {object} parameters - method options and parameters
683
- * @param {boolean} parameters.active - active
684
- * @param {string} parameters.audience - audience
685
- * @param {integer} parameters.limit - limit
686
- * @param {string} parameters.promoOfferType - promoOfferType
687
- * @param {string} parameters.userId - userId
683
+ * @param {boolean} parameters.active - active
684
+ * @param {string} parameters.audience - audience
685
+ * @param {integer} parameters.limit - limit
686
+
687
+ * @param {string} parameters.userId - userId
688
688
  */
689
689
  OtrService.prototype.listBillingProductsUsingGET = function(parameters) {
690
690
  if (parameters === undefined) {
@@ -718,9 +718,7 @@ angular.module('otrBackendService', [])
718
718
  queryParameters['limit'] = parameters['limit'];
719
719
  }
720
720
 
721
- if (parameters['promoOfferType'] !== undefined) {
722
- queryParameters['promoOfferType'] = parameters['promoOfferType'];
723
- }
721
+ queryParameters['promoOfferCampaign'] = 'FALL_2025_OFFER';
724
722
 
725
723
  if (parameters['userId'] !== undefined) {
726
724
  queryParameters['userId'] = parameters['userId'];