diff --git a/.github/workflows/test-transactional.yml b/.github/workflows/test-transactional.yml index f7d5c29..7b62660 100644 --- a/.github/workflows/test-transactional.yml +++ b/.github/workflows/test-transactional.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/checkout@v2 - name: Initialize Transactional Cache id: init-cache-mc - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: .cache key: cache-dir @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v2 - name: Initialize Transactional Cache id: init-cache-mc - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: .cache key: cache-dir @@ -142,7 +142,7 @@ jobs: - uses: actions/checkout@v2 - name: Initialize Transactional Cache id: init-cache-mc - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: .cache key: cache-dir diff --git a/.github/workflows/validate-and-generate-transactional.yml b/.github/workflows/validate-and-generate-transactional.yml index 49e95f6..9c69827 100644 --- a/.github/workflows/validate-and-generate-transactional.yml +++ b/.github/workflows/validate-and-generate-transactional.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -40,7 +40,7 @@ jobs: - uses: actions/checkout@v2 - name: Initialize Cache id: init-cache-md - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: .cache key: cache-dir @@ -60,13 +60,13 @@ jobs: - name: Initialize Transactional Cache id: init-cache-md - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: .cache key: cache-dir - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -115,13 +115,13 @@ jobs: - uses: actions/checkout@v2 - name: Initialize Transactional Cache id: init-cache-md - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: .cache key: cache-dir - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -159,13 +159,13 @@ jobs: - name: Initialize Transactional Cache id: init-cache-md - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: .cache key: cache-dir - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -203,13 +203,13 @@ jobs: - name: Initialize Transactional Cache id: init-cache-md - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: .cache key: cache-dir - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: diff --git a/spec/transactional.json b/spec/transactional.json index 68517ba..703a6bf 100644 --- a/spec/transactional.json +++ b/spec/transactional.json @@ -4613,69 +4613,67 @@ "200": { "description": "", "schema": { - "schema": { - "type": "array", - "description": "an array of objects for each recipient containing the key \"email\" with the email address, and details of the message status for that recipient", - "items": { - "type": "object", - "description": "the sending results for a single recipient", - "properties": { - "email": { - "type": "string", - "format": "email", - "description": "the email address of the recipient", - "example": "user@example.com" - }, - "status": { - "type": "string", - "description": "the sending status of the recipient", - "enum": [ - "sent", - "queued", - "scheduled", - "rejected", - "invalid" - ], - "example": "sent" - }, - "reject_reason": { - "type": "string", - "description": "the reason for the rejection if the recipient status is \"rejected\"", - "enum": [ - "hard-bounce", - "soft-bounce", - "spam", - "unsub", - "custom", - "invalid-sender", - "invalid", - "test-mode-limit", - "unsigned", - "rule" - ], - "example": "hard-bounce" - }, - "queued_reason": { - "type": "string", - "description": "the reason for the email being queued if the response status is \"queued\"", - "enum": [ - "attachments", - "multiple-recipients", - "free-trial-sends-exhausted", - "hourly-quota-exhausted", - "monthly-limit-reached", - "sending-paused", - "sending-suspended", - "account-suspended", - "sending-backlogged" - ], - "example": "hourly-quota-exhausted" - }, - "_id": { - "type": "string", - "description": "the message's unique id", - "example": "a92c74e4c5d74998ba690cd535483bb7" - } + "type": "array", + "description": "an array of objects for each recipient containing the key \"email\" with the email address, and details of the message status for that recipient", + "items": { + "type": "object", + "description": "the sending results for a single recipient", + "properties": { + "email": { + "type": "string", + "format": "email", + "description": "the email address of the recipient", + "example": "user@example.com" + }, + "status": { + "type": "string", + "description": "the sending status of the recipient", + "enum": [ + "sent", + "queued", + "scheduled", + "rejected", + "invalid" + ], + "example": "sent" + }, + "reject_reason": { + "type": "string", + "description": "the reason for the rejection if the recipient status is \"rejected\"", + "enum": [ + "hard-bounce", + "soft-bounce", + "spam", + "unsub", + "custom", + "invalid-sender", + "invalid", + "test-mode-limit", + "unsigned", + "rule" + ], + "example": "hard-bounce" + }, + "queued_reason": { + "type": "string", + "description": "the reason for the email being queued if the response status is \"queued\"", + "enum": [ + "attachments", + "multiple-recipients", + "free-trial-sends-exhausted", + "hourly-quota-exhausted", + "monthly-limit-reached", + "sending-paused", + "sending-suspended", + "account-suspended", + "sending-backlogged" + ], + "example": "hourly-quota-exhausted" + }, + "_id": { + "type": "string", + "description": "the message's unique id", + "example": "a92c74e4c5d74998ba690cd535483bb7" } } }