changedInput schema / properties / request / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Summer gives the teammate first.last@gosummer.ai and keeps its mailbox.",
- "properties": {
- "avatar_url": {
- "anyOf": [
- {
- "description": "Public https image link for the teammate's photo.",
- "maxLength": 500,
- "pattern": "^https:\\/\\/[^\\s<>\"]+$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "first_name": {
- "maxLength": 30,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "managed",
- "type": "string"
- },
- "last_name": {
- "maxLength": 30,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "use_suggested_photo": {
- "description": "For a name from teammates.names.list: give the teammate that name's suggested photo. Summer stores it like an upload, so it also becomes the Slack photo when Slack is connected. Ignores avatar_url.",
- "type": "boolean"
- }
- },
- "required": [
- "kind",
- "first_name",
- "last_name",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "The company manages the email and Slack account and connects Slack to Summer.",
- "properties": {
- "avatar_url": {
- "anyOf": [
- {
- "description": "Public https image link for the teammate's photo.",
- "maxLength": 500,
- "pattern": "^https:\\/\\/[^\\s<>\"]+$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "email_address": {
- "description": "The company's own address for this teammate. Summer never reads this mailbox.",
- "format": "email",
- "maxLength": 254,
- "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
- "type": "string"
- },
- "first_name": {
- "maxLength": 30,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "company",
- "type": "string"
- },
- "last_name": {
- "maxLength": 30,
- "minLength": 1,
- "type": "string"
- },
- "reason": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "first_name",
- "last_name",
- "email_address",
- "reason"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Summer gives the teammate first.last@gosummer.ai and keeps its mailbox.",
+ "properties": {
+ "avatar_url": {
+ "anyOf": [
+ {
+ "description": "Public https image link for the teammate's photo.",
+ "maxLength": 500,
+ "pattern": "^https:\\/\\/[^\\s<>\"]+$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "first_name": {
+ "maxLength": 30,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "managed",
+ "type": "string"
+ },
+ "last_name": {
+ "maxLength": 30,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "use_suggested_photo": {
+ "description": "For a name from teammates.names.list: give the teammate that name's suggested photo. Summer stores it like an upload, so it also becomes the Slack photo when Slack is connected. Ignores avatar_url.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "kind",
+ "first_name",
+ "last_name",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "The company manages the email and Slack account and connects Slack to Summer.",
+ "properties": {
+ "avatar_url": {
+ "anyOf": [
+ {
+ "description": "Public https image link for the teammate's photo.",
+ "maxLength": 500,
+ "pattern": "^https:\\/\\/[^\\s<>\"]+$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "email_address": {
+ "description": "The company's own address for this teammate. Summer never reads this mailbox.",
+ "format": "email",
+ "maxLength": 254,
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ },
+ "first_name": {
+ "maxLength": 30,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "company",
+ "type": "string"
+ },
+ "last_name": {
+ "maxLength": 30,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "use_suggested_photo": {
+ "description": "For a name from teammates.names.list: give the teammate that name's suggested photo with the company's own address. Ignores avatar_url.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "kind",
+ "first_name",
+ "last_name",
+ "email_address",
+ "reason"
+ ],
+ "type": "object"
+ }
+]