@otr-app/shared-backend-generated-client 2.5.83 → 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.
- package/dist/angular/api/recurringBillingController.service.ts +9 -4
- package/dist/angular/model/billingPriceModel.ts +1 -0
- package/dist/otrBackendService.js +5 -0
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/RecurringBillingControllerApi.d.ts +2 -1
- package/dist/typescript/api/RecurringBillingControllerApi.js +5 -1
- package/dist/typescript/model/BillingPriceModel.d.ts +1 -0
- package/dist/typescript-fetch/apis/RecurringBillingControllerApi.d.ts +9 -0
- package/dist/typescript-fetch/apis/RecurringBillingControllerApi.js +12 -0
- package/dist/typescript-fetch/models/BillingPriceModel.d.ts +6 -0
- package/dist/typescript-fetch/models/BillingPriceModel.js +2 -0
- package/dist/typescript-open-api/otr-backend.d.ts +10 -6
- package/dist/typescript-open-api/otr-backend.js +5 -5
- package/package.json +1 -1
|
@@ -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');
|
|
@@ -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
|
}
|