@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.
@@ -44,9 +44,10 @@ export declare class RecurringBillingControllerApi {
44
44
  * @param active active
45
45
  * @param audience audience
46
46
  * @param limit limit
47
+ * @param promoOfferType promoOfferType
47
48
  * @param userId userId
48
49
  */
49
- listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, userId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListBillingProductsResponse>;
50
+ listBillingProductsUsingGET(active?: boolean, audience?: string, limit?: number, promoOfferType?: 'TRIAL_1M_MONTHLY' | 'TRIAL_2M_YEARLY_UPFRONT', userId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListBillingProductsResponse>;
50
51
  /**
51
52
  *
52
53
  * @summary listBillingSubscriptions
@@ -117,9 +117,10 @@ export class RecurringBillingControllerApi {
117
117
  * @param active active
118
118
  * @param audience audience
119
119
  * @param limit limit
120
+ * @param promoOfferType promoOfferType
120
121
  * @param userId userId
121
122
  */
122
- listBillingProductsUsingGET(active, audience, limit, userId, extraHttpRequestParams) {
123
+ listBillingProductsUsingGET(active, audience, limit, promoOfferType, userId, extraHttpRequestParams) {
123
124
  const localVarPath = this.basePath + '/api/v1/billing/products';
124
125
  let queryParameters = {};
125
126
  let headerParams = Object.assign({}, this.defaultHeaders);
@@ -132,6 +133,9 @@ export class RecurringBillingControllerApi {
132
133
  if (limit !== undefined) {
133
134
  queryParameters['limit'] = limit;
134
135
  }
136
+ if (promoOfferType !== undefined) {
137
+ queryParameters['promoOfferType'] = promoOfferType;
138
+ }
135
139
  if (userId !== undefined) {
136
140
  queryParameters['userId'] = userId;
137
141
  }
@@ -13,6 +13,7 @@ export interface BillingPriceModel {
13
13
  "active"?: boolean;
14
14
  "billingScheme"?: BillingPriceModel.BillingSchemeEnum;
15
15
  "createdAt"?: string;
16
+ "finalUnitAmountInCents"?: number;
16
17
  "id"?: string;
17
18
  "interval"?: BillingPriceModel.IntervalEnum;
18
19
  "intervalCount"?: number;
@@ -27,6 +27,7 @@ export interface ListBillingProductsUsingGETRequest {
27
27
  active?: boolean;
28
28
  audience?: string;
29
29
  limit?: number;
30
+ promoOfferType?: ListBillingProductsUsingGETPromoOfferTypeEnum;
30
31
  userId?: string;
31
32
  }
32
33
  export interface ListBillingSubscriptionsUsingGETRequest {
@@ -104,3 +105,11 @@ export declare class RecurringBillingControllerApi extends runtime.BaseAPI {
104
105
  */
105
106
  saveBillingProductOptionUsingPOST(requestParameters: SaveBillingProductOptionUsingPOSTRequest): Promise<void>;
106
107
  }
108
+ /**
109
+ * @export
110
+ * @enum {string}
111
+ */
112
+ export declare enum ListBillingProductsUsingGETPromoOfferTypeEnum {
113
+ _1MMONTHLY = "TRIAL_1M_MONTHLY",
114
+ _2MYEARLYUPFRONT = "TRIAL_2M_YEARLY_UPFRONT"
115
+ }
@@ -135,6 +135,9 @@ export class RecurringBillingControllerApi extends runtime.BaseAPI {
135
135
  if (requestParameters.limit !== undefined) {
136
136
  queryParameters['limit'] = requestParameters.limit;
137
137
  }
138
+ if (requestParameters.promoOfferType !== undefined) {
139
+ queryParameters['promoOfferType'] = requestParameters.promoOfferType;
140
+ }
138
141
  if (requestParameters.userId !== undefined) {
139
142
  queryParameters['userId'] = requestParameters.userId;
140
143
  }
@@ -258,3 +261,12 @@ export class RecurringBillingControllerApi extends runtime.BaseAPI {
258
261
  });
259
262
  }
260
263
  }
264
+ /**
265
+ * @export
266
+ * @enum {string}
267
+ */
268
+ export var ListBillingProductsUsingGETPromoOfferTypeEnum;
269
+ (function (ListBillingProductsUsingGETPromoOfferTypeEnum) {
270
+ ListBillingProductsUsingGETPromoOfferTypeEnum["_1MMONTHLY"] = "TRIAL_1M_MONTHLY";
271
+ ListBillingProductsUsingGETPromoOfferTypeEnum["_2MYEARLYUPFRONT"] = "TRIAL_2M_YEARLY_UPFRONT";
272
+ })(ListBillingProductsUsingGETPromoOfferTypeEnum || (ListBillingProductsUsingGETPromoOfferTypeEnum = {}));
@@ -33,6 +33,12 @@ export interface BillingPriceModel {
33
33
  * @memberof BillingPriceModel
34
34
  */
35
35
  createdAt?: Date;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof BillingPriceModel
40
+ */
41
+ finalUnitAmountInCents?: number;
36
42
  /**
37
43
  *
38
44
  * @type {string}
@@ -23,6 +23,7 @@ export function BillingPriceModelFromJSONTyped(json, ignoreDiscriminator) {
23
23
  'active': !exists(json, 'active') ? undefined : json['active'],
24
24
  'billingScheme': !exists(json, 'billingScheme') ? undefined : json['billingScheme'],
25
25
  'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
26
+ 'finalUnitAmountInCents': !exists(json, 'finalUnitAmountInCents') ? undefined : json['finalUnitAmountInCents'],
26
27
  'id': !exists(json, 'id') ? undefined : json['id'],
27
28
  'interval': !exists(json, 'interval') ? undefined : json['interval'],
28
29
  'intervalCount': !exists(json, 'intervalCount') ? undefined : json['intervalCount'],
@@ -46,6 +47,7 @@ export function BillingPriceModelToJSON(value) {
46
47
  'active': value.active,
47
48
  'billingScheme': value.billingScheme,
48
49
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
50
+ 'finalUnitAmountInCents': value.finalUnitAmountInCents,
49
51
  'id': value.id,
50
52
  'interval': value.interval,
51
53
  'intervalCount': value.intervalCount,
@@ -7876,6 +7876,8 @@ export interface components {
7876
7876
  billingScheme?: BillingPriceModelBillingScheme;
7877
7877
  /** Format: date-time */
7878
7878
  createdAt?: string;
7879
+ /** Format: int64 */
7880
+ finalUnitAmountInCents?: number;
7879
7881
  id?: string;
7880
7882
  /** @enum {string} */
7881
7883
  interval?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
@@ -9534,7 +9536,7 @@ export interface components {
9534
9536
  priceIds?: string[];
9535
9537
  productId?: string;
9536
9538
  /** @enum {string} */
9537
- promoOfferType?: CreateBillingSubscriptionRequestPromoOfferType;
9539
+ promoOfferType?: PathsApiV1BillingProductsGetParametersQueryPromoOfferType;
9538
9540
  /** Format: date */
9539
9541
  trialEndDate?: string;
9540
9542
  };
@@ -14197,7 +14199,7 @@ export interface components {
14197
14199
  /** @enum {string} */
14198
14200
  interval?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
14199
14201
  /** @enum {string} */
14200
- offerType?: CreateBillingSubscriptionRequestPromoOfferType;
14202
+ offerType?: PathsApiV1BillingProductsGetParametersQueryPromoOfferType;
14201
14203
  };
14202
14204
  /** SaveCaseNotesRequest */
14203
14205
  SaveCaseNotesRequest: {
@@ -33294,6 +33296,8 @@ export interface operations {
33294
33296
  audience?: string;
33295
33297
  /** @description userId */
33296
33298
  userId?: string;
33299
+ /** @description promoOfferType */
33300
+ promoOfferType?: PathsApiV1BillingProductsGetParametersQueryPromoOfferType;
33297
33301
  };
33298
33302
  header?: never;
33299
33303
  path?: never;
@@ -40519,6 +40523,10 @@ export declare enum PathsApiV2NotesSearchGetParametersQueryNoteType {
40519
40523
  PHONE_LEAD = "PHONE_LEAD",
40520
40524
  USER = "USER"
40521
40525
  }
40526
+ export declare enum PathsApiV1BillingProductsGetParametersQueryPromoOfferType {
40527
+ TRIAL_1M_MONTHLY = "TRIAL_1M_MONTHLY",
40528
+ TRIAL_2M_YEARLY_UPFRONT = "TRIAL_2M_YEARLY_UPFRONT"
40529
+ }
40522
40530
  export declare enum PathsApiV1ReferralsSourcesGetParametersQueryFlavor {
40523
40531
  ALL = "ALL",
40524
40532
  ENABLED = "ENABLED"
@@ -40838,10 +40846,6 @@ export declare enum CreateBillingSubscriptionRequestInitialSubscriptionFlow {
40838
40846
  FASTLANE_TEEN_FLOW = "FASTLANE_TEEN_FLOW",
40839
40847
  HOME_PAGE_BANNER = "HOME_PAGE_BANNER"
40840
40848
  }
40841
- export declare enum CreateBillingSubscriptionRequestPromoOfferType {
40842
- TRIAL_1M_MONTHLY = "TRIAL_1M_MONTHLY",
40843
- TRIAL_2M_YEARLY_UPFRONT = "TRIAL_2M_YEARLY_UPFRONT"
40844
- }
40845
40849
  export declare enum CreateLawfirmModelLawfirmPaymentModel {
40846
40850
  DESTINATION_ACCOUNT = "DESTINATION_ACCOUNT",
40847
40851
  SEPARATE_CHARGE = "SEPARATE_CHARGE",
@@ -427,6 +427,11 @@ export var PathsApiV2NotesSearchGetParametersQueryNoteType;
427
427
  PathsApiV2NotesSearchGetParametersQueryNoteType["PHONE_LEAD"] = "PHONE_LEAD";
428
428
  PathsApiV2NotesSearchGetParametersQueryNoteType["USER"] = "USER";
429
429
  })(PathsApiV2NotesSearchGetParametersQueryNoteType || (PathsApiV2NotesSearchGetParametersQueryNoteType = {}));
430
+ export var PathsApiV1BillingProductsGetParametersQueryPromoOfferType;
431
+ (function (PathsApiV1BillingProductsGetParametersQueryPromoOfferType) {
432
+ PathsApiV1BillingProductsGetParametersQueryPromoOfferType["TRIAL_1M_MONTHLY"] = "TRIAL_1M_MONTHLY";
433
+ PathsApiV1BillingProductsGetParametersQueryPromoOfferType["TRIAL_2M_YEARLY_UPFRONT"] = "TRIAL_2M_YEARLY_UPFRONT";
434
+ })(PathsApiV1BillingProductsGetParametersQueryPromoOfferType || (PathsApiV1BillingProductsGetParametersQueryPromoOfferType = {}));
430
435
  export var PathsApiV1ReferralsSourcesGetParametersQueryFlavor;
431
436
  (function (PathsApiV1ReferralsSourcesGetParametersQueryFlavor) {
432
437
  PathsApiV1ReferralsSourcesGetParametersQueryFlavor["ALL"] = "ALL";
@@ -787,11 +792,6 @@ export var CreateBillingSubscriptionRequestInitialSubscriptionFlow;
787
792
  CreateBillingSubscriptionRequestInitialSubscriptionFlow["FASTLANE_TEEN_FLOW"] = "FASTLANE_TEEN_FLOW";
788
793
  CreateBillingSubscriptionRequestInitialSubscriptionFlow["HOME_PAGE_BANNER"] = "HOME_PAGE_BANNER";
789
794
  })(CreateBillingSubscriptionRequestInitialSubscriptionFlow || (CreateBillingSubscriptionRequestInitialSubscriptionFlow = {}));
790
- export var CreateBillingSubscriptionRequestPromoOfferType;
791
- (function (CreateBillingSubscriptionRequestPromoOfferType) {
792
- CreateBillingSubscriptionRequestPromoOfferType["TRIAL_1M_MONTHLY"] = "TRIAL_1M_MONTHLY";
793
- CreateBillingSubscriptionRequestPromoOfferType["TRIAL_2M_YEARLY_UPFRONT"] = "TRIAL_2M_YEARLY_UPFRONT";
794
- })(CreateBillingSubscriptionRequestPromoOfferType || (CreateBillingSubscriptionRequestPromoOfferType = {}));
795
795
  export var CreateLawfirmModelLawfirmPaymentModel;
796
796
  (function (CreateLawfirmModelLawfirmPaymentModel) {
797
797
  CreateLawfirmModelLawfirmPaymentModel["DESTINATION_ACCOUNT"] = "DESTINATION_ACCOUNT";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.83",
3
+ "version": "2.5.84",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"