evo360-types 1.3.87 → 1.3.88

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.
@@ -40,17 +40,17 @@ export interface IAppointmentInsurance {
40
40
  name: string;
41
41
  insuranceRef?: FirestoreDocumentReference;
42
42
  }
43
- export declare const InsurancePaymentTypeEnum: {
43
+ export declare const PaymentTypeEnum: {
44
44
  readonly Patient: "patient";
45
45
  readonly Insurance: "insurance";
46
46
  };
47
- export type InsurancePaymentType = (typeof InsurancePaymentTypeEnum)[keyof typeof InsurancePaymentTypeEnum];
47
+ export type PaymentType = (typeof PaymentTypeEnum)[keyof typeof PaymentTypeEnum];
48
48
  export interface IAppointmentPayment {
49
49
  total?: number | null;
50
50
  paid?: number | null;
51
51
  due?: number | null;
52
52
  status?: AppointmentPaymentStatus;
53
- payment_type: InsurancePaymentType;
53
+ payment_type: PaymentType;
54
54
  metadata?: Record<string, unknown>;
55
55
  [key: string]: unknown;
56
56
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InsurancePaymentTypeEnum = exports.AppointmentModeEnum = exports.AppointmentPaymentStatusEnum = void 0;
3
+ exports.PaymentTypeEnum = exports.AppointmentModeEnum = exports.AppointmentPaymentStatusEnum = void 0;
4
4
  // Enums para status de pagamento
5
5
  exports.AppointmentPaymentStatusEnum = {
6
6
  Paid: "paid",
@@ -13,7 +13,7 @@ exports.AppointmentModeEnum = {
13
13
  Telemedicine: "telemedicine",
14
14
  InPerson: "in_person",
15
15
  };
16
- exports.InsurancePaymentTypeEnum = {
16
+ exports.PaymentTypeEnum = {
17
17
  Patient: "patient",
18
18
  Insurance: "insurance",
19
19
  };
@@ -61,13 +61,13 @@ export interface IAppointmentInsurance {
61
61
  insuranceRef?: FirestoreDocumentReference;
62
62
  }
63
63
 
64
- export const InsurancePaymentTypeEnum = {
64
+ export const PaymentTypeEnum = {
65
65
  Patient: "patient",
66
66
  Insurance: "insurance",
67
67
  } as const;
68
68
 
69
- export type InsurancePaymentType =
70
- (typeof InsurancePaymentTypeEnum)[keyof typeof InsurancePaymentTypeEnum];
69
+ export type PaymentType =
70
+ (typeof PaymentTypeEnum)[keyof typeof PaymentTypeEnum];
71
71
 
72
72
  // Interface para pagamento
73
73
  export interface IAppointmentPayment {
@@ -75,7 +75,7 @@ export interface IAppointmentPayment {
75
75
  paid?: number | null;
76
76
  due?: number | null;
77
77
  status?: AppointmentPaymentStatus;
78
- payment_type: InsurancePaymentType;
78
+ payment_type: PaymentType;
79
79
  metadata?: Record<string, unknown>;
80
80
  [key: string]: unknown;
81
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.87",
3
+ "version": "1.3.88",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",