api.fluff4.me 1.0.163 → 1.0.167
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/index.d.ts +14 -0
- package/openapi.json +76 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -365,6 +365,10 @@ export interface ManifestFormInputLengths {
|
|
|
365
365
|
comment: { body: number }
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
+
export interface NotificationsBody {
|
|
369
|
+
notification_ids: string[]
|
|
370
|
+
}
|
|
371
|
+
|
|
368
372
|
export interface ErrorResponse {
|
|
369
373
|
code: number
|
|
370
374
|
detail?: string | null
|
|
@@ -732,4 +736,14 @@ export interface Paths {
|
|
|
732
736
|
body?: undefined
|
|
733
737
|
response: Response<ManifestFormInputLengths> | ErrorResponse
|
|
734
738
|
},
|
|
739
|
+
"/notifications/mark/read": {
|
|
740
|
+
method: "post"
|
|
741
|
+
body: NotificationsBody
|
|
742
|
+
response: void | ErrorResponse
|
|
743
|
+
},
|
|
744
|
+
"/notifications/mark/unread": {
|
|
745
|
+
method: "post"
|
|
746
|
+
body: NotificationsBody
|
|
747
|
+
response: void | ErrorResponse
|
|
748
|
+
},
|
|
735
749
|
}
|
package/openapi.json
CHANGED
|
@@ -1799,6 +1799,20 @@
|
|
|
1799
1799
|
"comment"
|
|
1800
1800
|
]
|
|
1801
1801
|
},
|
|
1802
|
+
"NotificationsBody": {
|
|
1803
|
+
"type": "object",
|
|
1804
|
+
"properties": {
|
|
1805
|
+
"notification_ids": {
|
|
1806
|
+
"type": "array",
|
|
1807
|
+
"items": {
|
|
1808
|
+
"type": "string"
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
"required": [
|
|
1813
|
+
"notification_ids"
|
|
1814
|
+
]
|
|
1815
|
+
},
|
|
1802
1816
|
"ErrorResponse": {
|
|
1803
1817
|
"type": "object",
|
|
1804
1818
|
"properties": {
|
|
@@ -1930,6 +1944,9 @@
|
|
|
1930
1944
|
"200": {
|
|
1931
1945
|
"description": "200 response"
|
|
1932
1946
|
},
|
|
1947
|
+
"302": {
|
|
1948
|
+
"description": "302 response"
|
|
1949
|
+
},
|
|
1933
1950
|
"default": {
|
|
1934
1951
|
"description": "Error",
|
|
1935
1952
|
"content": {
|
|
@@ -1955,6 +1972,9 @@
|
|
|
1955
1972
|
"200": {
|
|
1956
1973
|
"description": "200 response"
|
|
1957
1974
|
},
|
|
1975
|
+
"302": {
|
|
1976
|
+
"description": "302 response"
|
|
1977
|
+
},
|
|
1958
1978
|
"default": {
|
|
1959
1979
|
"description": "Error",
|
|
1960
1980
|
"content": {
|
|
@@ -4707,6 +4727,62 @@
|
|
|
4707
4727
|
}
|
|
4708
4728
|
}
|
|
4709
4729
|
}
|
|
4730
|
+
},
|
|
4731
|
+
"/notifications/mark/read": {
|
|
4732
|
+
"post": {
|
|
4733
|
+
"requestBody": {
|
|
4734
|
+
"content": {
|
|
4735
|
+
"application/json": {
|
|
4736
|
+
"schema": {
|
|
4737
|
+
"$ref": "#/components/schemas/NotificationsBody"
|
|
4738
|
+
}
|
|
4739
|
+
}
|
|
4740
|
+
}
|
|
4741
|
+
},
|
|
4742
|
+
"responses": {
|
|
4743
|
+
"200": {
|
|
4744
|
+
"description": "200 response"
|
|
4745
|
+
},
|
|
4746
|
+
"default": {
|
|
4747
|
+
"description": "Error",
|
|
4748
|
+
"content": {
|
|
4749
|
+
"application/json": {
|
|
4750
|
+
"schema": {
|
|
4751
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4752
|
+
}
|
|
4753
|
+
}
|
|
4754
|
+
}
|
|
4755
|
+
}
|
|
4756
|
+
}
|
|
4757
|
+
}
|
|
4758
|
+
},
|
|
4759
|
+
"/notifications/mark/unread": {
|
|
4760
|
+
"post": {
|
|
4761
|
+
"requestBody": {
|
|
4762
|
+
"content": {
|
|
4763
|
+
"application/json": {
|
|
4764
|
+
"schema": {
|
|
4765
|
+
"$ref": "#/components/schemas/NotificationsBody"
|
|
4766
|
+
}
|
|
4767
|
+
}
|
|
4768
|
+
}
|
|
4769
|
+
},
|
|
4770
|
+
"responses": {
|
|
4771
|
+
"200": {
|
|
4772
|
+
"description": "200 response"
|
|
4773
|
+
},
|
|
4774
|
+
"default": {
|
|
4775
|
+
"description": "Error",
|
|
4776
|
+
"content": {
|
|
4777
|
+
"application/json": {
|
|
4778
|
+
"schema": {
|
|
4779
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4780
|
+
}
|
|
4781
|
+
}
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
}
|
|
4785
|
+
}
|
|
4710
4786
|
}
|
|
4711
4787
|
}
|
|
4712
4788
|
}
|
package/package.json
CHANGED