@otr-app/shared-backend-generated-client 2.4.71 → 2.4.73

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.
Files changed (41) hide show
  1. package/dist/angular/.openapi-generator/FILES +2 -0
  2. package/dist/angular/model/casePaymentBreakdownItemModel.ts +2 -25
  3. package/dist/angular/model/getPaymentMethodsForUserResponse.ts +4 -0
  4. package/dist/angular/model/invoiceLineItemModel.ts +44 -0
  5. package/dist/angular/model/lineItemModel.ts +2 -22
  6. package/dist/angular/model/matchCaseLineItemModel.ts +2 -22
  7. package/dist/angular/model/models.ts +2 -0
  8. package/dist/angular/model/stripeBankAccountDomain.ts +25 -0
  9. package/dist/angular/model/workflowLineItemModel.ts +2 -22
  10. package/dist/typescript/model/CasePaymentBreakdownItemModel.d.ts +2 -23
  11. package/dist/typescript/model/CasePaymentBreakdownItemModel.js +1 -24
  12. package/dist/typescript/model/GetPaymentMethodsForUserResponse.d.ts +2 -0
  13. package/dist/typescript/model/InvoiceLineItemModel.d.ts +39 -0
  14. package/dist/typescript/model/InvoiceLineItemModel.js +35 -0
  15. package/dist/typescript/model/LineItemModel.d.ts +2 -21
  16. package/dist/typescript/model/LineItemModel.js +0 -21
  17. package/dist/typescript/model/MatchCaseLineItemModel.d.ts +2 -21
  18. package/dist/typescript/model/MatchCaseLineItemModel.js +0 -21
  19. package/dist/typescript/model/StripeBankAccountDomain.d.ts +22 -0
  20. package/dist/typescript/model/StripeBankAccountDomain.js +12 -0
  21. package/dist/typescript/model/WorkflowLineItemModel.d.ts +2 -21
  22. package/dist/typescript/model/WorkflowLineItemModel.js +0 -21
  23. package/dist/typescript/model/models.d.ts +2 -0
  24. package/dist/typescript/model/models.js +2 -0
  25. package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.d.ts +3 -26
  26. package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.js +3 -27
  27. package/dist/typescript-fetch/models/GetPaymentMethodsForUserResponse.d.ts +13 -1
  28. package/dist/typescript-fetch/models/GetPaymentMethodsForUserResponse.js +5 -1
  29. package/dist/typescript-fetch/models/InvoiceLineItemModel.d.ts +69 -0
  30. package/dist/typescript-fetch/models/InvoiceLineItemModel.js +67 -0
  31. package/dist/typescript-fetch/models/LineItemModel.d.ts +3 -26
  32. package/dist/typescript-fetch/models/LineItemModel.js +3 -27
  33. package/dist/typescript-fetch/models/MatchCaseLineItemModel.d.ts +3 -26
  34. package/dist/typescript-fetch/models/MatchCaseLineItemModel.js +3 -27
  35. package/dist/typescript-fetch/models/StripeBankAccountDomain.d.ts +70 -0
  36. package/dist/typescript-fetch/models/StripeBankAccountDomain.js +51 -0
  37. package/dist/typescript-fetch/models/WorkflowLineItemModel.d.ts +3 -26
  38. package/dist/typescript-fetch/models/WorkflowLineItemModel.js +3 -27
  39. package/dist/typescript-fetch/models/index.d.ts +2 -0
  40. package/dist/typescript-fetch/models/index.js +2 -0
  41. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { TimestampFromJSON, TimestampToJSON, } from './';
16
+ export function StripeBankAccountDomainFromJSON(json) {
17
+ return StripeBankAccountDomainFromJSONTyped(json, false);
18
+ }
19
+ export function StripeBankAccountDomainFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'bankName': !exists(json, 'bankName') ? undefined : json['bankName'],
25
+ 'country': !exists(json, 'country') ? undefined : json['country'],
26
+ 'creationDateUtc': !exists(json, 'creationDateUtc') ? undefined : TimestampFromJSON(json['creationDateUtc']),
27
+ 'id': !exists(json, 'id') ? undefined : json['id'],
28
+ 'isDefault': !exists(json, 'isDefault') ? undefined : json['isDefault'],
29
+ 'last4': !exists(json, 'last4') ? undefined : json['last4'],
30
+ 'object': !exists(json, 'object') ? undefined : json['object'],
31
+ 'status': !exists(json, 'status') ? undefined : json['status'],
32
+ };
33
+ }
34
+ export function StripeBankAccountDomainToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'bankName': value.bankName,
43
+ 'country': value.country,
44
+ 'creationDateUtc': TimestampToJSON(value.creationDateUtc),
45
+ 'id': value.id,
46
+ 'isDefault': value.isDefault,
47
+ 'last4': value.last4,
48
+ 'object': value.object,
49
+ 'status': value.status,
50
+ };
51
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { InvoiceLineItemModel } from './';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -35,10 +36,10 @@ export interface WorkflowLineItemModel {
35
36
  lineItemFeeInCents?: number;
36
37
  /**
37
38
  *
38
- * @type {string}
39
+ * @type {InvoiceLineItemModel}
39
40
  * @memberof WorkflowLineItemModel
40
41
  */
41
- lineItemType?: WorkflowLineItemModelLineItemTypeEnum;
42
+ lineItemType?: InvoiceLineItemModel;
42
43
  /**
43
44
  *
44
45
  * @type {string}
@@ -53,30 +54,6 @@ export declare function WorkflowLineItemModelToJSON(value?: WorkflowLineItemMode
53
54
  * @export
54
55
  * @enum {string}
55
56
  */
56
- export declare enum WorkflowLineItemModelLineItemTypeEnum {
57
- ACCIDENTFEE = "ACCIDENT_FEE",
58
- BASELEGALFEE = "BASE_LEGAL_FEE",
59
- BONDFEE = "BOND_FEE",
60
- BOOKINGFEE = "BOOKING_FEE",
61
- CDLFEE = "CDL_FEE",
62
- COURTFEE = "COURT_FEE",
63
- DISPUTEFEE = "DISPUTE_FEE",
64
- FINEPAYMENT = "FINE_PAYMENT",
65
- FTAFEE = "FTA_FEE",
66
- INITIALSUBSCRIPTIONFEE = "INITIAL_SUBSCRIPTION_FEE",
67
- LATEFEE = "LATE_FEE",
68
- MBGREFUND = "MBG_REFUND",
69
- MVSFEE = "MVS_FEE",
70
- OTHER = "OTHER",
71
- OTRCREDIT = "OTR_CREDIT",
72
- OTRSUBSCRIPTIONCREDIT = "OTR_SUBSCRIPTION_CREDIT",
73
- PAYMENTPLANSERVICEFEE = "PAYMENT_PLAN_SERVICE_FEE",
74
- WARRANTFEE = "WARRANT_FEE"
75
- }
76
- /**
77
- * @export
78
- * @enum {string}
79
- */
80
57
  export declare enum WorkflowLineItemModelRecipientEnum {
81
58
  COURT = "COURT",
82
59
  LAWFIRM = "LAWFIRM",
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
+ import { InvoiceLineItemModelFromJSON, InvoiceLineItemModelToJSON, } from './';
15
16
  export function WorkflowLineItemModelFromJSON(json) {
16
17
  return WorkflowLineItemModelFromJSONTyped(json, false);
17
18
  }
@@ -23,7 +24,7 @@ export function WorkflowLineItemModelFromJSONTyped(json, ignoreDiscriminator) {
23
24
  'additionalDescription': !exists(json, 'additionalDescription') ? undefined : json['additionalDescription'],
24
25
  'lawfirmCaseId': !exists(json, 'lawfirmCaseId') ? undefined : json['lawfirmCaseId'],
25
26
  'lineItemFeeInCents': !exists(json, 'lineItemFeeInCents') ? undefined : json['lineItemFeeInCents'],
26
- 'lineItemType': !exists(json, 'lineItemType') ? undefined : json['lineItemType'],
27
+ 'lineItemType': !exists(json, 'lineItemType') ? undefined : InvoiceLineItemModelFromJSON(json['lineItemType']),
27
28
  'recipient': !exists(json, 'recipient') ? undefined : json['recipient'],
28
29
  };
29
30
  }
@@ -38,7 +39,7 @@ export function WorkflowLineItemModelToJSON(value) {
38
39
  'additionalDescription': value.additionalDescription,
39
40
  'lawfirmCaseId': value.lawfirmCaseId,
40
41
  'lineItemFeeInCents': value.lineItemFeeInCents,
41
- 'lineItemType': value.lineItemType,
42
+ 'lineItemType': InvoiceLineItemModelToJSON(value.lineItemType),
42
43
  'recipient': value.recipient,
43
44
  };
44
45
  }
@@ -46,31 +47,6 @@ export function WorkflowLineItemModelToJSON(value) {
46
47
  * @export
47
48
  * @enum {string}
48
49
  */
49
- export var WorkflowLineItemModelLineItemTypeEnum;
50
- (function (WorkflowLineItemModelLineItemTypeEnum) {
51
- WorkflowLineItemModelLineItemTypeEnum["ACCIDENTFEE"] = "ACCIDENT_FEE";
52
- WorkflowLineItemModelLineItemTypeEnum["BASELEGALFEE"] = "BASE_LEGAL_FEE";
53
- WorkflowLineItemModelLineItemTypeEnum["BONDFEE"] = "BOND_FEE";
54
- WorkflowLineItemModelLineItemTypeEnum["BOOKINGFEE"] = "BOOKING_FEE";
55
- WorkflowLineItemModelLineItemTypeEnum["CDLFEE"] = "CDL_FEE";
56
- WorkflowLineItemModelLineItemTypeEnum["COURTFEE"] = "COURT_FEE";
57
- WorkflowLineItemModelLineItemTypeEnum["DISPUTEFEE"] = "DISPUTE_FEE";
58
- WorkflowLineItemModelLineItemTypeEnum["FINEPAYMENT"] = "FINE_PAYMENT";
59
- WorkflowLineItemModelLineItemTypeEnum["FTAFEE"] = "FTA_FEE";
60
- WorkflowLineItemModelLineItemTypeEnum["INITIALSUBSCRIPTIONFEE"] = "INITIAL_SUBSCRIPTION_FEE";
61
- WorkflowLineItemModelLineItemTypeEnum["LATEFEE"] = "LATE_FEE";
62
- WorkflowLineItemModelLineItemTypeEnum["MBGREFUND"] = "MBG_REFUND";
63
- WorkflowLineItemModelLineItemTypeEnum["MVSFEE"] = "MVS_FEE";
64
- WorkflowLineItemModelLineItemTypeEnum["OTHER"] = "OTHER";
65
- WorkflowLineItemModelLineItemTypeEnum["OTRCREDIT"] = "OTR_CREDIT";
66
- WorkflowLineItemModelLineItemTypeEnum["OTRSUBSCRIPTIONCREDIT"] = "OTR_SUBSCRIPTION_CREDIT";
67
- WorkflowLineItemModelLineItemTypeEnum["PAYMENTPLANSERVICEFEE"] = "PAYMENT_PLAN_SERVICE_FEE";
68
- WorkflowLineItemModelLineItemTypeEnum["WARRANTFEE"] = "WARRANT_FEE";
69
- })(WorkflowLineItemModelLineItemTypeEnum || (WorkflowLineItemModelLineItemTypeEnum = {}));
70
- /**
71
- * @export
72
- * @enum {string}
73
- */
74
50
  export var WorkflowLineItemModelRecipientEnum;
75
51
  (function (WorkflowLineItemModelRecipientEnum) {
76
52
  WorkflowLineItemModelRecipientEnum["COURT"] = "COURT";
@@ -414,6 +414,7 @@ export * from './IntercomSearchTicketsResponse';
414
414
  export * from './IntercomTicketAttributes';
415
415
  export * from './InviteHouseholdMateRequest';
416
416
  export * from './InviteLawyerToLawfirmRequest';
417
+ export * from './InvoiceLineItemModel';
417
418
  export * from './IsRefundEligibleResponse';
418
419
  export * from './IsUserLoggedInResponse';
419
420
  export * from './LastLoginAttributes';
@@ -671,6 +672,7 @@ export * from './StripeApplicationFeeDomain';
671
672
  export * from './StripeApplicationFeeRefundDomain';
672
673
  export * from './StripeApplicationFeeRefundSyncResults';
673
674
  export * from './StripeApplicationFeeSyncResults';
675
+ export * from './StripeBankAccountDomain';
674
676
  export * from './StripeCardDomain';
675
677
  export * from './StripeChargeDomain';
676
678
  export * from './StripeChargeSyncResults';
@@ -414,6 +414,7 @@ export * from './IntercomSearchTicketsResponse';
414
414
  export * from './IntercomTicketAttributes';
415
415
  export * from './InviteHouseholdMateRequest';
416
416
  export * from './InviteLawyerToLawfirmRequest';
417
+ export * from './InvoiceLineItemModel';
417
418
  export * from './IsRefundEligibleResponse';
418
419
  export * from './IsUserLoggedInResponse';
419
420
  export * from './LastLoginAttributes';
@@ -671,6 +672,7 @@ export * from './StripeApplicationFeeDomain';
671
672
  export * from './StripeApplicationFeeRefundDomain';
672
673
  export * from './StripeApplicationFeeRefundSyncResults';
673
674
  export * from './StripeApplicationFeeSyncResults';
675
+ export * from './StripeBankAccountDomain';
674
676
  export * from './StripeCardDomain';
675
677
  export * from './StripeChargeDomain';
676
678
  export * from './StripeChargeSyncResults';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.71",
3
+ "version": "2.4.73",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"