@taphealth/kafka 1.2.19 → 1.2.21
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/events/diet-scheduling.d.ts +5 -0
- package/dist/events/expiration-complete.d.ts +3 -3
- package/dist/events/payment-captured.d.ts +4 -3
- package/dist/events/payment-failed.d.ts +4 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/topics.d.ts +2 -1
- package/dist/topics.js +1 -0
- package/dist/types/payment.d.ts +1 -1
- package/dist/types/payment.js +1 -1
- package/package.json +1 -1
- package/dist/events/dtx-created.d.ts +0 -9
- /package/dist/events/{dtx-created.js → diet-scheduling.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Topics } from "../topics";
|
|
2
|
-
import {
|
|
2
|
+
import { AppointmentType } from "../types/appointment";
|
|
3
3
|
export interface ExpirationCompleteEvent {
|
|
4
4
|
topic: Topics.ExpirationComplete;
|
|
5
5
|
data: {
|
|
6
|
-
|
|
7
|
-
type:
|
|
6
|
+
appointmentId: string;
|
|
7
|
+
type: AppointmentType;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Topics } from "../topics";
|
|
2
|
-
import {
|
|
2
|
+
import { AppointmentType } from "../types/appointment";
|
|
3
3
|
export interface PaymentCapturedEvent {
|
|
4
4
|
topic: Topics.PaymentCaptured;
|
|
5
5
|
data: {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: AppointmentType;
|
|
7
|
+
razorpayPaymentId: string;
|
|
8
|
+
appointmentId: string;
|
|
8
9
|
};
|
|
9
10
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Topics } from "../topics";
|
|
2
|
-
import {
|
|
2
|
+
import { AppointmentType } from "../types/appointment";
|
|
3
3
|
export interface PaymentFailedEvent {
|
|
4
4
|
topic: Topics.PaymentFailed;
|
|
5
5
|
data: {
|
|
6
|
-
type:
|
|
7
|
-
|
|
6
|
+
type: AppointmentType;
|
|
7
|
+
razorpayPaymentId: string;
|
|
8
|
+
appointmentId: string;
|
|
8
9
|
};
|
|
9
10
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export * from "./events/payment-failed";
|
|
|
10
10
|
export * from "./events/appointment-created";
|
|
11
11
|
export * from "./events/appointment-complete";
|
|
12
12
|
export * from "./events/appointment-timer";
|
|
13
|
-
export * from "./events/dtx-created";
|
|
14
13
|
export * from "./events/expiration-complete";
|
|
15
14
|
export * from "./events/refund-initiate";
|
|
16
15
|
export * from "./events/refund-processed";
|
|
16
|
+
export * from "./events/diet-scheduling";
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ __exportStar(require("./events/payment-failed"), exports);
|
|
|
26
26
|
__exportStar(require("./events/appointment-created"), exports);
|
|
27
27
|
__exportStar(require("./events/appointment-complete"), exports);
|
|
28
28
|
__exportStar(require("./events/appointment-timer"), exports);
|
|
29
|
-
__exportStar(require("./events/dtx-created"), exports);
|
|
30
29
|
__exportStar(require("./events/expiration-complete"), exports);
|
|
31
30
|
__exportStar(require("./events/refund-initiate"), exports);
|
|
32
31
|
__exportStar(require("./events/refund-processed"), exports);
|
|
32
|
+
__exportStar(require("./events/diet-scheduling"), exports);
|
package/dist/topics.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export declare enum Topics {
|
|
|
10
10
|
PaymentFailed = "payment-failed",
|
|
11
11
|
ExpirationComplete = "expiration-complete",
|
|
12
12
|
RefundInitiate = "refund-initiate",
|
|
13
|
-
RefundProcessed = "refund-processed"
|
|
13
|
+
RefundProcessed = "refund-processed",
|
|
14
|
+
Scheduler = "scheduler"
|
|
14
15
|
}
|
package/dist/topics.js
CHANGED
package/dist/types/payment.d.ts
CHANGED
package/dist/types/payment.js
CHANGED
|
@@ -5,5 +5,5 @@ var PaymentType;
|
|
|
5
5
|
(function (PaymentType) {
|
|
6
6
|
PaymentType["OnlineAppointment"] = "online_appointment";
|
|
7
7
|
PaymentType["OfflineAppointment"] = "offline_appointment";
|
|
8
|
-
PaymentType["
|
|
8
|
+
PaymentType["diet"] = "diet";
|
|
9
9
|
})(PaymentType || (exports.PaymentType = PaymentType = {}));
|
package/package.json
CHANGED
|
File without changes
|