Commit c466d96
authored
feat(pos-integration): DOMA-13041 add webhook notifications for integration status changes (#7356)
* feat(webhooks): DOMA-13041 make WebhookSubscription model field degradable when no models registered
* refactor(webhooks): DOMA-13041 move modeled plugin inline to WebhookSubscription schema
Moved modeled plugin implementation from separate file into WebhookSubscription.js to consolidate webhook-related code.
* feat(webhooks): DOMA-13041 update yarn.lock
Set all submodules on main and run "yarn"
* feat(condo): DOMA-13041 add webhook env vars to CI workflow and update pos-integration submodule with fixed tests
* feat(condo): DOMA-13041 remove webhook env vars from CI workflow
* refactor(webhooks): DOMA-13041 rename modeled plugin to configureModelField for clarity
* feat(webhooks): DOMA-13041 add documentation for getWebhookModels() initialization order
* feat(condo): DOMA-13041 updte to rebased submodule branch
* feat(webhooks): DOMA-13041 disable WebhookSubscription creation when no models available
Replace dynamic hasAvailableModels function with static boolean set during schema initialization to properly disable create access when no webhooked models are registered.
* refactor(webhooks): DOMA-13041 pass attrs parameter to canManageWebhookSubscriptions in create access check1 parent 41cdea4 commit c466d96
4 files changed
Lines changed: 81 additions & 30 deletions
Submodule pos-integration updated from 3112fe7 to 24fdf31
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
8 | 54 | | |
9 | 55 | | |
10 | 56 | | |
| |||
15 | 61 | | |
16 | 62 | | |
17 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
18 | 67 | | |
19 | 68 | | |
20 | 69 | | |
21 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
22 | 75 | | |
23 | 76 | | |
24 | 77 | | |
| |||
39 | 92 | | |
40 | 93 | | |
41 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
42 | 99 | | |
43 | 100 | | |
44 | 101 | | |
| |||
49 | 106 | | |
50 | 107 | | |
51 | 108 | | |
52 | | - | |
53 | 109 | | |
54 | 110 | | |
55 | 111 | | |
| |||
112 | 168 | | |
113 | 169 | | |
114 | 170 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 171 | | |
129 | 172 | | |
130 | 173 | | |
| |||
170 | 213 | | |
171 | 214 | | |
172 | 215 | | |
173 | | - | |
| 216 | + | |
174 | 217 | | |
175 | 218 | | |
176 | | - | |
| 219 | + | |
177 | 220 | | |
178 | 221 | | |
179 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1376 | 1376 | | |
1377 | 1377 | | |
1378 | 1378 | | |
| 1379 | + | |
1379 | 1380 | | |
1380 | 1381 | | |
1381 | 1382 | | |
| |||
8356 | 8357 | | |
8357 | 8358 | | |
8358 | 8359 | | |
8359 | | - | |
8360 | | - | |
8361 | | - | |
| 8360 | + | |
| 8361 | + | |
| 8362 | + | |
8362 | 8363 | | |
8363 | 8364 | | |
8364 | 8365 | | |
8365 | 8366 | | |
8366 | 8367 | | |
8367 | 8368 | | |
8368 | 8369 | | |
8369 | | - | |
| 8370 | + | |
8370 | 8371 | | |
8371 | 8372 | | |
8372 | 8373 | | |
| |||
8431 | 8432 | | |
8432 | 8433 | | |
8433 | 8434 | | |
8434 | | - | |
8435 | | - | |
8436 | | - | |
| 8435 | + | |
| 8436 | + | |
| 8437 | + | |
8437 | 8438 | | |
8438 | | - | |
| 8439 | + | |
8439 | 8440 | | |
8440 | 8441 | | |
8441 | 8442 | | |
| |||
8445 | 8446 | | |
8446 | 8447 | | |
8447 | 8448 | | |
8448 | | - | |
| 8449 | + | |
8449 | 8450 | | |
8450 | 8451 | | |
8451 | 8452 | | |
| |||
9188 | 9189 | | |
9189 | 9190 | | |
9190 | 9191 | | |
9191 | | - | |
9192 | | - | |
| 9192 | + | |
| 9193 | + | |
9193 | 9194 | | |
9194 | | - | |
| 9195 | + | |
9195 | 9196 | | |
9196 | 9197 | | |
9197 | 9198 | | |
9198 | 9199 | | |
9199 | 9200 | | |
9200 | 9201 | | |
9201 | | - | |
| 9202 | + | |
9202 | 9203 | | |
9203 | 9204 | | |
9204 | 9205 | | |
| |||
0 commit comments