@ayasofyazilim/saas 0.0.21 → 0.0.23

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.
@@ -1,6 +1,22 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
+ export const $UpwithCrowd_FundraiserService_Fundraisers_ProfileDto = {
4
+ type: 'object',
5
+ properties: {
6
+ id: {
7
+ type: 'string',
8
+ format: 'uuid'
9
+ },
10
+ name: {
11
+ type: 'string',
12
+ nullable: true
13
+ }
14
+ },
15
+ additionalProperties: false
16
+ } as const;
17
+
3
18
  export const $UpwithCrowd_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto = {
19
+ required: ['order', 'projectId', 'projectSectionId', 'value'],
4
20
  type: 'object',
5
21
  properties: {
6
22
  projectId: {
@@ -12,8 +28,8 @@ export const $UpwithCrowd_ProjectService_ProjectSectionRelations_CreateProjectSe
12
28
  format: 'uuid'
13
29
  },
14
30
  value: {
15
- type: 'string',
16
- nullable: true
31
+ minLength: 1,
32
+ type: 'string'
17
33
  },
18
34
  order: {
19
35
  type: 'integer',
@@ -55,6 +71,7 @@ export const $UpwithCrowd_ProjectService_ProjectSectionRelations_ProjectSectionR
55
71
  } as const;
56
72
 
57
73
  export const $UpwithCrowd_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto = {
74
+ required: ['order', 'projectId', 'projectSectionId', 'value'],
58
75
  type: 'object',
59
76
  properties: {
60
77
  id: {
@@ -102,8 +119,8 @@ export const $UpwithCrowd_ProjectService_ProjectSectionRelations_ProjectSectionR
102
119
  format: 'uuid'
103
120
  },
104
121
  value: {
105
- type: 'string',
106
- nullable: true
122
+ minLength: 1,
123
+ type: 'string'
107
124
  },
108
125
  order: {
109
126
  type: 'integer',
@@ -114,23 +131,12 @@ export const $UpwithCrowd_ProjectService_ProjectSectionRelations_ProjectSectionR
114
131
  } as const;
115
132
 
116
133
  export const $UpwithCrowd_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto = {
134
+ required: ['order', 'value'],
117
135
  type: 'object',
118
136
  properties: {
119
- id: {
120
- type: 'string',
121
- format: 'uuid'
122
- },
123
- projectId: {
124
- type: 'string',
125
- format: 'uuid'
126
- },
127
- projectSectionId: {
128
- type: 'string',
129
- format: 'uuid'
130
- },
131
137
  value: {
132
- type: 'string',
133
- nullable: true
138
+ minLength: 1,
139
+ type: 'string'
134
140
  },
135
141
  order: {
136
142
  type: 'integer',
@@ -141,6 +147,7 @@ export const $UpwithCrowd_ProjectService_ProjectSectionRelations_UpdateProjectSe
141
147
  } as const;
142
148
 
143
149
  export const $UpwithCrowd_ProjectService_ProjectSections_CreateProjectSectionDto = {
150
+ required: ['name', 'projectId'],
144
151
  type: 'object',
145
152
  properties: {
146
153
  projectId: {
@@ -148,20 +155,15 @@ export const $UpwithCrowd_ProjectService_ProjectSections_CreateProjectSectionDto
148
155
  format: 'uuid'
149
156
  },
150
157
  name: {
151
- type: 'string',
152
- nullable: true
153
- },
154
- isDefault: {
155
- type: 'boolean'
156
- },
157
- isOptional: {
158
- type: 'boolean'
158
+ minLength: 1,
159
+ type: 'string'
159
160
  }
160
161
  },
161
162
  additionalProperties: false
162
163
  } as const;
163
164
 
164
165
  export const $UpwithCrowd_ProjectService_ProjectSections_ProjectSectionDto = {
166
+ required: ['isDefault', 'isOptional', 'name'],
165
167
  type: 'object',
166
168
  properties: {
167
169
  id: {
@@ -201,8 +203,8 @@ export const $UpwithCrowd_ProjectService_ProjectSections_ProjectSectionDto = {
201
203
  nullable: true
202
204
  },
203
205
  name: {
204
- type: 'string',
205
- nullable: true
206
+ minLength: 1,
207
+ type: 'string'
206
208
  },
207
209
  isDefault: {
208
210
  type: 'boolean'
@@ -220,24 +222,12 @@ export const $UpwithCrowd_ProjectService_ProjectSections_ProjectSectionDto = {
220
222
  } as const;
221
223
 
222
224
  export const $UpwithCrowd_ProjectService_ProjectSections_UpdateProjectSectionDto = {
223
- required: ['id'],
225
+ required: ['name'],
224
226
  type: 'object',
225
227
  properties: {
226
- id: {
227
- type: 'string',
228
- format: 'uuid'
229
- },
230
228
  name: {
231
- type: 'string',
232
- nullable: true
233
- },
234
- isDefault: {
235
- type: 'boolean',
236
- nullable: true
237
- },
238
- isOptional: {
239
- type: 'boolean',
240
- nullable: true
229
+ minLength: 1,
230
+ type: 'string'
241
231
  }
242
232
  },
243
233
  additionalProperties: false
@@ -247,12 +237,9 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDetailDto = {
247
237
  type: 'object',
248
238
  properties: {
249
239
  project: {
240
+ required: ['additionalFundRate', 'cashValue', 'definition', 'fundableAmount', 'fundCollectionType', 'fundNominalAmount', 'fundraiserId', 'id', 'name', 'overFunding', 'status', 'type'],
250
241
  type: 'object',
251
242
  properties: {
252
- id: {
253
- type: 'string',
254
- format: 'uuid'
255
- },
256
243
  creationTime: {
257
244
  type: 'string',
258
245
  format: 'date-time'
@@ -285,25 +272,29 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDetailDto = {
285
272
  format: 'date-time',
286
273
  nullable: true
287
274
  },
288
- projectName: {
275
+ id: {
289
276
  type: 'string',
290
- nullable: true
277
+ format: 'uuid'
291
278
  },
292
- projectDefinition: {
293
- type: 'string',
294
- nullable: true
279
+ name: {
280
+ minLength: 1,
281
+ type: 'string'
282
+ },
283
+ definition: {
284
+ minLength: 1,
285
+ type: 'string'
295
286
  },
296
287
  cashValue: {
297
288
  type: 'integer',
298
289
  format: 'int64'
299
290
  },
300
291
  fundCollectionType: {
301
- type: 'string',
302
- nullable: true
292
+ minLength: 1,
293
+ type: 'string'
303
294
  },
304
295
  additionalFundRate: {
305
- type: 'string',
306
- nullable: true
296
+ minLength: 1,
297
+ type: 'string'
307
298
  },
308
299
  qualifiedFundRate: {
309
300
  type: 'string',
@@ -324,13 +315,15 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDetailDto = {
324
315
  type: 'string',
325
316
  nullable: true
326
317
  },
327
- projectStartDate: {
318
+ startDate: {
328
319
  type: 'string',
329
- format: 'date-time'
320
+ format: 'date-time',
321
+ nullable: true
330
322
  },
331
- projectEndDate: {
323
+ endDate: {
332
324
  type: 'string',
333
- format: 'date-time'
325
+ format: 'date-time',
326
+ nullable: true
334
327
  },
335
328
  status: {
336
329
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
@@ -341,6 +334,24 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDetailDto = {
341
334
  enum: [0, 1, 2, 3],
342
335
  type: 'integer',
343
336
  format: 'int32'
337
+ },
338
+ fundraiserId: {
339
+ type: 'string',
340
+ format: 'uuid'
341
+ }
342
+ },
343
+ additionalProperties: false
344
+ },
345
+ fundraiser: {
346
+ type: 'object',
347
+ properties: {
348
+ id: {
349
+ type: 'string',
350
+ format: 'uuid'
351
+ },
352
+ name: {
353
+ type: 'string',
354
+ nullable: true
344
355
  }
345
356
  },
346
357
  additionalProperties: false
@@ -384,12 +395,9 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDetailDto = {
384
395
  } as const;
385
396
 
386
397
  export const $UpwithCrowd_ProjectService_Projects_ProjectDto = {
398
+ required: ['additionalFundRate', 'cashValue', 'definition', 'fundableAmount', 'fundCollectionType', 'fundNominalAmount', 'fundraiserId', 'id', 'name', 'overFunding', 'status', 'type'],
387
399
  type: 'object',
388
400
  properties: {
389
- id: {
390
- type: 'string',
391
- format: 'uuid'
392
- },
393
401
  creationTime: {
394
402
  type: 'string',
395
403
  format: 'date-time'
@@ -422,25 +430,29 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDto = {
422
430
  format: 'date-time',
423
431
  nullable: true
424
432
  },
425
- projectName: {
433
+ id: {
426
434
  type: 'string',
427
- nullable: true
435
+ format: 'uuid'
428
436
  },
429
- projectDefinition: {
430
- type: 'string',
431
- nullable: true
437
+ name: {
438
+ minLength: 1,
439
+ type: 'string'
440
+ },
441
+ definition: {
442
+ minLength: 1,
443
+ type: 'string'
432
444
  },
433
445
  cashValue: {
434
446
  type: 'integer',
435
447
  format: 'int64'
436
448
  },
437
449
  fundCollectionType: {
438
- type: 'string',
439
- nullable: true
450
+ minLength: 1,
451
+ type: 'string'
440
452
  },
441
453
  additionalFundRate: {
442
- type: 'string',
443
- nullable: true
454
+ minLength: 1,
455
+ type: 'string'
444
456
  },
445
457
  qualifiedFundRate: {
446
458
  type: 'string',
@@ -461,13 +473,15 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDto = {
461
473
  type: 'string',
462
474
  nullable: true
463
475
  },
464
- projectStartDate: {
476
+ startDate: {
465
477
  type: 'string',
466
- format: 'date-time'
478
+ format: 'date-time',
479
+ nullable: true
467
480
  },
468
- projectEndDate: {
481
+ endDate: {
469
482
  type: 'string',
470
- format: 'date-time'
483
+ format: 'date-time',
484
+ nullable: true
471
485
  },
472
486
  status: {
473
487
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
@@ -478,6 +492,10 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDto = {
478
492
  enum: [0, 1, 2, 3],
479
493
  type: 'integer',
480
494
  format: 'int32'
495
+ },
496
+ fundraiserId: {
497
+ type: 'string',
498
+ format: 'uuid'
481
499
  }
482
500
  },
483
501
  additionalProperties: false
@@ -495,24 +513,152 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectTypeCode = {
495
513
  format: 'int32'
496
514
  } as const;
497
515
 
516
+ export const $UpwithCrowd_ProjectService_Projects_ProjectWithFundraiserDto = {
517
+ type: 'object',
518
+ properties: {
519
+ project: {
520
+ required: ['additionalFundRate', 'cashValue', 'definition', 'fundableAmount', 'fundCollectionType', 'fundNominalAmount', 'fundraiserId', 'id', 'name', 'overFunding', 'status', 'type'],
521
+ type: 'object',
522
+ properties: {
523
+ creationTime: {
524
+ type: 'string',
525
+ format: 'date-time'
526
+ },
527
+ creatorId: {
528
+ type: 'string',
529
+ format: 'uuid',
530
+ nullable: true
531
+ },
532
+ lastModificationTime: {
533
+ type: 'string',
534
+ format: 'date-time',
535
+ nullable: true
536
+ },
537
+ lastModifierId: {
538
+ type: 'string',
539
+ format: 'uuid',
540
+ nullable: true
541
+ },
542
+ isDeleted: {
543
+ type: 'boolean'
544
+ },
545
+ deleterId: {
546
+ type: 'string',
547
+ format: 'uuid',
548
+ nullable: true
549
+ },
550
+ deletionTime: {
551
+ type: 'string',
552
+ format: 'date-time',
553
+ nullable: true
554
+ },
555
+ id: {
556
+ type: 'string',
557
+ format: 'uuid'
558
+ },
559
+ name: {
560
+ minLength: 1,
561
+ type: 'string'
562
+ },
563
+ definition: {
564
+ minLength: 1,
565
+ type: 'string'
566
+ },
567
+ cashValue: {
568
+ type: 'integer',
569
+ format: 'int64'
570
+ },
571
+ fundCollectionType: {
572
+ minLength: 1,
573
+ type: 'string'
574
+ },
575
+ additionalFundRate: {
576
+ minLength: 1,
577
+ type: 'string'
578
+ },
579
+ qualifiedFundRate: {
580
+ type: 'string',
581
+ nullable: true
582
+ },
583
+ fundNominalAmount: {
584
+ type: 'integer',
585
+ format: 'int64'
586
+ },
587
+ fundableAmount: {
588
+ type: 'integer',
589
+ format: 'int64'
590
+ },
591
+ overFunding: {
592
+ type: 'string'
593
+ },
594
+ privilege: {
595
+ type: 'string',
596
+ nullable: true
597
+ },
598
+ startDate: {
599
+ type: 'string',
600
+ format: 'date-time',
601
+ nullable: true
602
+ },
603
+ endDate: {
604
+ type: 'string',
605
+ format: 'date-time',
606
+ nullable: true
607
+ },
608
+ status: {
609
+ enum: [0, 1, 2, 3, 4, 5, 6, 7],
610
+ type: 'integer',
611
+ format: 'int32'
612
+ },
613
+ type: {
614
+ enum: [0, 1, 2, 3],
615
+ type: 'integer',
616
+ format: 'int32'
617
+ },
618
+ fundraiserId: {
619
+ type: 'string',
620
+ format: 'uuid'
621
+ }
622
+ },
623
+ additionalProperties: false
624
+ },
625
+ fundraiser: {
626
+ type: 'object',
627
+ properties: {
628
+ id: {
629
+ type: 'string',
630
+ format: 'uuid'
631
+ },
632
+ name: {
633
+ type: 'string',
634
+ nullable: true
635
+ }
636
+ },
637
+ additionalProperties: false
638
+ }
639
+ },
640
+ additionalProperties: false
641
+ } as const;
642
+
498
643
  export const $UpwithCrowd_ProjectService_ProjectsDto_CreateProjectDto = {
644
+ required: ['additionalFundRate', 'cashValue', 'definition', 'fundableAmount', 'fundCollectionType', 'fundNominalAmount', 'fundraiserId', 'name', 'overFunding', 'status', 'type'],
499
645
  type: 'object',
500
646
  properties: {
501
- projectName: {
502
- type: 'string',
503
- nullable: true
647
+ name: {
648
+ minLength: 1,
649
+ type: 'string'
504
650
  },
505
- projectDefinition: {
506
- type: 'string',
507
- nullable: true
651
+ definition: {
652
+ minLength: 1,
653
+ type: 'string'
508
654
  },
509
655
  cashValue: {
510
656
  type: 'integer',
511
657
  format: 'int64'
512
658
  },
513
659
  additionalFundRate: {
514
- type: 'string',
515
- nullable: true
660
+ minLength: 1,
661
+ type: 'string'
516
662
  },
517
663
  qualifiedFundRate: {
518
664
  type: 'string',
@@ -533,19 +679,20 @@ export const $UpwithCrowd_ProjectService_ProjectsDto_CreateProjectDto = {
533
679
  type: 'string',
534
680
  nullable: true
535
681
  },
536
- projectStartDate: {
682
+ startDate: {
537
683
  type: 'string',
538
- format: 'date-time'
684
+ format: 'date-time',
685
+ nullable: true
539
686
  },
540
- projectEndDate: {
687
+ endDate: {
541
688
  type: 'string',
542
- format: 'date-time'
689
+ format: 'date-time',
690
+ nullable: true
543
691
  },
544
692
  fundCollectionType: {
545
693
  maxLength: 4,
546
694
  minLength: 4,
547
- type: 'string',
548
- nullable: true
695
+ type: 'string'
549
696
  },
550
697
  status: {
551
698
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
@@ -556,33 +703,34 @@ export const $UpwithCrowd_ProjectService_ProjectsDto_CreateProjectDto = {
556
703
  enum: [0, 1, 2, 3],
557
704
  type: 'integer',
558
705
  format: 'int32'
706
+ },
707
+ fundraiserId: {
708
+ type: 'string',
709
+ format: 'uuid'
559
710
  }
560
711
  },
561
712
  additionalProperties: false
562
713
  } as const;
563
714
 
564
715
  export const $UpwithCrowd_ProjectService_ProjectsDto_UpdateProjectDto = {
716
+ required: ['additionalFundRate', 'cashValue', 'definition', 'fundableAmount', 'fundCollectionType', 'fundNominalAmount', 'name', 'overFunding', 'startDate', 'status', 'type'],
565
717
  type: 'object',
566
718
  properties: {
567
- id: {
568
- type: 'string',
569
- format: 'uuid'
570
- },
571
- projectName: {
572
- type: 'string',
573
- nullable: true
719
+ name: {
720
+ minLength: 1,
721
+ type: 'string'
574
722
  },
575
- projectDefinition: {
576
- type: 'string',
577
- nullable: true
723
+ definition: {
724
+ minLength: 1,
725
+ type: 'string'
578
726
  },
579
727
  cashValue: {
580
728
  type: 'integer',
581
729
  format: 'int64'
582
730
  },
583
731
  additionalFundRate: {
584
- type: 'string',
585
- nullable: true
732
+ minLength: 1,
733
+ type: 'string'
586
734
  },
587
735
  qualifiedFundRate: {
588
736
  type: 'string',
@@ -603,19 +751,14 @@ export const $UpwithCrowd_ProjectService_ProjectsDto_UpdateProjectDto = {
603
751
  type: 'string',
604
752
  nullable: true
605
753
  },
606
- projectStartDate: {
607
- type: 'string',
608
- format: 'date-time'
609
- },
610
- projectEndDate: {
754
+ startDate: {
611
755
  type: 'string',
612
756
  format: 'date-time'
613
757
  },
614
758
  fundCollectionType: {
615
759
  maxLength: 4,
616
760
  minLength: 4,
617
- type: 'string',
618
- nullable: true
761
+ type: 'string'
619
762
  },
620
763
  status: {
621
764
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
@@ -637,12 +780,9 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UpwithCrowd_ProjectSer
637
780
  items: {
638
781
  type: 'array',
639
782
  items: {
783
+ required: ['additionalFundRate', 'cashValue', 'definition', 'fundableAmount', 'fundCollectionType', 'fundNominalAmount', 'fundraiserId', 'id', 'name', 'overFunding', 'status', 'type'],
640
784
  type: 'object',
641
785
  properties: {
642
- id: {
643
- type: 'string',
644
- format: 'uuid'
645
- },
646
786
  creationTime: {
647
787
  type: 'string',
648
788
  format: 'date-time'
@@ -675,25 +815,29 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UpwithCrowd_ProjectSer
675
815
  format: 'date-time',
676
816
  nullable: true
677
817
  },
678
- projectName: {
818
+ id: {
679
819
  type: 'string',
680
- nullable: true
820
+ format: 'uuid'
681
821
  },
682
- projectDefinition: {
683
- type: 'string',
684
- nullable: true
822
+ name: {
823
+ minLength: 1,
824
+ type: 'string'
825
+ },
826
+ definition: {
827
+ minLength: 1,
828
+ type: 'string'
685
829
  },
686
830
  cashValue: {
687
831
  type: 'integer',
688
832
  format: 'int64'
689
833
  },
690
834
  fundCollectionType: {
691
- type: 'string',
692
- nullable: true
835
+ minLength: 1,
836
+ type: 'string'
693
837
  },
694
838
  additionalFundRate: {
695
- type: 'string',
696
- nullable: true
839
+ minLength: 1,
840
+ type: 'string'
697
841
  },
698
842
  qualifiedFundRate: {
699
843
  type: 'string',
@@ -714,13 +858,15 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UpwithCrowd_ProjectSer
714
858
  type: 'string',
715
859
  nullable: true
716
860
  },
717
- projectStartDate: {
861
+ startDate: {
718
862
  type: 'string',
719
- format: 'date-time'
863
+ format: 'date-time',
864
+ nullable: true
720
865
  },
721
- projectEndDate: {
866
+ endDate: {
722
867
  type: 'string',
723
- format: 'date-time'
868
+ format: 'date-time',
869
+ nullable: true
724
870
  },
725
871
  status: {
726
872
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
@@ -731,6 +877,151 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UpwithCrowd_ProjectSer
731
877
  enum: [0, 1, 2, 3],
732
878
  type: 'integer',
733
879
  format: 'int32'
880
+ },
881
+ fundraiserId: {
882
+ type: 'string',
883
+ format: 'uuid'
884
+ }
885
+ },
886
+ additionalProperties: false
887
+ },
888
+ nullable: true
889
+ },
890
+ totalCount: {
891
+ type: 'integer',
892
+ format: 'int64'
893
+ }
894
+ },
895
+ additionalProperties: false
896
+ } as const;
897
+
898
+ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UpwithCrowd_ProjectService_Projects_ProjectWithFundraiserDto__UpwithCrowd_ProjectService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
899
+ type: 'object',
900
+ properties: {
901
+ items: {
902
+ type: 'array',
903
+ items: {
904
+ type: 'object',
905
+ properties: {
906
+ project: {
907
+ required: ['additionalFundRate', 'cashValue', 'definition', 'fundableAmount', 'fundCollectionType', 'fundNominalAmount', 'fundraiserId', 'id', 'name', 'overFunding', 'status', 'type'],
908
+ type: 'object',
909
+ properties: {
910
+ creationTime: {
911
+ type: 'string',
912
+ format: 'date-time'
913
+ },
914
+ creatorId: {
915
+ type: 'string',
916
+ format: 'uuid',
917
+ nullable: true
918
+ },
919
+ lastModificationTime: {
920
+ type: 'string',
921
+ format: 'date-time',
922
+ nullable: true
923
+ },
924
+ lastModifierId: {
925
+ type: 'string',
926
+ format: 'uuid',
927
+ nullable: true
928
+ },
929
+ isDeleted: {
930
+ type: 'boolean'
931
+ },
932
+ deleterId: {
933
+ type: 'string',
934
+ format: 'uuid',
935
+ nullable: true
936
+ },
937
+ deletionTime: {
938
+ type: 'string',
939
+ format: 'date-time',
940
+ nullable: true
941
+ },
942
+ id: {
943
+ type: 'string',
944
+ format: 'uuid'
945
+ },
946
+ name: {
947
+ minLength: 1,
948
+ type: 'string'
949
+ },
950
+ definition: {
951
+ minLength: 1,
952
+ type: 'string'
953
+ },
954
+ cashValue: {
955
+ type: 'integer',
956
+ format: 'int64'
957
+ },
958
+ fundCollectionType: {
959
+ minLength: 1,
960
+ type: 'string'
961
+ },
962
+ additionalFundRate: {
963
+ minLength: 1,
964
+ type: 'string'
965
+ },
966
+ qualifiedFundRate: {
967
+ type: 'string',
968
+ nullable: true
969
+ },
970
+ fundNominalAmount: {
971
+ type: 'integer',
972
+ format: 'int64'
973
+ },
974
+ fundableAmount: {
975
+ type: 'integer',
976
+ format: 'int64'
977
+ },
978
+ overFunding: {
979
+ type: 'string'
980
+ },
981
+ privilege: {
982
+ type: 'string',
983
+ nullable: true
984
+ },
985
+ startDate: {
986
+ type: 'string',
987
+ format: 'date-time',
988
+ nullable: true
989
+ },
990
+ endDate: {
991
+ type: 'string',
992
+ format: 'date-time',
993
+ nullable: true
994
+ },
995
+ status: {
996
+ enum: [0, 1, 2, 3, 4, 5, 6, 7],
997
+ type: 'integer',
998
+ format: 'int32'
999
+ },
1000
+ type: {
1001
+ enum: [0, 1, 2, 3],
1002
+ type: 'integer',
1003
+ format: 'int32'
1004
+ },
1005
+ fundraiserId: {
1006
+ type: 'string',
1007
+ format: 'uuid'
1008
+ }
1009
+ },
1010
+ additionalProperties: false
1011
+ },
1012
+ fundraiser: {
1013
+ type: 'object',
1014
+ properties: {
1015
+ id: {
1016
+ type: 'string',
1017
+ format: 'uuid'
1018
+ },
1019
+ name: {
1020
+ type: 'string',
1021
+ nullable: true
1022
+ }
1023
+ },
1024
+ additionalProperties: false
734
1025
  }
735
1026
  },
736
1027
  additionalProperties: false