mirror of
https://github.com/openai/codex.git
synced 2026-04-25 07:05:38 +00:00
Move add-credits nudge through core
This commit is contained in:
@@ -4057,6 +4057,26 @@
|
||||
"title": "Account/rateLimits/updatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"account/addCreditsNudgeEmail/completed"
|
||||
],
|
||||
"title": "Account/addCreditsNudgeEmail/completedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/v2/AddCreditsNudgeEmailNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Account/addCreditsNudgeEmail/completedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
@@ -4954,6 +4974,77 @@
|
||||
"title": "AccountUpdatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"AddCreditsNudgeEmailNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"result": {
|
||||
"$ref": "#/definitions/v2/AddCreditsNudgeEmailResult"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"result",
|
||||
"threadId"
|
||||
],
|
||||
"title": "AddCreditsNudgeEmailNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"AddCreditsNudgeEmailResult": {
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"status": {
|
||||
"enum": [
|
||||
"sent"
|
||||
],
|
||||
"title": "SentAddCreditsNudgeEmailResultStatus",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"status"
|
||||
],
|
||||
"title": "SentAddCreditsNudgeEmailResult",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"status": {
|
||||
"enum": [
|
||||
"cooldownActive"
|
||||
],
|
||||
"title": "CooldownActiveAddCreditsNudgeEmailResultStatus",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"status"
|
||||
],
|
||||
"title": "CooldownActiveAddCreditsNudgeEmailResult",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"failed"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"message",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AddCreditsNudgeEmailStatus": {
|
||||
"enum": [
|
||||
"sent",
|
||||
|
||||
Reference in New Issue
Block a user