@ttt-productions/media-contracts 0.2.24 → 0.2.25
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/domain-events.d.ts +10 -10
- package/dist/domain-events.js +1 -1
- package/dist/domain-events.js.map +1 -1
- package/dist/schemas.d.ts +45 -45
- package/package.json +1 -1
package/dist/domain-events.d.ts
CHANGED
|
@@ -105,33 +105,33 @@ export declare const OpportunityReplyCreatedEventSchema: z.ZodObject<{
|
|
|
105
105
|
userId: z.ZodString;
|
|
106
106
|
opportunityId: z.ZodString;
|
|
107
107
|
replyId: z.ZodString;
|
|
108
|
-
projectId: z.ZodString
|
|
108
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, "strict", z.ZodTypeAny, {
|
|
110
110
|
userId: string;
|
|
111
111
|
opportunityId: string;
|
|
112
|
-
projectId: string;
|
|
113
112
|
replyId: string;
|
|
113
|
+
projectId?: string | undefined;
|
|
114
114
|
}, {
|
|
115
115
|
userId: string;
|
|
116
116
|
opportunityId: string;
|
|
117
|
-
projectId: string;
|
|
118
117
|
replyId: string;
|
|
118
|
+
projectId?: string | undefined;
|
|
119
119
|
}>;
|
|
120
120
|
}, "strict", z.ZodTypeAny, {
|
|
121
121
|
type: "opportunity.replyCreated";
|
|
122
122
|
ids: {
|
|
123
123
|
userId: string;
|
|
124
124
|
opportunityId: string;
|
|
125
|
-
projectId: string;
|
|
126
125
|
replyId: string;
|
|
126
|
+
projectId?: string | undefined;
|
|
127
127
|
};
|
|
128
128
|
}, {
|
|
129
129
|
type: "opportunity.replyCreated";
|
|
130
130
|
ids: {
|
|
131
131
|
userId: string;
|
|
132
132
|
opportunityId: string;
|
|
133
|
-
projectId: string;
|
|
134
133
|
replyId: string;
|
|
134
|
+
projectId?: string | undefined;
|
|
135
135
|
};
|
|
136
136
|
}>;
|
|
137
137
|
export declare const JobCreatedEventSchema: z.ZodObject<{
|
|
@@ -426,33 +426,33 @@ export declare const DomainEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
426
426
|
userId: z.ZodString;
|
|
427
427
|
opportunityId: z.ZodString;
|
|
428
428
|
replyId: z.ZodString;
|
|
429
|
-
projectId: z.ZodString
|
|
429
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
430
430
|
}, "strict", z.ZodTypeAny, {
|
|
431
431
|
userId: string;
|
|
432
432
|
opportunityId: string;
|
|
433
|
-
projectId: string;
|
|
434
433
|
replyId: string;
|
|
434
|
+
projectId?: string | undefined;
|
|
435
435
|
}, {
|
|
436
436
|
userId: string;
|
|
437
437
|
opportunityId: string;
|
|
438
|
-
projectId: string;
|
|
439
438
|
replyId: string;
|
|
439
|
+
projectId?: string | undefined;
|
|
440
440
|
}>;
|
|
441
441
|
}, "strict", z.ZodTypeAny, {
|
|
442
442
|
type: "opportunity.replyCreated";
|
|
443
443
|
ids: {
|
|
444
444
|
userId: string;
|
|
445
445
|
opportunityId: string;
|
|
446
|
-
projectId: string;
|
|
447
446
|
replyId: string;
|
|
447
|
+
projectId?: string | undefined;
|
|
448
448
|
};
|
|
449
449
|
}, {
|
|
450
450
|
type: "opportunity.replyCreated";
|
|
451
451
|
ids: {
|
|
452
452
|
userId: string;
|
|
453
453
|
opportunityId: string;
|
|
454
|
-
projectId: string;
|
|
455
454
|
replyId: string;
|
|
455
|
+
projectId?: string | undefined;
|
|
456
456
|
};
|
|
457
457
|
}>, z.ZodObject<{
|
|
458
458
|
type: z.ZodLiteral<"job.created">;
|
package/dist/domain-events.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-events.js","sourceRoot":"","sources":["../src/domain-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,+EAA+E;AAC/E,uEAAuE;AACvE,6EAA6E;AAC7E,gEAAgE;AAChE,EAAE;AAC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AClC,qBAAqB;IACrB,kCAAkC;IAClC,mCAAmC;IACnC,qCAAqC;IACrC,qCAAqC;IACrC,kCAAkC;CACnC,CAAC,CAAC"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -4321,33 +4321,33 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
|
|
|
4321
4321
|
userId: z.ZodString;
|
|
4322
4322
|
opportunityId: z.ZodString;
|
|
4323
4323
|
replyId: z.ZodString;
|
|
4324
|
-
projectId: z.ZodString
|
|
4324
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4325
4325
|
}, "strict", z.ZodTypeAny, {
|
|
4326
4326
|
userId: string;
|
|
4327
4327
|
opportunityId: string;
|
|
4328
|
-
projectId: string;
|
|
4329
4328
|
replyId: string;
|
|
4329
|
+
projectId?: string | undefined;
|
|
4330
4330
|
}, {
|
|
4331
4331
|
userId: string;
|
|
4332
4332
|
opportunityId: string;
|
|
4333
|
-
projectId: string;
|
|
4334
4333
|
replyId: string;
|
|
4334
|
+
projectId?: string | undefined;
|
|
4335
4335
|
}>;
|
|
4336
4336
|
}, "strict", z.ZodTypeAny, {
|
|
4337
4337
|
type: "opportunity.replyCreated";
|
|
4338
4338
|
ids: {
|
|
4339
4339
|
userId: string;
|
|
4340
4340
|
opportunityId: string;
|
|
4341
|
-
projectId: string;
|
|
4342
4341
|
replyId: string;
|
|
4342
|
+
projectId?: string | undefined;
|
|
4343
4343
|
};
|
|
4344
4344
|
}, {
|
|
4345
4345
|
type: "opportunity.replyCreated";
|
|
4346
4346
|
ids: {
|
|
4347
4347
|
userId: string;
|
|
4348
4348
|
opportunityId: string;
|
|
4349
|
-
projectId: string;
|
|
4350
4349
|
replyId: string;
|
|
4350
|
+
projectId?: string | undefined;
|
|
4351
4351
|
};
|
|
4352
4352
|
}>, z.ZodObject<{
|
|
4353
4353
|
type: z.ZodLiteral<"job.created">;
|
|
@@ -4577,8 +4577,8 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
|
|
|
4577
4577
|
ids: {
|
|
4578
4578
|
userId: string;
|
|
4579
4579
|
opportunityId: string;
|
|
4580
|
-
projectId: string;
|
|
4581
4580
|
replyId: string;
|
|
4581
|
+
projectId?: string | undefined;
|
|
4582
4582
|
};
|
|
4583
4583
|
} | {
|
|
4584
4584
|
type: "job.created";
|
|
@@ -4660,8 +4660,8 @@ export declare const PendingMediaResultSchema: z.ZodObject<{
|
|
|
4660
4660
|
ids: {
|
|
4661
4661
|
userId: string;
|
|
4662
4662
|
opportunityId: string;
|
|
4663
|
-
projectId: string;
|
|
4664
4663
|
replyId: string;
|
|
4664
|
+
projectId?: string | undefined;
|
|
4665
4665
|
};
|
|
4666
4666
|
} | {
|
|
4667
4667
|
type: "job.created";
|
|
@@ -4925,33 +4925,33 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
|
|
|
4925
4925
|
userId: z.ZodString;
|
|
4926
4926
|
opportunityId: z.ZodString;
|
|
4927
4927
|
replyId: z.ZodString;
|
|
4928
|
-
projectId: z.ZodString
|
|
4928
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4929
4929
|
}, "strict", z.ZodTypeAny, {
|
|
4930
4930
|
userId: string;
|
|
4931
4931
|
opportunityId: string;
|
|
4932
|
-
projectId: string;
|
|
4933
4932
|
replyId: string;
|
|
4933
|
+
projectId?: string | undefined;
|
|
4934
4934
|
}, {
|
|
4935
4935
|
userId: string;
|
|
4936
4936
|
opportunityId: string;
|
|
4937
|
-
projectId: string;
|
|
4938
4937
|
replyId: string;
|
|
4938
|
+
projectId?: string | undefined;
|
|
4939
4939
|
}>;
|
|
4940
4940
|
}, "strict", z.ZodTypeAny, {
|
|
4941
4941
|
type: "opportunity.replyCreated";
|
|
4942
4942
|
ids: {
|
|
4943
4943
|
userId: string;
|
|
4944
4944
|
opportunityId: string;
|
|
4945
|
-
projectId: string;
|
|
4946
4945
|
replyId: string;
|
|
4946
|
+
projectId?: string | undefined;
|
|
4947
4947
|
};
|
|
4948
4948
|
}, {
|
|
4949
4949
|
type: "opportunity.replyCreated";
|
|
4950
4950
|
ids: {
|
|
4951
4951
|
userId: string;
|
|
4952
4952
|
opportunityId: string;
|
|
4953
|
-
projectId: string;
|
|
4954
4953
|
replyId: string;
|
|
4954
|
+
projectId?: string | undefined;
|
|
4955
4955
|
};
|
|
4956
4956
|
}>, z.ZodObject<{
|
|
4957
4957
|
type: z.ZodLiteral<"job.created">;
|
|
@@ -5181,8 +5181,8 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
|
|
|
5181
5181
|
ids: {
|
|
5182
5182
|
userId: string;
|
|
5183
5183
|
opportunityId: string;
|
|
5184
|
-
projectId: string;
|
|
5185
5184
|
replyId: string;
|
|
5185
|
+
projectId?: string | undefined;
|
|
5186
5186
|
};
|
|
5187
5187
|
} | {
|
|
5188
5188
|
type: "job.created";
|
|
@@ -5264,8 +5264,8 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
|
|
|
5264
5264
|
ids: {
|
|
5265
5265
|
userId: string;
|
|
5266
5266
|
opportunityId: string;
|
|
5267
|
-
projectId: string;
|
|
5268
5267
|
replyId: string;
|
|
5268
|
+
projectId?: string | undefined;
|
|
5269
5269
|
};
|
|
5270
5270
|
} | {
|
|
5271
5271
|
type: "job.created";
|
|
@@ -5381,8 +5381,8 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
|
|
|
5381
5381
|
ids: {
|
|
5382
5382
|
userId: string;
|
|
5383
5383
|
opportunityId: string;
|
|
5384
|
-
projectId: string;
|
|
5385
5384
|
replyId: string;
|
|
5385
|
+
projectId?: string | undefined;
|
|
5386
5386
|
};
|
|
5387
5387
|
} | {
|
|
5388
5388
|
type: "job.created";
|
|
@@ -5481,8 +5481,8 @@ export declare const PendingMediaCompletedSchema: z.ZodObject<{
|
|
|
5481
5481
|
ids: {
|
|
5482
5482
|
userId: string;
|
|
5483
5483
|
opportunityId: string;
|
|
5484
|
-
projectId: string;
|
|
5485
5484
|
replyId: string;
|
|
5485
|
+
projectId?: string | undefined;
|
|
5486
5486
|
};
|
|
5487
5487
|
} | {
|
|
5488
5488
|
type: "job.created";
|
|
@@ -5708,33 +5708,33 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
|
|
|
5708
5708
|
userId: z.ZodString;
|
|
5709
5709
|
opportunityId: z.ZodString;
|
|
5710
5710
|
replyId: z.ZodString;
|
|
5711
|
-
projectId: z.ZodString
|
|
5711
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5712
5712
|
}, "strict", z.ZodTypeAny, {
|
|
5713
5713
|
userId: string;
|
|
5714
5714
|
opportunityId: string;
|
|
5715
|
-
projectId: string;
|
|
5716
5715
|
replyId: string;
|
|
5716
|
+
projectId?: string | undefined;
|
|
5717
5717
|
}, {
|
|
5718
5718
|
userId: string;
|
|
5719
5719
|
opportunityId: string;
|
|
5720
|
-
projectId: string;
|
|
5721
5720
|
replyId: string;
|
|
5721
|
+
projectId?: string | undefined;
|
|
5722
5722
|
}>;
|
|
5723
5723
|
}, "strict", z.ZodTypeAny, {
|
|
5724
5724
|
type: "opportunity.replyCreated";
|
|
5725
5725
|
ids: {
|
|
5726
5726
|
userId: string;
|
|
5727
5727
|
opportunityId: string;
|
|
5728
|
-
projectId: string;
|
|
5729
5728
|
replyId: string;
|
|
5729
|
+
projectId?: string | undefined;
|
|
5730
5730
|
};
|
|
5731
5731
|
}, {
|
|
5732
5732
|
type: "opportunity.replyCreated";
|
|
5733
5733
|
ids: {
|
|
5734
5734
|
userId: string;
|
|
5735
5735
|
opportunityId: string;
|
|
5736
|
-
projectId: string;
|
|
5737
5736
|
replyId: string;
|
|
5737
|
+
projectId?: string | undefined;
|
|
5738
5738
|
};
|
|
5739
5739
|
}>, z.ZodObject<{
|
|
5740
5740
|
type: z.ZodLiteral<"job.created">;
|
|
@@ -5964,8 +5964,8 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
|
|
|
5964
5964
|
ids: {
|
|
5965
5965
|
userId: string;
|
|
5966
5966
|
opportunityId: string;
|
|
5967
|
-
projectId: string;
|
|
5968
5967
|
replyId: string;
|
|
5968
|
+
projectId?: string | undefined;
|
|
5969
5969
|
};
|
|
5970
5970
|
} | {
|
|
5971
5971
|
type: "job.created";
|
|
@@ -6047,8 +6047,8 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
|
|
|
6047
6047
|
ids: {
|
|
6048
6048
|
userId: string;
|
|
6049
6049
|
opportunityId: string;
|
|
6050
|
-
projectId: string;
|
|
6051
6050
|
replyId: string;
|
|
6051
|
+
projectId?: string | undefined;
|
|
6052
6052
|
};
|
|
6053
6053
|
} | {
|
|
6054
6054
|
type: "job.created";
|
|
@@ -6169,8 +6169,8 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
|
|
|
6169
6169
|
ids: {
|
|
6170
6170
|
userId: string;
|
|
6171
6171
|
opportunityId: string;
|
|
6172
|
-
projectId: string;
|
|
6173
6172
|
replyId: string;
|
|
6173
|
+
projectId?: string | undefined;
|
|
6174
6174
|
};
|
|
6175
6175
|
} | {
|
|
6176
6176
|
type: "job.created";
|
|
@@ -6272,8 +6272,8 @@ export declare const PendingMediaRejectedSchema: z.ZodObject<{
|
|
|
6272
6272
|
ids: {
|
|
6273
6273
|
userId: string;
|
|
6274
6274
|
opportunityId: string;
|
|
6275
|
-
projectId: string;
|
|
6276
6275
|
replyId: string;
|
|
6276
|
+
projectId?: string | undefined;
|
|
6277
6277
|
};
|
|
6278
6278
|
} | {
|
|
6279
6279
|
type: "job.created";
|
|
@@ -6535,33 +6535,33 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
6535
6535
|
userId: z.ZodString;
|
|
6536
6536
|
opportunityId: z.ZodString;
|
|
6537
6537
|
replyId: z.ZodString;
|
|
6538
|
-
projectId: z.ZodString
|
|
6538
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
6539
6539
|
}, "strict", z.ZodTypeAny, {
|
|
6540
6540
|
userId: string;
|
|
6541
6541
|
opportunityId: string;
|
|
6542
|
-
projectId: string;
|
|
6543
6542
|
replyId: string;
|
|
6543
|
+
projectId?: string | undefined;
|
|
6544
6544
|
}, {
|
|
6545
6545
|
userId: string;
|
|
6546
6546
|
opportunityId: string;
|
|
6547
|
-
projectId: string;
|
|
6548
6547
|
replyId: string;
|
|
6548
|
+
projectId?: string | undefined;
|
|
6549
6549
|
}>;
|
|
6550
6550
|
}, "strict", z.ZodTypeAny, {
|
|
6551
6551
|
type: "opportunity.replyCreated";
|
|
6552
6552
|
ids: {
|
|
6553
6553
|
userId: string;
|
|
6554
6554
|
opportunityId: string;
|
|
6555
|
-
projectId: string;
|
|
6556
6555
|
replyId: string;
|
|
6556
|
+
projectId?: string | undefined;
|
|
6557
6557
|
};
|
|
6558
6558
|
}, {
|
|
6559
6559
|
type: "opportunity.replyCreated";
|
|
6560
6560
|
ids: {
|
|
6561
6561
|
userId: string;
|
|
6562
6562
|
opportunityId: string;
|
|
6563
|
-
projectId: string;
|
|
6564
6563
|
replyId: string;
|
|
6564
|
+
projectId?: string | undefined;
|
|
6565
6565
|
};
|
|
6566
6566
|
}>, z.ZodObject<{
|
|
6567
6567
|
type: z.ZodLiteral<"job.created">;
|
|
@@ -6791,8 +6791,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
6791
6791
|
ids: {
|
|
6792
6792
|
userId: string;
|
|
6793
6793
|
opportunityId: string;
|
|
6794
|
-
projectId: string;
|
|
6795
6794
|
replyId: string;
|
|
6795
|
+
projectId?: string | undefined;
|
|
6796
6796
|
};
|
|
6797
6797
|
} | {
|
|
6798
6798
|
type: "job.created";
|
|
@@ -6874,8 +6874,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
6874
6874
|
ids: {
|
|
6875
6875
|
userId: string;
|
|
6876
6876
|
opportunityId: string;
|
|
6877
|
-
projectId: string;
|
|
6878
6877
|
replyId: string;
|
|
6878
|
+
projectId?: string | undefined;
|
|
6879
6879
|
};
|
|
6880
6880
|
} | {
|
|
6881
6881
|
type: "job.created";
|
|
@@ -6991,8 +6991,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
6991
6991
|
ids: {
|
|
6992
6992
|
userId: string;
|
|
6993
6993
|
opportunityId: string;
|
|
6994
|
-
projectId: string;
|
|
6995
6994
|
replyId: string;
|
|
6995
|
+
projectId?: string | undefined;
|
|
6996
6996
|
};
|
|
6997
6997
|
} | {
|
|
6998
6998
|
type: "job.created";
|
|
@@ -7091,8 +7091,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
7091
7091
|
ids: {
|
|
7092
7092
|
userId: string;
|
|
7093
7093
|
opportunityId: string;
|
|
7094
|
-
projectId: string;
|
|
7095
7094
|
replyId: string;
|
|
7095
|
+
projectId?: string | undefined;
|
|
7096
7096
|
};
|
|
7097
7097
|
} | {
|
|
7098
7098
|
type: "job.created";
|
|
@@ -7316,33 +7316,33 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
7316
7316
|
userId: z.ZodString;
|
|
7317
7317
|
opportunityId: z.ZodString;
|
|
7318
7318
|
replyId: z.ZodString;
|
|
7319
|
-
projectId: z.ZodString
|
|
7319
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
7320
7320
|
}, "strict", z.ZodTypeAny, {
|
|
7321
7321
|
userId: string;
|
|
7322
7322
|
opportunityId: string;
|
|
7323
|
-
projectId: string;
|
|
7324
7323
|
replyId: string;
|
|
7324
|
+
projectId?: string | undefined;
|
|
7325
7325
|
}, {
|
|
7326
7326
|
userId: string;
|
|
7327
7327
|
opportunityId: string;
|
|
7328
|
-
projectId: string;
|
|
7329
7328
|
replyId: string;
|
|
7329
|
+
projectId?: string | undefined;
|
|
7330
7330
|
}>;
|
|
7331
7331
|
}, "strict", z.ZodTypeAny, {
|
|
7332
7332
|
type: "opportunity.replyCreated";
|
|
7333
7333
|
ids: {
|
|
7334
7334
|
userId: string;
|
|
7335
7335
|
opportunityId: string;
|
|
7336
|
-
projectId: string;
|
|
7337
7336
|
replyId: string;
|
|
7337
|
+
projectId?: string | undefined;
|
|
7338
7338
|
};
|
|
7339
7339
|
}, {
|
|
7340
7340
|
type: "opportunity.replyCreated";
|
|
7341
7341
|
ids: {
|
|
7342
7342
|
userId: string;
|
|
7343
7343
|
opportunityId: string;
|
|
7344
|
-
projectId: string;
|
|
7345
7344
|
replyId: string;
|
|
7345
|
+
projectId?: string | undefined;
|
|
7346
7346
|
};
|
|
7347
7347
|
}>, z.ZodObject<{
|
|
7348
7348
|
type: z.ZodLiteral<"job.created">;
|
|
@@ -7572,8 +7572,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
7572
7572
|
ids: {
|
|
7573
7573
|
userId: string;
|
|
7574
7574
|
opportunityId: string;
|
|
7575
|
-
projectId: string;
|
|
7576
7575
|
replyId: string;
|
|
7576
|
+
projectId?: string | undefined;
|
|
7577
7577
|
};
|
|
7578
7578
|
} | {
|
|
7579
7579
|
type: "job.created";
|
|
@@ -7655,8 +7655,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
7655
7655
|
ids: {
|
|
7656
7656
|
userId: string;
|
|
7657
7657
|
opportunityId: string;
|
|
7658
|
-
projectId: string;
|
|
7659
7658
|
replyId: string;
|
|
7659
|
+
projectId?: string | undefined;
|
|
7660
7660
|
};
|
|
7661
7661
|
} | {
|
|
7662
7662
|
type: "job.created";
|
|
@@ -7777,8 +7777,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
7777
7777
|
ids: {
|
|
7778
7778
|
userId: string;
|
|
7779
7779
|
opportunityId: string;
|
|
7780
|
-
projectId: string;
|
|
7781
7780
|
replyId: string;
|
|
7781
|
+
projectId?: string | undefined;
|
|
7782
7782
|
};
|
|
7783
7783
|
} | {
|
|
7784
7784
|
type: "job.created";
|
|
@@ -7880,8 +7880,8 @@ export declare const PendingMediaSchema: z.ZodDiscriminatedUnion<"status", [z.Zo
|
|
|
7880
7880
|
ids: {
|
|
7881
7881
|
userId: string;
|
|
7882
7882
|
opportunityId: string;
|
|
7883
|
-
projectId: string;
|
|
7884
7883
|
replyId: string;
|
|
7884
|
+
projectId?: string | undefined;
|
|
7885
7885
|
};
|
|
7886
7886
|
} | {
|
|
7887
7887
|
type: "job.created";
|
|
@@ -8053,8 +8053,8 @@ export declare function parsePendingMedia(input: unknown): {
|
|
|
8053
8053
|
ids: {
|
|
8054
8054
|
userId: string;
|
|
8055
8055
|
opportunityId: string;
|
|
8056
|
-
projectId: string;
|
|
8057
8056
|
replyId: string;
|
|
8057
|
+
projectId?: string | undefined;
|
|
8058
8058
|
};
|
|
8059
8059
|
} | {
|
|
8060
8060
|
type: "job.created";
|
|
@@ -8176,8 +8176,8 @@ export declare function parsePendingMedia(input: unknown): {
|
|
|
8176
8176
|
ids: {
|
|
8177
8177
|
userId: string;
|
|
8178
8178
|
opportunityId: string;
|
|
8179
|
-
projectId: string;
|
|
8180
8179
|
replyId: string;
|
|
8180
|
+
projectId?: string | undefined;
|
|
8181
8181
|
};
|
|
8182
8182
|
} | {
|
|
8183
8183
|
type: "job.created";
|