@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,367 +0,0 @@
1
- ### Variables
2
- ### baseUrl, apiVersion, domain → .vscode/settings.json (rest-client.environmentVariables.$shared)
3
- ### baseUrl: http://localhost:4251 apiVersion: v1 domain: morph-idm
4
- @workflow = get-roles
5
-
6
- ###############################################################################
7
- # get-roles
8
- ###############################################################################
9
- # check-consent-role function'inin flow karsiligi. act_sub (actor/employee), sub
10
- # (subject/customer scope) ve client_id header'larindan aktif consent instance'ini
11
- # bulur; consent bulunamazsa flow consent-not-found-end'e gecip biter (roller hic
12
- # hesaplanmaz). Consent bulunursa scope + scope-group + organization tree'leri
13
- # (position path) + consent.roles + scope.roles hepsi deny-wins mantigiyla
14
- # birlestirilir; sadece grant=allow olan role key'lerinin duz string listesi doner
15
- # (check-consent-role'den fark: tek bir "role" icin authorized true/false donmez,
16
- # tum allow rolleri "roles" altinda toplar).
17
- #
18
- # State zinciri (her lookup kendi state'inde):
19
- # start (transition mapping) header -> instance data (TrxStartConsentContextMapping):
20
- # userName (= act_sub; kurumsalda act_sub != sub ise "act_sub-sub"),
21
- # sub (scope referansi), clientId (= client_id), position (varsa)
22
- # loading-client paylasimli get-client-cached-task + client-get-cached (sys-mappings, REF,
23
- # cache-aside key custom:client:{clientId}, user-login ile ayni girdi) ->
24
- # clientSnapshot (relationalClients dahil) + cacheAside{hit,refreshed};
25
- # bilinmeyen client'ta snapshot olusmaz ve cache'lenmez
26
- # checking-consent search-consent-cached-task + consent-fetch-cached (sys-mappings, REF;
27
- # consent-fetch ile AYNI business, cache-aside key custom:consent:{userName}):
28
- # cache'te kullanicinin tum aktif consent'leri; client.key ∈ {clientId ∪
29
- # relationalClients} (veya client yok) + scope.key filtresi mapping'de uygulanir
30
- # -> consentFound=true + consentSnapshot | consentFound=false + consentMessage,
31
- # + consentCache{hit,refreshed}
32
- # loading-consent-roles consentSnapshot -> consentKey + consentRoles (StateLoadingConsentRolesMapping)
33
- # loading-scope -> loading-scope-group -> loading-organization ->
34
- # loading-organization-by-scope-group -> roles-loaded
35
- #
36
- # CACHE-ASIDE (type 18, TTL 1h, delete-on-write): client + consent + dort lookup state'i cache
37
- # uzerinden okur. Key'ler custom:client:{clientId}, custom:consent:{userName}, custom:scope:{sub}, custom:scope-group:{scopeGroupKey},
38
- # custom:organization:{organizationKey} (iki organization state'i ayni key'i paylasir).
39
- # Her state instance data'ya kendi *Cache{hit,refreshed} alanini yazar:
40
- # cacheAside (client), consentCache, scopeCache, scopeGroupCache, orgScopeTreeCache, orgScopeGroupTreeCache.
41
- # scope/scope-group not-found cache'lenmez; organization'da kayit yok/pasif
42
- # durumu {cachedEmpty:true} marker'i ile cache'lenir (negatif cache, bos agac);
43
- # consent'te bos liste de cache'lenir (consent workflow consent:{user.key}'i siler).
44
- # Invalidasyon: consent auto-consent/configure-consent/passive/reactivate/consent-timeout,
45
- # scope publish/update/passive/reactivate, scope-group
46
- # publish/deactivate/reactivate, organization publish/restructure/add|remove-child/
47
- # add|remove-position-level/deactivate/reactivate -> *-cache-delete-task (type 17).
48
- #
49
- # client_id ZORUNLU (act_sub/sub gibi; eksikse start transition mapping'inde
50
- # start transition mapping ArgumentException). Consent baska bir client'a bagliysa ve o client relationalClients
51
- # icinde degilse consent bulunmaz.
52
- #
53
- # "position" consent kaydindan degil, "position" HEADER'INDAN okunur
54
- # (start transition mapping). Opsiyonel — verilmezse org-tree role inheritance
55
- # (FindPathRoles) hic calismaz, sadece consent.roles + scope.roles merge edilir.
56
- #
57
- # On kosul: check-consent-role.http'deki ile ayni seed veriler (ayni act_sub/sub
58
- # ile eslesen aktif consent — client'i IbWeb veya client'siz —, scope, scope-group,
59
- # organization instance'lari).
60
- ###############################################################################
61
-
62
- ###############################################################################
63
- # SENARYO 1: Consent var — roller merge edilip donuyor
64
- ###############################################################################
65
-
66
- ### 1. Flow'u baslat (sync=true → tamamlanana kadar bekler)
67
- # @name startWithConsent
68
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
69
- Accept-Language: tr-TR
70
- X-Request-Id: {{$guid}}
71
- Content-Type: application/json
72
- act_sub: 41809307440
73
- sub: def-inc
74
- client_id: IbWeb
75
- position: finance-manager
76
-
77
- {
78
- "key": "get-roles-{{$timestamp}}",
79
- "tags": ["test", "get-roles"],
80
- "attributes": {}
81
- }
82
-
83
- ###
84
- @withConsentInstanceId = {{startWithConsent.response.body.id}}
85
-
86
- ### 2. State kontrol — "roles-loaded" final state'inde biter
87
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{withConsentInstanceId}}/functions/state
88
- Accept-Language: tr-TR
89
- X-Request-Id: {{$guid}}
90
-
91
- ### 3. Data kontrol — beklenen: { userName: "41809307440-def-inc", sub: "def-inc", clientId: "IbWeb", position: "finance-manager", clientSnapshot: {...}, consentFound: true, consentSnapshot: {...}, consentKey, consentRoles: [...], scopeFound, scopeGroupKey, ..., found: true, roles: [...] } — roles = consent.roles + finance-manager -> finance-dept -> head-office yolundaki tum roller (idm.transaction-approver, idm.report-viewer, idm.finance-access, idm.office-access, idm.full-authorized, ...), sadece allow olanlar, duz string listesi
92
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{withConsentInstanceId}}/functions/data
93
- Accept-Language: tr-TR
94
- X-Request-Id: {{$guid}}
95
-
96
- ###############################################################################
97
- # SENARYO 1b: Ayni sub ile ikinci kosu — cache HIT, sonuc birebir ayni olmali
98
- ###############################################################################
99
- # SENARYO 1 ilk kosu ise (cache soguk): cacheAside (client) / consentCache / scopeCache / scopeGroupCache /
100
- # orgScopeTreeCache / orgScopeGroupTreeCache hepsi { hit: false, refreshed: true }
101
- # (IbWeb baska bir flow tarafindan zaten cache'lendiyse cacheAside.hit=true olabilir).
102
- # Bu kosuda hepsi { hit: true, refreshed: false } ve "roles" listesi birebir ayni.
103
-
104
- ### 1b. Ayni act_sub/sub ile ikinci kez baslat
105
- # @name startWithConsentCached
106
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
107
- Accept-Language: tr-TR
108
- X-Request-Id: {{$guid}}
109
- Content-Type: application/json
110
- act_sub: 41809307440
111
- sub: def-inc
112
- client_id: IbWeb
113
- position: finance-manager
114
-
115
- {
116
- "key": "get-roles-cached-{{$timestamp}}",
117
- "tags": ["test", "get-roles", "cache-aside"],
118
- "attributes": {}
119
- }
120
-
121
- ###
122
- @cachedInstanceId = {{startWithConsentCached.response.body.id}}
123
-
124
- ### 2b. Data kontrol — beklenen: SENARYO 1 ile birebir ayni roles listesi; cacheAside.hit=true, consentCache.hit=true, scopeCache.hit=true, scopeGroupCache.hit=true, orgScopeTreeCache.hit=true, orgScopeGroupTreeCache.hit=true
125
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{cachedInstanceId}}/functions/data
126
- Accept-Language: tr-TR
127
- X-Request-Id: {{$guid}}
128
-
129
- ###############################################################################
130
- # SENARYO 1c: Organization degisince cache dusmeli (delete-on-write invalidation)
131
- ###############################################################################
132
- # def-inc scope'u corporate-banking-org organization'ina bagli (bkz.
133
- # ../../organization/execute/create-organization-yedek.http). add-child transition'i
134
- # onExecutionTasks ile organization-cache-delete-task'i kosturur ->
135
- # custom:organization:corporate-banking-org silinir. Sonraki get-roles kosusunda
136
- # orgScopeTreeCache.hit=false (MISS, refreshed=true) ve yeni node'un rolleri
137
- # finance-manager yolunda ise "roles" icinde gorunur. Ayni organization key'ini
138
- # paylasan orgScopeGroupTreeCache de ayni kosuda MISS gorur.
139
- @organizationKey = corporate-banking-org
140
-
141
- ### 1c-1. Organization'a yeni bir pozisyon ekle (cache'i dusurur)
142
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/organization/instances/{{organizationKey}}/transitions/add-child?sync=true
143
- Accept-Language: tr-TR
144
- X-Request-Id: {{$guid}}
145
- user_reference: admin-001
146
- Content-Type: application/json
147
-
148
- {
149
- "attributes": {
150
- "parentKey": "finance-dept",
151
- "node": {
152
- "nodeType": "position",
153
- "key": "cache-probe-{{$timestamp}}",
154
- "title": "Cache Probe",
155
- "positionLevel": "observer",
156
- "roles": [
157
- { "role": "idm.cache-probe", "grant": "allow" }
158
- ]
159
- }
160
- }
161
- }
162
-
163
- ### 1c-2. get-roles'u tekrar baslat
164
- # @name startAfterOrgChange
165
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
166
- Accept-Language: tr-TR
167
- X-Request-Id: {{$guid}}
168
- Content-Type: application/json
169
- act_sub: 41809307440
170
- sub: def-inc
171
- client_id: IbWeb
172
- position: finance-manager
173
-
174
- {
175
- "key": "get-roles-after-org-change-{{$timestamp}}",
176
- "tags": ["test", "get-roles", "cache-aside"],
177
- "attributes": {}
178
- }
179
-
180
- ###
181
- @afterOrgChangeInstanceId = {{startAfterOrgChange.response.body.id}}
182
-
183
- ### 1c-3. Data kontrol — beklenen: orgScopeTreeCache { hit: false, refreshed: true }; scopeCache ve scopeGroupCache hala hit=true (dokunulmadi)
184
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{afterOrgChangeInstanceId}}/functions/data
185
- Accept-Language: tr-TR
186
- X-Request-Id: {{$guid}}
187
-
188
- ###############################################################################
189
- # SENARYO 1d: Pasif organization — bos sonuc da cache'lenir (negatif cache)
190
- ###############################################################################
191
- # deactivate -> cache silinir; get-roles -> source pasif org gorur, {cachedEmpty:true}
192
- # cache'lenir, orgScopeTreeFound=false ve agac bos, hit=false. Ikinci kosuda hit=true
193
- # ve agac yine bos (org-tree rolleri "roles" icinde YOK). reactivate -> cache silinir;
194
- # sonraki kosuda hit=false ve agac tekrar dolu.
195
-
196
- ### 1d-1. Organization'i pasife al
197
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/organization/instances/{{organizationKey}}/transitions/deactivate?sync=true
198
- Accept-Language: tr-TR
199
- X-Request-Id: {{$guid}}
200
- user_reference: admin-001
201
- Content-Type: application/json
202
-
203
- {
204
- "attributes": {}
205
- }
206
-
207
- ### 1d-2. get-roles — beklenen: orgScopeTreeFound=false, orgScopeTreeCache.hit=false
208
- # @name startOrgPassiveMiss
209
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
210
- Accept-Language: tr-TR
211
- X-Request-Id: {{$guid}}
212
- Content-Type: application/json
213
- act_sub: 41809307440
214
- sub: def-inc
215
- client_id: IbWeb
216
- position: finance-manager
217
-
218
- {
219
- "key": "get-roles-org-passive-miss-{{$timestamp}}",
220
- "tags": ["test", "get-roles", "cache-aside"],
221
- "attributes": {}
222
- }
223
-
224
- ### 1d-3. get-roles tekrar — beklenen: orgScopeTreeFound=false, orgScopeTreeCache.hit=true (bos sonuc cache'ten geldi)
225
- # @name startOrgPassiveHit
226
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
227
- Accept-Language: tr-TR
228
- X-Request-Id: {{$guid}}
229
- Content-Type: application/json
230
- act_sub: 41809307440
231
- sub: def-inc
232
- client_id: IbWeb
233
- position: finance-manager
234
-
235
- {
236
- "key": "get-roles-org-passive-hit-{{$timestamp}}",
237
- "tags": ["test", "get-roles", "cache-aside"],
238
- "attributes": {}
239
- }
240
-
241
- ###
242
- @orgPassiveHitInstanceId = {{startOrgPassiveHit.response.body.id}}
243
-
244
- ### 1d-4. Data kontrol
245
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{orgPassiveHitInstanceId}}/functions/data
246
- Accept-Language: tr-TR
247
- X-Request-Id: {{$guid}}
248
-
249
- ### 1d-5. Organization'i tekrar aktive et (negatif girdi silinir)
250
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/organization/instances/{{organizationKey}}/transitions/reactivate?sync=true
251
- Accept-Language: tr-TR
252
- X-Request-Id: {{$guid}}
253
- user_reference: admin-001
254
- Content-Type: application/json
255
-
256
- {
257
- "attributes": {}
258
- }
259
-
260
- ### 1d-6. get-roles — beklenen: orgScopeTreeFound=true, orgScopeTreeCache.hit=false, roles tekrar dolu
261
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
262
- Accept-Language: tr-TR
263
- X-Request-Id: {{$guid}}
264
- Content-Type: application/json
265
- act_sub: 41809307440
266
- sub: def-inc
267
- client_id: IbWeb
268
- position: finance-manager
269
-
270
- {
271
- "key": "get-roles-org-reactivated-{{$timestamp}}",
272
- "tags": ["test", "get-roles", "cache-aside"],
273
- "attributes": {}
274
- }
275
-
276
- ###############################################################################
277
- # SENARYO 2: Eslesen aktif consent yok — flow hemen biter, roller hesaplanmaz
278
- ###############################################################################
279
-
280
- ### 4. Flow'u baslat (act_sub/sub eslesen bir consent'e denk gelmiyor)
281
- # @name startWithoutConsent
282
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
283
- Accept-Language: tr-TR
284
- X-Request-Id: {{$guid}}
285
- Content-Type: application/json
286
- act_sub: no-such-employee
287
- sub: no-such-customer
288
- client_id: IbWeb
289
-
290
- {
291
- "key": "get-roles-no-consent-{{$timestamp}}",
292
- "tags": ["test", "get-roles"],
293
- "attributes": {}
294
- }
295
-
296
- ###
297
- @withoutConsentInstanceId = {{startWithoutConsent.response.body.id}}
298
-
299
- ### 5. State kontrol — beklenen: "consent-not-found-end" (loading-consent-roles ve sonraki state'ler hic calismadi). Data'da consentCache{hit,refreshed}: bos liste de cache'lendigi icin ayni act_sub/sub ile ikinci kosuda hit=true
300
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{withoutConsentInstanceId}}/functions/state
301
- Accept-Language: tr-TR
302
- X-Request-Id: {{$guid}}
303
-
304
- ### 6. Data kontrol — beklenen: { userName: "no-such-employee-no-such-customer", sub: "no-such-customer", clientId: "IbWeb", clientSnapshot: {...}, consentFound: false, consentMessage: "..." }; consentSnapshot/consentKey/consentRoles/roles alanlari YOK
305
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{withoutConsentInstanceId}}/functions/data
306
- Accept-Language: tr-TR
307
- X-Request-Id: {{$guid}}
308
-
309
- ###############################################################################
310
- # SENARYO 3: Consent var ama client_id farkli — client filtresi consent'i eler
311
- ###############################################################################
312
-
313
- ### 7. Ayni act_sub/sub, consent'in client'i olmayan ve relationalClients'inda bulunmayan bir client_id
314
- # @name startOtherClient
315
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
316
- Accept-Language: tr-TR
317
- X-Request-Id: {{$guid}}
318
- Content-Type: application/json
319
- act_sub: 41809307440
320
- sub: def-inc
321
- client_id: no-such-client
322
- position: finance-manager
323
-
324
- {
325
- "key": "get-roles-other-client-{{$timestamp}}",
326
- "tags": ["test", "get-roles"],
327
- "attributes": {}
328
- }
329
-
330
- ###
331
- @otherClientInstanceId = {{startOtherClient.response.body.id}}
332
-
333
- ### 8. State kontrol — beklenen: "consent-not-found-end" (client'siz legacy consent varsa "roles-loaded" olabilir — isNull dali)
334
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{otherClientInstanceId}}/functions/state
335
- Accept-Language: tr-TR
336
- X-Request-Id: {{$guid}}
337
-
338
- ###############################################################################
339
- # Hata senaryolari — zorunlu header eksik (TrxStartConsentContextMapping,
340
- # start transition mapping'inde ArgumentException firlatir, instance olusmaz)
341
- ###############################################################################
342
-
343
- ### 9. act_sub/sub/client_id header'lari olmadan baslat
344
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
345
- Accept-Language: tr-TR
346
- X-Request-Id: {{$guid}}
347
- Content-Type: application/json
348
-
349
- {
350
- "key": "get-roles-no-headers-{{$timestamp}}",
351
- "tags": ["test", "get-roles"],
352
- "attributes": {}
353
- }
354
-
355
- ### 10. client_id olmadan baslat (act_sub/sub var)
356
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
357
- Accept-Language: tr-TR
358
- X-Request-Id: {{$guid}}
359
- Content-Type: application/json
360
- act_sub: 41809307440
361
- sub: def-inc
362
-
363
- {
364
- "key": "get-roles-no-client-{{$timestamp}}",
365
- "tags": ["test", "get-roles"],
366
- "attributes": {}
367
- }
@@ -1,69 +0,0 @@
1
- ### Variables
2
- @workflow = introspection
3
- @baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
4
-
5
- #############################################
6
- # 1) client_credentials (M2M)
7
- # waiting-redeem -> cc-route -> validate-client -> client-valid-cc -> mint-token -> issued
8
- #############################################
9
- # @name token
10
-
11
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/token/instances/start?sync=true
12
- Content-Type: application/json
13
-
14
- {
15
- "key": "token-cc-{{$guid}}",
16
- "tags": ["test", "oauth2", "client-credentials"],
17
- "attributes": {
18
- "clientId": "IbWeb",
19
- "clientSecret": "3ada10ef-c396-471f-992e-ba5a9160a2be",
20
- "grantType": "client_credentials"
21
- }
22
- }
23
- ###
24
-
25
- @accessToken = eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiZDc5YTE1Ni00NDNkLTQ3Y2QtYjE4NC03YzAzYmE0MDlhZmUiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZ3JhbnRfdHlwZSI6ImF1dGhvcml6YXRpb25fY29kZSIsInN1YiI6IjEwMDE0MDYzNjU2IiwiYWN0X3N1YiI6IjEwMDE0MDYzNjU2IiwiYWN0X3VpZCI6ImIyOGYxZjA2LTFhZTgtNDkwNy1hNjk3LTZkMWMwZjRmMWIxOCIsImNsaWVudF9pZCI6IkliSW9zQXBwIiwic2NvcGUiOiIxMDAxNDA2MzY1NiIsInNpZCI6IjJjZmY1MTZlLWJjZDMtNGFmMS04YTY4LTExZDVmZTIwN2MxOSIsImFtciI6Im1mYSIsImlkIjoiYmQ3OWExNTYtNDQzZC00N2NkLWIxODQtN2MwM2JhNDA5YWZlIiwiYWNyIjoiciIsInVzZXJJZCI6ImIyOGYxZjA2LTFhZTgtNDkwNy1hNjk3LTZkMWMwZjRmMWIxOCIsImlhdCI6MTc5NDM5NzM3OCwibmJmIjoxNzk0Mzk3Mzc4LCJsb2dpbl9zb3VyY2UiOiJ3b3JrZmxvdyIsImVtYWlsIjoibnNpbmFyQGJ1cmdhbi5jb20udHIiLCJwaG9uZV9udW1iZXIiOiI5MDUzOTM4MTE2MjMiLCJmYW1pbHlfbmFtZSI6IlNpbmFyIiwidXBwZXJjYXNlX25hbWUiOiJOxLBMIiwidXBwZXJjYXNlX3N1cm5hbWUiOiJTxLBOQVIiLCJnaXZlbl9uYW1lIjoiTmlsIEphc21pbiIsImJ1c2luZXNzX2xpbmUiOiJYIiwiY3VzdG9tZXJfbm8iOiIxMDAxNDA2MzY1NiIsImlzQmFua1BlcnNvbmVsIjoidHJ1ZSIsInVzZXJuYW1lIjoiMTAwMTQwNjM2NTYiLCJuYW1lIjoiMTAwMTQwNjM2NTYiLCJ1c2VyLnJlZmVyZW5jZSI6IjEwMDE0MDYzNjU2IiwiY3JlZGVudGlhbHMiOlsiSXNBbm9ueW1vdXMjIyMxIiwiSXNJbnRlcm5ldEN1c3RvbWVyIyMjMSJdLCJjb25zdF92YWwiOiJ4eXoiLCJleHAiOjE3OTQzOTc5NzgsImlzcyI6IkJ1cmdhbklhbSIsImF1ZCI6IkliSW9zQXBwIn0.sk247oKGKJNad3g8QghE04G_X4esIZxNGCMohAvsQatKDCoejRxfh7pbTcpOFyunCPG8A-I_nTsGaAID71IdKMmWhv1ZJ5Y-g1hY6kfWBS8bSW8gtZS3l5CF-1XusrQBovrPHwl178ChMkNuV3F_j6kVSJgioP6dhb3F_Pbl_Ab7n2VTOJh_Uc86gC5iKY9QvZVlSQ8HYkJ9sTk_RJ2jIfqUZDM9GhUjql5zStFW6-16vol9lKuRuaP4xyhxwkKMp372nTjW6YRRAuKMTM6giynMZxjBRZgC6VuJ0xwZadOWVzER3gVihFDp3OY2AJNmeDZSh2kTeQAdT19WDcoo9w
26
- #{{token.response.body.access_token}}
27
-
28
- ### Check Introspection
29
- # @name introspection
30
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
31
- Accept-Language: tr-TR
32
- Accept-ll: tr-TR12512512512
33
- x-request-id: {{$guid}}
34
- x-deviceid: device-iphone-12-john
35
- x-tokenid: {{$guid}}
36
- x-Device-Info: Mobile Banking App iOS/2.0
37
- x-Forwarded-For: 192.168.1.100
38
- user_reference: 12345678900
39
- act_sub: 123
40
- sub:123
41
- ActorUserId: 124
42
- UserName: 142
43
- Content-Type: application/x-www-form-urlencoded
44
-
45
- token={{accessToken}}
46
-
47
- ###
48
- @instanceId = {{introspection.response.body.id}}
49
-
50
-
51
- ### Check Introspection Instance State
52
- # @name checkIntrospectionState
53
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
54
- Accept-Language: tr-TR
55
- X-Request-Id: {{$guid}}
56
- X-Device-Id: {{$guid}}
57
- X-Token-Id: {{$guid}}
58
- user_reference: 12345678900
59
-
60
- @ivrInstanceId = {{getThirdFactorInstanceState.response.body.activeCorrelations[0].subFlowInstanceId}}
61
-
62
- ### Check Introspection Instance State Data
63
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
64
- Accept-Language: tr-TR
65
- X-Request-Id: {{$guid}}
66
- X-Device-Id: {{$guid}}
67
- X-Token-Id: {{$guid}}
68
- user_reference: 12345678900
69
-
@@ -1,55 +0,0 @@
1
- @workflow = ivr-check-password-dodge
2
-
3
- ### Check Password for Ivr
4
- # @name checkPassword
5
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
6
- Accept-Language: tr-TR
7
- Accept-ll: tr-TR12512512512
8
- x-request-id: {{$guid}}
9
- x-deviceid: device-iphone-12-john
10
- x-tokenid: {{$guid}}
11
- x-Device-Info: Mobile Banking App iOS/2.0
12
- x-Forwarded-For: 192.168.1.100
13
- user_reference: 12345678900
14
- act_sub: 123
15
- sub:123
16
- ActorUserId: 124
17
- UserName: 142
18
- Content-Type: application/json
19
-
20
- {
21
- "key": "{{$guid}}",
22
- "tags": [
23
- "test",
24
- "login",
25
- "2fa",
26
- "ivr"
27
- ],
28
- "attributes": {
29
- "user" : "56887279732",
30
- "password": "112233"
31
- }
32
- }
33
-
34
- ###
35
- @instanceId = {{checkPassword.response.body.id}}
36
-
37
-
38
- ### Get Check User Instance State
39
- # @name checkUserState
40
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
41
- Accept-Language: tr-TR
42
- X-Request-Id: {{$guid}}
43
- X-Device-Id: {{$guid}}
44
- X-Token-Id: {{$guid}}
45
- user_reference: 12345678900
46
-
47
-
48
- ### Get Third Factor Instance Data
49
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
50
- Accept-Language: tr-TR
51
- X-Request-Id: {{$guid}}
52
- X-Device-Id: {{$guid}}
53
- X-Token-Id: {{$guid}}
54
- user_reference: 12345678900
55
-
@@ -1,56 +0,0 @@
1
- ### Variables
2
- @workflow = ivr-check-user
3
-
4
- ### Check User for Ivr
5
- # @name checkUser
6
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
7
- Accept-Language: tr-TR
8
- Accept-ll: tr-TR12512512512
9
- x-request-id: {{$guid}}
10
- x-deviceid: device-iphone-12-john
11
- x-tokenid: {{$guid}}
12
- x-Device-Info: Mobile Banking App iOS/2.0
13
- x-Forwarded-For: 192.168.1.100
14
- user_reference: 12345678900
15
- act_sub: 123
16
- sub:123
17
- ActorUserId: 124
18
- UserName: 142
19
- Content-Type: application/json
20
-
21
- {
22
- "key": "{{$guid}}",
23
- "tags": [
24
- "test",
25
- "login",
26
- "2fa",
27
- "ivr"
28
- ],
29
- "attributes": {
30
- "user" : "41194238114"
31
- }
32
- }
33
-
34
- ###
35
- @instanceId = {{checkUser.response.body.id}}
36
-
37
-
38
- ### Get Check User Instance State
39
- # @name checkUserState
40
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
41
- Accept-Language: tr-TR
42
- X-Request-Id: {{$guid}}
43
- X-Device-Id: {{$guid}}
44
- X-Token-Id: {{$guid}}
45
- user_reference: 12345678900
46
-
47
- @ivrInstanceId = {{getThirdFactorInstanceState.response.body.activeCorrelations[0].subFlowInstanceId}}
48
-
49
- ### Get Third Factor Instance Data
50
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
51
- Accept-Language: tr-TR
52
- X-Request-Id: {{$guid}}
53
- X-Device-Id: {{$guid}}
54
- X-Token-Id: {{$guid}}
55
- user_reference: 12345678900
56
-
@@ -1,59 +0,0 @@
1
- ### Variables
2
- @workflow = ivr-create-agent-consent
3
-
4
- ### Create Agent Consent for Ivr
5
- # @name createAgent
6
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
7
- Accept-Language: tr-TR
8
- Accept-ll: tr-TR12512512512
9
- x-request-id: {{$guid}}
10
- x-deviceid: device-iphone-12-john
11
- x-tokenid: {{$guid}}
12
- x-Device-Info: Mobile Banking App iOS/2.0
13
- x-Forwarded-For: 192.168.1.100
14
- user_reference: 12345678900
15
- act_sub: 123
16
- sub:123
17
- ActorUserId: 124
18
- UserName: 142
19
- Content-Type: application/json
20
-
21
- {
22
- "attributes": {
23
- "sub": "57442568506",
24
- "additionalData": "{\"CallUuid\": \"4417674229644176742296441767646444444\"}",
25
- "roleId": "d73192cd-de86-4359-840f-071c99ce927d",
26
- "lastValidAccessDate": "2026-09-30T10:30:28.827Z",
27
- "agentUserName" : "21029676182"
28
- }
29
- }
30
-
31
- ###
32
- @consentId = {{createAgent.response.body.attributes.consentCreateResult.consentId}}
33
-
34
- ### Create Auth Code For Consent for Ivr
35
- # @name createAuthCode
36
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/ivr-create-auth-code/instances/start?sync=true
37
- Accept-Language: tr-TR
38
- Accept-ll: tr-TR12512512512
39
- x-request-id: {{$guid}}
40
- x-deviceid: device-iphone-12-john
41
- x-tokenid: {{$guid}}
42
- x-Device-Info: Mobile Banking App iOS/2.0
43
- x-Forwarded-For: 192.168.1.100
44
- user_reference: 12345678900
45
- act_sub: 123
46
- sub:123
47
- ActorUserId: 124
48
- UserName: 142
49
- Content-Type: application/json
50
-
51
- {
52
- "attributes": {
53
- "agentUserName" : "21029676182",
54
- "consentId" : "{{consentId}}",
55
- "state":"{{$guid}}"
56
- }
57
- }
58
-
59
- ###
@@ -1,30 +0,0 @@
1
- ### Variables
2
- @workflow = ivr-get-agent-company
3
-
4
- ### Check Agent for Ivr
5
- # @name checkAgent
6
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
7
- Accept-Language: tr-TR
8
- Accept-ll: tr-TR12512512512
9
- x-request-id: {{$guid}}
10
- x-deviceid: device-iphone-12-john
11
- x-tokenid: {{$guid}}
12
- x-Device-Info: Mobile Banking App iOS/2.0
13
- x-Forwarded-For: 192.168.1.100
14
- user_reference: 12345678900
15
- act_sub: 123
16
- sub:123
17
- ActorUserId: 124
18
- UserName: 142
19
- Content-Type: application/json
20
-
21
- {
22
- "attributes": {
23
- "agentUserName" : "21029676182"
24
- }
25
- }
26
-
27
-
28
- ###
29
-
30
-
@@ -1,30 +0,0 @@
1
- ### Variables
2
- @workflow = ivr-revoke-agent-consent
3
-
4
- ### Revoke Agent Consent for Ivr
5
- # @name revokeAgent
6
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
7
- Accept-Language: tr-TR
8
- Accept-ll: tr-TR12512512512
9
- x-request-id: {{$guid}}
10
- x-deviceid: device-iphone-12-john
11
- x-tokenid: {{$guid}}
12
- x-Device-Info: Mobile Banking App iOS/2.0
13
- x-Forwarded-For: 192.168.1.100
14
- user_reference: 12345678900
15
- act_sub: 123
16
- sub:123
17
- ActorUserId: 124
18
- UserName: 142
19
- Content-Type: application/json
20
-
21
- {
22
- "attributes": {
23
- "agentUserName" : "21029676182"
24
- }
25
- }
26
-
27
-
28
- ###
29
-
30
-