@livdot-tech/contracts 1.0.0 → 1.2.0

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 (117) hide show
  1. package/dist/auth/index.d.mts +235 -0
  2. package/dist/auth/index.d.ts +235 -0
  3. package/dist/auth/index.js +2 -0
  4. package/dist/auth/index.js.map +1 -0
  5. package/dist/auth/index.mjs +2 -0
  6. package/dist/auth/index.mjs.map +1 -0
  7. package/dist/booking/index.d.mts +313 -0
  8. package/dist/booking/index.d.ts +313 -0
  9. package/dist/booking/index.js +2 -0
  10. package/dist/booking/index.js.map +1 -0
  11. package/dist/booking/index.mjs +2 -0
  12. package/dist/booking/index.mjs.map +1 -0
  13. package/dist/chunk-6UTUVCOM.mjs +2 -0
  14. package/dist/chunk-6UTUVCOM.mjs.map +1 -0
  15. package/dist/chunk-6ZN2TPBZ.js +2 -0
  16. package/dist/chunk-6ZN2TPBZ.js.map +1 -0
  17. package/dist/chunk-726BT6I5.js +2 -0
  18. package/dist/chunk-726BT6I5.js.map +1 -0
  19. package/dist/chunk-C2QIE2HZ.js +2 -0
  20. package/dist/chunk-C2QIE2HZ.js.map +1 -0
  21. package/dist/chunk-CIV62KPR.mjs +2 -0
  22. package/dist/chunk-CIV62KPR.mjs.map +1 -0
  23. package/dist/chunk-DF4E66H2.mjs +2 -0
  24. package/dist/chunk-DF4E66H2.mjs.map +1 -0
  25. package/dist/chunk-F663RS3D.js +2 -0
  26. package/dist/chunk-F663RS3D.js.map +1 -0
  27. package/dist/chunk-FSQX27QM.mjs +2 -0
  28. package/dist/chunk-FSQX27QM.mjs.map +1 -0
  29. package/dist/chunk-GY7PCU2T.js +2 -0
  30. package/dist/chunk-GY7PCU2T.js.map +1 -0
  31. package/dist/chunk-HI6UMYA4.mjs +2 -0
  32. package/dist/chunk-HI6UMYA4.mjs.map +1 -0
  33. package/dist/chunk-HIY5BNTM.mjs +2 -0
  34. package/dist/chunk-HIY5BNTM.mjs.map +1 -0
  35. package/dist/chunk-IJ2PAFAX.js +2 -0
  36. package/dist/chunk-IJ2PAFAX.js.map +1 -0
  37. package/dist/chunk-JT7SH43N.js +2 -0
  38. package/dist/chunk-JT7SH43N.js.map +1 -0
  39. package/dist/chunk-L6NHN3V2.js +2 -0
  40. package/dist/chunk-L6NHN3V2.js.map +1 -0
  41. package/dist/chunk-NSBUBEZK.mjs +2 -0
  42. package/dist/chunk-NSBUBEZK.mjs.map +1 -0
  43. package/dist/chunk-PHGWWUP2.mjs +2 -0
  44. package/dist/chunk-PHGWWUP2.mjs.map +1 -0
  45. package/dist/chunk-T7C4AYVD.mjs +2 -0
  46. package/dist/chunk-T7C4AYVD.mjs.map +1 -0
  47. package/dist/chunk-UDHBQDRU.js +2 -0
  48. package/dist/chunk-UDHBQDRU.js.map +1 -0
  49. package/dist/chunk-UZZ46ZPG.js +2 -0
  50. package/dist/chunk-UZZ46ZPG.js.map +1 -0
  51. package/dist/chunk-WEET4HBJ.mjs +2 -0
  52. package/dist/chunk-WEET4HBJ.mjs.map +1 -0
  53. package/dist/chunk-Y5QIEJG2.mjs +2 -0
  54. package/dist/chunk-Y5QIEJG2.mjs.map +1 -0
  55. package/dist/chunk-ZFINSMCH.js +2 -0
  56. package/dist/chunk-ZFINSMCH.js.map +1 -0
  57. package/dist/common/index.d.mts +315 -0
  58. package/dist/common/index.d.ts +315 -0
  59. package/dist/common/index.js +2 -0
  60. package/dist/common/index.js.map +1 -0
  61. package/dist/common/index.mjs +2 -0
  62. package/dist/common/index.mjs.map +1 -0
  63. package/dist/dispute/index.d.mts +79 -0
  64. package/dist/dispute/index.d.ts +79 -0
  65. package/dist/dispute/index.js +2 -0
  66. package/dist/dispute/index.js.map +1 -0
  67. package/dist/dispute/index.mjs +2 -0
  68. package/dist/dispute/index.mjs.map +1 -0
  69. package/dist/errors/index.d.mts +67 -0
  70. package/dist/errors/index.d.ts +67 -0
  71. package/dist/errors/index.js +2 -0
  72. package/dist/errors/index.js.map +1 -0
  73. package/dist/errors/index.mjs +2 -0
  74. package/dist/errors/index.mjs.map +1 -0
  75. package/dist/event/index.d.mts +360 -0
  76. package/dist/event/index.d.ts +360 -0
  77. package/dist/event/index.js +2 -0
  78. package/dist/event/index.js.map +1 -0
  79. package/dist/event/index.mjs +2 -0
  80. package/dist/event/index.mjs.map +1 -0
  81. package/dist/index.d.mts +12 -0
  82. package/dist/index.d.ts +12 -0
  83. package/dist/index.js +2 -0
  84. package/dist/index.js.map +1 -0
  85. package/dist/index.mjs +2 -0
  86. package/dist/index.mjs.map +1 -0
  87. package/dist/joblisting/index.d.mts +13 -0
  88. package/dist/joblisting/index.d.ts +13 -0
  89. package/dist/joblisting/index.js +2 -0
  90. package/dist/joblisting/index.js.map +1 -0
  91. package/dist/joblisting/index.mjs +2 -0
  92. package/dist/joblisting/index.mjs.map +1 -0
  93. package/dist/notification/index.d.mts +113 -0
  94. package/dist/notification/index.d.ts +113 -0
  95. package/dist/notification/index.js +2 -0
  96. package/dist/notification/index.js.map +1 -0
  97. package/dist/notification/index.mjs +2 -0
  98. package/dist/notification/index.mjs.map +1 -0
  99. package/dist/payment/index.d.mts +119 -0
  100. package/dist/payment/index.d.ts +119 -0
  101. package/dist/payment/index.js +2 -0
  102. package/dist/payment/index.js.map +1 -0
  103. package/dist/payment/index.mjs +2 -0
  104. package/dist/payment/index.mjs.map +1 -0
  105. package/dist/streaming/index.d.mts +79 -0
  106. package/dist/streaming/index.d.ts +79 -0
  107. package/dist/streaming/index.js +2 -0
  108. package/dist/streaming/index.js.map +1 -0
  109. package/dist/streaming/index.mjs +2 -0
  110. package/dist/streaming/index.mjs.map +1 -0
  111. package/dist/user/index.d.mts +427 -0
  112. package/dist/user/index.d.ts +427 -0
  113. package/dist/user/index.js +2 -0
  114. package/dist/user/index.js.map +1 -0
  115. package/dist/user/index.mjs +2 -0
  116. package/dist/user/index.mjs.map +1 -0
  117. package/package.json +27 -5
@@ -0,0 +1,113 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const NotificationPriority: {
4
+ readonly LOW: "LOW";
5
+ readonly NORMAL: "NORMAL";
6
+ readonly HIGH: "HIGH";
7
+ readonly URGENT: "URGENT";
8
+ };
9
+ type NotificationPriority = (typeof NotificationPriority)[keyof typeof NotificationPriority];
10
+ declare const NotificationChannel: {
11
+ readonly IN_APP: "IN_APP";
12
+ readonly EMAIL: "EMAIL";
13
+ readonly SMS: "SMS";
14
+ readonly PUSH: "PUSH";
15
+ };
16
+ type NotificationChannel = (typeof NotificationChannel)[keyof typeof NotificationChannel];
17
+ declare const NotificationType: {
18
+ readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
19
+ readonly BOOKING_ACCEPTED: "BOOKING_ACCEPTED";
20
+ readonly BOOKING_REJECTED: "BOOKING_REJECTED";
21
+ readonly BOOKING_CONFIRMED: "BOOKING_CONFIRMED";
22
+ readonly BOOKING_CANCELLED: "BOOKING_CANCELLED";
23
+ readonly BOOKING_COMPLETED: "BOOKING_COMPLETED";
24
+ readonly PAYMENT_RECEIVED: "PAYMENT_RECEIVED";
25
+ readonly PAYOUT_PROCESSED: "PAYOUT_PROCESSED";
26
+ readonly EVENT_GOING_LIVE: "EVENT_GOING_LIVE";
27
+ readonly EVENT_CANCELLED: "EVENT_CANCELLED";
28
+ readonly DISPUTE_OPENED: "DISPUTE_OPENED";
29
+ readonly DISPUTE_RESOLVED: "DISPUTE_RESOLVED";
30
+ readonly KYC_APPROVED: "KYC_APPROVED";
31
+ readonly KYC_REJECTED: "KYC_REJECTED";
32
+ readonly PRODUCER_VERIFIED: "PRODUCER_VERIFIED";
33
+ readonly JOB_LISTING_NEW_INTEREST: "JOB_LISTING_NEW_INTEREST";
34
+ };
35
+ type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
36
+
37
+ declare const NotificationResponseSchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ userId: z.ZodString;
40
+ type: z.ZodNativeEnum<{
41
+ readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
42
+ readonly BOOKING_ACCEPTED: "BOOKING_ACCEPTED";
43
+ readonly BOOKING_REJECTED: "BOOKING_REJECTED";
44
+ readonly BOOKING_CONFIRMED: "BOOKING_CONFIRMED";
45
+ readonly BOOKING_CANCELLED: "BOOKING_CANCELLED";
46
+ readonly BOOKING_COMPLETED: "BOOKING_COMPLETED";
47
+ readonly PAYMENT_RECEIVED: "PAYMENT_RECEIVED";
48
+ readonly PAYOUT_PROCESSED: "PAYOUT_PROCESSED";
49
+ readonly EVENT_GOING_LIVE: "EVENT_GOING_LIVE";
50
+ readonly EVENT_CANCELLED: "EVENT_CANCELLED";
51
+ readonly DISPUTE_OPENED: "DISPUTE_OPENED";
52
+ readonly DISPUTE_RESOLVED: "DISPUTE_RESOLVED";
53
+ readonly KYC_APPROVED: "KYC_APPROVED";
54
+ readonly KYC_REJECTED: "KYC_REJECTED";
55
+ readonly PRODUCER_VERIFIED: "PRODUCER_VERIFIED";
56
+ readonly JOB_LISTING_NEW_INTEREST: "JOB_LISTING_NEW_INTEREST";
57
+ }>;
58
+ title: z.ZodString;
59
+ body: z.ZodString;
60
+ actionUrl: z.ZodOptional<z.ZodString>;
61
+ actionType: z.ZodOptional<z.ZodString>;
62
+ channels: z.ZodArray<z.ZodNativeEnum<{
63
+ readonly IN_APP: "IN_APP";
64
+ readonly EMAIL: "EMAIL";
65
+ readonly SMS: "SMS";
66
+ readonly PUSH: "PUSH";
67
+ }>, "many">;
68
+ isRead: z.ZodBoolean;
69
+ readAt: z.ZodOptional<z.ZodString>;
70
+ deliveredAt: z.ZodOptional<z.ZodString>;
71
+ priority: z.ZodNativeEnum<{
72
+ readonly LOW: "LOW";
73
+ readonly NORMAL: "NORMAL";
74
+ readonly HIGH: "HIGH";
75
+ readonly URGENT: "URGENT";
76
+ }>;
77
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
78
+ createdAt: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
81
+ title: string;
82
+ id: string;
83
+ userId: string;
84
+ createdAt: string;
85
+ body: string;
86
+ channels: ("EMAIL" | "IN_APP" | "SMS" | "PUSH")[];
87
+ isRead: boolean;
88
+ priority: "LOW" | "NORMAL" | "HIGH" | "URGENT";
89
+ actionUrl?: string | undefined;
90
+ actionType?: string | undefined;
91
+ readAt?: string | undefined;
92
+ deliveredAt?: string | undefined;
93
+ metadata?: Record<string, any> | undefined;
94
+ }, {
95
+ type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
96
+ title: string;
97
+ id: string;
98
+ userId: string;
99
+ createdAt: string;
100
+ body: string;
101
+ channels: ("EMAIL" | "IN_APP" | "SMS" | "PUSH")[];
102
+ isRead: boolean;
103
+ priority: "LOW" | "NORMAL" | "HIGH" | "URGENT";
104
+ actionUrl?: string | undefined;
105
+ actionType?: string | undefined;
106
+ readAt?: string | undefined;
107
+ deliveredAt?: string | undefined;
108
+ metadata?: Record<string, any> | undefined;
109
+ }>;
110
+
111
+ type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
112
+
113
+ export { NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkGY7PCU2T_js=require('../chunk-GY7PCU2T.js');Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunkGY7PCU2T_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunkGY7PCU2T_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunkGY7PCU2T_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunkGY7PCU2T_js.c}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'../chunk-HI6UMYA4.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,119 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const TransactionType: {
4
+ readonly TICKET_PURCHASE: "TICKET_PURCHASE";
5
+ readonly BOOKING_ESCROW: "BOOKING_ESCROW";
6
+ readonly ESCROW_RELEASE: "ESCROW_RELEASE";
7
+ readonly PLATFORM_FEE: "PLATFORM_FEE";
8
+ readonly PRODUCER_PAYOUT: "PRODUCER_PAYOUT";
9
+ readonly HOST_PAYOUT: "HOST_PAYOUT";
10
+ readonly REFUND: "REFUND";
11
+ };
12
+ type TransactionType = (typeof TransactionType)[keyof typeof TransactionType];
13
+ declare const TransactionStatus: {
14
+ readonly PENDING: "PENDING";
15
+ readonly SUCCESS: "SUCCESS";
16
+ readonly FAILED: "FAILED";
17
+ readonly REVERSED: "REVERSED";
18
+ };
19
+ type TransactionStatus = (typeof TransactionStatus)[keyof typeof TransactionStatus];
20
+ declare const PayoutStatus: {
21
+ readonly PENDING: "PENDING";
22
+ readonly PROCESSING: "PROCESSING";
23
+ readonly COMPLETED: "COMPLETED";
24
+ readonly FAILED: "FAILED";
25
+ };
26
+ type PayoutStatus = (typeof PayoutStatus)[keyof typeof PayoutStatus];
27
+
28
+ declare const InitiatePaymentRequestSchema: z.ZodObject<{
29
+ eventId: z.ZodString;
30
+ amount: z.ZodNumber;
31
+ }, "strip", z.ZodTypeAny, {
32
+ eventId: string;
33
+ amount: number;
34
+ }, {
35
+ eventId: string;
36
+ amount: number;
37
+ }>;
38
+ declare const InitiatePaymentResponseSchema: z.ZodObject<{
39
+ authorizationUrl: z.ZodString;
40
+ reference: z.ZodString;
41
+ accessCode: z.ZodOptional<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ reference: string;
44
+ authorizationUrl: string;
45
+ accessCode?: string | undefined;
46
+ }, {
47
+ reference: string;
48
+ authorizationUrl: string;
49
+ accessCode?: string | undefined;
50
+ }>;
51
+ declare const PayoutResponseSchema: z.ZodObject<{
52
+ id: z.ZodString;
53
+ userId: z.ZodString;
54
+ amount: z.ZodNumber;
55
+ currency: z.ZodString;
56
+ payoutType: z.ZodString;
57
+ eventId: z.ZodOptional<z.ZodString>;
58
+ bookingId: z.ZodOptional<z.ZodString>;
59
+ payoutStatus: z.ZodNativeEnum<{
60
+ readonly PENDING: "PENDING";
61
+ readonly PROCESSING: "PROCESSING";
62
+ readonly COMPLETED: "COMPLETED";
63
+ readonly FAILED: "FAILED";
64
+ }>;
65
+ providerReference: z.ZodOptional<z.ZodString>;
66
+ bankCode: z.ZodOptional<z.ZodString>;
67
+ accountNumber: z.ZodOptional<z.ZodString>;
68
+ accountName: z.ZodOptional<z.ZodString>;
69
+ scheduledAt: z.ZodOptional<z.ZodString>;
70
+ processedAt: z.ZodOptional<z.ZodString>;
71
+ completedAt: z.ZodOptional<z.ZodString>;
72
+ failedAt: z.ZodOptional<z.ZodString>;
73
+ failureReason: z.ZodOptional<z.ZodString>;
74
+ createdAt: z.ZodString;
75
+ }, "strip", z.ZodTypeAny, {
76
+ id: string;
77
+ userId: string;
78
+ createdAt: string;
79
+ currency: string;
80
+ amount: number;
81
+ payoutType: string;
82
+ payoutStatus: "PENDING" | "FAILED" | "PROCESSING" | "COMPLETED";
83
+ eventId?: string | undefined;
84
+ completedAt?: string | undefined;
85
+ bookingId?: string | undefined;
86
+ providerReference?: string | undefined;
87
+ bankCode?: string | undefined;
88
+ accountNumber?: string | undefined;
89
+ accountName?: string | undefined;
90
+ scheduledAt?: string | undefined;
91
+ processedAt?: string | undefined;
92
+ failedAt?: string | undefined;
93
+ failureReason?: string | undefined;
94
+ }, {
95
+ id: string;
96
+ userId: string;
97
+ createdAt: string;
98
+ currency: string;
99
+ amount: number;
100
+ payoutType: string;
101
+ payoutStatus: "PENDING" | "FAILED" | "PROCESSING" | "COMPLETED";
102
+ eventId?: string | undefined;
103
+ completedAt?: string | undefined;
104
+ bookingId?: string | undefined;
105
+ providerReference?: string | undefined;
106
+ bankCode?: string | undefined;
107
+ accountNumber?: string | undefined;
108
+ accountName?: string | undefined;
109
+ scheduledAt?: string | undefined;
110
+ processedAt?: string | undefined;
111
+ failedAt?: string | undefined;
112
+ failureReason?: string | undefined;
113
+ }>;
114
+
115
+ type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
116
+ type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
117
+ type PayoutResponse = z.infer<typeof PayoutResponseSchema>;
118
+
119
+ export { type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, type PayoutResponse, PayoutResponseSchema, PayoutStatus, TransactionStatus, TransactionType };
@@ -0,0 +1,119 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const TransactionType: {
4
+ readonly TICKET_PURCHASE: "TICKET_PURCHASE";
5
+ readonly BOOKING_ESCROW: "BOOKING_ESCROW";
6
+ readonly ESCROW_RELEASE: "ESCROW_RELEASE";
7
+ readonly PLATFORM_FEE: "PLATFORM_FEE";
8
+ readonly PRODUCER_PAYOUT: "PRODUCER_PAYOUT";
9
+ readonly HOST_PAYOUT: "HOST_PAYOUT";
10
+ readonly REFUND: "REFUND";
11
+ };
12
+ type TransactionType = (typeof TransactionType)[keyof typeof TransactionType];
13
+ declare const TransactionStatus: {
14
+ readonly PENDING: "PENDING";
15
+ readonly SUCCESS: "SUCCESS";
16
+ readonly FAILED: "FAILED";
17
+ readonly REVERSED: "REVERSED";
18
+ };
19
+ type TransactionStatus = (typeof TransactionStatus)[keyof typeof TransactionStatus];
20
+ declare const PayoutStatus: {
21
+ readonly PENDING: "PENDING";
22
+ readonly PROCESSING: "PROCESSING";
23
+ readonly COMPLETED: "COMPLETED";
24
+ readonly FAILED: "FAILED";
25
+ };
26
+ type PayoutStatus = (typeof PayoutStatus)[keyof typeof PayoutStatus];
27
+
28
+ declare const InitiatePaymentRequestSchema: z.ZodObject<{
29
+ eventId: z.ZodString;
30
+ amount: z.ZodNumber;
31
+ }, "strip", z.ZodTypeAny, {
32
+ eventId: string;
33
+ amount: number;
34
+ }, {
35
+ eventId: string;
36
+ amount: number;
37
+ }>;
38
+ declare const InitiatePaymentResponseSchema: z.ZodObject<{
39
+ authorizationUrl: z.ZodString;
40
+ reference: z.ZodString;
41
+ accessCode: z.ZodOptional<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ reference: string;
44
+ authorizationUrl: string;
45
+ accessCode?: string | undefined;
46
+ }, {
47
+ reference: string;
48
+ authorizationUrl: string;
49
+ accessCode?: string | undefined;
50
+ }>;
51
+ declare const PayoutResponseSchema: z.ZodObject<{
52
+ id: z.ZodString;
53
+ userId: z.ZodString;
54
+ amount: z.ZodNumber;
55
+ currency: z.ZodString;
56
+ payoutType: z.ZodString;
57
+ eventId: z.ZodOptional<z.ZodString>;
58
+ bookingId: z.ZodOptional<z.ZodString>;
59
+ payoutStatus: z.ZodNativeEnum<{
60
+ readonly PENDING: "PENDING";
61
+ readonly PROCESSING: "PROCESSING";
62
+ readonly COMPLETED: "COMPLETED";
63
+ readonly FAILED: "FAILED";
64
+ }>;
65
+ providerReference: z.ZodOptional<z.ZodString>;
66
+ bankCode: z.ZodOptional<z.ZodString>;
67
+ accountNumber: z.ZodOptional<z.ZodString>;
68
+ accountName: z.ZodOptional<z.ZodString>;
69
+ scheduledAt: z.ZodOptional<z.ZodString>;
70
+ processedAt: z.ZodOptional<z.ZodString>;
71
+ completedAt: z.ZodOptional<z.ZodString>;
72
+ failedAt: z.ZodOptional<z.ZodString>;
73
+ failureReason: z.ZodOptional<z.ZodString>;
74
+ createdAt: z.ZodString;
75
+ }, "strip", z.ZodTypeAny, {
76
+ id: string;
77
+ userId: string;
78
+ createdAt: string;
79
+ currency: string;
80
+ amount: number;
81
+ payoutType: string;
82
+ payoutStatus: "PENDING" | "FAILED" | "PROCESSING" | "COMPLETED";
83
+ eventId?: string | undefined;
84
+ completedAt?: string | undefined;
85
+ bookingId?: string | undefined;
86
+ providerReference?: string | undefined;
87
+ bankCode?: string | undefined;
88
+ accountNumber?: string | undefined;
89
+ accountName?: string | undefined;
90
+ scheduledAt?: string | undefined;
91
+ processedAt?: string | undefined;
92
+ failedAt?: string | undefined;
93
+ failureReason?: string | undefined;
94
+ }, {
95
+ id: string;
96
+ userId: string;
97
+ createdAt: string;
98
+ currency: string;
99
+ amount: number;
100
+ payoutType: string;
101
+ payoutStatus: "PENDING" | "FAILED" | "PROCESSING" | "COMPLETED";
102
+ eventId?: string | undefined;
103
+ completedAt?: string | undefined;
104
+ bookingId?: string | undefined;
105
+ providerReference?: string | undefined;
106
+ bankCode?: string | undefined;
107
+ accountNumber?: string | undefined;
108
+ accountName?: string | undefined;
109
+ scheduledAt?: string | undefined;
110
+ processedAt?: string | undefined;
111
+ failedAt?: string | undefined;
112
+ failureReason?: string | undefined;
113
+ }>;
114
+
115
+ type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
116
+ type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
117
+ type PayoutResponse = z.infer<typeof PayoutResponseSchema>;
118
+
119
+ export { type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, type PayoutResponse, PayoutResponseSchema, PayoutStatus, TransactionStatus, TransactionType };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkZFINSMCH_js=require('../chunk-ZFINSMCH.js');Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkZFINSMCH_js.d}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkZFINSMCH_js.e}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkZFINSMCH_js.f}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkZFINSMCH_js.c}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkZFINSMCH_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkZFINSMCH_js.a}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{d as InitiatePaymentRequestSchema,e as InitiatePaymentResponseSchema,f as PayoutResponseSchema,c as PayoutStatus,b as TransactionStatus,a as TransactionType}from'../chunk-DF4E66H2.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,79 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const StreamStatus: {
4
+ readonly PENDING: "pending";
5
+ readonly ACTIVE: "active";
6
+ readonly IDLE: "idle";
7
+ readonly ENDED: "ended";
8
+ readonly ERROR: "error";
9
+ };
10
+ type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
11
+ declare const IngestProtocol: {
12
+ readonly RTMPS: "RTMPS";
13
+ readonly SRT: "SRT";
14
+ };
15
+ type IngestProtocol = (typeof IngestProtocol)[keyof typeof IngestProtocol];
16
+
17
+ declare const PlaybackTokenResponseSchema: z.ZodObject<{
18
+ token: z.ZodString;
19
+ playbackUrl: z.ZodString;
20
+ expiresAt: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ token: string;
23
+ playbackUrl: string;
24
+ expiresAt: string;
25
+ }, {
26
+ token: string;
27
+ playbackUrl: string;
28
+ expiresAt: string;
29
+ }>;
30
+ declare const IngestCredentialsResponseSchema: z.ZodObject<{
31
+ ingestEndpoint: z.ZodString;
32
+ streamKey: z.ZodString;
33
+ protocol: z.ZodNativeEnum<{
34
+ readonly RTMPS: "RTMPS";
35
+ readonly SRT: "SRT";
36
+ }>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ ingestEndpoint: string;
39
+ streamKey: string;
40
+ protocol: "RTMPS" | "SRT";
41
+ }, {
42
+ ingestEndpoint: string;
43
+ streamKey: string;
44
+ protocol: "RTMPS" | "SRT";
45
+ }>;
46
+ declare const TelemetryReportRequestSchema: z.ZodObject<{
47
+ eventId: z.ZodString;
48
+ viewerCount: z.ZodOptional<z.ZodNumber>;
49
+ rebufferRate: z.ZodOptional<z.ZodNumber>;
50
+ bitrateKbps: z.ZodOptional<z.ZodNumber>;
51
+ latencyMs: z.ZodOptional<z.ZodNumber>;
52
+ playbackErrorRate: z.ZodOptional<z.ZodNumber>;
53
+ deviceType: z.ZodOptional<z.ZodString>;
54
+ region: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ eventId: string;
57
+ viewerCount?: number | undefined;
58
+ rebufferRate?: number | undefined;
59
+ bitrateKbps?: number | undefined;
60
+ latencyMs?: number | undefined;
61
+ playbackErrorRate?: number | undefined;
62
+ deviceType?: string | undefined;
63
+ region?: string | undefined;
64
+ }, {
65
+ eventId: string;
66
+ viewerCount?: number | undefined;
67
+ rebufferRate?: number | undefined;
68
+ bitrateKbps?: number | undefined;
69
+ latencyMs?: number | undefined;
70
+ playbackErrorRate?: number | undefined;
71
+ deviceType?: string | undefined;
72
+ region?: string | undefined;
73
+ }>;
74
+
75
+ type PlaybackTokenResponse = z.infer<typeof PlaybackTokenResponseSchema>;
76
+ type IngestCredentialsResponse = z.infer<typeof IngestCredentialsResponseSchema>;
77
+ type TelemetryReportRequest = z.infer<typeof TelemetryReportRequestSchema>;
78
+
79
+ export { type IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, type PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, type TelemetryReportRequest, TelemetryReportRequestSchema };
@@ -0,0 +1,79 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const StreamStatus: {
4
+ readonly PENDING: "pending";
5
+ readonly ACTIVE: "active";
6
+ readonly IDLE: "idle";
7
+ readonly ENDED: "ended";
8
+ readonly ERROR: "error";
9
+ };
10
+ type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
11
+ declare const IngestProtocol: {
12
+ readonly RTMPS: "RTMPS";
13
+ readonly SRT: "SRT";
14
+ };
15
+ type IngestProtocol = (typeof IngestProtocol)[keyof typeof IngestProtocol];
16
+
17
+ declare const PlaybackTokenResponseSchema: z.ZodObject<{
18
+ token: z.ZodString;
19
+ playbackUrl: z.ZodString;
20
+ expiresAt: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ token: string;
23
+ playbackUrl: string;
24
+ expiresAt: string;
25
+ }, {
26
+ token: string;
27
+ playbackUrl: string;
28
+ expiresAt: string;
29
+ }>;
30
+ declare const IngestCredentialsResponseSchema: z.ZodObject<{
31
+ ingestEndpoint: z.ZodString;
32
+ streamKey: z.ZodString;
33
+ protocol: z.ZodNativeEnum<{
34
+ readonly RTMPS: "RTMPS";
35
+ readonly SRT: "SRT";
36
+ }>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ ingestEndpoint: string;
39
+ streamKey: string;
40
+ protocol: "RTMPS" | "SRT";
41
+ }, {
42
+ ingestEndpoint: string;
43
+ streamKey: string;
44
+ protocol: "RTMPS" | "SRT";
45
+ }>;
46
+ declare const TelemetryReportRequestSchema: z.ZodObject<{
47
+ eventId: z.ZodString;
48
+ viewerCount: z.ZodOptional<z.ZodNumber>;
49
+ rebufferRate: z.ZodOptional<z.ZodNumber>;
50
+ bitrateKbps: z.ZodOptional<z.ZodNumber>;
51
+ latencyMs: z.ZodOptional<z.ZodNumber>;
52
+ playbackErrorRate: z.ZodOptional<z.ZodNumber>;
53
+ deviceType: z.ZodOptional<z.ZodString>;
54
+ region: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ eventId: string;
57
+ viewerCount?: number | undefined;
58
+ rebufferRate?: number | undefined;
59
+ bitrateKbps?: number | undefined;
60
+ latencyMs?: number | undefined;
61
+ playbackErrorRate?: number | undefined;
62
+ deviceType?: string | undefined;
63
+ region?: string | undefined;
64
+ }, {
65
+ eventId: string;
66
+ viewerCount?: number | undefined;
67
+ rebufferRate?: number | undefined;
68
+ bitrateKbps?: number | undefined;
69
+ latencyMs?: number | undefined;
70
+ playbackErrorRate?: number | undefined;
71
+ deviceType?: string | undefined;
72
+ region?: string | undefined;
73
+ }>;
74
+
75
+ type PlaybackTokenResponse = z.infer<typeof PlaybackTokenResponseSchema>;
76
+ type IngestCredentialsResponse = z.infer<typeof IngestCredentialsResponseSchema>;
77
+ type TelemetryReportRequest = z.infer<typeof TelemetryReportRequestSchema>;
78
+
79
+ export { type IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, type PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, type TelemetryReportRequest, TelemetryReportRequestSchema };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunk726BT6I5_js=require('../chunk-726BT6I5.js');Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunk726BT6I5_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunk726BT6I5_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunk726BT6I5_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunk726BT6I5_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunk726BT6I5_js.e}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'../chunk-6UTUVCOM.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}