Sync family members with contacts and birthdays
This commit is contained in:
@@ -562,6 +562,9 @@ function buildOpenApiSpec(req, appVersion) {
|
||||
avatar_data: { type: ['string', 'null'], description: 'PNG, JPEG, or WebP data URL.' },
|
||||
role: { type: 'string', enum: ['admin', 'member'] },
|
||||
family_role: { type: 'string', enum: ['dad', 'mom', 'parent', 'child', 'grandparent', 'relative', 'other'] },
|
||||
phone: { type: ['string', 'null'] },
|
||||
email: { type: ['string', 'null'] },
|
||||
birth_date: { type: ['string', 'null'], format: 'date' },
|
||||
},
|
||||
required: ['id', 'username', 'display_name', 'avatar_color', 'role', 'family_role'],
|
||||
},
|
||||
@@ -573,6 +576,9 @@ function buildOpenApiSpec(req, appVersion) {
|
||||
avatar_color: { type: 'string' },
|
||||
avatar_data: { type: ['string', 'null'], description: 'PNG, JPEG, or WebP data URL.' },
|
||||
family_role: { type: 'string', enum: ['dad', 'mom', 'parent', 'child', 'grandparent', 'relative', 'other'] },
|
||||
phone: { type: ['string', 'null'] },
|
||||
email: { type: ['string', 'null'] },
|
||||
birth_date: { type: ['string', 'null'], format: 'date' },
|
||||
created_at: { type: 'string', format: 'date-time' },
|
||||
},
|
||||
required: ['id', 'display_name', 'avatar_color', 'family_role'],
|
||||
@@ -638,6 +644,9 @@ function buildOpenApiSpec(req, appVersion) {
|
||||
avatar_data: { type: ['string', 'null'], description: 'PNG, JPEG, or WebP data URL.' },
|
||||
family_role: { type: 'string', enum: ['dad', 'mom', 'parent', 'child', 'grandparent', 'relative', 'other'] },
|
||||
system_admin: { type: 'boolean' },
|
||||
phone: { type: ['string', 'null'] },
|
||||
email: { type: ['string', 'null'] },
|
||||
birth_date: { type: ['string', 'null'], format: 'date' },
|
||||
},
|
||||
required: ['username', 'display_name', 'password'],
|
||||
},
|
||||
@@ -650,6 +659,9 @@ function buildOpenApiSpec(req, appVersion) {
|
||||
avatar_data: { type: ['string', 'null'], description: 'PNG, JPEG, or WebP data URL. Use null to remove.' },
|
||||
family_role: { type: 'string', enum: ['dad', 'mom', 'parent', 'child', 'grandparent', 'relative', 'other'] },
|
||||
system_admin: { type: 'boolean' },
|
||||
phone: { type: ['string', 'null'] },
|
||||
email: { type: ['string', 'null'] },
|
||||
birth_date: { type: ['string', 'null'], format: 'date' },
|
||||
},
|
||||
},
|
||||
ProfileUpdateRequest: {
|
||||
|
||||
Reference in New Issue
Block a user