@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.
- package/dist/angular/api/recurringBillingController.service.ts +9 -4
- package/dist/angular/model/billingPriceModel.ts +1 -0
- package/dist/angular/model/driverLicenseModel.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/model/DriverLicenseModel.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-fetch/models/DriverLicenseModel.d.ts +6 -0
- package/dist/typescript-fetch/models/DriverLicenseModel.js +2 -0
- package/dist/typescript-open-api/otr-backend.d.ts +11 -6
- package/dist/typescript-open-api/otr-backend.js +5 -5
- package/package.json +1 -1
|
@@ -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 = {}));
|
|
@@ -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,
|
|
@@ -136,6 +136,12 @@ export interface DriverLicenseModel {
|
|
|
136
136
|
* @memberof DriverLicenseModel
|
|
137
137
|
*/
|
|
138
138
|
stateName?: string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof DriverLicenseModel
|
|
143
|
+
*/
|
|
144
|
+
unsignedImageUrl?: string;
|
|
139
145
|
/**
|
|
140
146
|
*
|
|
141
147
|
* @type {number}
|
|
@@ -41,6 +41,7 @@ export function DriverLicenseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'licenseRestrictions': !exists(json, 'licenseRestrictions') ? undefined : json['licenseRestrictions'],
|
|
42
42
|
'sex': !exists(json, 'sex') ? undefined : json['sex'],
|
|
43
43
|
'stateName': !exists(json, 'stateName') ? undefined : json['stateName'],
|
|
44
|
+
'unsignedImageUrl': !exists(json, 'unsignedImageUrl') ? undefined : json['unsignedImageUrl'],
|
|
44
45
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
45
46
|
'weight': !exists(json, 'weight') ? undefined : json['weight'],
|
|
46
47
|
};
|
|
@@ -73,6 +74,7 @@ export function DriverLicenseModelToJSON(value) {
|
|
|
73
74
|
'licenseRestrictions': value.licenseRestrictions,
|
|
74
75
|
'sex': value.sex,
|
|
75
76
|
'stateName': value.stateName,
|
|
77
|
+
'unsignedImageUrl': value.unsignedImageUrl,
|
|
76
78
|
'userId': value.userId,
|
|
77
79
|
'weight': value.weight,
|
|
78
80
|
};
|
|
@@ -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?:
|
|
9539
|
+
promoOfferType?: PathsApiV1BillingProductsGetParametersQueryPromoOfferType;
|
|
9538
9540
|
/** Format: date */
|
|
9539
9541
|
trialEndDate?: string;
|
|
9540
9542
|
};
|
|
@@ -10093,6 +10095,7 @@ export interface components {
|
|
|
10093
10095
|
licenseRestrictions?: string;
|
|
10094
10096
|
sex?: string;
|
|
10095
10097
|
stateName?: string;
|
|
10098
|
+
unsignedImageUrl?: string;
|
|
10096
10099
|
/** Format: int64 */
|
|
10097
10100
|
userId?: number;
|
|
10098
10101
|
weight?: string;
|
|
@@ -14196,7 +14199,7 @@ export interface components {
|
|
|
14196
14199
|
/** @enum {string} */
|
|
14197
14200
|
interval?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
|
|
14198
14201
|
/** @enum {string} */
|
|
14199
|
-
offerType?:
|
|
14202
|
+
offerType?: PathsApiV1BillingProductsGetParametersQueryPromoOfferType;
|
|
14200
14203
|
};
|
|
14201
14204
|
/** SaveCaseNotesRequest */
|
|
14202
14205
|
SaveCaseNotesRequest: {
|
|
@@ -33293,6 +33296,8 @@ export interface operations {
|
|
|
33293
33296
|
audience?: string;
|
|
33294
33297
|
/** @description userId */
|
|
33295
33298
|
userId?: string;
|
|
33299
|
+
/** @description promoOfferType */
|
|
33300
|
+
promoOfferType?: PathsApiV1BillingProductsGetParametersQueryPromoOfferType;
|
|
33296
33301
|
};
|
|
33297
33302
|
header?: never;
|
|
33298
33303
|
path?: never;
|
|
@@ -40518,6 +40523,10 @@ export declare enum PathsApiV2NotesSearchGetParametersQueryNoteType {
|
|
|
40518
40523
|
PHONE_LEAD = "PHONE_LEAD",
|
|
40519
40524
|
USER = "USER"
|
|
40520
40525
|
}
|
|
40526
|
+
export declare enum PathsApiV1BillingProductsGetParametersQueryPromoOfferType {
|
|
40527
|
+
TRIAL_1M_MONTHLY = "TRIAL_1M_MONTHLY",
|
|
40528
|
+
TRIAL_2M_YEARLY_UPFRONT = "TRIAL_2M_YEARLY_UPFRONT"
|
|
40529
|
+
}
|
|
40521
40530
|
export declare enum PathsApiV1ReferralsSourcesGetParametersQueryFlavor {
|
|
40522
40531
|
ALL = "ALL",
|
|
40523
40532
|
ENABLED = "ENABLED"
|
|
@@ -40837,10 +40846,6 @@ export declare enum CreateBillingSubscriptionRequestInitialSubscriptionFlow {
|
|
|
40837
40846
|
FASTLANE_TEEN_FLOW = "FASTLANE_TEEN_FLOW",
|
|
40838
40847
|
HOME_PAGE_BANNER = "HOME_PAGE_BANNER"
|
|
40839
40848
|
}
|
|
40840
|
-
export declare enum CreateBillingSubscriptionRequestPromoOfferType {
|
|
40841
|
-
TRIAL_1M_MONTHLY = "TRIAL_1M_MONTHLY",
|
|
40842
|
-
TRIAL_2M_YEARLY_UPFRONT = "TRIAL_2M_YEARLY_UPFRONT"
|
|
40843
|
-
}
|
|
40844
40849
|
export declare enum CreateLawfirmModelLawfirmPaymentModel {
|
|
40845
40850
|
DESTINATION_ACCOUNT = "DESTINATION_ACCOUNT",
|
|
40846
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";
|