@livdot-tech/contracts 1.2.0 → 1.3.1

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 (113) hide show
  1. package/dist/auth/index.d.mts +30 -132
  2. package/dist/auth/index.d.ts +30 -132
  3. package/dist/auth/index.js +1 -1
  4. package/dist/auth/index.mjs +1 -1
  5. package/dist/booking/index.d.mts +35 -183
  6. package/dist/booking/index.d.ts +35 -183
  7. package/dist/booking/index.js +1 -1
  8. package/dist/booking/index.mjs +1 -1
  9. package/dist/chunk-24RINR6F.mjs +2 -0
  10. package/dist/chunk-24RINR6F.mjs.map +1 -0
  11. package/dist/chunk-4YYJEPT6.js +2 -0
  12. package/dist/chunk-4YYJEPT6.js.map +1 -0
  13. package/dist/chunk-C7FWAE4X.js +2 -0
  14. package/dist/chunk-C7FWAE4X.js.map +1 -0
  15. package/dist/chunk-CWGSFDFC.mjs +2 -0
  16. package/dist/chunk-CWGSFDFC.mjs.map +1 -0
  17. package/dist/chunk-DAQYQHNR.js +2 -0
  18. package/dist/chunk-DAQYQHNR.js.map +1 -0
  19. package/dist/chunk-DKCDBAZM.js +2 -0
  20. package/dist/chunk-DKCDBAZM.js.map +1 -0
  21. package/dist/chunk-FE3AMYQL.mjs +2 -0
  22. package/dist/chunk-FE3AMYQL.mjs.map +1 -0
  23. package/dist/chunk-GKYB3J5L.js +2 -0
  24. package/dist/chunk-GKYB3J5L.js.map +1 -0
  25. package/dist/chunk-MIIRC5BK.mjs +2 -0
  26. package/dist/chunk-MIIRC5BK.mjs.map +1 -0
  27. package/dist/chunk-MTV3P67L.js +2 -0
  28. package/dist/chunk-MTV3P67L.js.map +1 -0
  29. package/dist/chunk-QWCVJYX2.mjs +2 -0
  30. package/dist/chunk-QWCVJYX2.mjs.map +1 -0
  31. package/dist/chunk-SA4F4CDG.mjs +2 -0
  32. package/dist/chunk-SA4F4CDG.mjs.map +1 -0
  33. package/dist/chunk-SOOB6WM6.mjs +2 -0
  34. package/dist/chunk-SOOB6WM6.mjs.map +1 -0
  35. package/dist/chunk-T4UIJFC3.mjs +2 -0
  36. package/dist/chunk-T4UIJFC3.mjs.map +1 -0
  37. package/dist/chunk-VPAZHULG.js +2 -0
  38. package/dist/chunk-VPAZHULG.js.map +1 -0
  39. package/dist/chunk-ZOBM5OSW.js +2 -0
  40. package/dist/chunk-ZOBM5OSW.js.map +1 -0
  41. package/dist/chunk-ZWKP6KMZ.js +2 -0
  42. package/dist/chunk-ZWKP6KMZ.js.map +1 -0
  43. package/dist/chunk-ZWWSPLKF.mjs +2 -0
  44. package/dist/chunk-ZWWSPLKF.mjs.map +1 -0
  45. package/dist/common/index.d.mts +6 -214
  46. package/dist/common/index.d.ts +6 -214
  47. package/dist/common/index.js +1 -1
  48. package/dist/common/index.mjs +1 -1
  49. package/dist/dispute/index.d.mts +12 -42
  50. package/dist/dispute/index.d.ts +12 -42
  51. package/dist/dispute/index.js +1 -1
  52. package/dist/dispute/index.mjs +1 -1
  53. package/dist/event/index.d.mts +31 -147
  54. package/dist/event/index.d.ts +31 -147
  55. package/dist/event/index.js +1 -1
  56. package/dist/event/index.mjs +1 -1
  57. package/dist/index.d.mts +1 -1
  58. package/dist/index.d.ts +1 -1
  59. package/dist/index.js +1 -1
  60. package/dist/index.mjs +1 -1
  61. package/dist/notification/index.d.mts +11 -41
  62. package/dist/notification/index.d.ts +11 -41
  63. package/dist/notification/index.js +1 -1
  64. package/dist/notification/index.mjs +1 -1
  65. package/dist/payment/index.d.mts +15 -67
  66. package/dist/payment/index.d.ts +15 -67
  67. package/dist/payment/index.js +1 -1
  68. package/dist/payment/index.mjs +1 -1
  69. package/dist/streaming/index.d.mts +8 -42
  70. package/dist/streaming/index.d.ts +8 -42
  71. package/dist/streaming/index.js +1 -1
  72. package/dist/streaming/index.mjs +1 -1
  73. package/dist/user/index.d.mts +184 -304
  74. package/dist/user/index.d.ts +184 -304
  75. package/dist/user/index.js +1 -1
  76. package/dist/user/index.mjs +1 -1
  77. package/package.json +6 -5
  78. package/dist/chunk-6UTUVCOM.mjs +0 -2
  79. package/dist/chunk-6UTUVCOM.mjs.map +0 -1
  80. package/dist/chunk-6ZN2TPBZ.js +0 -2
  81. package/dist/chunk-6ZN2TPBZ.js.map +0 -1
  82. package/dist/chunk-726BT6I5.js +0 -2
  83. package/dist/chunk-726BT6I5.js.map +0 -1
  84. package/dist/chunk-C2QIE2HZ.js +0 -2
  85. package/dist/chunk-C2QIE2HZ.js.map +0 -1
  86. package/dist/chunk-CIV62KPR.mjs +0 -2
  87. package/dist/chunk-CIV62KPR.mjs.map +0 -1
  88. package/dist/chunk-DF4E66H2.mjs +0 -2
  89. package/dist/chunk-DF4E66H2.mjs.map +0 -1
  90. package/dist/chunk-F663RS3D.js +0 -2
  91. package/dist/chunk-F663RS3D.js.map +0 -1
  92. package/dist/chunk-GY7PCU2T.js +0 -2
  93. package/dist/chunk-GY7PCU2T.js.map +0 -1
  94. package/dist/chunk-HI6UMYA4.mjs +0 -2
  95. package/dist/chunk-HI6UMYA4.mjs.map +0 -1
  96. package/dist/chunk-HIY5BNTM.mjs +0 -2
  97. package/dist/chunk-HIY5BNTM.mjs.map +0 -1
  98. package/dist/chunk-IJ2PAFAX.js +0 -2
  99. package/dist/chunk-IJ2PAFAX.js.map +0 -1
  100. package/dist/chunk-L6NHN3V2.js +0 -2
  101. package/dist/chunk-L6NHN3V2.js.map +0 -1
  102. package/dist/chunk-NSBUBEZK.mjs +0 -2
  103. package/dist/chunk-NSBUBEZK.mjs.map +0 -1
  104. package/dist/chunk-PHGWWUP2.mjs +0 -2
  105. package/dist/chunk-PHGWWUP2.mjs.map +0 -1
  106. package/dist/chunk-T7C4AYVD.mjs +0 -2
  107. package/dist/chunk-T7C4AYVD.mjs.map +0 -1
  108. package/dist/chunk-UDHBQDRU.js +0 -2
  109. package/dist/chunk-UDHBQDRU.js.map +0 -1
  110. package/dist/chunk-WEET4HBJ.mjs +0 -2
  111. package/dist/chunk-WEET4HBJ.mjs.map +0 -1
  112. package/dist/chunk-ZFINSMCH.js +0 -2
  113. package/dist/chunk-ZFINSMCH.js.map +0 -1
@@ -26,37 +26,23 @@ declare const PayoutStatus: {
26
26
  type PayoutStatus = (typeof PayoutStatus)[keyof typeof PayoutStatus];
27
27
 
28
28
  declare const InitiatePaymentRequestSchema: z.ZodObject<{
29
- eventId: z.ZodString;
29
+ eventId: z.ZodUUID;
30
30
  amount: z.ZodNumber;
31
- }, "strip", z.ZodTypeAny, {
32
- eventId: string;
33
- amount: number;
34
- }, {
35
- eventId: string;
36
- amount: number;
37
- }>;
31
+ }, z.core.$strip>;
38
32
  declare const InitiatePaymentResponseSchema: z.ZodObject<{
39
- authorizationUrl: z.ZodString;
33
+ authorizationUrl: z.ZodURL;
40
34
  reference: z.ZodString;
41
35
  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
- }>;
36
+ }, z.core.$strip>;
51
37
  declare const PayoutResponseSchema: z.ZodObject<{
52
- id: z.ZodString;
53
- userId: z.ZodString;
38
+ id: z.ZodUUID;
39
+ userId: z.ZodUUID;
54
40
  amount: z.ZodNumber;
55
41
  currency: z.ZodString;
56
42
  payoutType: z.ZodString;
57
- eventId: z.ZodOptional<z.ZodString>;
58
- bookingId: z.ZodOptional<z.ZodString>;
59
- payoutStatus: z.ZodNativeEnum<{
43
+ eventId: z.ZodOptional<z.ZodUUID>;
44
+ bookingId: z.ZodOptional<z.ZodUUID>;
45
+ payoutStatus: z.ZodEnum<{
60
46
  readonly PENDING: "PENDING";
61
47
  readonly PROCESSING: "PROCESSING";
62
48
  readonly COMPLETED: "COMPLETED";
@@ -66,51 +52,13 @@ declare const PayoutResponseSchema: z.ZodObject<{
66
52
  bankCode: z.ZodOptional<z.ZodString>;
67
53
  accountNumber: z.ZodOptional<z.ZodString>;
68
54
  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>;
55
+ scheduledAt: z.ZodOptional<z.ZodISODateTime>;
56
+ processedAt: z.ZodOptional<z.ZodISODateTime>;
57
+ completedAt: z.ZodOptional<z.ZodISODateTime>;
58
+ failedAt: z.ZodOptional<z.ZodISODateTime>;
73
59
  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
- }>;
60
+ createdAt: z.ZodISODateTime;
61
+ }, z.core.$strip>;
114
62
 
115
63
  type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
116
64
  type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
@@ -1,2 +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
1
+ 'use strict';var chunkDAQYQHNR_js=require('../chunk-DAQYQHNR.js');Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.d}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.e}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.f}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkDAQYQHNR_js.c}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkDAQYQHNR_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkDAQYQHNR_js.a}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +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
1
+ export{d as InitiatePaymentRequestSchema,e as InitiatePaymentResponseSchema,f as PayoutResponseSchema,c as PayoutStatus,b as TransactionStatus,a as TransactionType}from'../chunk-ZWWSPLKF.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -16,35 +16,19 @@ type IngestProtocol = (typeof IngestProtocol)[keyof typeof IngestProtocol];
16
16
 
17
17
  declare const PlaybackTokenResponseSchema: z.ZodObject<{
18
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
- }>;
19
+ playbackUrl: z.ZodURL;
20
+ expiresAt: z.ZodISODateTime;
21
+ }, z.core.$strip>;
30
22
  declare const IngestCredentialsResponseSchema: z.ZodObject<{
31
- ingestEndpoint: z.ZodString;
23
+ ingestEndpoint: z.ZodURL;
32
24
  streamKey: z.ZodString;
33
- protocol: z.ZodNativeEnum<{
25
+ protocol: z.ZodEnum<{
34
26
  readonly RTMPS: "RTMPS";
35
27
  readonly SRT: "SRT";
36
28
  }>;
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
- }>;
29
+ }, z.core.$strip>;
46
30
  declare const TelemetryReportRequestSchema: z.ZodObject<{
47
- eventId: z.ZodString;
31
+ eventId: z.ZodUUID;
48
32
  viewerCount: z.ZodOptional<z.ZodNumber>;
49
33
  rebufferRate: z.ZodOptional<z.ZodNumber>;
50
34
  bitrateKbps: z.ZodOptional<z.ZodNumber>;
@@ -52,25 +36,7 @@ declare const TelemetryReportRequestSchema: z.ZodObject<{
52
36
  playbackErrorRate: z.ZodOptional<z.ZodNumber>;
53
37
  deviceType: z.ZodOptional<z.ZodString>;
54
38
  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
- }>;
39
+ }, z.core.$strip>;
74
40
 
75
41
  type PlaybackTokenResponse = z.infer<typeof PlaybackTokenResponseSchema>;
76
42
  type IngestCredentialsResponse = z.infer<typeof IngestCredentialsResponseSchema>;
@@ -16,35 +16,19 @@ type IngestProtocol = (typeof IngestProtocol)[keyof typeof IngestProtocol];
16
16
 
17
17
  declare const PlaybackTokenResponseSchema: z.ZodObject<{
18
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
- }>;
19
+ playbackUrl: z.ZodURL;
20
+ expiresAt: z.ZodISODateTime;
21
+ }, z.core.$strip>;
30
22
  declare const IngestCredentialsResponseSchema: z.ZodObject<{
31
- ingestEndpoint: z.ZodString;
23
+ ingestEndpoint: z.ZodURL;
32
24
  streamKey: z.ZodString;
33
- protocol: z.ZodNativeEnum<{
25
+ protocol: z.ZodEnum<{
34
26
  readonly RTMPS: "RTMPS";
35
27
  readonly SRT: "SRT";
36
28
  }>;
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
- }>;
29
+ }, z.core.$strip>;
46
30
  declare const TelemetryReportRequestSchema: z.ZodObject<{
47
- eventId: z.ZodString;
31
+ eventId: z.ZodUUID;
48
32
  viewerCount: z.ZodOptional<z.ZodNumber>;
49
33
  rebufferRate: z.ZodOptional<z.ZodNumber>;
50
34
  bitrateKbps: z.ZodOptional<z.ZodNumber>;
@@ -52,25 +36,7 @@ declare const TelemetryReportRequestSchema: z.ZodObject<{
52
36
  playbackErrorRate: z.ZodOptional<z.ZodNumber>;
53
37
  deviceType: z.ZodOptional<z.ZodString>;
54
38
  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
- }>;
39
+ }, z.core.$strip>;
74
40
 
75
41
  type PlaybackTokenResponse = z.infer<typeof PlaybackTokenResponseSchema>;
76
42
  type IngestCredentialsResponse = z.infer<typeof IngestCredentialsResponseSchema>;
@@ -1,2 +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
1
+ 'use strict';var chunkC7FWAE4X_js=require('../chunk-C7FWAE4X.js');Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunkC7FWAE4X_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunkC7FWAE4X_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.e}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +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
1
+ export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'../chunk-MIIRC5BK.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map