@coworkee/client 0.0.1042 → 0.0.1043

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 (3) hide show
  1. package/dist/schema.d.ts +1197 -68
  2. package/openapi.json +1572 -104
  3. package/package.json +1 -1
package/openapi.json CHANGED
@@ -1605,6 +1605,65 @@
1605
1605
  }
1606
1606
  }
1607
1607
  },
1608
+ "/api/v1/identity/groups/default": {
1609
+ "get": {
1610
+ "tags": [
1611
+ "Identity"
1612
+ ],
1613
+ "responses": {
1614
+ "200": {
1615
+ "description": "OK",
1616
+ "content": {
1617
+ "application/json": {
1618
+ "schema": {
1619
+ "$ref": "#/components/schemas/DefaultGroupDto"
1620
+ }
1621
+ }
1622
+ }
1623
+ },
1624
+ "400": {
1625
+ "description": "Bad Request",
1626
+ "content": {
1627
+ "application/problem+json": {
1628
+ "schema": {
1629
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
1630
+ }
1631
+ }
1632
+ }
1633
+ }
1634
+ }
1635
+ },
1636
+ "put": {
1637
+ "tags": [
1638
+ "Identity"
1639
+ ],
1640
+ "requestBody": {
1641
+ "content": {
1642
+ "application/json": {
1643
+ "schema": {
1644
+ "$ref": "#/components/schemas/DefaultGroupDto"
1645
+ }
1646
+ }
1647
+ },
1648
+ "required": true
1649
+ },
1650
+ "responses": {
1651
+ "204": {
1652
+ "description": "No Content"
1653
+ },
1654
+ "400": {
1655
+ "description": "Bad Request",
1656
+ "content": {
1657
+ "application/problem+json": {
1658
+ "schema": {
1659
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
1660
+ }
1661
+ }
1662
+ }
1663
+ }
1664
+ }
1665
+ }
1666
+ },
1608
1667
  "/api/v1/identity/groups/mine": {
1609
1668
  "get": {
1610
1669
  "tags": [
@@ -1958,6 +2017,49 @@
1958
2017
  }
1959
2018
  }
1960
2019
  },
2020
+ "/api/v1/identity/groups/{id}/owners": {
2021
+ "put": {
2022
+ "tags": [
2023
+ "Identity"
2024
+ ],
2025
+ "parameters": [
2026
+ {
2027
+ "name": "id",
2028
+ "in": "path",
2029
+ "required": true,
2030
+ "schema": {
2031
+ "type": "string",
2032
+ "format": "uuid"
2033
+ }
2034
+ }
2035
+ ],
2036
+ "requestBody": {
2037
+ "content": {
2038
+ "application/json": {
2039
+ "schema": {
2040
+ "$ref": "#/components/schemas/IdListRequest"
2041
+ }
2042
+ }
2043
+ },
2044
+ "required": true
2045
+ },
2046
+ "responses": {
2047
+ "204": {
2048
+ "description": "No Content"
2049
+ },
2050
+ "400": {
2051
+ "description": "Bad Request",
2052
+ "content": {
2053
+ "application/problem+json": {
2054
+ "schema": {
2055
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
2056
+ }
2057
+ }
2058
+ }
2059
+ }
2060
+ }
2061
+ }
2062
+ },
1961
2063
  "/api/v1/identity/groups/{id}/roles": {
1962
2064
  "put": {
1963
2065
  "tags": [
@@ -5065,6 +5167,20 @@
5065
5167
  "type": "string"
5066
5168
  }
5067
5169
  },
5170
+ {
5171
+ "name": "category",
5172
+ "in": "query",
5173
+ "schema": {
5174
+ "type": "string"
5175
+ }
5176
+ },
5177
+ {
5178
+ "name": "done",
5179
+ "in": "query",
5180
+ "schema": {
5181
+ "type": "boolean"
5182
+ }
5183
+ },
5068
5184
  {
5069
5185
  "name": "Page",
5070
5186
  "in": "query",
@@ -5172,47 +5288,21 @@
5172
5288
  }
5173
5289
  }
5174
5290
  },
5175
- "/api/v1/notifications/{id}/read": {
5176
- "post": {
5291
+ "/api/v1/notifications/counts": {
5292
+ "get": {
5177
5293
  "tags": [
5178
5294
  "Notifications"
5179
5295
  ],
5180
- "parameters": [
5181
- {
5182
- "name": "id",
5183
- "in": "path",
5184
- "required": true,
5185
- "schema": {
5186
- "type": "string",
5187
- "format": "uuid"
5188
- }
5189
- }
5190
- ],
5191
5296
  "responses": {
5192
- "204": {
5193
- "description": "No Content"
5194
- },
5195
- "400": {
5196
- "description": "Bad Request",
5297
+ "200": {
5298
+ "description": "OK",
5197
5299
  "content": {
5198
- "application/problem+json": {
5300
+ "application/json": {
5199
5301
  "schema": {
5200
- "$ref": "#/components/schemas/HttpValidationProblemDetails"
5302
+ "$ref": "#/components/schemas/NotificationCountsDto"
5201
5303
  }
5202
5304
  }
5203
5305
  }
5204
- }
5205
- }
5206
- }
5207
- },
5208
- "/api/v1/notifications/read-all": {
5209
- "post": {
5210
- "tags": [
5211
- "Notifications"
5212
- ],
5213
- "responses": {
5214
- "204": {
5215
- "description": "No Content"
5216
5306
  },
5217
5307
  "400": {
5218
5308
  "description": "Bad Request",
@@ -5227,7 +5317,7 @@
5227
5317
  }
5228
5318
  }
5229
5319
  },
5230
- "/api/v1/notifications/{id}/unread": {
5320
+ "/api/v1/notifications/{id}/done": {
5231
5321
  "post": {
5232
5322
  "tags": [
5233
5323
  "Notifications"
@@ -5260,8 +5350,8 @@
5260
5350
  }
5261
5351
  }
5262
5352
  },
5263
- "/api/v1/notifications/{id}": {
5264
- "delete": {
5353
+ "/api/v1/notifications/{id}/undone": {
5354
+ "post": {
5265
5355
  "tags": [
5266
5356
  "Notifications"
5267
5357
  ],
@@ -5293,7 +5383,7 @@
5293
5383
  }
5294
5384
  }
5295
5385
  },
5296
- "/api/v1/notifications/push": {
5386
+ "/api/v1/notifications/preferences": {
5297
5387
  "get": {
5298
5388
  "tags": [
5299
5389
  "Notifications"
@@ -5304,7 +5394,10 @@
5304
5394
  "content": {
5305
5395
  "application/json": {
5306
5396
  "schema": {
5307
- "$ref": "#/components/schemas/PushSettingsDto"
5397
+ "type": "array",
5398
+ "items": {
5399
+ "$ref": "#/components/schemas/NotificationPreferenceDto"
5400
+ }
5308
5401
  }
5309
5402
  }
5310
5403
  }
@@ -5320,16 +5413,28 @@
5320
5413
  }
5321
5414
  }
5322
5415
  }
5323
- },
5416
+ }
5417
+ },
5418
+ "/api/v1/notifications/preferences/{type}": {
5324
5419
  "put": {
5325
5420
  "tags": [
5326
5421
  "Notifications"
5327
5422
  ],
5423
+ "parameters": [
5424
+ {
5425
+ "name": "type",
5426
+ "in": "path",
5427
+ "required": true,
5428
+ "schema": {
5429
+ "type": "string"
5430
+ }
5431
+ }
5432
+ ],
5328
5433
  "requestBody": {
5329
5434
  "content": {
5330
5435
  "application/json": {
5331
5436
  "schema": {
5332
- "$ref": "#/components/schemas/PushSubscriptionRequest"
5437
+ "$ref": "#/components/schemas/SaveNotificationPreferenceRequest"
5333
5438
  }
5334
5439
  }
5335
5440
  },
@@ -5341,7 +5446,7 @@
5341
5446
  "content": {
5342
5447
  "application/json": {
5343
5448
  "schema": {
5344
- "$ref": "#/components/schemas/PushDeviceDto"
5449
+ "$ref": "#/components/schemas/NotificationPreferenceDto"
5345
5450
  }
5346
5451
  }
5347
5452
  }
@@ -5359,25 +5464,24 @@
5359
5464
  }
5360
5465
  }
5361
5466
  },
5362
- "/api/v1/notifications/push/{id}": {
5363
- "delete": {
5467
+ "/api/v1/notifications/follows": {
5468
+ "get": {
5364
5469
  "tags": [
5365
5470
  "Notifications"
5366
5471
  ],
5367
- "parameters": [
5368
- {
5369
- "name": "id",
5370
- "in": "path",
5371
- "required": true,
5372
- "schema": {
5373
- "type": "string",
5374
- "format": "uuid"
5375
- }
5376
- }
5377
- ],
5378
5472
  "responses": {
5379
- "204": {
5380
- "description": "No Content"
5473
+ "200": {
5474
+ "description": "OK",
5475
+ "content": {
5476
+ "application/json": {
5477
+ "schema": {
5478
+ "type": "array",
5479
+ "items": {
5480
+ "$ref": "#/components/schemas/FollowDto"
5481
+ }
5482
+ }
5483
+ }
5484
+ }
5381
5485
  },
5382
5486
  "400": {
5383
5487
  "description": "Bad Request",
@@ -5392,65 +5496,730 @@
5392
5496
  }
5393
5497
  }
5394
5498
  },
5395
- "/api/v1/data/{entitySet}/export": {
5499
+ "/api/v1/notifications/follows/{entityType}/{entityId}": {
5396
5500
  "get": {
5397
5501
  "tags": [
5398
- "Data"
5502
+ "Notifications"
5399
5503
  ],
5400
5504
  "parameters": [
5401
5505
  {
5402
- "name": "entitySet",
5506
+ "name": "entityType",
5403
5507
  "in": "path",
5404
5508
  "required": true,
5405
5509
  "schema": {
5406
5510
  "type": "string"
5407
5511
  }
5512
+ },
5513
+ {
5514
+ "name": "entityId",
5515
+ "in": "path",
5516
+ "required": true,
5517
+ "schema": {
5518
+ "type": "string",
5519
+ "format": "uuid"
5520
+ }
5408
5521
  }
5409
5522
  ],
5410
5523
  "responses": {
5411
5524
  "200": {
5412
- "description": "OK"
5413
- },
5414
- "202": {
5415
- "description": "Accepted",
5525
+ "description": "OK",
5416
5526
  "content": {
5417
5527
  "application/json": {
5418
5528
  "schema": {
5419
- "$ref": "#/components/schemas/DataTransferJobDto"
5529
+ "$ref": "#/components/schemas/FollowStateDto"
5530
+ }
5531
+ }
5532
+ }
5533
+ },
5534
+ "400": {
5535
+ "description": "Bad Request",
5536
+ "content": {
5537
+ "application/problem+json": {
5538
+ "schema": {
5539
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5420
5540
  }
5421
5541
  }
5422
5542
  }
5423
5543
  }
5424
5544
  }
5425
- }
5426
- },
5427
- "/api/v1/data/{entitySet}/import": {
5428
- "post": {
5545
+ },
5546
+ "put": {
5429
5547
  "tags": [
5430
- "Data"
5548
+ "Notifications"
5431
5549
  ],
5432
5550
  "parameters": [
5433
5551
  {
5434
- "name": "entitySet",
5552
+ "name": "entityType",
5435
5553
  "in": "path",
5436
5554
  "required": true,
5437
5555
  "schema": {
5438
5556
  "type": "string"
5439
5557
  }
5558
+ },
5559
+ {
5560
+ "name": "entityId",
5561
+ "in": "path",
5562
+ "required": true,
5563
+ "schema": {
5564
+ "type": "string",
5565
+ "format": "uuid"
5566
+ }
5440
5567
  }
5441
5568
  ],
5442
5569
  "requestBody": {
5443
5570
  "content": {
5444
- "multipart/form-data": {
5571
+ "application/json": {
5445
5572
  "schema": {
5446
- "required": [
5447
- "file"
5448
- ],
5449
- "type": "object",
5450
- "properties": {
5451
- "file": {
5452
- "$ref": "#/components/schemas/IFormFile"
5453
- }
5573
+ "oneOf": [
5574
+ {
5575
+ "type": "null"
5576
+ },
5577
+ {
5578
+ "$ref": "#/components/schemas/FollowRequest"
5579
+ }
5580
+ ]
5581
+ }
5582
+ }
5583
+ }
5584
+ },
5585
+ "responses": {
5586
+ "200": {
5587
+ "description": "OK",
5588
+ "content": {
5589
+ "application/json": {
5590
+ "schema": {
5591
+ "$ref": "#/components/schemas/FollowStateDto"
5592
+ }
5593
+ }
5594
+ }
5595
+ },
5596
+ "400": {
5597
+ "description": "Bad Request",
5598
+ "content": {
5599
+ "application/problem+json": {
5600
+ "schema": {
5601
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5602
+ }
5603
+ }
5604
+ }
5605
+ }
5606
+ }
5607
+ },
5608
+ "delete": {
5609
+ "tags": [
5610
+ "Notifications"
5611
+ ],
5612
+ "parameters": [
5613
+ {
5614
+ "name": "entityType",
5615
+ "in": "path",
5616
+ "required": true,
5617
+ "schema": {
5618
+ "type": "string"
5619
+ }
5620
+ },
5621
+ {
5622
+ "name": "entityId",
5623
+ "in": "path",
5624
+ "required": true,
5625
+ "schema": {
5626
+ "type": "string",
5627
+ "format": "uuid"
5628
+ }
5629
+ }
5630
+ ],
5631
+ "responses": {
5632
+ "200": {
5633
+ "description": "OK",
5634
+ "content": {
5635
+ "application/json": {
5636
+ "schema": {
5637
+ "$ref": "#/components/schemas/FollowStateDto"
5638
+ }
5639
+ }
5640
+ }
5641
+ },
5642
+ "400": {
5643
+ "description": "Bad Request",
5644
+ "content": {
5645
+ "application/problem+json": {
5646
+ "schema": {
5647
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5648
+ }
5649
+ }
5650
+ }
5651
+ }
5652
+ }
5653
+ }
5654
+ },
5655
+ "/api/v1/notifications/{id}/read": {
5656
+ "post": {
5657
+ "tags": [
5658
+ "Notifications"
5659
+ ],
5660
+ "parameters": [
5661
+ {
5662
+ "name": "id",
5663
+ "in": "path",
5664
+ "required": true,
5665
+ "schema": {
5666
+ "type": "string",
5667
+ "format": "uuid"
5668
+ }
5669
+ }
5670
+ ],
5671
+ "responses": {
5672
+ "204": {
5673
+ "description": "No Content"
5674
+ },
5675
+ "400": {
5676
+ "description": "Bad Request",
5677
+ "content": {
5678
+ "application/problem+json": {
5679
+ "schema": {
5680
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5681
+ }
5682
+ }
5683
+ }
5684
+ }
5685
+ }
5686
+ }
5687
+ },
5688
+ "/api/v1/notifications/read-all": {
5689
+ "post": {
5690
+ "tags": [
5691
+ "Notifications"
5692
+ ],
5693
+ "responses": {
5694
+ "204": {
5695
+ "description": "No Content"
5696
+ },
5697
+ "400": {
5698
+ "description": "Bad Request",
5699
+ "content": {
5700
+ "application/problem+json": {
5701
+ "schema": {
5702
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5703
+ }
5704
+ }
5705
+ }
5706
+ }
5707
+ }
5708
+ }
5709
+ },
5710
+ "/api/v1/notifications/{id}/unread": {
5711
+ "post": {
5712
+ "tags": [
5713
+ "Notifications"
5714
+ ],
5715
+ "parameters": [
5716
+ {
5717
+ "name": "id",
5718
+ "in": "path",
5719
+ "required": true,
5720
+ "schema": {
5721
+ "type": "string",
5722
+ "format": "uuid"
5723
+ }
5724
+ }
5725
+ ],
5726
+ "responses": {
5727
+ "204": {
5728
+ "description": "No Content"
5729
+ },
5730
+ "400": {
5731
+ "description": "Bad Request",
5732
+ "content": {
5733
+ "application/problem+json": {
5734
+ "schema": {
5735
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5736
+ }
5737
+ }
5738
+ }
5739
+ }
5740
+ }
5741
+ }
5742
+ },
5743
+ "/api/v1/notifications/{id}": {
5744
+ "delete": {
5745
+ "tags": [
5746
+ "Notifications"
5747
+ ],
5748
+ "parameters": [
5749
+ {
5750
+ "name": "id",
5751
+ "in": "path",
5752
+ "required": true,
5753
+ "schema": {
5754
+ "type": "string",
5755
+ "format": "uuid"
5756
+ }
5757
+ }
5758
+ ],
5759
+ "responses": {
5760
+ "204": {
5761
+ "description": "No Content"
5762
+ },
5763
+ "400": {
5764
+ "description": "Bad Request",
5765
+ "content": {
5766
+ "application/problem+json": {
5767
+ "schema": {
5768
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5769
+ }
5770
+ }
5771
+ }
5772
+ }
5773
+ }
5774
+ }
5775
+ },
5776
+ "/api/v1/notifications/push": {
5777
+ "get": {
5778
+ "tags": [
5779
+ "Notifications"
5780
+ ],
5781
+ "responses": {
5782
+ "200": {
5783
+ "description": "OK",
5784
+ "content": {
5785
+ "application/json": {
5786
+ "schema": {
5787
+ "$ref": "#/components/schemas/PushSettingsDto"
5788
+ }
5789
+ }
5790
+ }
5791
+ },
5792
+ "400": {
5793
+ "description": "Bad Request",
5794
+ "content": {
5795
+ "application/problem+json": {
5796
+ "schema": {
5797
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5798
+ }
5799
+ }
5800
+ }
5801
+ }
5802
+ }
5803
+ },
5804
+ "put": {
5805
+ "tags": [
5806
+ "Notifications"
5807
+ ],
5808
+ "requestBody": {
5809
+ "content": {
5810
+ "application/json": {
5811
+ "schema": {
5812
+ "$ref": "#/components/schemas/PushSubscriptionRequest"
5813
+ }
5814
+ }
5815
+ },
5816
+ "required": true
5817
+ },
5818
+ "responses": {
5819
+ "200": {
5820
+ "description": "OK",
5821
+ "content": {
5822
+ "application/json": {
5823
+ "schema": {
5824
+ "$ref": "#/components/schemas/PushDeviceDto"
5825
+ }
5826
+ }
5827
+ }
5828
+ },
5829
+ "400": {
5830
+ "description": "Bad Request",
5831
+ "content": {
5832
+ "application/problem+json": {
5833
+ "schema": {
5834
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5835
+ }
5836
+ }
5837
+ }
5838
+ }
5839
+ }
5840
+ }
5841
+ },
5842
+ "/api/v1/notifications/push/{id}": {
5843
+ "delete": {
5844
+ "tags": [
5845
+ "Notifications"
5846
+ ],
5847
+ "parameters": [
5848
+ {
5849
+ "name": "id",
5850
+ "in": "path",
5851
+ "required": true,
5852
+ "schema": {
5853
+ "type": "string",
5854
+ "format": "uuid"
5855
+ }
5856
+ }
5857
+ ],
5858
+ "responses": {
5859
+ "204": {
5860
+ "description": "No Content"
5861
+ },
5862
+ "400": {
5863
+ "description": "Bad Request",
5864
+ "content": {
5865
+ "application/problem+json": {
5866
+ "schema": {
5867
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
5868
+ }
5869
+ }
5870
+ }
5871
+ }
5872
+ }
5873
+ }
5874
+ },
5875
+ "/api/v1/data/{entitySet}/export": {
5876
+ "get": {
5877
+ "tags": [
5878
+ "Data"
5879
+ ],
5880
+ "parameters": [
5881
+ {
5882
+ "name": "entitySet",
5883
+ "in": "path",
5884
+ "required": true,
5885
+ "schema": {
5886
+ "type": "string"
5887
+ }
5888
+ }
5889
+ ],
5890
+ "responses": {
5891
+ "200": {
5892
+ "description": "OK"
5893
+ },
5894
+ "202": {
5895
+ "description": "Accepted",
5896
+ "content": {
5897
+ "application/json": {
5898
+ "schema": {
5899
+ "$ref": "#/components/schemas/DataTransferJobDto"
5900
+ }
5901
+ }
5902
+ }
5903
+ }
5904
+ }
5905
+ }
5906
+ },
5907
+ "/api/v1/data/{entitySet}/export/stream": {
5908
+ "get": {
5909
+ "tags": [
5910
+ "Data"
5911
+ ],
5912
+ "parameters": [
5913
+ {
5914
+ "name": "entitySet",
5915
+ "in": "path",
5916
+ "required": true,
5917
+ "schema": {
5918
+ "type": "string"
5919
+ }
5920
+ }
5921
+ ],
5922
+ "responses": {
5923
+ "200": {
5924
+ "description": "OK",
5925
+ "content": {
5926
+ "application/x-ndjson": {
5927
+ "schema": {
5928
+ "$ref": "#/components/schemas/DataExportProgress"
5929
+ }
5930
+ }
5931
+ }
5932
+ }
5933
+ }
5934
+ }
5935
+ },
5936
+ "/api/v1/data/{entitySet}/export/mail": {
5937
+ "post": {
5938
+ "tags": [
5939
+ "Data"
5940
+ ],
5941
+ "parameters": [
5942
+ {
5943
+ "name": "entitySet",
5944
+ "in": "path",
5945
+ "required": true,
5946
+ "schema": {
5947
+ "type": "string"
5948
+ }
5949
+ }
5950
+ ],
5951
+ "requestBody": {
5952
+ "content": {
5953
+ "application/json": {
5954
+ "schema": {
5955
+ "$ref": "#/components/schemas/MailExportRequest"
5956
+ }
5957
+ }
5958
+ },
5959
+ "required": true
5960
+ },
5961
+ "responses": {
5962
+ "202": {
5963
+ "description": "Accepted",
5964
+ "content": {
5965
+ "application/json": {
5966
+ "schema": {
5967
+ "$ref": "#/components/schemas/DataTransferJobDto"
5968
+ }
5969
+ }
5970
+ }
5971
+ }
5972
+ }
5973
+ }
5974
+ },
5975
+ "/api/v1/data/downloads/{token}": {
5976
+ "get": {
5977
+ "tags": [
5978
+ "Data"
5979
+ ],
5980
+ "parameters": [
5981
+ {
5982
+ "name": "token",
5983
+ "in": "path",
5984
+ "required": true,
5985
+ "schema": {
5986
+ "type": "string"
5987
+ }
5988
+ }
5989
+ ],
5990
+ "responses": {
5991
+ "200": {
5992
+ "description": "OK"
5993
+ }
5994
+ }
5995
+ }
5996
+ },
5997
+ "/api/v1/data/export-schedules": {
5998
+ "get": {
5999
+ "tags": [
6000
+ "Data"
6001
+ ],
6002
+ "parameters": [
6003
+ {
6004
+ "name": "entitySet",
6005
+ "in": "query",
6006
+ "schema": {
6007
+ "type": "string"
6008
+ }
6009
+ }
6010
+ ],
6011
+ "responses": {
6012
+ "200": {
6013
+ "description": "OK",
6014
+ "content": {
6015
+ "application/json": {
6016
+ "schema": {
6017
+ "type": "array",
6018
+ "items": {
6019
+ "$ref": "#/components/schemas/ExportScheduleDto"
6020
+ }
6021
+ }
6022
+ }
6023
+ }
6024
+ },
6025
+ "400": {
6026
+ "description": "Bad Request",
6027
+ "content": {
6028
+ "application/problem+json": {
6029
+ "schema": {
6030
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
6031
+ }
6032
+ }
6033
+ }
6034
+ }
6035
+ }
6036
+ },
6037
+ "post": {
6038
+ "tags": [
6039
+ "Data"
6040
+ ],
6041
+ "requestBody": {
6042
+ "content": {
6043
+ "application/json": {
6044
+ "schema": {
6045
+ "$ref": "#/components/schemas/SaveExportScheduleRequest"
6046
+ }
6047
+ }
6048
+ },
6049
+ "required": true
6050
+ },
6051
+ "responses": {
6052
+ "200": {
6053
+ "description": "OK",
6054
+ "content": {
6055
+ "application/json": {
6056
+ "schema": {
6057
+ "$ref": "#/components/schemas/ExportScheduleDto"
6058
+ }
6059
+ }
6060
+ }
6061
+ },
6062
+ "400": {
6063
+ "description": "Bad Request",
6064
+ "content": {
6065
+ "application/problem+json": {
6066
+ "schema": {
6067
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
6068
+ }
6069
+ }
6070
+ }
6071
+ }
6072
+ }
6073
+ }
6074
+ },
6075
+ "/api/v1/data/export-schedules/{id}": {
6076
+ "put": {
6077
+ "tags": [
6078
+ "Data"
6079
+ ],
6080
+ "parameters": [
6081
+ {
6082
+ "name": "id",
6083
+ "in": "path",
6084
+ "required": true,
6085
+ "schema": {
6086
+ "type": "string",
6087
+ "format": "uuid"
6088
+ }
6089
+ }
6090
+ ],
6091
+ "requestBody": {
6092
+ "content": {
6093
+ "application/json": {
6094
+ "schema": {
6095
+ "$ref": "#/components/schemas/SaveExportScheduleRequest"
6096
+ }
6097
+ }
6098
+ },
6099
+ "required": true
6100
+ },
6101
+ "responses": {
6102
+ "200": {
6103
+ "description": "OK",
6104
+ "content": {
6105
+ "application/json": {
6106
+ "schema": {
6107
+ "$ref": "#/components/schemas/ExportScheduleDto"
6108
+ }
6109
+ }
6110
+ }
6111
+ },
6112
+ "400": {
6113
+ "description": "Bad Request",
6114
+ "content": {
6115
+ "application/problem+json": {
6116
+ "schema": {
6117
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
6118
+ }
6119
+ }
6120
+ }
6121
+ }
6122
+ }
6123
+ },
6124
+ "delete": {
6125
+ "tags": [
6126
+ "Data"
6127
+ ],
6128
+ "parameters": [
6129
+ {
6130
+ "name": "id",
6131
+ "in": "path",
6132
+ "required": true,
6133
+ "schema": {
6134
+ "type": "string",
6135
+ "format": "uuid"
6136
+ }
6137
+ }
6138
+ ],
6139
+ "responses": {
6140
+ "204": {
6141
+ "description": "No Content"
6142
+ },
6143
+ "400": {
6144
+ "description": "Bad Request",
6145
+ "content": {
6146
+ "application/problem+json": {
6147
+ "schema": {
6148
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
6149
+ }
6150
+ }
6151
+ }
6152
+ }
6153
+ }
6154
+ }
6155
+ },
6156
+ "/api/v1/data/export-schedules/{id}/run": {
6157
+ "post": {
6158
+ "tags": [
6159
+ "Data"
6160
+ ],
6161
+ "parameters": [
6162
+ {
6163
+ "name": "id",
6164
+ "in": "path",
6165
+ "required": true,
6166
+ "schema": {
6167
+ "type": "string",
6168
+ "format": "uuid"
6169
+ }
6170
+ }
6171
+ ],
6172
+ "responses": {
6173
+ "200": {
6174
+ "description": "OK",
6175
+ "content": {
6176
+ "application/json": {
6177
+ "schema": {
6178
+ "$ref": "#/components/schemas/ExportScheduleDto"
6179
+ }
6180
+ }
6181
+ }
6182
+ },
6183
+ "400": {
6184
+ "description": "Bad Request",
6185
+ "content": {
6186
+ "application/problem+json": {
6187
+ "schema": {
6188
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
6189
+ }
6190
+ }
6191
+ }
6192
+ }
6193
+ }
6194
+ }
6195
+ },
6196
+ "/api/v1/data/{entitySet}/import": {
6197
+ "post": {
6198
+ "tags": [
6199
+ "Data"
6200
+ ],
6201
+ "parameters": [
6202
+ {
6203
+ "name": "entitySet",
6204
+ "in": "path",
6205
+ "required": true,
6206
+ "schema": {
6207
+ "type": "string"
6208
+ }
6209
+ }
6210
+ ],
6211
+ "requestBody": {
6212
+ "content": {
6213
+ "multipart/form-data": {
6214
+ "schema": {
6215
+ "required": [
6216
+ "file"
6217
+ ],
6218
+ "type": "object",
6219
+ "properties": {
6220
+ "file": {
6221
+ "$ref": "#/components/schemas/IFormFile"
6222
+ }
5454
6223
  }
5455
6224
  }
5456
6225
  }
@@ -5969,6 +6738,46 @@
5969
6738
  }
5970
6739
  }
5971
6740
  },
6741
+ "/api/v1/data/jobs/{id}/cancel": {
6742
+ "post": {
6743
+ "tags": [
6744
+ "Data"
6745
+ ],
6746
+ "parameters": [
6747
+ {
6748
+ "name": "id",
6749
+ "in": "path",
6750
+ "required": true,
6751
+ "schema": {
6752
+ "type": "string",
6753
+ "format": "uuid"
6754
+ }
6755
+ }
6756
+ ],
6757
+ "responses": {
6758
+ "200": {
6759
+ "description": "OK",
6760
+ "content": {
6761
+ "application/json": {
6762
+ "schema": {
6763
+ "$ref": "#/components/schemas/DataTransferJobDto"
6764
+ }
6765
+ }
6766
+ }
6767
+ },
6768
+ "400": {
6769
+ "description": "Bad Request",
6770
+ "content": {
6771
+ "application/problem+json": {
6772
+ "schema": {
6773
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
6774
+ }
6775
+ }
6776
+ }
6777
+ }
6778
+ }
6779
+ }
6780
+ },
5972
6781
  "/api/v1/client-entities": {
5973
6782
  "get": {
5974
6783
  "tags": [
@@ -9925,6 +10734,83 @@
9925
10734
  }
9926
10735
  }
9927
10736
  },
10737
+ "/api/v1/files/{id}/token": {
10738
+ "post": {
10739
+ "tags": [
10740
+ "Files"
10741
+ ],
10742
+ "parameters": [
10743
+ {
10744
+ "name": "id",
10745
+ "in": "path",
10746
+ "required": true,
10747
+ "schema": {
10748
+ "type": "string",
10749
+ "format": "uuid"
10750
+ }
10751
+ }
10752
+ ],
10753
+ "responses": {
10754
+ "200": {
10755
+ "description": "OK",
10756
+ "content": {
10757
+ "application/json": {
10758
+ "schema": {
10759
+ "$ref": "#/components/schemas/FileTokenDto"
10760
+ }
10761
+ }
10762
+ }
10763
+ },
10764
+ "400": {
10765
+ "description": "Bad Request",
10766
+ "content": {
10767
+ "application/problem+json": {
10768
+ "schema": {
10769
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
10770
+ }
10771
+ }
10772
+ }
10773
+ }
10774
+ }
10775
+ }
10776
+ },
10777
+ "/api/v1/files/token/{token}/{name}": {
10778
+ "get": {
10779
+ "tags": [
10780
+ "Files"
10781
+ ],
10782
+ "parameters": [
10783
+ {
10784
+ "name": "token",
10785
+ "in": "path",
10786
+ "required": true,
10787
+ "schema": {
10788
+ "type": "string"
10789
+ }
10790
+ },
10791
+ {
10792
+ "name": "name",
10793
+ "in": "path",
10794
+ "required": true,
10795
+ "schema": {
10796
+ "type": "string"
10797
+ }
10798
+ },
10799
+ {
10800
+ "name": "download",
10801
+ "in": "query",
10802
+ "schema": {
10803
+ "type": "boolean"
10804
+ }
10805
+ }
10806
+ ],
10807
+ "responses": {
10808
+ "200": {
10809
+ "description": "OK"
10810
+ }
10811
+ }
10812
+ }
10813
+ },
9928
10814
  "/api/v1/files/public/{id}/{name}": {
9929
10815
  "get": {
9930
10816
  "tags": [
@@ -10108,8 +10994,41 @@
10108
10994
  }
10109
10995
  }
10110
10996
  }
10111
- },
10112
- "delete": {
10997
+ },
10998
+ "delete": {
10999
+ "tags": [
11000
+ "Comments"
11001
+ ],
11002
+ "parameters": [
11003
+ {
11004
+ "name": "id",
11005
+ "in": "path",
11006
+ "required": true,
11007
+ "schema": {
11008
+ "type": "string",
11009
+ "format": "uuid"
11010
+ }
11011
+ }
11012
+ ],
11013
+ "responses": {
11014
+ "204": {
11015
+ "description": "No Content"
11016
+ },
11017
+ "400": {
11018
+ "description": "Bad Request",
11019
+ "content": {
11020
+ "application/problem+json": {
11021
+ "schema": {
11022
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
11023
+ }
11024
+ }
11025
+ }
11026
+ }
11027
+ }
11028
+ }
11029
+ },
11030
+ "/api/v1/comments/{id}/status": {
11031
+ "put": {
10113
11032
  "tags": [
10114
11033
  "Comments"
10115
11034
  ],
@@ -10124,9 +11043,26 @@
10124
11043
  }
10125
11044
  }
10126
11045
  ],
11046
+ "requestBody": {
11047
+ "content": {
11048
+ "application/json": {
11049
+ "schema": {
11050
+ "$ref": "#/components/schemas/CommentStatusRequest"
11051
+ }
11052
+ }
11053
+ },
11054
+ "required": true
11055
+ },
10127
11056
  "responses": {
10128
- "204": {
10129
- "description": "No Content"
11057
+ "200": {
11058
+ "description": "OK",
11059
+ "content": {
11060
+ "application/json": {
11061
+ "schema": {
11062
+ "$ref": "#/components/schemas/CommentDto"
11063
+ }
11064
+ }
11065
+ }
10130
11066
  },
10131
11067
  "400": {
10132
11068
  "description": "Bad Request",
@@ -13037,7 +13973,8 @@
13037
13973
  "text",
13038
13974
  "createdAt",
13039
13975
  "editedAt",
13040
- "reactions"
13976
+ "reactions",
13977
+ "status"
13041
13978
  ],
13042
13979
  "type": "object",
13043
13980
  "properties": {
@@ -13075,6 +14012,18 @@
13075
14012
  "items": {
13076
14013
  "$ref": "#/components/schemas/ReactionDto"
13077
14014
  }
14015
+ },
14016
+ "status": {
14017
+ "$ref": "#/components/schemas/CommentStatus"
14018
+ },
14019
+ "properties": {
14020
+ "type": [
14021
+ "null",
14022
+ "object"
14023
+ ],
14024
+ "additionalProperties": {
14025
+ "type": "string"
14026
+ }
13078
14027
  }
13079
14028
  }
13080
14029
  },
@@ -13093,6 +14042,43 @@
13093
14042
  "string"
13094
14043
  ],
13095
14044
  "format": "uuid"
14045
+ },
14046
+ "status": {
14047
+ "oneOf": [
14048
+ {
14049
+ "type": "null"
14050
+ },
14051
+ {
14052
+ "$ref": "#/components/schemas/CommentStatus"
14053
+ }
14054
+ ]
14055
+ },
14056
+ "properties": {
14057
+ "type": [
14058
+ "null",
14059
+ "object"
14060
+ ],
14061
+ "additionalProperties": {
14062
+ "type": "string"
14063
+ }
14064
+ }
14065
+ }
14066
+ },
14067
+ "CommentStatus": {
14068
+ "enum": [
14069
+ "None",
14070
+ "Open",
14071
+ "Closed"
14072
+ ]
14073
+ },
14074
+ "CommentStatusRequest": {
14075
+ "required": [
14076
+ "status"
14077
+ ],
14078
+ "type": "object",
14079
+ "properties": {
14080
+ "status": {
14081
+ "$ref": "#/components/schemas/CommentStatus"
13096
14082
  }
13097
14083
  }
13098
14084
  },
@@ -13102,7 +14088,8 @@
13102
14088
  "canComment",
13103
14089
  "canModerate",
13104
14090
  "showReactions",
13105
- "canReact"
14091
+ "canReact",
14092
+ "canSetStatus"
13106
14093
  ],
13107
14094
  "type": "object",
13108
14095
  "properties": {
@@ -13123,6 +14110,9 @@
13123
14110
  },
13124
14111
  "canReact": {
13125
14112
  "type": "boolean"
14113
+ },
14114
+ "canSetStatus": {
14115
+ "type": "boolean"
13126
14116
  }
13127
14117
  }
13128
14118
  },
@@ -13415,6 +14405,69 @@
13415
14405
  }
13416
14406
  }
13417
14407
  },
14408
+ "DataExportProgress": {
14409
+ "required": [
14410
+ "phase",
14411
+ "percent"
14412
+ ],
14413
+ "type": "object",
14414
+ "properties": {
14415
+ "phase": {
14416
+ "type": "string"
14417
+ },
14418
+ "percent": {
14419
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
14420
+ "type": [
14421
+ "integer",
14422
+ "string"
14423
+ ],
14424
+ "format": "int32"
14425
+ },
14426
+ "url": {
14427
+ "type": [
14428
+ "null",
14429
+ "string"
14430
+ ]
14431
+ },
14432
+ "fileName": {
14433
+ "type": [
14434
+ "null",
14435
+ "string"
14436
+ ]
14437
+ },
14438
+ "jobId": {
14439
+ "type": [
14440
+ "null",
14441
+ "string"
14442
+ ],
14443
+ "format": "uuid"
14444
+ },
14445
+ "message": {
14446
+ "type": [
14447
+ "null",
14448
+ "string"
14449
+ ]
14450
+ },
14451
+ "rows": {
14452
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
14453
+ "type": [
14454
+ "null",
14455
+ "integer",
14456
+ "string"
14457
+ ],
14458
+ "format": "int32"
14459
+ },
14460
+ "total": {
14461
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
14462
+ "type": [
14463
+ "null",
14464
+ "integer",
14465
+ "string"
14466
+ ],
14467
+ "format": "int32"
14468
+ }
14469
+ }
14470
+ },
13418
14471
  "DataTransferJobDto": {
13419
14472
  "required": [
13420
14473
  "id",
@@ -13543,7 +14596,8 @@
13543
14596
  "Running",
13544
14597
  "Completed",
13545
14598
  "Failed",
13546
- "Undone"
14599
+ "Undone",
14600
+ "Cancelled"
13547
14601
  ]
13548
14602
  },
13549
14603
  "DateBucket": {
@@ -13601,6 +14655,21 @@
13601
14655
  }
13602
14656
  }
13603
14657
  },
14658
+ "DefaultGroupDto": {
14659
+ "required": [
14660
+ "groupId"
14661
+ ],
14662
+ "type": "object",
14663
+ "properties": {
14664
+ "groupId": {
14665
+ "type": [
14666
+ "null",
14667
+ "string"
14668
+ ],
14669
+ "format": "uuid"
14670
+ }
14671
+ }
14672
+ },
13604
14673
  "DeleteAccountRequest": {
13605
14674
  "required": [
13606
14675
  "email"
@@ -14022,6 +15091,71 @@
14022
15091
  }
14023
15092
  }
14024
15093
  },
15094
+ "ExportScheduleDto": {
15095
+ "required": [
15096
+ "id",
15097
+ "entitySet",
15098
+ "name",
15099
+ "query",
15100
+ "schedule",
15101
+ "fileName",
15102
+ "recipients",
15103
+ "nextRunAt",
15104
+ "lastRunAt",
15105
+ "lastError"
15106
+ ],
15107
+ "type": "object",
15108
+ "properties": {
15109
+ "id": {
15110
+ "type": "string",
15111
+ "format": "uuid"
15112
+ },
15113
+ "entitySet": {
15114
+ "type": "string"
15115
+ },
15116
+ "name": {
15117
+ "type": "string"
15118
+ },
15119
+ "query": {
15120
+ "type": [
15121
+ "null",
15122
+ "string"
15123
+ ]
15124
+ },
15125
+ "schedule": {
15126
+ "$ref": "#/components/schemas/ReportSchedule"
15127
+ },
15128
+ "fileName": {
15129
+ "type": [
15130
+ "null",
15131
+ "string"
15132
+ ]
15133
+ },
15134
+ "recipients": {
15135
+ "type": "array",
15136
+ "items": {
15137
+ "type": "string"
15138
+ }
15139
+ },
15140
+ "nextRunAt": {
15141
+ "type": "string",
15142
+ "format": "date-time"
15143
+ },
15144
+ "lastRunAt": {
15145
+ "type": [
15146
+ "null",
15147
+ "string"
15148
+ ],
15149
+ "format": "date-time"
15150
+ },
15151
+ "lastError": {
15152
+ "type": [
15153
+ "null",
15154
+ "string"
15155
+ ]
15156
+ }
15157
+ }
15158
+ },
14025
15159
  "ExtendedAttributeDto": {
14026
15160
  "required": [
14027
15161
  "key",
@@ -14216,6 +15350,26 @@
14216
15350
  }
14217
15351
  }
14218
15352
  },
15353
+ "FileTokenDto": {
15354
+ "required": [
15355
+ "token",
15356
+ "url",
15357
+ "expiresAt"
15358
+ ],
15359
+ "type": "object",
15360
+ "properties": {
15361
+ "token": {
15362
+ "type": "string"
15363
+ },
15364
+ "url": {
15365
+ "type": "string"
15366
+ },
15367
+ "expiresAt": {
15368
+ "type": "string",
15369
+ "format": "date-time"
15370
+ }
15371
+ }
15372
+ },
14219
15373
  "FolderContentDto": {
14220
15374
  "required": [
14221
15375
  "folders",
@@ -14248,10 +15402,48 @@
14248
15402
  "FolderDto": {
14249
15403
  "required": [
14250
15404
  "id",
14251
- "parentId",
14252
- "name",
14253
- "createdAt",
14254
- "createdBy"
15405
+ "parentId",
15406
+ "name",
15407
+ "createdAt",
15408
+ "createdBy"
15409
+ ],
15410
+ "type": "object",
15411
+ "properties": {
15412
+ "id": {
15413
+ "type": "string",
15414
+ "format": "uuid"
15415
+ },
15416
+ "parentId": {
15417
+ "type": [
15418
+ "null",
15419
+ "string"
15420
+ ],
15421
+ "format": "uuid"
15422
+ },
15423
+ "name": {
15424
+ "type": "string"
15425
+ },
15426
+ "createdAt": {
15427
+ "type": "string",
15428
+ "format": "date-time"
15429
+ },
15430
+ "createdBy": {
15431
+ "type": [
15432
+ "null",
15433
+ "string"
15434
+ ],
15435
+ "format": "uuid"
15436
+ }
15437
+ }
15438
+ },
15439
+ "FollowDto": {
15440
+ "required": [
15441
+ "id",
15442
+ "entityType",
15443
+ "entityId",
15444
+ "title",
15445
+ "link",
15446
+ "createdAt"
14255
15447
  ],
14256
15448
  "type": "object",
14257
15449
  "properties": {
@@ -14259,26 +15451,54 @@
14259
15451
  "type": "string",
14260
15452
  "format": "uuid"
14261
15453
  },
14262
- "parentId": {
15454
+ "entityType": {
15455
+ "type": "string"
15456
+ },
15457
+ "entityId": {
15458
+ "type": "string",
15459
+ "format": "uuid"
15460
+ },
15461
+ "title": {
14263
15462
  "type": [
14264
15463
  "null",
14265
15464
  "string"
14266
- ],
14267
- "format": "uuid"
15465
+ ]
14268
15466
  },
14269
- "name": {
14270
- "type": "string"
15467
+ "link": {
15468
+ "type": [
15469
+ "null",
15470
+ "string"
15471
+ ]
14271
15472
  },
14272
15473
  "createdAt": {
14273
15474
  "type": "string",
14274
15475
  "format": "date-time"
14275
- },
14276
- "createdBy": {
15476
+ }
15477
+ }
15478
+ },
15479
+ "FollowRequest": {
15480
+ "type": "object",
15481
+ "properties": {
15482
+ "title": {
14277
15483
  "type": [
14278
15484
  "null",
14279
15485
  "string"
14280
- ],
14281
- "format": "uuid"
15486
+ ]
15487
+ }
15488
+ }
15489
+ },
15490
+ "FollowStateDto": {
15491
+ "required": [
15492
+ "following",
15493
+ "canFollow"
15494
+ ],
15495
+ "type": "object",
15496
+ "properties": {
15497
+ "following": {
15498
+ "type": "boolean"
15499
+ },
15500
+ "canFollow": {
15501
+ "type": "boolean"
14282
15502
  }
14283
15503
  }
14284
15504
  },
@@ -14510,7 +15730,8 @@
14510
15730
  "name",
14511
15731
  "description",
14512
15732
  "memberIds",
14513
- "roleIds"
15733
+ "roleIds",
15734
+ "isDefault"
14514
15735
  ],
14515
15736
  "type": "object",
14516
15737
  "properties": {
@@ -14553,6 +15774,20 @@
14553
15774
  "null",
14554
15775
  "string"
14555
15776
  ]
15777
+ },
15778
+ "ownerIds": {
15779
+ "type": [
15780
+ "null",
15781
+ "array"
15782
+ ],
15783
+ "items": {
15784
+ "type": "string",
15785
+ "format": "uuid"
15786
+ }
15787
+ },
15788
+ "isDefault": {
15789
+ "type": "boolean",
15790
+ "default": false
14556
15791
  }
14557
15792
  }
14558
15793
  },
@@ -15432,6 +16667,35 @@
15432
16667
  }
15433
16668
  }
15434
16669
  },
16670
+ "MailExportRequest": {
16671
+ "required": [
16672
+ "query"
16673
+ ],
16674
+ "type": "object",
16675
+ "properties": {
16676
+ "query": {
16677
+ "type": [
16678
+ "null",
16679
+ "string"
16680
+ ]
16681
+ },
16682
+ "recipients": {
16683
+ "type": [
16684
+ "null",
16685
+ "array"
16686
+ ],
16687
+ "items": {
16688
+ "type": "string"
16689
+ }
16690
+ },
16691
+ "fileName": {
16692
+ "type": [
16693
+ "null",
16694
+ "string"
16695
+ ]
16696
+ }
16697
+ }
16698
+ },
15435
16699
  "MailTemplateDto": {
15436
16700
  "required": [
15437
16701
  "name",
@@ -15647,6 +16911,16 @@
15647
16911
  }
15648
16912
  }
15649
16913
  },
16914
+ "MonthWeek": {
16915
+ "enum": [
16916
+ "First",
16917
+ "Second",
16918
+ "Third",
16919
+ "Fourth",
16920
+ "Last",
16921
+ null
16922
+ ]
16923
+ },
15650
16924
  "MoveGroupRequest": {
15651
16925
  "required": [
15652
16926
  "parentId"
@@ -15808,6 +17082,43 @@
15808
17082
  }
15809
17083
  }
15810
17084
  },
17085
+ "NotificationCountsDto": {
17086
+ "required": [
17087
+ "open",
17088
+ "unread",
17089
+ "categories"
17090
+ ],
17091
+ "type": "object",
17092
+ "properties": {
17093
+ "open": {
17094
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
17095
+ "type": [
17096
+ "integer",
17097
+ "string"
17098
+ ],
17099
+ "format": "int32"
17100
+ },
17101
+ "unread": {
17102
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
17103
+ "type": [
17104
+ "integer",
17105
+ "string"
17106
+ ],
17107
+ "format": "int32"
17108
+ },
17109
+ "categories": {
17110
+ "type": "object",
17111
+ "additionalProperties": {
17112
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
17113
+ "type": [
17114
+ "integer",
17115
+ "string"
17116
+ ],
17117
+ "format": "int32"
17118
+ }
17119
+ }
17120
+ }
17121
+ },
15811
17122
  "NotificationDto": {
15812
17123
  "required": [
15813
17124
  "id",
@@ -15861,9 +17172,75 @@
15861
17172
  "items": {
15862
17173
  "type": "string"
15863
17174
  }
17175
+ },
17176
+ "category": {
17177
+ "type": [
17178
+ "null",
17179
+ "string"
17180
+ ]
17181
+ },
17182
+ "doneAt": {
17183
+ "type": [
17184
+ "null",
17185
+ "string"
17186
+ ],
17187
+ "format": "date-time"
17188
+ }
17189
+ }
17190
+ },
17191
+ "NotificationPreferenceDto": {
17192
+ "required": [
17193
+ "type",
17194
+ "category",
17195
+ "name",
17196
+ "scope",
17197
+ "inApp",
17198
+ "email",
17199
+ "defaultScope",
17200
+ "defaultInApp",
17201
+ "defaultEmail"
17202
+ ],
17203
+ "type": "object",
17204
+ "properties": {
17205
+ "type": {
17206
+ "type": "string"
17207
+ },
17208
+ "category": {
17209
+ "type": [
17210
+ "null",
17211
+ "string"
17212
+ ]
17213
+ },
17214
+ "name": {
17215
+ "type": "string"
17216
+ },
17217
+ "scope": {
17218
+ "$ref": "#/components/schemas/NotificationScope"
17219
+ },
17220
+ "inApp": {
17221
+ "type": "boolean"
17222
+ },
17223
+ "email": {
17224
+ "type": "boolean"
17225
+ },
17226
+ "defaultScope": {
17227
+ "$ref": "#/components/schemas/NotificationScope"
17228
+ },
17229
+ "defaultInApp": {
17230
+ "type": "boolean"
17231
+ },
17232
+ "defaultEmail": {
17233
+ "type": "boolean"
15864
17234
  }
15865
17235
  }
15866
17236
  },
17237
+ "NotificationScope": {
17238
+ "enum": [
17239
+ "Off",
17240
+ "All",
17241
+ "Followed"
17242
+ ]
17243
+ },
15867
17244
  "NumberFormat": {
15868
17245
  "enum": [
15869
17246
  "Number",
@@ -17339,6 +18716,25 @@
17339
18716
  "string"
17340
18717
  ],
17341
18718
  "format": "int32"
18719
+ },
18720
+ "every": {
18721
+ "pattern": "^-?(?:0|[1-9]\\d*)$",
18722
+ "type": [
18723
+ "integer",
18724
+ "string"
18725
+ ],
18726
+ "format": "int32",
18727
+ "default": 1
18728
+ },
18729
+ "week": {
18730
+ "oneOf": [
18731
+ {
18732
+ "type": "null"
18733
+ },
18734
+ {
18735
+ "$ref": "#/components/schemas/MonthWeek"
18736
+ }
18737
+ ]
17342
18738
  }
17343
18739
  }
17344
18740
  },
@@ -17758,7 +19154,8 @@
17758
19154
  "name",
17759
19155
  "description",
17760
19156
  "isSystem",
17761
- "selectableForRegistration"
19157
+ "selectableForRegistration",
19158
+ "isDefault"
17762
19159
  ],
17763
19160
  "type": "object",
17764
19161
  "properties": {
@@ -17781,6 +19178,10 @@
17781
19178
  "selectableForRegistration": {
17782
19179
  "type": "boolean",
17783
19180
  "default": false
19181
+ },
19182
+ "isDefault": {
19183
+ "type": "boolean",
19184
+ "default": false
17784
19185
  }
17785
19186
  }
17786
19187
  },
@@ -17803,8 +19204,7 @@
17803
19204
  "RoleRequest": {
17804
19205
  "required": [
17805
19206
  "name",
17806
- "description",
17807
- "selectableForRegistration"
19207
+ "description"
17808
19208
  ],
17809
19209
  "type": "object",
17810
19210
  "properties": {
@@ -17818,8 +19218,16 @@
17818
19218
  ]
17819
19219
  },
17820
19220
  "selectableForRegistration": {
17821
- "type": "boolean",
17822
- "default": false
19221
+ "type": [
19222
+ "null",
19223
+ "boolean"
19224
+ ]
19225
+ },
19226
+ "isDefault": {
19227
+ "type": [
19228
+ "null",
19229
+ "boolean"
19230
+ ]
17823
19231
  }
17824
19232
  }
17825
19233
  },
@@ -17839,6 +19247,47 @@
17839
19247
  }
17840
19248
  }
17841
19249
  },
19250
+ "SaveExportScheduleRequest": {
19251
+ "required": [
19252
+ "entitySet",
19253
+ "name",
19254
+ "query",
19255
+ "schedule"
19256
+ ],
19257
+ "type": "object",
19258
+ "properties": {
19259
+ "entitySet": {
19260
+ "type": "string"
19261
+ },
19262
+ "name": {
19263
+ "type": "string"
19264
+ },
19265
+ "query": {
19266
+ "type": [
19267
+ "null",
19268
+ "string"
19269
+ ]
19270
+ },
19271
+ "schedule": {
19272
+ "$ref": "#/components/schemas/ReportSchedule"
19273
+ },
19274
+ "fileName": {
19275
+ "type": [
19276
+ "null",
19277
+ "string"
19278
+ ]
19279
+ },
19280
+ "recipients": {
19281
+ "type": [
19282
+ "null",
19283
+ "array"
19284
+ ],
19285
+ "items": {
19286
+ "type": "string"
19287
+ }
19288
+ }
19289
+ }
19290
+ },
17842
19291
  "SaveExtendedAttributesRequest": {
17843
19292
  "required": [
17844
19293
  "attributes"
@@ -17923,6 +19372,25 @@
17923
19372
  }
17924
19373
  }
17925
19374
  },
19375
+ "SaveNotificationPreferenceRequest": {
19376
+ "required": [
19377
+ "scope",
19378
+ "inApp",
19379
+ "email"
19380
+ ],
19381
+ "type": "object",
19382
+ "properties": {
19383
+ "scope": {
19384
+ "$ref": "#/components/schemas/NotificationScope"
19385
+ },
19386
+ "inApp": {
19387
+ "type": "boolean"
19388
+ },
19389
+ "email": {
19390
+ "type": "boolean"
19391
+ }
19392
+ }
19393
+ },
17926
19394
  "SaveRecipientListRequest": {
17927
19395
  "required": [
17928
19396
  "name",