Skip to content

Commit cf2d017

Browse files
Merge pull request #408 from patrick-murphy-intuit/tx-workflows
fix transactional schema
2 parents c11afe3 + d7f5594 commit cf2d017

File tree

3 files changed

+74
-76
lines changed

3 files changed

+74
-76
lines changed

.github/workflows/test-transactional.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v2
5151
- name: Initialize Transactional Cache
5252
id: init-cache-mc
53-
uses: actions/cache@v1
53+
uses: actions/cache@v4
5454
with:
5555
path: .cache
5656
key: cache-dir
@@ -95,7 +95,7 @@ jobs:
9595
- uses: actions/checkout@v2
9696
- name: Initialize Transactional Cache
9797
id: init-cache-mc
98-
uses: actions/cache@v1
98+
uses: actions/cache@v4
9999
with:
100100
path: .cache
101101
key: cache-dir
@@ -142,7 +142,7 @@ jobs:
142142
- uses: actions/checkout@v2
143143
- name: Initialize Transactional Cache
144144
id: init-cache-mc
145-
uses: actions/cache@v1
145+
uses: actions/cache@v4
146146
with:
147147
path: .cache
148148
key: cache-dir

.github/workflows/validate-and-generate-transactional.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Cache node_modules
17-
uses: actions/cache@v1
17+
uses: actions/cache@v4
1818
env:
1919
cache-name: cache-node-modules
2020
with:
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@v2
4141
- name: Initialize Cache
4242
id: init-cache-md
43-
uses: actions/cache@v1
43+
uses: actions/cache@v4
4444
with:
4545
path: .cache
4646
key: cache-dir
@@ -60,13 +60,13 @@ jobs:
6060

6161
- name: Initialize Transactional Cache
6262
id: init-cache-md
63-
uses: actions/cache@v1
63+
uses: actions/cache@v4
6464
with:
6565
path: .cache
6666
key: cache-dir
6767

6868
- name: Cache node_modules
69-
uses: actions/cache@v1
69+
uses: actions/cache@v4
7070
env:
7171
cache-name: cache-node-modules
7272
with:
@@ -115,13 +115,13 @@ jobs:
115115
- uses: actions/checkout@v2
116116
- name: Initialize Transactional Cache
117117
id: init-cache-md
118-
uses: actions/cache@v1
118+
uses: actions/cache@v4
119119
with:
120120
path: .cache
121121
key: cache-dir
122122

123123
- name: Cache node_modules
124-
uses: actions/cache@v1
124+
uses: actions/cache@v4
125125
env:
126126
cache-name: cache-node-modules
127127
with:
@@ -159,13 +159,13 @@ jobs:
159159

160160
- name: Initialize Transactional Cache
161161
id: init-cache-md
162-
uses: actions/cache@v1
162+
uses: actions/cache@v4
163163
with:
164164
path: .cache
165165
key: cache-dir
166166

167167
- name: Cache node_modules
168-
uses: actions/cache@v1
168+
uses: actions/cache@v4
169169
env:
170170
cache-name: cache-node-modules
171171
with:
@@ -203,13 +203,13 @@ jobs:
203203

204204
- name: Initialize Transactional Cache
205205
id: init-cache-md
206-
uses: actions/cache@v1
206+
uses: actions/cache@v4
207207
with:
208208
path: .cache
209209
key: cache-dir
210210

211211
- name: Cache node_modules
212-
uses: actions/cache@v1
212+
uses: actions/cache@v4
213213
env:
214214
cache-name: cache-node-modules
215215
with:

spec/transactional.json

Lines changed: 61 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -4613,69 +4613,67 @@
46134613
"200": {
46144614
"description": "",
46154615
"schema": {
4616-
"schema": {
4617-
"type": "array",
4618-
"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",
4619-
"items": {
4620-
"type": "object",
4621-
"description": "the sending results for a single recipient",
4622-
"properties": {
4623-
"email": {
4624-
"type": "string",
4625-
"format": "email",
4626-
"description": "the email address of the recipient",
4627-
"example": "[email protected]"
4628-
},
4629-
"status": {
4630-
"type": "string",
4631-
"description": "the sending status of the recipient",
4632-
"enum": [
4633-
"sent",
4634-
"queued",
4635-
"scheduled",
4636-
"rejected",
4637-
"invalid"
4638-
],
4639-
"example": "sent"
4640-
},
4641-
"reject_reason": {
4642-
"type": "string",
4643-
"description": "the reason for the rejection if the recipient status is \"rejected\"",
4644-
"enum": [
4645-
"hard-bounce",
4646-
"soft-bounce",
4647-
"spam",
4648-
"unsub",
4649-
"custom",
4650-
"invalid-sender",
4651-
"invalid",
4652-
"test-mode-limit",
4653-
"unsigned",
4654-
"rule"
4655-
],
4656-
"example": "hard-bounce"
4657-
},
4658-
"queued_reason": {
4659-
"type": "string",
4660-
"description": "the reason for the email being queued if the response status is \"queued\"",
4661-
"enum": [
4662-
"attachments",
4663-
"multiple-recipients",
4664-
"free-trial-sends-exhausted",
4665-
"hourly-quota-exhausted",
4666-
"monthly-limit-reached",
4667-
"sending-paused",
4668-
"sending-suspended",
4669-
"account-suspended",
4670-
"sending-backlogged"
4671-
],
4672-
"example": "hourly-quota-exhausted"
4673-
},
4674-
"_id": {
4675-
"type": "string",
4676-
"description": "the message's unique id",
4677-
"example": "a92c74e4c5d74998ba690cd535483bb7"
4678-
}
4616+
"type": "array",
4617+
"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",
4618+
"items": {
4619+
"type": "object",
4620+
"description": "the sending results for a single recipient",
4621+
"properties": {
4622+
"email": {
4623+
"type": "string",
4624+
"format": "email",
4625+
"description": "the email address of the recipient",
4626+
"example": "[email protected]"
4627+
},
4628+
"status": {
4629+
"type": "string",
4630+
"description": "the sending status of the recipient",
4631+
"enum": [
4632+
"sent",
4633+
"queued",
4634+
"scheduled",
4635+
"rejected",
4636+
"invalid"
4637+
],
4638+
"example": "sent"
4639+
},
4640+
"reject_reason": {
4641+
"type": "string",
4642+
"description": "the reason for the rejection if the recipient status is \"rejected\"",
4643+
"enum": [
4644+
"hard-bounce",
4645+
"soft-bounce",
4646+
"spam",
4647+
"unsub",
4648+
"custom",
4649+
"invalid-sender",
4650+
"invalid",
4651+
"test-mode-limit",
4652+
"unsigned",
4653+
"rule"
4654+
],
4655+
"example": "hard-bounce"
4656+
},
4657+
"queued_reason": {
4658+
"type": "string",
4659+
"description": "the reason for the email being queued if the response status is \"queued\"",
4660+
"enum": [
4661+
"attachments",
4662+
"multiple-recipients",
4663+
"free-trial-sends-exhausted",
4664+
"hourly-quota-exhausted",
4665+
"monthly-limit-reached",
4666+
"sending-paused",
4667+
"sending-suspended",
4668+
"account-suspended",
4669+
"sending-backlogged"
4670+
],
4671+
"example": "hourly-quota-exhausted"
4672+
},
4673+
"_id": {
4674+
"type": "string",
4675+
"description": "the message's unique id",
4676+
"example": "a92c74e4c5d74998ba690cd535483bb7"
46794677
}
46804678
}
46814679
}

0 commit comments

Comments
 (0)