Release 202507010759
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Service" ALTER COLUMN "operatingSince" SET DATA TYPE DATE;
|
||||||
@@ -349,8 +349,8 @@ model Service {
|
|||||||
categories Category[] @relation("ServiceToCategory")
|
categories Category[] @relation("ServiceToCategory")
|
||||||
kycLevel Int @default(4)
|
kycLevel Int @default(4)
|
||||||
kycLevelClarification KycLevelClarification @default(NONE)
|
kycLevelClarification KycLevelClarification @default(NONE)
|
||||||
/// The first known date when the service started operating. Used for New/Mature service attributes.
|
/// Date only, no time.
|
||||||
operatingSince DateTime?
|
operatingSince DateTime? @db.Date
|
||||||
overallScore Int @default(0)
|
overallScore Int @default(0)
|
||||||
privacyScore Int @default(0)
|
privacyScore Int @default(0)
|
||||||
trustScore Int @default(0)
|
trustScore Int @default(0)
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ export const apiServiceActions = {
|
|||||||
kycLevelClarification: service.kycLevelClarification,
|
kycLevelClarification: service.kycLevelClarification,
|
||||||
kycLevelClarificationInfo: pick(getKycLevelClarificationInfo(service.kycLevelClarification), [
|
kycLevelClarificationInfo: pick(getKycLevelClarificationInfo(service.kycLevelClarification), [
|
||||||
'value',
|
'value',
|
||||||
'name',
|
'label',
|
||||||
'description',
|
'description',
|
||||||
]),
|
]),
|
||||||
categories: service.categories,
|
categories: service.categories,
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ type ServiceResponse = {
|
|||||||
kycLevelClarification: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
kycLevelClarification: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
||||||
kycLevelClarificationInfo: {
|
kycLevelClarificationInfo: {
|
||||||
value: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
value: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
||||||
name: string
|
label: string
|
||||||
description: string
|
description: string
|
||||||
}
|
}
|
||||||
categories: {
|
categories: {
|
||||||
@@ -135,8 +135,10 @@ curl -X QUERY https://kycnot.me/api/v1/service/get \
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"id": 123,
|
||||||
"name": "My Example Service",
|
"name": "My Example Service",
|
||||||
"description": "This is a description of my example service",
|
"description": "This is a description of my example service",
|
||||||
|
"slug": "my-example-service",
|
||||||
"serviceVisibility": "PUBLIC",
|
"serviceVisibility": "PUBLIC",
|
||||||
"verificationStatus": "VERIFICATION_SUCCESS",
|
"verificationStatus": "VERIFICATION_SUCCESS",
|
||||||
"verificationStatusInfo": {
|
"verificationStatusInfo": {
|
||||||
@@ -157,6 +159,7 @@ curl -X QUERY https://kycnot.me/api/v1/service/get \
|
|||||||
"kycLevelClarification": "NONE",
|
"kycLevelClarification": "NONE",
|
||||||
"kycLevelClarificationInfo": {
|
"kycLevelClarificationInfo": {
|
||||||
"value": "NONE",
|
"value": "NONE",
|
||||||
|
"label": "None",
|
||||||
"description": "No clarification needed."
|
"description": "No clarification needed."
|
||||||
},
|
},
|
||||||
"categories": [
|
"categories": [
|
||||||
|
|||||||
Reference in New Issue
Block a user