@otr-app/shared-backend-generated-client 2.5.154 → 2.5.156
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/casePaymentController.service.ts +4 -17
- package/dist/angular/model/getLawfirmCaseStatsResponse.ts +1 -0
- package/dist/angular/model/listCostItemsForCustomerResponse.ts +1 -0
- package/dist/otrBackendService.js +0 -10
- package/dist/otrBackendService.min.js +8 -8
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +1 -3
- package/dist/typescript/api/CasePaymentControllerApi.js +1 -9
- package/dist/typescript/model/GetLawfirmCaseStatsResponse.d.ts +1 -0
- package/dist/typescript/model/ListCostItemsForCustomerResponse.d.ts +1 -0
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +0 -13
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +0 -18
- package/dist/typescript-fetch/models/GetLawfirmCaseStatsResponse.d.ts +6 -0
- package/dist/typescript-fetch/models/GetLawfirmCaseStatsResponse.js +2 -0
- package/dist/typescript-fetch/models/ListCostItemsForCustomerResponse.d.ts +6 -0
- package/dist/typescript-fetch/models/ListCostItemsForCustomerResponse.js +2 -0
- package/dist/typescript-open-api/otr-backend.d.ts +13 -14
- package/dist/typescript-open-api/otr-backend.js +8 -8
- package/package.json +1 -1
|
@@ -97,10 +97,8 @@ export declare class CasePaymentControllerApi {
|
|
|
97
97
|
*
|
|
98
98
|
* @summary listCostItemsForCustomer
|
|
99
99
|
* @param caseId caseId
|
|
100
|
-
* @param period period
|
|
101
|
-
* @param productId productId
|
|
102
100
|
*/
|
|
103
|
-
listCostItemsForCustomerUsingGET(caseId: string,
|
|
101
|
+
listCostItemsForCustomerUsingGET(caseId: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListCostItemsForCustomerResponse>;
|
|
104
102
|
/**
|
|
105
103
|
*
|
|
106
104
|
* @summary saveCasePaymentPlan
|
|
@@ -356,10 +356,8 @@ export class CasePaymentControllerApi {
|
|
|
356
356
|
*
|
|
357
357
|
* @summary listCostItemsForCustomer
|
|
358
358
|
* @param caseId caseId
|
|
359
|
-
* @param period period
|
|
360
|
-
* @param productId productId
|
|
361
359
|
*/
|
|
362
|
-
listCostItemsForCustomerUsingGET(caseId,
|
|
360
|
+
listCostItemsForCustomerUsingGET(caseId, extraHttpRequestParams) {
|
|
363
361
|
const localVarPath = this.basePath + '/api/v1/cases/{caseId}/customer/cost'
|
|
364
362
|
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
|
|
365
363
|
let queryParameters = {};
|
|
@@ -368,12 +366,6 @@ export class CasePaymentControllerApi {
|
|
|
368
366
|
if (caseId === null || caseId === undefined) {
|
|
369
367
|
throw new Error('Required parameter caseId was null or undefined when calling listCostItemsForCustomerUsingGET.');
|
|
370
368
|
}
|
|
371
|
-
if (period !== undefined) {
|
|
372
|
-
queryParameters['period'] = period;
|
|
373
|
-
}
|
|
374
|
-
if (productId !== undefined) {
|
|
375
|
-
queryParameters['productId'] = productId;
|
|
376
|
-
}
|
|
377
369
|
let httpRequestParams = {
|
|
378
370
|
method: 'GET',
|
|
379
371
|
url: localVarPath,
|
|
@@ -15,5 +15,6 @@ export interface ListCostItemsForCustomerResponse {
|
|
|
15
15
|
"clientTotalCostInCents"?: number;
|
|
16
16
|
"futurePayments"?: Array<models.CasePaymentModel>;
|
|
17
17
|
"lineItems"?: Array<models.LineItemModel>;
|
|
18
|
+
"totalCaseCostInCents"?: number;
|
|
18
19
|
"totalRefCodeAdjustmentInCents"?: number;
|
|
19
20
|
}
|
|
@@ -59,8 +59,6 @@ export interface GetStripeChargesUsingGETRequest {
|
|
|
59
59
|
}
|
|
60
60
|
export interface ListCostItemsForCustomerUsingGETRequest {
|
|
61
61
|
caseId: string;
|
|
62
|
-
period?: ListCostItemsForCustomerUsingGETPeriodEnum;
|
|
63
|
-
productId?: string;
|
|
64
62
|
}
|
|
65
63
|
export interface SaveCasePaymentPlanUsingPOSTRequest {
|
|
66
64
|
caseId: string;
|
|
@@ -227,17 +225,6 @@ export declare enum GenerateCasePaymentPlanUsingGETPeriodEnum {
|
|
|
227
225
|
WEEKLY = "WEEKLY",
|
|
228
226
|
YEARLY = "YEARLY"
|
|
229
227
|
}
|
|
230
|
-
/**
|
|
231
|
-
* @export
|
|
232
|
-
* @enum {string}
|
|
233
|
-
*/
|
|
234
|
-
export declare enum ListCostItemsForCustomerUsingGETPeriodEnum {
|
|
235
|
-
DAILY = "DAILY",
|
|
236
|
-
MONTHLY = "MONTHLY",
|
|
237
|
-
QUARTERLY = "QUARTERLY",
|
|
238
|
-
WEEKLY = "WEEKLY",
|
|
239
|
-
YEARLY = "YEARLY"
|
|
240
|
-
}
|
|
241
228
|
/**
|
|
242
229
|
* @export
|
|
243
230
|
* @enum {string}
|
|
@@ -369,12 +369,6 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
369
369
|
throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling listCostItemsForCustomerUsingGET.');
|
|
370
370
|
}
|
|
371
371
|
const queryParameters = {};
|
|
372
|
-
if (requestParameters.period !== undefined) {
|
|
373
|
-
queryParameters['period'] = requestParameters.period;
|
|
374
|
-
}
|
|
375
|
-
if (requestParameters.productId !== undefined) {
|
|
376
|
-
queryParameters['productId'] = requestParameters.productId;
|
|
377
|
-
}
|
|
378
372
|
const headerParameters = {};
|
|
379
373
|
const response = yield this.request({
|
|
380
374
|
path: `/api/v1/cases/{caseId}/customer/cost`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))),
|
|
@@ -568,18 +562,6 @@ export var GenerateCasePaymentPlanUsingGETPeriodEnum;
|
|
|
568
562
|
GenerateCasePaymentPlanUsingGETPeriodEnum["WEEKLY"] = "WEEKLY";
|
|
569
563
|
GenerateCasePaymentPlanUsingGETPeriodEnum["YEARLY"] = "YEARLY";
|
|
570
564
|
})(GenerateCasePaymentPlanUsingGETPeriodEnum || (GenerateCasePaymentPlanUsingGETPeriodEnum = {}));
|
|
571
|
-
/**
|
|
572
|
-
* @export
|
|
573
|
-
* @enum {string}
|
|
574
|
-
*/
|
|
575
|
-
export var ListCostItemsForCustomerUsingGETPeriodEnum;
|
|
576
|
-
(function (ListCostItemsForCustomerUsingGETPeriodEnum) {
|
|
577
|
-
ListCostItemsForCustomerUsingGETPeriodEnum["DAILY"] = "DAILY";
|
|
578
|
-
ListCostItemsForCustomerUsingGETPeriodEnum["MONTHLY"] = "MONTHLY";
|
|
579
|
-
ListCostItemsForCustomerUsingGETPeriodEnum["QUARTERLY"] = "QUARTERLY";
|
|
580
|
-
ListCostItemsForCustomerUsingGETPeriodEnum["WEEKLY"] = "WEEKLY";
|
|
581
|
-
ListCostItemsForCustomerUsingGETPeriodEnum["YEARLY"] = "YEARLY";
|
|
582
|
-
})(ListCostItemsForCustomerUsingGETPeriodEnum || (ListCostItemsForCustomerUsingGETPeriodEnum = {}));
|
|
583
565
|
/**
|
|
584
566
|
* @export
|
|
585
567
|
* @enum {string}
|
|
@@ -60,6 +60,12 @@ export interface GetLawfirmCaseStatsResponse {
|
|
|
60
60
|
* @memberof GetLawfirmCaseStatsResponse
|
|
61
61
|
*/
|
|
62
62
|
numResolvedCases?: number;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof GetLawfirmCaseStatsResponse
|
|
67
|
+
*/
|
|
68
|
+
numStarred?: number;
|
|
63
69
|
/**
|
|
64
70
|
*
|
|
65
71
|
* @type {number}
|
|
@@ -28,6 +28,7 @@ export function GetLawfirmCaseStatsResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
28
28
|
'numNoCourtDate': !exists(json, 'numNoCourtDate') ? undefined : json['numNoCourtDate'],
|
|
29
29
|
'numPastCourtDate': !exists(json, 'numPastCourtDate') ? undefined : json['numPastCourtDate'],
|
|
30
30
|
'numResolvedCases': !exists(json, 'numResolvedCases') ? undefined : json['numResolvedCases'],
|
|
31
|
+
'numStarred': !exists(json, 'numStarred') ? undefined : json['numStarred'],
|
|
31
32
|
'numSupportedState': !exists(json, 'numSupportedState') ? undefined : json['numSupportedState'],
|
|
32
33
|
'numUnread': !exists(json, 'numUnread') ? undefined : json['numUnread'],
|
|
33
34
|
'successRate': !exists(json, 'successRate') ? undefined : json['successRate'],
|
|
@@ -48,6 +49,7 @@ export function GetLawfirmCaseStatsResponseToJSON(value) {
|
|
|
48
49
|
'numNoCourtDate': value.numNoCourtDate,
|
|
49
50
|
'numPastCourtDate': value.numPastCourtDate,
|
|
50
51
|
'numResolvedCases': value.numResolvedCases,
|
|
52
|
+
'numStarred': value.numStarred,
|
|
51
53
|
'numSupportedState': value.numSupportedState,
|
|
52
54
|
'numUnread': value.numUnread,
|
|
53
55
|
'successRate': value.successRate,
|
|
@@ -40,6 +40,12 @@ export interface ListCostItemsForCustomerResponse {
|
|
|
40
40
|
* @memberof ListCostItemsForCustomerResponse
|
|
41
41
|
*/
|
|
42
42
|
lineItems?: Array<LineItemModel>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ListCostItemsForCustomerResponse
|
|
47
|
+
*/
|
|
48
|
+
totalCaseCostInCents?: number;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {number}
|
|
@@ -25,6 +25,7 @@ export function ListCostItemsForCustomerResponseFromJSONTyped(json, ignoreDiscri
|
|
|
25
25
|
'clientTotalCostInCents': !exists(json, 'clientTotalCostInCents') ? undefined : json['clientTotalCostInCents'],
|
|
26
26
|
'futurePayments': !exists(json, 'futurePayments') ? undefined : (json['futurePayments'].map(CasePaymentModelFromJSON)),
|
|
27
27
|
'lineItems': !exists(json, 'lineItems') ? undefined : (json['lineItems'].map(LineItemModelFromJSON)),
|
|
28
|
+
'totalCaseCostInCents': !exists(json, 'totalCaseCostInCents') ? undefined : json['totalCaseCostInCents'],
|
|
28
29
|
'totalRefCodeAdjustmentInCents': !exists(json, 'totalRefCodeAdjustmentInCents') ? undefined : json['totalRefCodeAdjustmentInCents'],
|
|
29
30
|
};
|
|
30
31
|
}
|
|
@@ -40,6 +41,7 @@ export function ListCostItemsForCustomerResponseToJSON(value) {
|
|
|
40
41
|
'clientTotalCostInCents': value.clientTotalCostInCents,
|
|
41
42
|
'futurePayments': value.futurePayments === undefined ? undefined : (value.futurePayments.map(CasePaymentModelToJSON)),
|
|
42
43
|
'lineItems': value.lineItems === undefined ? undefined : (value.lineItems.map(LineItemModelToJSON)),
|
|
44
|
+
'totalCaseCostInCents': value.totalCaseCostInCents,
|
|
43
45
|
'totalRefCodeAdjustmentInCents': value.totalRefCodeAdjustmentInCents,
|
|
44
46
|
};
|
|
45
47
|
}
|
|
@@ -7981,7 +7981,7 @@ export interface components {
|
|
|
7981
7981
|
finalUnitAmountInCents?: number;
|
|
7982
7982
|
id?: string;
|
|
7983
7983
|
/** @enum {string} */
|
|
7984
|
-
interval?:
|
|
7984
|
+
interval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
|
|
7985
7985
|
/** Format: int64 */
|
|
7986
7986
|
intervalCount?: number;
|
|
7987
7987
|
/** Format: int64 */
|
|
@@ -8037,7 +8037,7 @@ export interface components {
|
|
|
8037
8037
|
billingScheme?: BillingPriceModelBillingScheme;
|
|
8038
8038
|
id?: string;
|
|
8039
8039
|
/** @enum {string} */
|
|
8040
|
-
interval?:
|
|
8040
|
+
interval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
|
|
8041
8041
|
/** Format: int64 */
|
|
8042
8042
|
intervalCount?: number;
|
|
8043
8043
|
priceDescription?: string;
|
|
@@ -9659,7 +9659,7 @@ export interface components {
|
|
|
9659
9659
|
billingScheme?: BillingPriceModelBillingScheme;
|
|
9660
9660
|
id?: string;
|
|
9661
9661
|
/** @enum {string} */
|
|
9662
|
-
interval?:
|
|
9662
|
+
interval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
|
|
9663
9663
|
/** Format: int64 */
|
|
9664
9664
|
intervalCount?: number;
|
|
9665
9665
|
priceDescription?: string;
|
|
@@ -11262,6 +11262,8 @@ export interface components {
|
|
|
11262
11262
|
/** Format: int32 */
|
|
11263
11263
|
numResolvedCases?: number;
|
|
11264
11264
|
/** Format: int32 */
|
|
11265
|
+
numStarred?: number;
|
|
11266
|
+
/** Format: int32 */
|
|
11265
11267
|
numSupportedState?: number;
|
|
11266
11268
|
/** Format: int32 */
|
|
11267
11269
|
numUnread?: number;
|
|
@@ -12925,7 +12927,7 @@ export interface components {
|
|
|
12925
12927
|
/** ListBillingSubscriptionModel */
|
|
12926
12928
|
ListBillingSubscriptionModel: {
|
|
12927
12929
|
/** @enum {string} */
|
|
12928
|
-
billingInterval?:
|
|
12930
|
+
billingInterval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
|
|
12929
12931
|
/** Format: date-time */
|
|
12930
12932
|
currentPeriodEndDate?: string;
|
|
12931
12933
|
/** Format: date-time */
|
|
@@ -13055,6 +13057,8 @@ export interface components {
|
|
|
13055
13057
|
futurePayments?: components["schemas"]["CasePaymentModel"][];
|
|
13056
13058
|
lineItems?: components["schemas"]["LineItemModel"][];
|
|
13057
13059
|
/** Format: int32 */
|
|
13060
|
+
totalCaseCostInCents?: number;
|
|
13061
|
+
/** Format: int32 */
|
|
13058
13062
|
totalRefCodeAdjustmentInCents?: number;
|
|
13059
13063
|
};
|
|
13060
13064
|
/** ListCounterOffersModel */
|
|
@@ -14455,7 +14459,7 @@ export interface components {
|
|
|
14455
14459
|
/** SaveBillingProductOptionRequest */
|
|
14456
14460
|
SaveBillingProductOptionRequest: {
|
|
14457
14461
|
/** @enum {string} */
|
|
14458
|
-
interval?:
|
|
14462
|
+
interval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
|
|
14459
14463
|
/** @enum {string} */
|
|
14460
14464
|
offerType?: CreateBillingSubscriptionRequestPromoOfferType;
|
|
14461
14465
|
};
|
|
@@ -19567,12 +19571,7 @@ export interface operations {
|
|
|
19567
19571
|
};
|
|
19568
19572
|
listCostItemsForCustomerUsingGET: {
|
|
19569
19573
|
parameters: {
|
|
19570
|
-
query?:
|
|
19571
|
-
/** @description productId */
|
|
19572
|
-
productId?: string;
|
|
19573
|
-
/** @description period */
|
|
19574
|
-
period?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
|
|
19575
|
-
};
|
|
19574
|
+
query?: never;
|
|
19576
19575
|
header?: never;
|
|
19577
19576
|
path: {
|
|
19578
19577
|
/** @description caseId */
|
|
@@ -19718,7 +19717,7 @@ export interface operations {
|
|
|
19718
19717
|
/** @description productId */
|
|
19719
19718
|
productId?: string;
|
|
19720
19719
|
/** @description period */
|
|
19721
|
-
period?:
|
|
19720
|
+
period?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
|
|
19722
19721
|
};
|
|
19723
19722
|
header?: never;
|
|
19724
19723
|
path: {
|
|
@@ -22512,7 +22511,7 @@ export interface operations {
|
|
|
22512
22511
|
/** @description planName */
|
|
22513
22512
|
planName?: string;
|
|
22514
22513
|
/** @description billingInterval */
|
|
22515
|
-
billingInterval?:
|
|
22514
|
+
billingInterval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
|
|
22516
22515
|
/** @description billingSubscriptionStatus */
|
|
22517
22516
|
billingSubscriptionStatus?: PathsApiV1BillingSubscribersGetParametersQueryBillingSubscriptionStatus;
|
|
22518
22517
|
/** @description coveredSubscriptionsOnly */
|
|
@@ -40915,7 +40914,7 @@ export declare enum PathsApiV1CitationsCitationIdAuditLogsGetParametersQueryLogL
|
|
|
40915
40914
|
NON_TECHNICAL = "NON_TECHNICAL",
|
|
40916
40915
|
TECHNICAL = "TECHNICAL"
|
|
40917
40916
|
}
|
|
40918
|
-
export declare enum
|
|
40917
|
+
export declare enum PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod {
|
|
40919
40918
|
DAILY = "DAILY",
|
|
40920
40919
|
MONTHLY = "MONTHLY",
|
|
40921
40920
|
QUARTERLY = "QUARTERLY",
|
|
@@ -137,14 +137,14 @@ export var PathsApiV1CitationsCitationIdAuditLogsGetParametersQueryLogLevel;
|
|
|
137
137
|
PathsApiV1CitationsCitationIdAuditLogsGetParametersQueryLogLevel["NON_TECHNICAL"] = "NON_TECHNICAL";
|
|
138
138
|
PathsApiV1CitationsCitationIdAuditLogsGetParametersQueryLogLevel["TECHNICAL"] = "TECHNICAL";
|
|
139
139
|
})(PathsApiV1CitationsCitationIdAuditLogsGetParametersQueryLogLevel || (PathsApiV1CitationsCitationIdAuditLogsGetParametersQueryLogLevel = {}));
|
|
140
|
-
export var
|
|
141
|
-
(function (
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
})(
|
|
140
|
+
export var PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
|
|
141
|
+
(function (PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod) {
|
|
142
|
+
PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod["DAILY"] = "DAILY";
|
|
143
|
+
PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod["MONTHLY"] = "MONTHLY";
|
|
144
|
+
PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod["QUARTERLY"] = "QUARTERLY";
|
|
145
|
+
PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod["WEEKLY"] = "WEEKLY";
|
|
146
|
+
PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod["YEARLY"] = "YEARLY";
|
|
147
|
+
})(PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod || (PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod = {}));
|
|
148
148
|
export var PathsApiV1PaymentsCasePaymentIdOwnerPutParametersQueryRecipient;
|
|
149
149
|
(function (PathsApiV1PaymentsCasePaymentIdOwnerPutParametersQueryRecipient) {
|
|
150
150
|
PathsApiV1PaymentsCasePaymentIdOwnerPutParametersQueryRecipient["COURT"] = "COURT";
|