@otr-app/shared-backend-generated-client 2.5.153 → 2.5.155

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.
@@ -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, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListCostItemsForCustomerResponse>;
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, period, productId, extraHttpRequestParams) {
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}
@@ -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?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
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?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
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?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
9662
+ interval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
9663
9663
  /** Format: int64 */
9664
9664
  intervalCount?: number;
9665
9665
  priceDescription?: string;
@@ -12925,7 +12925,7 @@ export interface components {
12925
12925
  /** ListBillingSubscriptionModel */
12926
12926
  ListBillingSubscriptionModel: {
12927
12927
  /** @enum {string} */
12928
- billingInterval?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
12928
+ billingInterval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
12929
12929
  /** Format: date-time */
12930
12930
  currentPeriodEndDate?: string;
12931
12931
  /** Format: date-time */
@@ -13055,6 +13055,8 @@ export interface components {
13055
13055
  futurePayments?: components["schemas"]["CasePaymentModel"][];
13056
13056
  lineItems?: components["schemas"]["LineItemModel"][];
13057
13057
  /** Format: int32 */
13058
+ totalCaseCostInCents?: number;
13059
+ /** Format: int32 */
13058
13060
  totalRefCodeAdjustmentInCents?: number;
13059
13061
  };
13060
13062
  /** ListCounterOffersModel */
@@ -14455,7 +14457,7 @@ export interface components {
14455
14457
  /** SaveBillingProductOptionRequest */
14456
14458
  SaveBillingProductOptionRequest: {
14457
14459
  /** @enum {string} */
14458
- interval?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
14460
+ interval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
14459
14461
  /** @enum {string} */
14460
14462
  offerType?: CreateBillingSubscriptionRequestPromoOfferType;
14461
14463
  };
@@ -19567,12 +19569,7 @@ export interface operations {
19567
19569
  };
19568
19570
  listCostItemsForCustomerUsingGET: {
19569
19571
  parameters: {
19570
- query?: {
19571
- /** @description productId */
19572
- productId?: string;
19573
- /** @description period */
19574
- period?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
19575
- };
19572
+ query?: never;
19576
19573
  header?: never;
19577
19574
  path: {
19578
19575
  /** @description caseId */
@@ -19718,7 +19715,7 @@ export interface operations {
19718
19715
  /** @description productId */
19719
19716
  productId?: string;
19720
19717
  /** @description period */
19721
- period?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
19718
+ period?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
19722
19719
  };
19723
19720
  header?: never;
19724
19721
  path: {
@@ -22512,7 +22509,7 @@ export interface operations {
22512
22509
  /** @description planName */
22513
22510
  planName?: string;
22514
22511
  /** @description billingInterval */
22515
- billingInterval?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
22512
+ billingInterval?: PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod;
22516
22513
  /** @description billingSubscriptionStatus */
22517
22514
  billingSubscriptionStatus?: PathsApiV1BillingSubscribersGetParametersQueryBillingSubscriptionStatus;
22518
22515
  /** @description coveredSubscriptionsOnly */
@@ -40915,7 +40912,7 @@ export declare enum PathsApiV1CitationsCitationIdAuditLogsGetParametersQueryLogL
40915
40912
  NON_TECHNICAL = "NON_TECHNICAL",
40916
40913
  TECHNICAL = "TECHNICAL"
40917
40914
  }
40918
- export declare enum PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod {
40915
+ export declare enum PathsApiV1CasesCaseIdPaymentPlansPaymentPlanTypeIdGetParametersQueryPeriod {
40919
40916
  DAILY = "DAILY",
40920
40917
  MONTHLY = "MONTHLY",
40921
40918
  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 PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
141
- (function (PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod) {
142
- PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod["DAILY"] = "DAILY";
143
- PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod["MONTHLY"] = "MONTHLY";
144
- PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod["QUARTERLY"] = "QUARTERLY";
145
- PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod["WEEKLY"] = "WEEKLY";
146
- PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod["YEARLY"] = "YEARLY";
147
- })(PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod || (PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod = {}));
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.153",
3
+ "version": "2.5.155",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"