@burgan-tech/morph-idm-runtime 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/burgan-tech-morph-idm-runtime-0.0.7.tgz +0 -0
  2. package/morph-idm/Workflows/test-consent-selection/test-flow-with-sub.json +1 -1
  3. package/morph-idm/Workflows/test-consent-selection/test-flow-with-two-sub.json +2 -2
  4. package/morph-idm/Workflows/token-process/token/src/mappings/StateMintTokenCallSessionStartMapping.csx +8 -33
  5. package/morph-idm/Workflows/token-process/token/token.json +1 -1
  6. package/package.json +1 -1
  7. package/vnext.config.json +1 -1
  8. package/burgan-tech-morph-idm-runtime-0.0.6.tgz +0 -0
  9. package/morph-idm/Extensions/.gitkeep +0 -0
  10. package/morph-idm/Functions/.gitkeep +0 -0
  11. package/morph-idm/Functions/cert/check/execute/check.http +0 -106
  12. package/morph-idm/Functions/consent/check-consent-role/execute/check-consent-role.http +0 -89
  13. package/morph-idm/Functions/consent/get-consent-role-position/execute/get-consent-role-position.http +0 -55
  14. package/morph-idm/Functions/consent/get-position/execute/get-position.http +0 -38
  15. package/morph-idm/Functions/consent/get-roles/execute/get-roles.http +0 -163
  16. package/morph-idm/Functions/customer/execute/get-customer-by-filter.http +0 -126
  17. package/morph-idm/Functions/customer-management/get-firms-by-filter/execute/get-firms-by-filter.http +0 -91
  18. package/morph-idm/Functions/device-process/forget/execute/forget.http +0 -141
  19. package/morph-idm/Functions/device-process/get-device-list/execute/get-device-list.http +0 -138
  20. package/morph-idm/Functions/device-process/get-device-token-by-reference/execute/get-device-token-by-reference.http +0 -349
  21. package/morph-idm/Functions/device-process/remove/execute/remove.http +0 -150
  22. package/morph-idm/Functions/device-process/save/execute/save.http +0 -124
  23. package/morph-idm/Functions/feature-management/dynamic-config/.gitkeep +0 -0
  24. package/morph-idm/Functions/feature-management/dynamic-config/execute/dynamic-config-reads.http +0 -43
  25. package/morph-idm/Functions/feature-management/feature-flag/.gitkeep +0 -0
  26. package/morph-idm/Functions/feature-management/feature-management-ops/.gitkeep +0 -0
  27. package/morph-idm/Functions/organization/get-organizations/execute/get-organizations.http +0 -30
  28. package/morph-idm/Functions/organization/get-position-levels-by-scope/execute/get-position-levels-by-scope.http +0 -54
  29. package/morph-idm/Functions/session/logout/execute/logout.http +0 -91
  30. package/morph-idm/Functions/sso-flow/execute/session-transfer.http +0 -132
  31. package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct-boarding.http +0 -222
  32. package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct.http +0 -121
  33. package/morph-idm/Functions/transaction-limit/verify-limit-definition/execute/verify-limit-definition.http +0 -78
  34. package/morph-idm/Functions/user/execute/get-password-history-by-filter.http +0 -66
  35. package/morph-idm/Functions/user/execute/get-security-question-history-by-user.http +0 -85
  36. package/morph-idm/Functions/user/get-users-by-scope/execute/get-users-by-scope.http +0 -73
  37. package/morph-idm/Functions/user-login/get-last-successful-corporate-logon/execute/get-last-successful-corporate-logon.http +0 -49
  38. package/morph-idm/Functions/user-login/get-last-user-logins/execute/get-last-user-logins.http +0 -96
  39. package/morph-idm/Functions/user-login/get-user-logins/execute/get-user-logins.http +0 -78
  40. package/morph-idm/Functions/zeebe-approval/get-starter-instance-id/execute/get-starter-instance-id.http +0 -64
  41. package/morph-idm/Schemas/feature-management/database-variables/.gitkeep +0 -0
  42. package/morph-idm/Schemas/feature-management/dynamic-config/.gitkeep +0 -0
  43. package/morph-idm/Schemas/feature-management/feature-flag/.gitkeep +0 -0
  44. package/morph-idm/Tasks/.gitkeep +0 -0
  45. package/morph-idm/Tasks/feature-management/database-variables/.gitkeep +0 -0
  46. package/morph-idm/Tasks/feature-management/dynamic-config/.gitkeep +0 -0
  47. package/morph-idm/Tasks/feature-management/feature-flag/.gitkeep +0 -0
  48. package/morph-idm/Tasks/feature-management/feature-management-shared/.gitkeep +0 -0
  49. package/morph-idm/TestCases/corporate-user-login-e2e.http +0 -872
  50. package/morph-idm/TestCases/limit-approval/approval-matrix-limit-definition.http +0 -182
  51. package/morph-idm/TestCases/limit-approval/approval-non-amount-subflow.http +0 -132
  52. package/morph-idm/TestCases/limit-approval/transaction-limit-definition-approval.http +0 -95
  53. package/morph-idm/TestCases/limit-definition/README.md +0 -130
  54. package/morph-idm/TestCases/limit-definition/approve-transaction.http +0 -149
  55. package/morph-idm/TestCases/limit-definition/approve.http +0 -143
  56. package/morph-idm/TestCases/limit-definition/daily-limit-definition.http +0 -399
  57. package/morph-idm/TestCases/limit-definition/transaction-limit-definition.http +0 -240
  58. package/morph-idm/TestCases/session-transfer-e2e.http +0 -344
  59. package/morph-idm/TestCases/session-transfer-e2e.sh +0 -272
  60. package/morph-idm/TestCases/sort-migration-verification.http +0 -428
  61. package/morph-idm/TestCases/test-123/.httpyac.json +0 -15
  62. package/morph-idm/TestCases/test-123/01-person.http +0 -78
  63. package/morph-idm/TestCases/test-123/02-user.http +0 -73
  64. package/morph-idm/TestCases/test-123/03-scope.http +0 -65
  65. package/morph-idm/TestCases/test-123/04-consent.http +0 -66
  66. package/morph-idm/TestCases/test-123/05-device.http +0 -86
  67. package/morph-idm/TestCases/test-123/06-user-login.http +0 -206
  68. package/morph-idm/TestCases/test-123/README.md +0 -112
  69. package/morph-idm/TestCases/test-123/cleanup.js +0 -49
  70. package/morph-idm/TestCases/test-123/cleanup.sh +0 -20
  71. package/morph-idm/TestCases/test-123/cleanup.sql +0 -45
  72. package/morph-idm/TestCases/test-123/http-client.env.json +0 -13
  73. package/morph-idm/TestCases/test-123/run-setup.sh +0 -42
  74. package/morph-idm/TestCases/test-12345/.httpyac.json +0 -16
  75. package/morph-idm/TestCases/test-12345/01-person.http +0 -79
  76. package/morph-idm/TestCases/test-12345/02-01-device-android.http +0 -258
  77. package/morph-idm/TestCases/test-12345/02-user.http +0 -97
  78. package/morph-idm/TestCases/test-12345/03-scope-2.http +0 -65
  79. package/morph-idm/TestCases/test-12345/03-scope.http +0 -65
  80. package/morph-idm/TestCases/test-12345/04-consent-1.http +0 -86
  81. package/morph-idm/TestCases/test-12345/04-consent-2.http +0 -66
  82. package/morph-idm/TestCases/test-12345/05-device.http +0 -261
  83. package/morph-idm/TestCases/test-12345/06-user-login copy.http +0 -266
  84. package/morph-idm/TestCases/test-12345/06-user-login.http +0 -266
  85. package/morph-idm/TestCases/test-12345/07-corporate-login.http +0 -282
  86. package/morph-idm/TestCases/test-auto-consent/.httpyac.json +0 -14
  87. package/morph-idm/TestCases/test-auto-consent/01-person.http +0 -66
  88. package/morph-idm/TestCases/test-auto-consent/02-user.http +0 -115
  89. package/morph-idm/TestCases/test-auto-consent/03-scope.http +0 -66
  90. package/morph-idm/TestCases/test-auto-consent/04-device.http +0 -56
  91. package/morph-idm/TestCases/test-auto-consent/05-user-login.http +0 -133
  92. package/morph-idm/TestCases/test-auto-consent/README.md +0 -36
  93. package/morph-idm/TestCases/test-auto-consent/cleanup.js +0 -47
  94. package/morph-idm/TestCases/test-auto-consent/run-setup.sh +0 -50
  95. package/morph-idm/TestCases/test-flows/test-flow-with-two-sub.http +0 -107
  96. package/morph-idm/TestCases/test-get-user-info/.httpyac.json +0 -9
  97. package/morph-idm/TestCases/test-get-user-info/get-user-info-ibweb-manual.http +0 -127
  98. package/morph-idm/TestCases/test-get-user-info/get-user-info.http +0 -282
  99. package/morph-idm/TestCases/test-login/.httpyac.json +0 -17
  100. package/morph-idm/TestCases/test-login/01-person.http +0 -79
  101. package/morph-idm/TestCases/test-login/02-01-device-android.http +0 -261
  102. package/morph-idm/TestCases/test-login/02-user.http +0 -97
  103. package/morph-idm/TestCases/test-login/03-scope.http +0 -65
  104. package/morph-idm/TestCases/test-login/04-consent-1.http +0 -86
  105. package/morph-idm/TestCases/test-login/05-device.http +0 -261
  106. package/morph-idm/TestCases/test-login/06-user-login copy.http +0 -266
  107. package/morph-idm/TestCases/test-login/06-user-login.http +0 -266
  108. package/morph-idm/TestCases/test-login/07-corporate-login.http +0 -282
  109. package/morph-idm/TestCases/test-login/README.md +0 -37
  110. package/morph-idm/TestCases/test-login/cleanup.js +0 -46
  111. package/morph-idm/TestCases/test-login/cleanup.sh +0 -20
  112. package/morph-idm/TestCases/test-login/run-setup.sh +0 -53
  113. package/morph-idm/TestCases/test-onefa-corporate/device-key.pem +0 -27
  114. package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-cert-management.http +0 -156
  115. package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-login-cert-token.http +0 -371
  116. package/morph-idm/TestCases/test-onefa-retail/onefa-retail-login-cert-token.http +0 -499
  117. package/morph-idm/TestCases/test-third-factor/.httpyac.json +0 -36
  118. package/morph-idm/TestCases/test-third-factor/lib/httpyac.sh +0 -35
  119. package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.js +0 -42
  120. package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.sh +0 -20
  121. package/morph-idm/TestCases/test-third-factor/scenarios/1-self-completed.sh +0 -25
  122. package/morph-idm/TestCases/test-third-factor/scenarios/2-native-without-device.sh +0 -34
  123. package/morph-idm/TestCases/test-third-factor/scenarios/3-native-wrong-otp.sh +0 -34
  124. package/morph-idm/TestCases/test-third-factor/scenarios/4-native-success-otp-after-wrong-otp.sh +0 -46
  125. package/morph-idm/TestCases/test-third-factor/scenarios/5-retry-count-exceed.sh +0 -37
  126. package/morph-idm/TestCases/test-third-factor/scenarios/http/06-third-factor-native-with-device.http +0 -56
  127. package/morph-idm/TestCases/test-third-factor/scenarios/http/07-third-factor-native-without-device.http +0 -91
  128. package/morph-idm/TestCases/test-third-factor/scenarios/http/08-third-factor-web-with-device.http +0 -117
  129. package/morph-idm/TestCases/test-third-factor/scenarios/http/09-third-factor-web-without-device.http +0 -164
  130. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-after-resend.sh +0 -50
  131. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-resend-after-timeout-otp.sh +0 -50
  132. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-timeout-otp.sh +0 -48
  133. package/morph-idm/TestCases/test-third-factor/setup/01-person.http +0 -157
  134. package/morph-idm/TestCases/test-third-factor/setup/02-user.http +0 -105
  135. package/morph-idm/TestCases/test-third-factor/setup/03-device.http +0 -70
  136. package/morph-idm/TestCases/test-third-factor/setup/04-native-client.http +0 -126
  137. package/morph-idm/TestCases/test-third-factor/setup/05-web-client.http +0 -126
  138. package/morph-idm/TestCases/test-third-factor/setup/cleanup.js +0 -51
  139. package/morph-idm/TestCases/test-third-factor/setup/cleanup.sh +0 -20
  140. package/morph-idm/TestCases/test-third-factor/setup/run-setup.sh +0 -34
  141. package/morph-idm/TestCases/token-mint-parity/RESULT.md +0 -48
  142. package/morph-idm/TestCases/token-sync-race.sh +0 -72
  143. package/morph-idm/TestCases/user-login-apisix.postman_collection.json +0 -1114
  144. package/morph-idm/TestCases/user-login-boweb-e2e.http +0 -123
  145. package/morph-idm/TestCases/user-login-e2e.http +0 -730
  146. package/morph-idm/TestCases/user-login-e2e.sh +0 -122
  147. package/morph-idm/Views/.gitkeep +0 -0
  148. package/morph-idm/Workflows/.gitkeep +0 -0
  149. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-change/execute/anti-phishing-image.http +0 -370
  150. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/anti-phishing-image-definition.http +0 -200
  151. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/get-security-images.http +0 -51
  152. package/morph-idm/Workflows/approval/execute/approval-corporate-customers-non-amount.http +0 -159
  153. package/morph-idm/Workflows/approval/execute/approval-corporate-customers-time-deposit.http +0 -147
  154. package/morph-idm/Workflows/approval/execute/approval-human-task-mobile.http +0 -149
  155. package/morph-idm/Workflows/approval/execute/approval-limit-management.http +0 -277
  156. package/morph-idm/Workflows/approval/execute/approval-new-reject.http +0 -67
  157. package/morph-idm/Workflows/approval/execute/approval-new.http +0 -999
  158. package/morph-idm/Workflows/approval/execute/approval-super-authority.http +0 -158
  159. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-non-amount.http +0 -70
  160. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-time-deposit.http +0 -74
  161. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-migrate-position-levels.http +0 -295
  162. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-new-run.http +0 -296
  163. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-upsert-super-authorization.http +0 -129
  164. package/morph-idm/Workflows/cert/execute/cert-cn-length.http +0 -90
  165. package/morph-idm/Workflows/cert/execute/cert.http +0 -162
  166. package/morph-idm/Workflows/cert-management/execute/cert-management.http +0 -90
  167. package/morph-idm/Workflows/channel-contract/execute/channel-contract-approval.http +0 -246
  168. package/morph-idm/Workflows/client/execute/client-AmorphieClient.http +0 -118
  169. package/morph-idm/Workflows/client/execute/client-IbWeb-session-transfer.http +0 -35
  170. package/morph-idm/Workflows/client/execute/client-OpenBanking.http +0 -411
  171. package/morph-idm/Workflows/client/execute/client-Trade.http +0 -112
  172. package/morph-idm/Workflows/client/execute/client-source-app.http +0 -88
  173. package/morph-idm/Workflows/client/execute/client-update.http +0 -795
  174. package/morph-idm/Workflows/client/execute/client.http +0 -766
  175. package/morph-idm/Workflows/client/execute/vnext-target.http +0 -416
  176. package/morph-idm/Workflows/client-credentials/execute/client-credentials.http +0 -117
  177. package/morph-idm/Workflows/consent/execute/README.md +0 -145
  178. package/morph-idm/Workflows/consent/execute/consent-manual-activation.http +0 -135
  179. package/morph-idm/Workflows/consent/execute/create-consent.http +0 -801
  180. package/morph-idm/Workflows/consent-management/consent-management.http +0 -267
  181. package/morph-idm/Workflows/consent-selection/execute/consent-selection.http +0 -200
  182. package/morph-idm/Workflows/deblock-sim-card/execute/MOBIL-ENTEGRASYON-GOREVLERI.md +0 -339
  183. package/morph-idm/Workflows/deblock-sim-card/execute/TEST-SENARYOLARI.md +0 -202
  184. package/morph-idm/Workflows/deblock-sim-card/execute/approve-contract-documents.sh +0 -63
  185. package/morph-idm/Workflows/deblock-sim-card/execute/contract-debug.sh +0 -101
  186. package/morph-idm/Workflows/deblock-sim-card/execute/deblock-sim-card-workflow.http +0 -290
  187. package/morph-idm/Workflows/device-process/device/execute/device-android.http +0 -262
  188. package/morph-idm/Workflows/device-process/device/execute/device-huawei.http +0 -219
  189. package/morph-idm/Workflows/device-process/device/execute/device-ios.http +0 -319
  190. package/morph-idm/Workflows/device-process/device/execute/device-migration.http +0 -105
  191. package/morph-idm/Workflows/device-process/device/execute/device-web.http +0 -284
  192. package/morph-idm/Workflows/device-process/device/execute/device.http +0 -269
  193. package/morph-idm/Workflows/device-process/device/execute/search.http +0 -39
  194. package/morph-idm/Workflows/device-process/device-assign/execute/device-assign.http +0 -478
  195. package/morph-idm/Workflows/device-process/device-manager/execute/device-manager.http +0 -214
  196. package/morph-idm/Workflows/device-process/device-register/execute/device-register.http +0 -566
  197. package/morph-idm/Workflows/device-process/device-unpair/execute/device-unpair.http +0 -207
  198. package/morph-idm/Workflows/feature-management/database-variables/.gitkeep +0 -0
  199. package/morph-idm/Workflows/feature-management/database-variables/execute/database-variables-lifecycle.http +0 -225
  200. package/morph-idm/Workflows/feature-management/dcs-eval/execute/dcs-eval.http +0 -28
  201. package/morph-idm/Workflows/feature-management/dynamic-config/.gitkeep +0 -0
  202. package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-evaluate.http +0 -186
  203. package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-lifecycle.http +0 -263
  204. package/morph-idm/Workflows/feature-management/feature-flag/.gitkeep +0 -0
  205. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-evaluate.http +0 -245
  206. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-lifecycle.http +0 -246
  207. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-ops.http +0 -116
  208. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-reads.http +0 -47
  209. package/morph-idm/Workflows/fraud/execute/fraud-push.http +0 -1016
  210. package/morph-idm/Workflows/get-roles/execute/get-roles.http +0 -367
  211. package/morph-idm/Workflows/introspection/execute/introspection.http +0 -69
  212. package/morph-idm/Workflows/ivr/execute/ivr-check-password.http +0 -55
  213. package/morph-idm/Workflows/ivr/execute/ivr-check-user.http +0 -56
  214. package/morph-idm/Workflows/ivr/execute/ivr-create-agent-consent.http +0 -59
  215. package/morph-idm/Workflows/ivr/execute/ivr-get-agent-company.http +0 -30
  216. package/morph-idm/Workflows/ivr/execute/ivr-revoke-agent-consent.http +0 -30
  217. package/morph-idm/Workflows/ivr/execute/ivr-set-password.http +0 -87
  218. package/morph-idm/Workflows/notification/push-notification/execute/push-notification.http +0 -261
  219. package/morph-idm/Workflows/organization/execute/create-organization-yedek.http +0 -415
  220. package/morph-idm/Workflows/organization/execute/create-organization.http +0 -346
  221. package/morph-idm/Workflows/organization/execute/retail-organization.http +0 -161
  222. package/morph-idm/Workflows/otp-auth-code/execute/otp-auth-code.http +0 -743
  223. package/morph-idm/Workflows/person/execute/person-123.http +0 -149
  224. package/morph-idm/Workflows/person/execute/person-migration.http +0 -143
  225. package/morph-idm/Workflows/person/execute/person.http +0 -149
  226. package/morph-idm/Workflows/person/firm-cdc-dispatch/execute/person-firm-cdc-dispatch.http +0 -266
  227. package/morph-idm/Workflows/remember-password/execute/remember-password.http +0 -203
  228. package/morph-idm/Workflows/role/execute/role.http +0 -142
  229. package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +0 -131
  230. package/morph-idm/Workflows/scope/execute/scope-business-hours.http +0 -138
  231. package/morph-idm/Workflows/scope/execute/scope-corporate.http +0 -165
  232. package/morph-idm/Workflows/scope/execute/scope-individual-1234567890-1234567890.http +0 -132
  233. package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +0 -133
  234. package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +0 -159
  235. package/morph-idm/Workflows/scope/execute/scope-openbanking-account.http +0 -134
  236. package/morph-idm/Workflows/scope/execute/scope-openbanking-login.http +0 -135
  237. package/morph-idm/Workflows/scope/execute/scope-openbanking-payment.http +0 -134
  238. package/morph-idm/Workflows/scope/execute/scope-restricted.http +0 -143
  239. package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +0 -224
  240. package/morph-idm/Workflows/security-check/execute/security-check-test.http +0 -88
  241. package/morph-idm/Workflows/security-check-test/execute/security-check-test.http +0 -51
  242. package/morph-idm/Workflows/security-question/security-question-change/execute/security-question-change.http +0 -324
  243. package/morph-idm/Workflows/security-question/security-question-definition/execute/security-question-definition.http +0 -372
  244. package/morph-idm/Workflows/security-question/security-question-reset/execute/security-question-reset.http +0 -97
  245. package/morph-idm/Workflows/shield-decrypt/execute/shield-decrypt.http +0 -77
  246. package/morph-idm/Workflows/shield-encrypt/execute/shield-encrypt.http +0 -80
  247. package/morph-idm/Workflows/shield-sign/execute/shield-sign.http +0 -79
  248. package/morph-idm/Workflows/shield-verify-request-signature/execute/generate-request-signature.js +0 -54
  249. package/morph-idm/Workflows/shield-verify-request-signature/execute/shield-verify-request-signature.http +0 -135
  250. package/morph-idm/Workflows/shield-verify-signature/execute/shield-verify-signature.http +0 -108
  251. package/morph-idm/Workflows/sim-block/sim-block-backoffice/execute/sim-block-backoffice.http +0 -183
  252. package/morph-idm/Workflows/simple-subflow/execute/simple-subflow.http +0 -50
  253. package/morph-idm/Workflows/sso/authorize/execute/authorize.http +0 -160
  254. package/morph-idm/Workflows/sso/authorize-route/execute/authorize-route.http +0 -169
  255. package/morph-idm/Workflows/sso/pre-login/execute/pre-login.http +0 -273
  256. package/morph-idm/Workflows/sso/token-direct/execute/token-direct.http +0 -272
  257. package/morph-idm/Workflows/sso/token-route/execute/token-route.http +0 -207
  258. package/morph-idm/Workflows/sso-flow/execute/sso-flow-auth-code.http +0 -89
  259. package/morph-idm/Workflows/sso-flow/execute/sso-flow-login.http +0 -163
  260. package/morph-idm/Workflows/sso-flow/execute/sso-flow-test-base.http +0 -178
  261. package/morph-idm/Workflows/test-consent-selection/execute/test-consent-selection.http +0 -68
  262. package/morph-idm/Workflows/test-consent-selection/execute/test-flow-with-sub.http +0 -50
  263. package/morph-idm/Workflows/test-consent-selection/execute/test-flow.http +0 -140
  264. package/morph-idm/Workflows/test-consent-selection/execute/test-sync-subprocess.http +0 -63
  265. package/morph-idm/Workflows/test-consent-selection/execute/test-user-validation.http +0 -126
  266. package/morph-idm/Workflows/third-factor/execute/third-factor.http +0 -183
  267. package/morph-idm/Workflows/third-factor-main/execute/execute/third-factor-main.http +0 -229
  268. package/morph-idm/Workflows/token-process/session/execute/session.http +0 -361
  269. package/morph-idm/Workflows/token-process/session-revoke-others/execute/session-revoke-others.http +0 -94
  270. package/morph-idm/Workflows/token-process/token/execute/README.md +0 -454
  271. package/morph-idm/Workflows/token-process/token/execute/device-key.pem +0 -27
  272. package/morph-idm/Workflows/token-process/token/execute/generate-onefa-assertion.js +0 -47
  273. package/morph-idm/Workflows/token-process/token/execute/onefa-token.http +0 -285
  274. package/morph-idm/Workflows/token-process/token/execute/setup-roles-for-token-claims.http +0 -425
  275. package/morph-idm/Workflows/token-process/token/execute/token-sync-race.http +0 -49
  276. package/morph-idm/Workflows/token-process/token/execute/token.http +0 -676
  277. package/morph-idm/Workflows/token-process/token-password-grant/execute/token-password-grant.http +0 -163
  278. package/morph-idm/Workflows/transaction-limit/cascade-approve-daily/execute/transaction-limit-cascade-approve-daily.http +0 -125
  279. package/morph-idm/Workflows/transaction-limit/cascade-approve-transaction/execute/transaction-limit-cascade-approve-transaction.http +0 -120
  280. package/morph-idm/Workflows/transaction-limit/cascade-daily/execute/transaction-limit-cascade-daily.http +0 -198
  281. package/morph-idm/Workflows/transaction-limit/cascade-transaction/execute/transaction-limit-cascade.http +0 -173
  282. package/morph-idm/Workflows/transaction-limit/definition/execute/transaction-limit-definition.http +0 -867
  283. package/morph-idm/Workflows/transaction-limit/definition-passivate/execute/transaction-limit-definition-passivate.http +0 -224
  284. package/morph-idm/Workflows/transaction-limit/definition-verify/execute/transaction-limit-definition-verify.http +0 -102
  285. package/morph-idm/Workflows/transaction-limit/execute/seed-corporate-customers-limits.sh +0 -178
  286. package/morph-idm/Workflows/transaction-limit/execute/transaction-limit-management.http +0 -984
  287. package/morph-idm/Workflows/transaction-limit/remaining/execute/transaction-limit-remaining.http +0 -103
  288. package/morph-idm/Workflows/transaction-limit/resolve/execute/transaction-limit-resolve.http +0 -96
  289. package/morph-idm/Workflows/transaction-limit/scope-bank-limit/execute/transaction-limit-scope-bank-limit.http +0 -84
  290. package/morph-idm/Workflows/transaction-limit/user-bank-limits/execute/transaction-limit-user-bank-limits.http +0 -87
  291. package/morph-idm/Workflows/transaction-limit/verify/execute/transaction-limit-verify.http +0 -212
  292. package/morph-idm/Workflows/user/create/execute/user-create-corporate.http +0 -51
  293. package/morph-idm/Workflows/user/create/execute/user-create.http +0 -135
  294. package/morph-idm/Workflows/user/get-users-by-scope/execute/get-users-by-scope.http +0 -210
  295. package/morph-idm/Workflows/user-corporate/firm-query/execute/firm-query.http +0 -87
  296. package/morph-idm/Workflows/user-corporate/onboard-dispatch/execute/user-corporate-onboard-dispatch.http +0 -105
  297. package/morph-idm/Workflows/user-corporate/provision/execute/user-corporate-provision.http +0 -631
  298. package/morph-idm/Workflows/user-corporate/provision/user-corporate-provision.flowchart.drawio +0 -88
  299. package/morph-idm/Workflows/user-corporate/remove/execute/user-corporate-remove.http +0 -152
  300. package/morph-idm/Workflows/user-corporate/rollback/execute/user-corporate-rollback.http +0 -97
  301. package/morph-idm/Workflows/user-corporate/update-provision/execute/user-corporate-update-provision.http +0 -449
  302. package/morph-idm/Workflows/user-corporate/user-corporate-create/execute/user-corporate-create.http +0 -173
  303. package/morph-idm/Workflows/user-corporate/user-corporate-update/execute/user-corporate-update.http +0 -117
  304. package/morph-idm/Workflows/user-login/execute/README-LOGIN.md +0 -535
  305. package/morph-idm/Workflows/user-login/execute/user-login-comprehensive-coverage.http +0 -1761
  306. package/morph-idm/Workflows/user-login/execute/user-login-device-assign.http +0 -497
  307. package/morph-idm/Workflows/user-login/execute/user-login.http +0 -910
  308. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-otp.http +0 -86
  309. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-push.http +0 -82
  310. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-registered-device.http +0 -111
  311. package/morph-idm/Workflows/user-login-approvement/execute/user-login-approvement-comprehensive.http +0 -1267
  312. package/morph-idm/Workflows/user-management/execute/user-management.http +0 -284
  313. package/morph-idm/Workflows/user-note/execute/user-note-backoffice.http +0 -290
  314. package/morph-idm/Workflows/user-otp-setting/execute/user-otp-setting-backoffice.http +0 -128
  315. package/morph-idm/Workflows/user-password-process/user-change-password/execute/user-change-password.http +0 -576
  316. package/morph-idm/Workflows/user-password-process/user-password/execute/user-password.http +0 -58
  317. package/morph-idm/Workflows/user-password-process/user-password-force-change/execute/user-password-force-change.http +0 -31
  318. package/morph-idm/Workflows/user-password-process/user-password-reset/execute/user-password-reset.http +0 -213
  319. package/morph-idm/Workflows/user-status/user-status-change/execute/user-status-change.http +0 -124
  320. package/morph-idm/Workflows/user-status/user-status-change-backoffice/execute/user-status-change-backoffice.http +0 -197
  321. package/morph-idm/Workflows/user-validation/execute/user-validation-standalone.http +0 -331
  322. package/morph-idm/Workflows/user-validation/execute/user-validation.http +0 -696
  323. package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-corporate-customers-non-amount.http +0 -195
  324. package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-new.http +0 -275
@@ -1,867 +0,0 @@
1
- ### Variables
2
- //@baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
3
-
4
- @workflow = transaction-limit-definition
5
-
6
-
7
- ###############################################################################
8
- # 1. OLUŞTUR — tüm alanlar dahil
9
- ###############################################################################
10
-
11
- ### 1.1 Limit tanımı oluştur (draft)
12
- # @name create1
13
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
14
- Accept-Language: tr-TR
15
- X-Request-Id: {{$guid}}
16
- Content-Type: application/json
17
-
18
- {
19
- "key": "limit-{{$timestamp}}",
20
- "tags": ["transaction-limit-definition", "TRY"],
21
- "attributes": {
22
- "autoActivate": true,
23
- "updateOnConflict": true,
24
- "type": "Daily",
25
- "limitKey": "Transfer",
26
- "currency": "TRY",
27
- "amount": 100000,
28
- "scopeGroup": "corporate-customers",
29
- "scope": "firma-1",
30
- "user": "user-1",
31
- "validFrom": "2026-01-02T00:00:00Z"
32
- // "validTo": "2026-10-01T23:59:59Z"
33
- }
34
- }
35
- ###
36
- @key1 = {{create1.response.body.id}}
37
-
38
- ### 1.2 Activate — draft → active
39
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{key1}}/transitions/activate?sync=true
40
- Accept-Language: tr-TR
41
- X-Request-Id: {{$guid}}
42
- Content-Type: application/json
43
-
44
- {}
45
-
46
- ###
47
-
48
- ### 1.3 Data kontrol
49
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{key1}}/functions/state
50
- Accept-Language: tr-TR
51
- X-Request-Id: {{$guid}}
52
-
53
- ###############################################################################
54
- # 2. STATE YÖNETİMİ
55
- ###############################################################################
56
-
57
- ### 2.1 Passivate — active → passive (FINAL: geri aktive etme yok; yeniden limit = yeni tanım)
58
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{key1}}/transitions/passivate?sync=true
59
- Accept-Language: tr-TR
60
- X-Request-Id: {{$guid}}
61
- Content-Type: application/json
62
-
63
- {}
64
-
65
- ###
66
-
67
- ### 2.2 State kontrol — beklenen currentState passive, status C
68
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{key1}}/functions/state
69
- Accept-Language: tr-TR
70
- X-Request-Id: {{$guid}}
71
-
72
- ###############################################################################
73
- # 3. FUNCTION — RESOLVE LIMIT
74
- #
75
- # Öncelik: user+scope > user+limitKey > user > scope > scopeGroup (en spesifik kazanır)
76
- # NOT: PR #480 sonrası instance-level endpoint gerekiyor (scope: "I")
77
- # Herhangi bir aktif transaction-limit-definition instance'ı kullanılabilir.
78
- ###############################################################################
79
-
80
- ### 3.1 Resolve — Transaction (maker limiti)
81
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?user=test-user-10&scope=burgantech&scopeGroup=kurumsal-test&type=Transaction&limitKey=EFT
82
- Accept-Language: tr-TR
83
- X-Request-Id: {{$guid}}
84
-
85
- ###
86
-
87
- ### 3.1b Resolve — Daily (maker günlük limiti)
88
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?scopeGroup=sg-2&type=Daily&limitKey=EFT
89
- Accept-Language: tr-TR
90
- X-Request-Id: {{$guid}}
91
-
92
- ###
93
-
94
- ### 3.1c Resolve — ApproveTransaction (onaycı işlem limiti)
95
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?scopeGroup=kurumsal-test&type=ApproveDaily
96
- Accept-Language: tr-TR
97
- X-Request-Id: {{$guid}}
98
-
99
- ###
100
-
101
- ### 3.1d Resolve — ApproveDaily (onaycı günlük limiti)
102
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?user=ozlem&scope=ozlem&scopeGroup=kurumsal-test&type=ApproveDaily&limitKey=EFT
103
- Accept-Language: tr-TR
104
- X-Request-Id: {{$guid}}
105
-
106
- ###
107
-
108
- ### 3.2 Resolve — scope + limitKey (user yok)
109
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?scope=s-1&scopeGroup=sg-5&limitKey=EFT&type=Daily
110
- Accept-Language: tr-TR
111
- X-Request-Id: {{$guid}}
112
-
113
- ###
114
-
115
- ###
116
-
117
- ### 3.2.1 Resolve — scope (user yok)
118
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?scope=s-1&scopeGroup=sg-5&type=Daily
119
- Accept-Language: tr-TR
120
- X-Request-Id: {{$guid}}
121
-
122
- ###
123
-
124
- ### 3.3 Resolve — scopeGroup + limitKey (sadece banka default)
125
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?scopeGroup=sg-5&limitKey=EFT&type=Daily
126
- Accept-Language: tr-TR
127
- X-Request-Id: {{$guid}}
128
-
129
- ###
130
-
131
- ### 3.3b Resolve — scopeGroup (sadece banka default)
132
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?scopeGroup=sg-5&type=Daily
133
- Accept-Language: tr-TR
134
- X-Request-Id: {{$guid}}
135
-
136
- ###############################################################################
137
- # 4. BANKA LİMİTİ HİYERARŞİ KONTROLÜ (check-scope-group-limit)
138
- #
139
- # Kural: user veya scope düzeyindeki limit, aynı scopeGroup'un aktif
140
- # banka limitini (scopeGroup-level, user=null, scope=null) aşamaz.
141
- #
142
- # Önce banka limitini oluştur (scopeGroup-level), ardından banka limitini
143
- # aşan bir user/scope tanımı oluşturmayı dene → exceeds-scope-group-limit final state'e düşmeli.
144
- ###############################################################################
145
-
146
- ### 4.1 ÖNCE: ScopeGroup-level genel banka limiti tanımla (limitKey yok)
147
- # Bu işlem check-scope-group-limit adımını atlar (bypass) çünkü user=null, scope=null
148
- # @name bankLimitGeneral
149
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
150
- Accept-Language: tr-TR
151
- X-Request-Id: {{$guid}}
152
- Content-Type: application/json
153
-
154
- {
155
- "key": "bank-limit-bireysel-daily-{{$timestamp}}",
156
- "tags": ["transaction-limit-definition", "bireysel", "TRY", "bank-limit"],
157
- "attributes": {
158
- "type": "Daily",
159
- "currency": "TRY",
160
- "amount": 30000,
161
- "scopeGroup": "bireysel3",
162
- "validFrom": "2026-01-01T00:00:00Z",
163
- "validTo": "2026-12-31T23:59:59Z"
164
- }
165
- }
166
-
167
- ###
168
- @bankLimitGeneralId = {{bankLimitGeneral.response.body.id}}
169
-
170
- ### 4.2 ScopeGroup-level banka limitini aktifleştir
171
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{bankLimitGeneralId}}/transitions/activate?sync=true
172
- Accept-Language: tr-TR
173
- X-Request-Id: {{$guid}}
174
- Content-Type: application/json
175
-
176
- {}
177
-
178
- ###
179
-
180
- ### 4.3 ScopeGroup-level EFT banka limiti tanımla (limitKey=EFT)
181
- # @name bankLimitEft
182
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
183
- Accept-Language: tr-TR
184
- X-Request-Id: {{$guid}}
185
- Content-Type: application/json
186
-
187
- {
188
- "key": "bank-limit-bireysel-eft-daily-{{$timestamp}}",
189
- "tags": ["transaction-limit-definition", "bireysel", "EFT", "TRY", "bank-limit"],
190
- "attributes": {
191
- "type": "Daily",
192
- "currency": "TRY",
193
- "amount": 10000,
194
- "scopeGroup": "bireysel3",
195
- "limitKey": "EFT",
196
- "validFrom": "2026-01-01T00:00:00Z",
197
- "validTo": "2026-12-31T23:59:59Z"
198
- }
199
- }
200
-
201
- ###
202
- @bankLimitEftId = {{bankLimitEft.response.body.id}}
203
-
204
- ### 4.4 ScopeGroup-level EFT banka limitini aktifleştir
205
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{bankLimitEftId}}/transitions/activate?sync=true
206
- Accept-Language: tr-TR
207
- X-Request-Id: {{$guid}}
208
- Content-Type: application/json
209
-
210
- {}
211
-
212
- ###
213
-
214
- ### 4.5 BAŞARILI SENARYO: Scope-level EFT limit (banka limitinin altında) → active
215
- # @name scopeLimitEft
216
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
217
- Accept-Language: tr-TR
218
- X-Request-Id: {{$guid}}
219
- Content-Type: application/json
220
-
221
- {
222
- "key": "scope-limit-murat-eft-daily-{{$timestamp}}",
223
- "tags": ["transaction-limit-definition", "bireysel", "EFT", "TRY"],
224
- "attributes": {
225
- "type": "Daily",
226
- "currency": "TRY",
227
- "amount": 5000,
228
- "scopeGroup": "bireysel3",
229
- "scope": "murat-1",
230
- "limitKey": "EFT",
231
- "validFrom": "2026-04-01T00:00:00Z"
232
- }
233
- }
234
-
235
- ###
236
- @scopeLimitEftId = {{scopeLimitEft.response.body.id}}
237
-
238
- ### 4.6 Activate — scope-level EFT limiti aktifleştir
239
- # Beklenen: check-scope-group-limit → check-duplicate → active
240
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{scopeLimitEftId}}/transitions/activate?sync=true
241
- Accept-Language: tr-TR
242
- X-Request-Id: {{$guid}}
243
- Content-Type: application/json
244
-
245
- {}
246
-
247
- ###
248
-
249
- ### 4.7 Başarılı aktivasyonu kontrol et — currentState: active bekleniyor
250
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{scopeLimitEftId}}/functions/data
251
- Accept-Language: tr-TR
252
- X-Request-Id: {{$guid}}
253
-
254
- ###
255
-
256
- ### 4.8 BAŞARISIZ SENARYO: User-level limit (banka EFT limitini aşıyor) → exceeds-scope-group-limit
257
- # @name userLimitExceed
258
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
259
- Accept-Language: tr-TR
260
- X-Request-Id: {{$guid}}
261
- Content-Type: application/json
262
-
263
- {
264
- "key": "user-limit-ozlem-eft-exceed-{{$timestamp}}",
265
- "tags": ["transaction-limit-definition", "bireysel", "EFT", "TRY"],
266
- "attributes": {
267
- "type": "Daily",
268
- "currency": "TRY",
269
- "amount": 15000000,
270
- "scopeGroup": "bireysel",
271
- "user": "ozlem-1",
272
- "limitKey": "EFT"
273
- }
274
- }
275
-
276
- ###
277
- @userLimitExceedId = {{userLimitExceed.response.body.id}}
278
-
279
- ### 4.9 Activate — banka limitini aşan user-level tanımı
280
- # Beklenen: check-scope-group-limit → exceeds-scope-group-limit (final state)
281
- # Instance data'da exceedsBankLimit=true, bankLimitAmount dolu olmalı
282
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{userLimitExceedId}}/transitions/activate?sync=true
283
- Accept-Language: tr-TR
284
- X-Request-Id: {{$guid}}
285
- Content-Type: application/json
286
-
287
- {}
288
-
289
- ###
290
-
291
- ### 4.10 Exceeds-bank-limit instance'ı kontrol et
292
- # Beklenen: currentState=exceeds-scope-group-limit, exceedsBankLimit=true
293
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{userLimitExceedId}}/functions/data
294
- Accept-Language: tr-TR
295
- X-Request-Id: {{$guid}}
296
-
297
- ###
298
-
299
- ### 4.11 FALLBACK SENARYO: User-level genel limit — limitKey yok → genel banka limitine karşılaştırma
300
- # @name userLimitGeneral
301
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
302
- Accept-Language: tr-TR
303
- X-Request-Id: {{$guid}}
304
- Content-Type: application/json
305
-
306
- {
307
- "key": "user-limit-ozlem-general-daily-{{$timestamp}}",
308
- "tags": ["transaction-limit-definition", "bireysel", "TRY"],
309
- "attributes": {
310
- "type": "Daily",
311
- "currency": "TRY",
312
- "amount": 20000,
313
- "scopeGroup": "bireysel",
314
- "user": "ozlem-1"
315
- }
316
- }
317
-
318
- ###
319
- @userLimitGeneralId = {{userLimitGeneral.response.body.id}}
320
-
321
- ### 4.12 Activate — genel user-level limit (limitKey yok → genel banka limitine karşılaştır)
322
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{userLimitGeneralId}}/transitions/activate?sync=true
323
- Accept-Language: tr-TR
324
- X-Request-Id: {{$guid}}
325
- Content-Type: application/json
326
-
327
- {}
328
-
329
- ###
330
-
331
- ### 4.13 Genel user-level limit sonucunu kontrol et
332
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{userLimitGeneralId}}/functions/data
333
- Accept-Language: tr-TR
334
- X-Request-Id: {{$guid}}
335
-
336
- ###
337
-
338
- ###############################################################################
339
- # 5. ONAY LİMİTİ TANIMLARI (ApproveTransaction / ApproveDaily)
340
- # Açıklama:
341
- # - type=ApproveTransaction → onaycının tek işlem onay limiti
342
- # - type=ApproveDaily → onaycının günlük kümülatif onay limiti
343
- # - user → onaycının user instance key'i (girişçi değil)
344
- # - scope / scopeGroup → maker ile aynı boyutlar geçerli
345
- # - Banka default (scopeGroup only): tüm onaycılara fallback
346
- ###############################################################################
347
-
348
- ### 5.1 Banka default ApproveTransaction limiti (scopeGroup → tüm onaycılar için fallback)
349
- # @name bankApproveTransactionDefault
350
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
351
- Accept-Language: tr-TR
352
- X-Request-Id: {{$guid}}
353
- Content-Type: application/json
354
-
355
- {
356
- "key": "bank-approve-tx-kurumsal-try-{{$timestamp}}",
357
- "tags": ["transaction-limit-definition", "kurumsal", "TRY", "approve-limit", "bank-default"],
358
- "attributes": {
359
- "type": "ApproveTransaction",
360
- "currency": "TRY",
361
- "amount": 5000000,
362
- "scopeGroup": "kurumsal"
363
- }
364
- }
365
-
366
- ###
367
- @bankApproveTxDefaultId = {{bankApproveTransactionDefault.response.body.id}}
368
-
369
- ### 5.2 Banka default ApproveTransaction limitini aktifleştir
370
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{bankApproveTxDefaultId}}/transitions/activate?sync=true
371
- Accept-Language: tr-TR
372
- X-Request-Id: {{$guid}}
373
- Content-Type: application/json
374
-
375
- {}
376
-
377
- ###
378
-
379
- ### 5.3 Banka default ApproveDaily limiti (scopeGroup → tüm onaycılar için fallback)
380
- # @name bankApproveDailyDefault
381
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
382
- Accept-Language: tr-TR
383
- X-Request-Id: {{$guid}}
384
- Content-Type: application/json
385
-
386
- {
387
- "key": "bank-approve-daily-kurumsal-try-{{$timestamp}}",
388
- "tags": ["transaction-limit-definition", "kurumsal", "TRY", "approve-limit", "bank-default"],
389
- "attributes": {
390
- "type": "ApproveDaily",
391
- "currency": "TRY",
392
- "amount": 20000000,
393
- "scopeGroup": "kurumsal"
394
- }
395
- }
396
-
397
- ###
398
- @bankApproveDailyDefaultId = {{bankApproveDailyDefault.response.body.id}}
399
-
400
- ### 5.4 Banka default ApproveDaily limitini aktifleştir
401
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{bankApproveDailyDefaultId}}/transitions/activate?sync=true
402
- Accept-Language: tr-TR
403
- X-Request-Id: {{$guid}}
404
- Content-Type: application/json
405
-
406
- {}
407
-
408
- ###
409
-
410
- ### 5.5 Onaycı bazlı ApproveTransaction limiti (approver=ozlem, scope=burgantech)
411
- # @name approverTxLimit
412
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
413
- Accept-Language: tr-TR
414
- X-Request-Id: {{$guid}}
415
- Content-Type: application/json
416
-
417
- {
418
- "key": "approver-tx-ozlem-burgantech-1-try-{{$timestamp}}",
419
- "tags": ["transaction-limit-definition", "kurumsal", "TRY", "approve-limit"],
420
- "attributes": {
421
- "type": "ApproveTransaction",
422
- "currency": "TRY",
423
- "amount": 500000,
424
- "scopeGroup": "kurumsal",
425
- "scope": "burgantech",
426
- "user": "ozlem"
427
- }
428
- }
429
-
430
- ###
431
- @approverTxLimitId = {{approverTxLimit.response.body.id}}
432
-
433
- ### 5.6 Onaycı ApproveTransaction limitini aktifleştir
434
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{approverTxLimitId}}/transitions/activate?sync=true
435
- Accept-Language: tr-TR
436
- X-Request-Id: {{$guid}}
437
- Content-Type: application/json
438
-
439
- {}
440
-
441
- ###
442
-
443
- ### 5.7 Onaycı bazlı ApproveDaily limiti (approver=ozlem, scope=burgantech)
444
- # @name approverDailyLimit
445
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
446
- Accept-Language: tr-TR
447
- X-Request-Id: {{$guid}}
448
- Content-Type: application/json
449
-
450
- {
451
- "key": "approver-daily-ozlem-burgantech-1-try-{{$timestamp}}",
452
- "tags": ["transaction-limit-definition", "kurumsal", "TRY", "approve-limit"],
453
- "attributes": {
454
- "type": "ApproveDaily",
455
- "currency": "TRY",
456
- "amount": 2000000,
457
- "scopeGroup": "kurumsal",
458
- "scope": "burgantech",
459
- "user": "ozlem"
460
- }
461
- }
462
-
463
- ###
464
- @approverDailyLimitId = {{approverDailyLimit.response.body.id}}
465
-
466
- ### 5.8 Onaycı ApproveDaily limitini aktifleştir
467
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{approverDailyLimitId}}/transitions/activate?sync=true
468
- Accept-Language: tr-TR
469
- X-Request-Id: {{$guid}}
470
- Content-Type: application/json
471
-
472
- {}
473
-
474
- ###
475
-
476
- ### 5.9 SuperUser seviyeli ApproveTransaction limiti (yüksek limit — superuser için)
477
- # @name superUserTxLimit
478
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
479
- Accept-Language: tr-TR
480
- X-Request-Id: {{$guid}}
481
- Content-Type: application/json
482
-
483
- {
484
- "key": "approver-tx-mehmet-burgantech-superuser-try-{{$timestamp}}",
485
- "tags": ["transaction-limit-definition", "kurumsal", "TRY", "approve-limit", "superuser"],
486
- "attributes": {
487
- "type": "ApproveTransaction",
488
- "currency": "TRY",
489
- "amount": 2000000,
490
- "scopeGroup": "kurumsal",
491
- "scope": "burgantech",
492
- "user": "mehmet"
493
- }
494
- }
495
-
496
- ###
497
- @superUserTxLimitId = {{superUserTxLimit.response.body.id}}
498
-
499
- ### 5.10 SuperUser ApproveTransaction limitini aktifleştir
500
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{superUserTxLimitId}}/transitions/activate?sync=true
501
- Accept-Language: tr-TR
502
- X-Request-Id: {{$guid}}
503
- Content-Type: application/json
504
-
505
- {}
506
-
507
- ###
508
-
509
- ###############################################################################
510
- # 6. function-resolve-limit — ONAY LİMİTİ SORGULAMA (ApproveTransaction / ApproveDaily)
511
- # Cascade önceliği (approve tipleri için):
512
- # Önce: user (onaycı) eşleşmesi zorunlu
513
- # Sonra: scopeGroup default (banka fallback)
514
- # NOT: Approve tipleri için "user" parametresi onaycının key'ini taşır.
515
- ###############################################################################
516
-
517
- ### 6.1 Resolve — ozlem için ApproveTransaction limiti (scope=burgantech)
518
- # Beklenen: level=user+scope, amount=500000 (5.5'te tanımlanan user-scope seviyesi kazanır)
519
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{bankApproveTxDefaultId}}/functions/resolve-limit?type=ApproveTransaction&user=ozlem&scope=burgantech&scopeGroup=kurumsal
520
- Accept-Language: tr-TR
521
- X-Request-Id: {{$guid}}
522
-
523
- ###
524
-
525
- ### 6.2 Resolve — bilinmeyen onaycı için ApproveTransaction (banka defaultuna fallback)
526
- # Beklenen: level=scopeGroup(bankDefault), amount=5000000 (5.1'de tanımlanan scopeGroup default)
527
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{bankApproveTxDefaultId}}/functions/resolve-limit?type=ApproveTransaction&user=bilinmeyen-kullanici&scope=burgantech&scopeGroup=kurumsal
528
- Accept-Language: tr-TR
529
- X-Request-Id: {{$guid}}
530
-
531
- ###
532
-
533
- ### 6.3 Resolve — ozlem için ApproveDaily limiti
534
- # Beklenen: level=user+scope, amount=2000000
535
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{bankApproveDailyDefaultId}}/functions/resolve-limit?type=ApproveDaily&user=ozlem&scope=burgantech&scopeGroup=kurumsal
536
- Accept-Language: tr-TR
537
- X-Request-Id: {{$guid}}
538
-
539
- ###
540
-
541
- ### 6.4 Resolve — mehmet için ApproveTransaction limiti
542
- # Beklenen: level=user+scope, amount=2000000
543
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{bankApproveTxDefaultId}}/functions/resolve-limit?type=ApproveTransaction&user=mehmet&scope=burgantech&scopeGroup=kurumsal
544
- Accept-Language: tr-TR
545
- X-Request-Id: {{$guid}}
546
-
547
- ###
548
-
549
- ### 6.5 Resolve — bilinmeyen scope ile ApproveTransaction (kişiye özel yok → banka default)
550
- # ozlem sadece burgantech scope için tanımlı; farklı scope'ta bank default (5000000) fallback devreye girer
551
- # Beklenen: level=scopeGroup(bankDefault), amount=5000000
552
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{bankApproveTxDefaultId}}/functions/resolve-limit?type=ApproveTransaction&user=ozlem&scope=diger-scope&scopeGroup=kurumsal
553
- Accept-Language: tr-TR
554
- X-Request-Id: {{$guid}}
555
-
556
- ###
557
-
558
- ### 6.6 Resolve — limitKey ile ApproveTransaction (scope bazlı EFT onay limiti)
559
- # Önce tanımlamak gerekir; bu istek eğer EFT'e özgü limit tanımlı değilse genel approve limitine fallback eder
560
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{bankApproveTxDefaultId}}/functions/resolve-limit?type=ApproveTransaction&user=ozlem&scope=burgantech&scopeGroup=kurumsal&limitKey=EFT
561
- Accept-Language: tr-TR
562
- X-Request-Id: {{$guid}}
563
-
564
- ###
565
-
566
- ###############################################################################
567
- # 7. CONFLICT → UPDATE (updateOnConflict) — mevcut aktif tanımı yerinde güncelle
568
- #
569
- # Senaryo: önce bir limit direkt AKTİFe geçer (autoActivate). Sonra AYNI
570
- # (scopeGroup/type/limitKey/user/scope) için yeni bir tanım "updateOnConflict=true"
571
- # ile gelir → check-duplicate CONFLICT bulur → mevcut aktif kaydın amount/validFrom/
572
- # validTo'sunu UPDATE eder (aktif kalır). Gelen yeni instance → updated-existing-end.
573
- # scopeGroup-level (user/scope yok) kullanıyoruz → tavan bağımlılığı yok.
574
- ###############################################################################
575
-
576
- ### 7.1 Def #1 — autoActivate ile direkt AKTİF (amount 100000)
577
- # @name updDef1
578
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
579
- Accept-Language: tr-TR
580
- X-Request-Id: {{$guid}}
581
- Content-Type: application/json
582
-
583
- {
584
- "key": "upd-conflict-a-{{$timestamp}}",
585
- "tags": ["transaction-limit-definition", "conflict-update-test"],
586
- "attributes": {
587
- "type": "ApproveDaily",
588
- "limitKey": "EFT",
589
- "currency": "TRY",
590
- "amount": 4000,
591
- "scope":"scope-1",
592
- "user":"ozlem-1",
593
- "scopeGroup": "sg-52",
594
- "validFrom": "2026-01-01T00:00:00Z",
595
- "validTo": "2026-12-31T23:59:59Z",
596
- "autoActivate": true
597
- }
598
- }
599
- ###
600
- @updDef1Id = {{updDef1.response.body.id}}
601
-
602
- ### 7.2 Def #1 state — beklenen: active
603
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{updDef1Id}}/functions/state
604
- Accept-Language: tr-TR
605
- X-Request-Id: {{$guid}}
606
-
607
- ###
608
-
609
- ### 7.3 Def #2 — AYNI (scopeGroup/type/limitKey), amount 150000 + yeni tarihler, updateOnConflict=true
610
- # Beklenen: conflict → update-existing → updated-existing-end (Def #1 update edilir)
611
- # @name updDef2
612
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
613
- Accept-Language: tr-TR
614
- X-Request-Id: {{$guid}}
615
- Content-Type: application/json
616
-
617
- {
618
- "key": "upd-conflict-b-{{$timestamp}}",
619
- "tags": ["transaction-limit-definition", "conflict-update-test"],
620
- "attributes": {
621
- "type": "Daily",
622
- "limitKey": "eft",
623
- "currency": "TRY",
624
- "amount": 150000,
625
- "scope":"scope",
626
- "user":"ozlem",
627
- "scopeGroup": "sg-update-test1",
628
- "validFrom": "2026-06-01T00:00:00Z",
629
- "validTo": "2027-06-01T23:59:59Z",
630
- "autoActivate": true,
631
- "updateOnConflict": true
632
- }
633
- }
634
- ###
635
- @updDef2Id = {{updDef2.response.body.id}}
636
-
637
- ### 7.4 Def #2 state — beklenen: updated-existing-end (yeni kayıt oluşmadı, mevcudu güncelledi)
638
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{updDef2Id}}/functions/state
639
- Accept-Language: tr-TR
640
- X-Request-Id: {{$guid}}
641
-
642
- ###
643
-
644
- ### 7.5 Def #1 data — beklenen: amount=150000 + yeni validFrom/validTo, currentState HÂLÂ active
645
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{updDef1Id}}/functions/data
646
- Accept-Language: tr-TR
647
- X-Request-Id: {{$guid}}
648
-
649
- ###
650
-
651
-
652
- ###############################################################################
653
- # 5. DOWNGRADE — kurum (scope/scopeGroup) limiti düşünce üstte kalan alt limitler pasife alınır
654
- # (check-duplicate → downgrade-limits SubFlow → transaction-limit-definition-passivate → active)
655
- # limitKey Test.Downgrade: paylaşımlı ortamda başkasının kayıtlarına dokunmamak için BENZERSİZ
656
- # Ön koşul: scopeGroup corporate-customers için Test.Downgrade/Daily seed'i (örn. 500.000) aktif
657
- ###############################################################################
658
-
659
- ### 5.0 scopeGroup seed — Test.Downgrade / Daily 500.000 (yoksa)
660
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
661
- Accept-Language: tr-TR
662
- X-Request-Id: {{$guid}}
663
- Content-Type: application/json
664
-
665
- {
666
- "key": "dg-sg-seed-{{$timestamp}}",
667
- "tags": ["transaction-limit-definition", "downgrade-test"],
668
- "attributes": {
669
- "autoActivate": true, "updateOnConflict": true,
670
- "type": "Daily", "limitKey": "Test.Downgrade", "currency": "TRY", "amount": 500000,
671
- "scopeGroup": "corporate-customers"
672
- }
673
- }
674
-
675
- ### 5.1 u1 = 150.000 (firma-dg-1)
676
- # @name dgU1
677
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
678
- Accept-Language: tr-TR
679
- X-Request-Id: {{$guid}}
680
- Content-Type: application/json
681
-
682
- {
683
- "key": "dg-u1-{{$timestamp}}",
684
- "tags": ["transaction-limit-definition", "downgrade-test"],
685
- "attributes": {
686
- "autoActivate": true, "updateOnConflict": true,
687
- "type": "Daily", "limitKey": "Test.Downgrade", "currency": "TRY", "amount": 150000,
688
- "scopeGroup": "corporate-customers", "scope": "firma-dg-1", "user": "dg-user-1"
689
- }
690
- }
691
- ###
692
- @dgU1 = {{dgU1.response.body.id}}
693
-
694
- ### 5.2 u2 = 80.000 (firma-dg-1)
695
- # @name dgU2
696
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
697
- Accept-Language: tr-TR
698
- X-Request-Id: {{$guid}}
699
- Content-Type: application/json
700
-
701
- {
702
- "key": "dg-u2-{{$timestamp}}",
703
- "tags": ["transaction-limit-definition", "downgrade-test"],
704
- "attributes": {
705
- "autoActivate": true, "updateOnConflict": true,
706
- "type": "Daily", "limitKey": "Test.Downgrade", "currency": "TRY", "amount": 80000,
707
- "scopeGroup": "corporate-customers", "scope": "firma-dg-1", "user": "dg-user-2"
708
- }
709
- }
710
- ###
711
- @dgU2 = {{dgU2.response.body.id}}
712
-
713
- ### 5.3 S1 — scope firma-dg-1 = 100.000 → geçmiş: check-duplicate → downgrade-limits → active
714
- # Beklenen: u1 passive (status C), u2 active, data.limitsPassivateInstanceKey dolu (async child completed, passivatedCount=1), downgradeFailed=false
715
- # @name dgScope
716
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
717
- Accept-Language: tr-TR
718
- X-Request-Id: {{$guid}}
719
- Content-Type: application/json
720
-
721
- {
722
- "key": "dg-scope-{{$timestamp}}",
723
- "tags": ["transaction-limit-definition", "downgrade-test"],
724
- "attributes": {
725
- "autoActivate": true, "updateOnConflict": true,
726
- "type": "Daily", "limitKey": "Test.Downgrade", "currency": "TRY", "amount": 100000,
727
- "scopeGroup": "corporate-customers", "scope": "firma-dg-1"
728
- }
729
- }
730
- ###
731
- @dgScope = {{dgScope.response.body.id}}
732
-
733
- ### 5.4 S1 kontrol — scope kaydı data (limitsPassivateInstanceKey dolu; child: passivatedCount=1, passivateFailed=false)
734
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{dgScope}}/functions/data
735
- Accept-Language: tr-TR
736
- X-Request-Id: {{$guid}}
737
-
738
- ### 5.5 S1 kontrol — u1 passive, u2 active
739
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{dgU1}}/functions/state
740
- Accept-Language: tr-TR
741
- X-Request-Id: {{$guid}}
742
-
743
- ###
744
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{dgU2}}/functions/state
745
- Accept-Language: tr-TR
746
- X-Request-Id: {{$guid}}
747
-
748
- ### 5.6 S2 — aynı scope 50.000 (updateOnConflict) → update-existing → downgrade-limits → updated-existing-end
749
- # Beklenen: mevcut scope kaydı amount 50.000 + active; u2 passive
750
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
751
- Accept-Language: tr-TR
752
- X-Request-Id: {{$guid}}
753
- Content-Type: application/json
754
-
755
- {
756
- "key": "dg-scope2-{{$timestamp}}",
757
- "tags": ["transaction-limit-definition", "downgrade-test"],
758
- "attributes": {
759
- "autoActivate": true, "updateOnConflict": true,
760
- "type": "Daily", "limitKey": "Test.Downgrade", "currency": "TRY", "amount": 50000,
761
- "scopeGroup": "corporate-customers", "scope": "firma-dg-1"
762
- }
763
- }
764
-
765
- ### 5.7 S3 — aynı scope 200.000 (yükseltme) → downgrade-limits'e uğrar, downgradedCount=0
766
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
767
- Accept-Language: tr-TR
768
- X-Request-Id: {{$guid}}
769
- Content-Type: application/json
770
-
771
- {
772
- "key": "dg-scope3-{{$timestamp}}",
773
- "tags": ["transaction-limit-definition", "downgrade-test"],
774
- "attributes": {
775
- "autoActivate": true, "updateOnConflict": true,
776
- "type": "Daily", "limitKey": "Test.Downgrade", "currency": "TRY", "amount": 200000,
777
- "scopeGroup": "corporate-customers", "scope": "firma-dg-1"
778
- }
779
- }
780
-
781
- ### 5.8 S4 — user-level 90.000 → check-duplicate → active DOĞRUDAN (geçmişte downgrade-limits YOK)
782
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
783
- Accept-Language: tr-TR
784
- X-Request-Id: {{$guid}}
785
- Content-Type: application/json
786
-
787
- {
788
- "key": "dg-u4-{{$timestamp}}",
789
- "tags": ["transaction-limit-definition", "downgrade-test"],
790
- "attributes": {
791
- "autoActivate": true, "updateOnConflict": true,
792
- "type": "Daily", "limitKey": "Test.Downgrade", "currency": "TRY", "amount": 90000,
793
- "scopeGroup": "corporate-customers", "scope": "firma-dg-1", "user": "dg-user-4"
794
- }
795
- }
796
-
797
- ### 5.9 S5 — scopeGroup 60.000 (updateOnConflict) → scope (200k) VE u4 (90k) birlikte passive
798
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
799
- Accept-Language: tr-TR
800
- X-Request-Id: {{$guid}}
801
- Content-Type: application/json
802
-
803
- {
804
- "key": "dg-sg-{{$timestamp}}",
805
- "tags": ["transaction-limit-definition", "downgrade-test"],
806
- "attributes": {
807
- "autoActivate": true, "updateOnConflict": true,
808
- "type": "Daily", "limitKey": "Test.Downgrade", "currency": "TRY", "amount": 60000,
809
- "scopeGroup": "corporate-customers"
810
- }
811
- }
812
-
813
- ### 5.10 S6 — pasif kayda activate → 4xx (passive FINAL, geçiş yok)
814
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{dgU1}}/transitions/activate?sync=true
815
- Accept-Language: tr-TR
816
- X-Request-Id: {{$guid}}
817
- Content-Type: application/json
818
-
819
- {}
820
-
821
- ###############################################################################
822
- # 6. BANKA TAVANI YOKSA TANIM REDDEDİLİR (no-bank-limit, fail-closed)
823
- #
824
- # check-scope-group-limit artık üç çıkışlı: no-bank-limit (tavan yok) | within (tavan var, aşmıyor) | exceeds (aşıyor).
825
- # Eskiden tavan yoksa "within" sayılıp limit oluşuyordu; definition-verify ile aynı karar: tavanı olmayan ürüne
826
- # user/scope seviyesinde limit tanımlanamaz. ScopeGroup-level (banka) tanımın kendisi bu kontrolden GEÇMEZ (check → check-duplicate).
827
- # LOKAL FIXTURE: scopeGroup=sg-20 için EFT/Daily tavanı 90.000 VAR, EFT/Transaction tavanı YOK.
828
- ###############################################################################
829
-
830
- ### 6.1 Tavansız ürün (EFT/Transaction, scope seviyesinde) → beklenen uç state: no-bank-limit, limitInfo "scopeGroup seviyesinde limit tanımı yok"
831
- # @name noBank
832
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
833
- Accept-Language: tr-TR
834
- X-Request-Id: {{$guid}}
835
- Content-Type: application/json
836
-
837
- {
838
- "key": "nobank-{{$timestamp}}",
839
- "tags": ["transaction-limit-definition", "no-bank-limit-test"],
840
- "attributes": {
841
- "autoActivate": true,
842
- "type": "Transaction", "limitKey": "EFT", "currency": "TRY", "amount": 1000,
843
- "scopeGroup": "sg-20", "scope": "corporate-firm-test"
844
- }
845
- }
846
-
847
- ###
848
- @noBankId = {{noBank.response.body.id}}
849
-
850
- ### 6.2 State — beklenen no-bank-limit (status C)
851
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{noBankId}}/functions/state
852
-
853
- ### 6.3 Kontrol — tavanı olan ürün (EFT/Daily 50.000 ≤ 90.000) hâlâ aktifleşir → beklenen active
854
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
855
- Accept-Language: tr-TR
856
- X-Request-Id: {{$guid}}
857
- Content-Type: application/json
858
-
859
- {
860
- "key": "nobank-ctrl-{{$timestamp}}",
861
- "tags": ["transaction-limit-definition", "no-bank-limit-test"],
862
- "attributes": {
863
- "autoActivate": true, "updateOnConflict": true,
864
- "type": "Daily", "limitKey": "EFT", "currency": "TRY", "amount": 50000,
865
- "scopeGroup": "sg-20", "scope": "corporate-firm-test"
866
- }
867
- }