@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.
- package/burgan-tech-morph-idm-runtime-0.0.7.tgz +0 -0
- package/morph-idm/Workflows/test-consent-selection/test-flow-with-sub.json +1 -1
- package/morph-idm/Workflows/test-consent-selection/test-flow-with-two-sub.json +2 -2
- package/morph-idm/Workflows/token-process/token/src/mappings/StateMintTokenCallSessionStartMapping.csx +8 -33
- package/morph-idm/Workflows/token-process/token/token.json +1 -1
- package/package.json +1 -1
- package/vnext.config.json +1 -1
- package/burgan-tech-morph-idm-runtime-0.0.6.tgz +0 -0
- package/morph-idm/Extensions/.gitkeep +0 -0
- package/morph-idm/Functions/.gitkeep +0 -0
- package/morph-idm/Functions/cert/check/execute/check.http +0 -106
- package/morph-idm/Functions/consent/check-consent-role/execute/check-consent-role.http +0 -89
- package/morph-idm/Functions/consent/get-consent-role-position/execute/get-consent-role-position.http +0 -55
- package/morph-idm/Functions/consent/get-position/execute/get-position.http +0 -38
- package/morph-idm/Functions/consent/get-roles/execute/get-roles.http +0 -163
- package/morph-idm/Functions/customer/execute/get-customer-by-filter.http +0 -126
- package/morph-idm/Functions/customer-management/get-firms-by-filter/execute/get-firms-by-filter.http +0 -91
- package/morph-idm/Functions/device-process/forget/execute/forget.http +0 -141
- package/morph-idm/Functions/device-process/get-device-list/execute/get-device-list.http +0 -138
- package/morph-idm/Functions/device-process/get-device-token-by-reference/execute/get-device-token-by-reference.http +0 -349
- package/morph-idm/Functions/device-process/remove/execute/remove.http +0 -150
- package/morph-idm/Functions/device-process/save/execute/save.http +0 -124
- package/morph-idm/Functions/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Functions/feature-management/dynamic-config/execute/dynamic-config-reads.http +0 -43
- package/morph-idm/Functions/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Functions/feature-management/feature-management-ops/.gitkeep +0 -0
- package/morph-idm/Functions/organization/get-organizations/execute/get-organizations.http +0 -30
- package/morph-idm/Functions/organization/get-position-levels-by-scope/execute/get-position-levels-by-scope.http +0 -54
- package/morph-idm/Functions/session/logout/execute/logout.http +0 -91
- package/morph-idm/Functions/sso-flow/execute/session-transfer.http +0 -132
- package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct-boarding.http +0 -222
- package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct.http +0 -121
- package/morph-idm/Functions/transaction-limit/verify-limit-definition/execute/verify-limit-definition.http +0 -78
- package/morph-idm/Functions/user/execute/get-password-history-by-filter.http +0 -66
- package/morph-idm/Functions/user/execute/get-security-question-history-by-user.http +0 -85
- package/morph-idm/Functions/user/get-users-by-scope/execute/get-users-by-scope.http +0 -73
- package/morph-idm/Functions/user-login/get-last-successful-corporate-logon/execute/get-last-successful-corporate-logon.http +0 -49
- package/morph-idm/Functions/user-login/get-last-user-logins/execute/get-last-user-logins.http +0 -96
- package/morph-idm/Functions/user-login/get-user-logins/execute/get-user-logins.http +0 -78
- package/morph-idm/Functions/zeebe-approval/get-starter-instance-id/execute/get-starter-instance-id.http +0 -64
- package/morph-idm/Schemas/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Schemas/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Schemas/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Tasks/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/feature-management-shared/.gitkeep +0 -0
- package/morph-idm/TestCases/corporate-user-login-e2e.http +0 -872
- package/morph-idm/TestCases/limit-approval/approval-matrix-limit-definition.http +0 -182
- package/morph-idm/TestCases/limit-approval/approval-non-amount-subflow.http +0 -132
- package/morph-idm/TestCases/limit-approval/transaction-limit-definition-approval.http +0 -95
- package/morph-idm/TestCases/limit-definition/README.md +0 -130
- package/morph-idm/TestCases/limit-definition/approve-transaction.http +0 -149
- package/morph-idm/TestCases/limit-definition/approve.http +0 -143
- package/morph-idm/TestCases/limit-definition/daily-limit-definition.http +0 -399
- package/morph-idm/TestCases/limit-definition/transaction-limit-definition.http +0 -240
- package/morph-idm/TestCases/session-transfer-e2e.http +0 -344
- package/morph-idm/TestCases/session-transfer-e2e.sh +0 -272
- package/morph-idm/TestCases/sort-migration-verification.http +0 -428
- package/morph-idm/TestCases/test-123/.httpyac.json +0 -15
- package/morph-idm/TestCases/test-123/01-person.http +0 -78
- package/morph-idm/TestCases/test-123/02-user.http +0 -73
- package/morph-idm/TestCases/test-123/03-scope.http +0 -65
- package/morph-idm/TestCases/test-123/04-consent.http +0 -66
- package/morph-idm/TestCases/test-123/05-device.http +0 -86
- package/morph-idm/TestCases/test-123/06-user-login.http +0 -206
- package/morph-idm/TestCases/test-123/README.md +0 -112
- package/morph-idm/TestCases/test-123/cleanup.js +0 -49
- package/morph-idm/TestCases/test-123/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-123/cleanup.sql +0 -45
- package/morph-idm/TestCases/test-123/http-client.env.json +0 -13
- package/morph-idm/TestCases/test-123/run-setup.sh +0 -42
- package/morph-idm/TestCases/test-12345/.httpyac.json +0 -16
- package/morph-idm/TestCases/test-12345/01-person.http +0 -79
- package/morph-idm/TestCases/test-12345/02-01-device-android.http +0 -258
- package/morph-idm/TestCases/test-12345/02-user.http +0 -97
- package/morph-idm/TestCases/test-12345/03-scope-2.http +0 -65
- package/morph-idm/TestCases/test-12345/03-scope.http +0 -65
- package/morph-idm/TestCases/test-12345/04-consent-1.http +0 -86
- package/morph-idm/TestCases/test-12345/04-consent-2.http +0 -66
- package/morph-idm/TestCases/test-12345/05-device.http +0 -261
- package/morph-idm/TestCases/test-12345/06-user-login copy.http +0 -266
- package/morph-idm/TestCases/test-12345/06-user-login.http +0 -266
- package/morph-idm/TestCases/test-12345/07-corporate-login.http +0 -282
- package/morph-idm/TestCases/test-auto-consent/.httpyac.json +0 -14
- package/morph-idm/TestCases/test-auto-consent/01-person.http +0 -66
- package/morph-idm/TestCases/test-auto-consent/02-user.http +0 -115
- package/morph-idm/TestCases/test-auto-consent/03-scope.http +0 -66
- package/morph-idm/TestCases/test-auto-consent/04-device.http +0 -56
- package/morph-idm/TestCases/test-auto-consent/05-user-login.http +0 -133
- package/morph-idm/TestCases/test-auto-consent/README.md +0 -36
- package/morph-idm/TestCases/test-auto-consent/cleanup.js +0 -47
- package/morph-idm/TestCases/test-auto-consent/run-setup.sh +0 -50
- package/morph-idm/TestCases/test-flows/test-flow-with-two-sub.http +0 -107
- package/morph-idm/TestCases/test-get-user-info/.httpyac.json +0 -9
- package/morph-idm/TestCases/test-get-user-info/get-user-info-ibweb-manual.http +0 -127
- package/morph-idm/TestCases/test-get-user-info/get-user-info.http +0 -282
- package/morph-idm/TestCases/test-login/.httpyac.json +0 -17
- package/morph-idm/TestCases/test-login/01-person.http +0 -79
- package/morph-idm/TestCases/test-login/02-01-device-android.http +0 -261
- package/morph-idm/TestCases/test-login/02-user.http +0 -97
- package/morph-idm/TestCases/test-login/03-scope.http +0 -65
- package/morph-idm/TestCases/test-login/04-consent-1.http +0 -86
- package/morph-idm/TestCases/test-login/05-device.http +0 -261
- package/morph-idm/TestCases/test-login/06-user-login copy.http +0 -266
- package/morph-idm/TestCases/test-login/06-user-login.http +0 -266
- package/morph-idm/TestCases/test-login/07-corporate-login.http +0 -282
- package/morph-idm/TestCases/test-login/README.md +0 -37
- package/morph-idm/TestCases/test-login/cleanup.js +0 -46
- package/morph-idm/TestCases/test-login/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-login/run-setup.sh +0 -53
- package/morph-idm/TestCases/test-onefa-corporate/device-key.pem +0 -27
- package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-cert-management.http +0 -156
- package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-login-cert-token.http +0 -371
- package/morph-idm/TestCases/test-onefa-retail/onefa-retail-login-cert-token.http +0 -499
- package/morph-idm/TestCases/test-third-factor/.httpyac.json +0 -36
- package/morph-idm/TestCases/test-third-factor/lib/httpyac.sh +0 -35
- package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.js +0 -42
- package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.sh +0 -20
- package/morph-idm/TestCases/test-third-factor/scenarios/1-self-completed.sh +0 -25
- package/morph-idm/TestCases/test-third-factor/scenarios/2-native-without-device.sh +0 -34
- package/morph-idm/TestCases/test-third-factor/scenarios/3-native-wrong-otp.sh +0 -34
- package/morph-idm/TestCases/test-third-factor/scenarios/4-native-success-otp-after-wrong-otp.sh +0 -46
- package/morph-idm/TestCases/test-third-factor/scenarios/5-retry-count-exceed.sh +0 -37
- package/morph-idm/TestCases/test-third-factor/scenarios/http/06-third-factor-native-with-device.http +0 -56
- package/morph-idm/TestCases/test-third-factor/scenarios/http/07-third-factor-native-without-device.http +0 -91
- package/morph-idm/TestCases/test-third-factor/scenarios/http/08-third-factor-web-with-device.http +0 -117
- package/morph-idm/TestCases/test-third-factor/scenarios/http/09-third-factor-web-without-device.http +0 -164
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-after-resend.sh +0 -50
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-resend-after-timeout-otp.sh +0 -50
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-timeout-otp.sh +0 -48
- package/morph-idm/TestCases/test-third-factor/setup/01-person.http +0 -157
- package/morph-idm/TestCases/test-third-factor/setup/02-user.http +0 -105
- package/morph-idm/TestCases/test-third-factor/setup/03-device.http +0 -70
- package/morph-idm/TestCases/test-third-factor/setup/04-native-client.http +0 -126
- package/morph-idm/TestCases/test-third-factor/setup/05-web-client.http +0 -126
- package/morph-idm/TestCases/test-third-factor/setup/cleanup.js +0 -51
- package/morph-idm/TestCases/test-third-factor/setup/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-third-factor/setup/run-setup.sh +0 -34
- package/morph-idm/TestCases/token-mint-parity/RESULT.md +0 -48
- package/morph-idm/TestCases/token-sync-race.sh +0 -72
- package/morph-idm/TestCases/user-login-apisix.postman_collection.json +0 -1114
- package/morph-idm/TestCases/user-login-boweb-e2e.http +0 -123
- package/morph-idm/TestCases/user-login-e2e.http +0 -730
- package/morph-idm/TestCases/user-login-e2e.sh +0 -122
- package/morph-idm/Views/.gitkeep +0 -0
- package/morph-idm/Workflows/.gitkeep +0 -0
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-change/execute/anti-phishing-image.http +0 -370
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/anti-phishing-image-definition.http +0 -200
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/get-security-images.http +0 -51
- package/morph-idm/Workflows/approval/execute/approval-corporate-customers-non-amount.http +0 -159
- package/morph-idm/Workflows/approval/execute/approval-corporate-customers-time-deposit.http +0 -147
- package/morph-idm/Workflows/approval/execute/approval-human-task-mobile.http +0 -149
- package/morph-idm/Workflows/approval/execute/approval-limit-management.http +0 -277
- package/morph-idm/Workflows/approval/execute/approval-new-reject.http +0 -67
- package/morph-idm/Workflows/approval/execute/approval-new.http +0 -999
- package/morph-idm/Workflows/approval/execute/approval-super-authority.http +0 -158
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-non-amount.http +0 -70
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-time-deposit.http +0 -74
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-migrate-position-levels.http +0 -295
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-new-run.http +0 -296
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-upsert-super-authorization.http +0 -129
- package/morph-idm/Workflows/cert/execute/cert-cn-length.http +0 -90
- package/morph-idm/Workflows/cert/execute/cert.http +0 -162
- package/morph-idm/Workflows/cert-management/execute/cert-management.http +0 -90
- package/morph-idm/Workflows/channel-contract/execute/channel-contract-approval.http +0 -246
- package/morph-idm/Workflows/client/execute/client-AmorphieClient.http +0 -118
- package/morph-idm/Workflows/client/execute/client-IbWeb-session-transfer.http +0 -35
- package/morph-idm/Workflows/client/execute/client-OpenBanking.http +0 -411
- package/morph-idm/Workflows/client/execute/client-Trade.http +0 -112
- package/morph-idm/Workflows/client/execute/client-source-app.http +0 -88
- package/morph-idm/Workflows/client/execute/client-update.http +0 -795
- package/morph-idm/Workflows/client/execute/client.http +0 -766
- package/morph-idm/Workflows/client/execute/vnext-target.http +0 -416
- package/morph-idm/Workflows/client-credentials/execute/client-credentials.http +0 -117
- package/morph-idm/Workflows/consent/execute/README.md +0 -145
- package/morph-idm/Workflows/consent/execute/consent-manual-activation.http +0 -135
- package/morph-idm/Workflows/consent/execute/create-consent.http +0 -801
- package/morph-idm/Workflows/consent-management/consent-management.http +0 -267
- package/morph-idm/Workflows/consent-selection/execute/consent-selection.http +0 -200
- package/morph-idm/Workflows/deblock-sim-card/execute/MOBIL-ENTEGRASYON-GOREVLERI.md +0 -339
- package/morph-idm/Workflows/deblock-sim-card/execute/TEST-SENARYOLARI.md +0 -202
- package/morph-idm/Workflows/deblock-sim-card/execute/approve-contract-documents.sh +0 -63
- package/morph-idm/Workflows/deblock-sim-card/execute/contract-debug.sh +0 -101
- package/morph-idm/Workflows/deblock-sim-card/execute/deblock-sim-card-workflow.http +0 -290
- package/morph-idm/Workflows/device-process/device/execute/device-android.http +0 -262
- package/morph-idm/Workflows/device-process/device/execute/device-huawei.http +0 -219
- package/morph-idm/Workflows/device-process/device/execute/device-ios.http +0 -319
- package/morph-idm/Workflows/device-process/device/execute/device-migration.http +0 -105
- package/morph-idm/Workflows/device-process/device/execute/device-web.http +0 -284
- package/morph-idm/Workflows/device-process/device/execute/device.http +0 -269
- package/morph-idm/Workflows/device-process/device/execute/search.http +0 -39
- package/morph-idm/Workflows/device-process/device-assign/execute/device-assign.http +0 -478
- package/morph-idm/Workflows/device-process/device-manager/execute/device-manager.http +0 -214
- package/morph-idm/Workflows/device-process/device-register/execute/device-register.http +0 -566
- package/morph-idm/Workflows/device-process/device-unpair/execute/device-unpair.http +0 -207
- package/morph-idm/Workflows/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/database-variables/execute/database-variables-lifecycle.http +0 -225
- package/morph-idm/Workflows/feature-management/dcs-eval/execute/dcs-eval.http +0 -28
- package/morph-idm/Workflows/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-evaluate.http +0 -186
- package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-lifecycle.http +0 -263
- package/morph-idm/Workflows/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-evaluate.http +0 -245
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-lifecycle.http +0 -246
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-ops.http +0 -116
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-reads.http +0 -47
- package/morph-idm/Workflows/fraud/execute/fraud-push.http +0 -1016
- package/morph-idm/Workflows/get-roles/execute/get-roles.http +0 -367
- package/morph-idm/Workflows/introspection/execute/introspection.http +0 -69
- package/morph-idm/Workflows/ivr/execute/ivr-check-password.http +0 -55
- package/morph-idm/Workflows/ivr/execute/ivr-check-user.http +0 -56
- package/morph-idm/Workflows/ivr/execute/ivr-create-agent-consent.http +0 -59
- package/morph-idm/Workflows/ivr/execute/ivr-get-agent-company.http +0 -30
- package/morph-idm/Workflows/ivr/execute/ivr-revoke-agent-consent.http +0 -30
- package/morph-idm/Workflows/ivr/execute/ivr-set-password.http +0 -87
- package/morph-idm/Workflows/notification/push-notification/execute/push-notification.http +0 -261
- package/morph-idm/Workflows/organization/execute/create-organization-yedek.http +0 -415
- package/morph-idm/Workflows/organization/execute/create-organization.http +0 -346
- package/morph-idm/Workflows/organization/execute/retail-organization.http +0 -161
- package/morph-idm/Workflows/otp-auth-code/execute/otp-auth-code.http +0 -743
- package/morph-idm/Workflows/person/execute/person-123.http +0 -149
- package/morph-idm/Workflows/person/execute/person-migration.http +0 -143
- package/morph-idm/Workflows/person/execute/person.http +0 -149
- package/morph-idm/Workflows/person/firm-cdc-dispatch/execute/person-firm-cdc-dispatch.http +0 -266
- package/morph-idm/Workflows/remember-password/execute/remember-password.http +0 -203
- package/morph-idm/Workflows/role/execute/role.http +0 -142
- package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +0 -131
- package/morph-idm/Workflows/scope/execute/scope-business-hours.http +0 -138
- package/morph-idm/Workflows/scope/execute/scope-corporate.http +0 -165
- package/morph-idm/Workflows/scope/execute/scope-individual-1234567890-1234567890.http +0 -132
- package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +0 -133
- package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +0 -159
- package/morph-idm/Workflows/scope/execute/scope-openbanking-account.http +0 -134
- package/morph-idm/Workflows/scope/execute/scope-openbanking-login.http +0 -135
- package/morph-idm/Workflows/scope/execute/scope-openbanking-payment.http +0 -134
- package/morph-idm/Workflows/scope/execute/scope-restricted.http +0 -143
- package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +0 -224
- package/morph-idm/Workflows/security-check/execute/security-check-test.http +0 -88
- package/morph-idm/Workflows/security-check-test/execute/security-check-test.http +0 -51
- package/morph-idm/Workflows/security-question/security-question-change/execute/security-question-change.http +0 -324
- package/morph-idm/Workflows/security-question/security-question-definition/execute/security-question-definition.http +0 -372
- package/morph-idm/Workflows/security-question/security-question-reset/execute/security-question-reset.http +0 -97
- package/morph-idm/Workflows/shield-decrypt/execute/shield-decrypt.http +0 -77
- package/morph-idm/Workflows/shield-encrypt/execute/shield-encrypt.http +0 -80
- package/morph-idm/Workflows/shield-sign/execute/shield-sign.http +0 -79
- package/morph-idm/Workflows/shield-verify-request-signature/execute/generate-request-signature.js +0 -54
- package/morph-idm/Workflows/shield-verify-request-signature/execute/shield-verify-request-signature.http +0 -135
- package/morph-idm/Workflows/shield-verify-signature/execute/shield-verify-signature.http +0 -108
- package/morph-idm/Workflows/sim-block/sim-block-backoffice/execute/sim-block-backoffice.http +0 -183
- package/morph-idm/Workflows/simple-subflow/execute/simple-subflow.http +0 -50
- package/morph-idm/Workflows/sso/authorize/execute/authorize.http +0 -160
- package/morph-idm/Workflows/sso/authorize-route/execute/authorize-route.http +0 -169
- package/morph-idm/Workflows/sso/pre-login/execute/pre-login.http +0 -273
- package/morph-idm/Workflows/sso/token-direct/execute/token-direct.http +0 -272
- package/morph-idm/Workflows/sso/token-route/execute/token-route.http +0 -207
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-auth-code.http +0 -89
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-login.http +0 -163
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-test-base.http +0 -178
- package/morph-idm/Workflows/test-consent-selection/execute/test-consent-selection.http +0 -68
- package/morph-idm/Workflows/test-consent-selection/execute/test-flow-with-sub.http +0 -50
- package/morph-idm/Workflows/test-consent-selection/execute/test-flow.http +0 -140
- package/morph-idm/Workflows/test-consent-selection/execute/test-sync-subprocess.http +0 -63
- package/morph-idm/Workflows/test-consent-selection/execute/test-user-validation.http +0 -126
- package/morph-idm/Workflows/third-factor/execute/third-factor.http +0 -183
- package/morph-idm/Workflows/third-factor-main/execute/execute/third-factor-main.http +0 -229
- package/morph-idm/Workflows/token-process/session/execute/session.http +0 -361
- package/morph-idm/Workflows/token-process/session-revoke-others/execute/session-revoke-others.http +0 -94
- package/morph-idm/Workflows/token-process/token/execute/README.md +0 -454
- package/morph-idm/Workflows/token-process/token/execute/device-key.pem +0 -27
- package/morph-idm/Workflows/token-process/token/execute/generate-onefa-assertion.js +0 -47
- package/morph-idm/Workflows/token-process/token/execute/onefa-token.http +0 -285
- package/morph-idm/Workflows/token-process/token/execute/setup-roles-for-token-claims.http +0 -425
- package/morph-idm/Workflows/token-process/token/execute/token-sync-race.http +0 -49
- package/morph-idm/Workflows/token-process/token/execute/token.http +0 -676
- package/morph-idm/Workflows/token-process/token-password-grant/execute/token-password-grant.http +0 -163
- package/morph-idm/Workflows/transaction-limit/cascade-approve-daily/execute/transaction-limit-cascade-approve-daily.http +0 -125
- package/morph-idm/Workflows/transaction-limit/cascade-approve-transaction/execute/transaction-limit-cascade-approve-transaction.http +0 -120
- package/morph-idm/Workflows/transaction-limit/cascade-daily/execute/transaction-limit-cascade-daily.http +0 -198
- package/morph-idm/Workflows/transaction-limit/cascade-transaction/execute/transaction-limit-cascade.http +0 -173
- package/morph-idm/Workflows/transaction-limit/definition/execute/transaction-limit-definition.http +0 -867
- package/morph-idm/Workflows/transaction-limit/definition-passivate/execute/transaction-limit-definition-passivate.http +0 -224
- package/morph-idm/Workflows/transaction-limit/definition-verify/execute/transaction-limit-definition-verify.http +0 -102
- package/morph-idm/Workflows/transaction-limit/execute/seed-corporate-customers-limits.sh +0 -178
- package/morph-idm/Workflows/transaction-limit/execute/transaction-limit-management.http +0 -984
- package/morph-idm/Workflows/transaction-limit/remaining/execute/transaction-limit-remaining.http +0 -103
- package/morph-idm/Workflows/transaction-limit/resolve/execute/transaction-limit-resolve.http +0 -96
- package/morph-idm/Workflows/transaction-limit/scope-bank-limit/execute/transaction-limit-scope-bank-limit.http +0 -84
- package/morph-idm/Workflows/transaction-limit/user-bank-limits/execute/transaction-limit-user-bank-limits.http +0 -87
- package/morph-idm/Workflows/transaction-limit/verify/execute/transaction-limit-verify.http +0 -212
- package/morph-idm/Workflows/user/create/execute/user-create-corporate.http +0 -51
- package/morph-idm/Workflows/user/create/execute/user-create.http +0 -135
- package/morph-idm/Workflows/user/get-users-by-scope/execute/get-users-by-scope.http +0 -210
- package/morph-idm/Workflows/user-corporate/firm-query/execute/firm-query.http +0 -87
- package/morph-idm/Workflows/user-corporate/onboard-dispatch/execute/user-corporate-onboard-dispatch.http +0 -105
- package/morph-idm/Workflows/user-corporate/provision/execute/user-corporate-provision.http +0 -631
- package/morph-idm/Workflows/user-corporate/provision/user-corporate-provision.flowchart.drawio +0 -88
- package/morph-idm/Workflows/user-corporate/remove/execute/user-corporate-remove.http +0 -152
- package/morph-idm/Workflows/user-corporate/rollback/execute/user-corporate-rollback.http +0 -97
- package/morph-idm/Workflows/user-corporate/update-provision/execute/user-corporate-update-provision.http +0 -449
- package/morph-idm/Workflows/user-corporate/user-corporate-create/execute/user-corporate-create.http +0 -173
- package/morph-idm/Workflows/user-corporate/user-corporate-update/execute/user-corporate-update.http +0 -117
- package/morph-idm/Workflows/user-login/execute/README-LOGIN.md +0 -535
- package/morph-idm/Workflows/user-login/execute/user-login-comprehensive-coverage.http +0 -1761
- package/morph-idm/Workflows/user-login/execute/user-login-device-assign.http +0 -497
- package/morph-idm/Workflows/user-login/execute/user-login.http +0 -910
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-otp.http +0 -86
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-push.http +0 -82
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-registered-device.http +0 -111
- package/morph-idm/Workflows/user-login-approvement/execute/user-login-approvement-comprehensive.http +0 -1267
- package/morph-idm/Workflows/user-management/execute/user-management.http +0 -284
- package/morph-idm/Workflows/user-note/execute/user-note-backoffice.http +0 -290
- package/morph-idm/Workflows/user-otp-setting/execute/user-otp-setting-backoffice.http +0 -128
- package/morph-idm/Workflows/user-password-process/user-change-password/execute/user-change-password.http +0 -576
- package/morph-idm/Workflows/user-password-process/user-password/execute/user-password.http +0 -58
- package/morph-idm/Workflows/user-password-process/user-password-force-change/execute/user-password-force-change.http +0 -31
- package/morph-idm/Workflows/user-password-process/user-password-reset/execute/user-password-reset.http +0 -213
- package/morph-idm/Workflows/user-status/user-status-change/execute/user-status-change.http +0 -124
- package/morph-idm/Workflows/user-status/user-status-change-backoffice/execute/user-status-change-backoffice.http +0 -197
- package/morph-idm/Workflows/user-validation/execute/user-validation-standalone.http +0 -331
- package/morph-idm/Workflows/user-validation/execute/user-validation.http +0 -696
- package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-corporate-customers-non-amount.http +0 -195
- package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-new.http +0 -275
|
@@ -1,631 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@baseUrl = http://localhost:4251
|
|
3
|
-
@apiVersion = v1
|
|
4
|
-
@domain = morph-idm
|
|
5
|
-
@workflow = user-corporate-provision
|
|
6
|
-
### Her temiz test için tckn'yi DEĞİŞTİR — aynı tckn+scope ikinci kez denenirse
|
|
7
|
-
### akış "checking-existing-user → user-already-exists-end"e düşer (kasıtlı).
|
|
8
|
-
### ⚠️ tckn GERÇEK KPS'te geçerli olmalı (KpsService nonprod'a gidiyor); 11 hane şart.
|
|
9
|
-
### Bilinen çalışan test kimliği: 21790665422 / birthDate 2002-03-25
|
|
10
|
-
### scope artık gerçek firma: key(int) + customerNo(int) + vkn(string) + firmName.
|
|
11
|
-
### Test firması (DCS'te 4 hesap): vkn 50031539176 (POLAT A.Ş.)
|
|
12
|
-
@tckn = 21790665422
|
|
13
|
-
@birthDate = 2002-03-25
|
|
14
|
-
@phone = 5056081122
|
|
15
|
-
@email = 21790665422@ornek.com
|
|
16
|
-
@scopeKey = 1
|
|
17
|
-
@customerNo = 12345
|
|
18
|
-
@scopeVkn = 50031539176
|
|
19
|
-
@firmName = POLAT A.Ş.
|
|
20
|
-
|
|
21
|
-
### submit-document (backoffice belge adımı) için:
|
|
22
|
-
### contractToken — APISIX token'ı; Postman dys-sorgular > token-ebanking ile alınır.
|
|
23
|
-
### SADECE token'ı yapıştır, "Bearer " ÖNEKİNİ EKLEME — önek aşağıdaki header satırında zaten var.
|
|
24
|
-
### (Yine de yanlışlıkla eklersen mapping tekrarı önler: "Bearer " yoksa ekler, varsa dokunmaz.)
|
|
25
|
-
### Mapping bu isteğin Authorization header'ını contract upload-v2'ye iletir; eksikse 401.
|
|
26
|
-
### Kısa ömürlü (örnek JWT'de exp-iat = 600 sn) — 401 alırsan önce token'ı yenile.
|
|
27
|
-
### operatorTckn — işlemi yapan BACKOFFICE kullanıcısının TCKN'si (act_sub claim'i).
|
|
28
|
-
### Provizyonlanan kişinin TCKN'si (@tckn) DEĞİLDİR; body.actor + User_reference buradan gelir.
|
|
29
|
-
@contractToken = PASTE_BEARER_TOKEN_HERE
|
|
30
|
-
@operatorTckn = 12345678910
|
|
31
|
-
|
|
32
|
-
### KPS TEST SENARYOLARI (kps-check state):
|
|
33
|
-
### • (ESKİ NOT: tckn=123 senaryoları artık GEÇERSİZ — submit-identity şeması 11 hane ister, 123 KPS'e gitmez;
|
|
34
|
-
### test KPS gerçek nonprod servistir, sahte 11 haneli TCKN'ye hataKodu=31 döner — 2026-09-24'te doğrulandı)
|
|
35
|
-
### • geçerli tckn + YANLIŞ birthDate → hataKodu=31 (doğum uyuşmuyor) → kps-retry → identity-entry (banner)
|
|
36
|
-
### • 11-haneli ama KPS'te geçersiz tckn → hataKodu=5 → kps-retry → identity-entry
|
|
37
|
-
### (NOT: 10-haneli tckn KPS'e GİTMEZ — submit-identity "11 hane" şema kuralıyla önce reddeder)
|
|
38
|
-
### • (KPS'te durumKod≠1 dönen bir tckn) → kps-status-invalid → kps-durumkod-invalid-end
|
|
39
|
-
### • KPS erişilemez/timeout → kps-failed → kps-failed-end
|
|
40
|
-
|
|
41
|
-
### -----------------------------------------------------------------------------
|
|
42
|
-
### AKIŞ (provision = tanım sihirbazı; hiçbir şey oluşturmaz, veriyi toplar):
|
|
43
|
-
### draft → [backoffice: scope-selection | mobil (act_sub+sub HEADER, kurumsal bağlam): firm-lookup]
|
|
44
|
-
### → identity-entry → checking-existing-user → kps-check → document-router
|
|
45
|
-
### → role-selection → limit-definition
|
|
46
|
-
###
|
|
47
|
-
### document-router (KPS sonrası belge kapısı):
|
|
48
|
-
### • scopeSelectable=true (firma header'dan GELMEDİ → operatör manuel firma arama ekranından
|
|
49
|
-
### geçti → işlem backoffice'ten yapılıyor)
|
|
50
|
-
### → document-entry → submit-document → role-selection
|
|
51
|
-
### • scopeSelectable=false (firma header'dan geldi, kurumsal IB/mobil) → role-selection (belge İSTENMEZ)
|
|
52
|
-
### scopeSelectable her iki kolda da EXPLICIT yazılır: start-scope-selection'daki
|
|
53
|
-
### SetScopeSelectableMapping true, paylaşımlı scope-header-resolve false. Ayrı bir backoffice
|
|
54
|
-
### bayrağı tutulmuyor — bu alan zaten "operatör firma arama ekranından geçti" demek.
|
|
55
|
-
### Geri navigasyonda (TrxBackToIdentityEntryDefaultScriptMapping) documentContent temizlenir — TCKN/firma
|
|
56
|
-
### değişirse belge yeniden eklenmeli.
|
|
57
|
-
###
|
|
58
|
-
### ⚠️ PROVİZYON CONTRACT'A HİÇBİR ŞEY YÜKLEMEZ. document-entry belgeyi sadece TOPLAR
|
|
59
|
-
### (documentContent + note). Gerçek upload-v2 çağrısı commit'te yapılır:
|
|
60
|
-
### StateCreateAllSubFlowMapping documentContent/note'u child'a forward eder →
|
|
61
|
-
### user-corporate-create: transfer-permissions → document-router → uploading-document (10a/10b)
|
|
62
|
-
### → check-person-ready
|
|
63
|
-
### Böylece operatör summary'de vazgeçerse DYS'e hiçbir şey yazılmamış olur.
|
|
64
|
-
### → account-permissions → transfer-permissions → summary → create-all (commit SubFlow)
|
|
65
|
-
###
|
|
66
|
-
### limit-definition VERİ MODELİ: ekran bankLimits[]'e bağlı, limits[] submit'te üretilir (limitDraft ara formu YOK).
|
|
67
|
-
### limit-definition onEntry (paylaşımlı scope-bank-limit): banka tanımlarını (scope > scopeGroup) çeker ve
|
|
68
|
-
### LimitRowsHelper.PrepareBankRows ile EKRAN SIRASINDA bankLimits[] olarak yazar:
|
|
69
|
-
### satır = { definitionKey, limitKey, type, source, amount (banka tavanı), amountLabel, currency,
|
|
70
|
-
### category, categoryLabel, approve, limitLabel, typeLabel, userAmount: number|null }
|
|
71
|
-
### userAmount = operatör girişi; mevcut bankLimits'ten (yoksa limits[]'ten) overlay edilir → geri navigasyon /
|
|
72
|
-
### ret sonrası girişler KORUNUR. Approve* satırları dizide kalır; approver olmayan rolde userAmount null'lanır ve
|
|
73
|
-
### view gizler. verifyCursor=0 ekran girişinde yazılır.
|
|
74
|
-
### View: ForEach source=$form.bankLimits + groupBy(category → limitKey) → NumberField bind bankLimits[$index].userAmount.
|
|
75
|
-
### submit-limits: TÜM bankLimits dizisi gönderilir (runtime merge diziyi bütün değiştirir; alt küme cache'i küçültür);
|
|
76
|
-
### collect-limits-call mapping'i userAmount dolu satırları limits[] = [{limitKey,type,amount}] olarak yazar
|
|
77
|
-
### (Approve* satırları approver olmayan rolde elenir) → verify döngüsü ve create-all forward'ı kompakt listeyi kullanır.
|
|
78
|
-
### matchBankLimits switch'i: hem açılırken hem kapanırken match-bank-limits → hydrate-scope-bank-limits:
|
|
79
|
-
### true → bankLimits satırlarında userAmount = satırın banka tavanı (amount / alttaki amountLabel), limits=[];
|
|
80
|
-
### userAmount alanları şemadaki disableIf: matchBankLimits == true ile kilitlenir.
|
|
81
|
-
### submit → limits [] → child'a kişisel limit tanımı gitmez.
|
|
82
|
-
### false → userAmount'lar limits[]'ten (update'te currentLimits'ten) geri gelir, matchBankLimits=false.
|
|
83
|
-
### Simple-profile: provision'da ERKEN UYGUNLUK KAPISI (kps-check sonrası) + commit'in kendi taze fetch'i (ikisi de).
|
|
84
|
-
### kps-success → fetching-simple-profile (paylaşımlı customer-simple-profile) → sp-eval:
|
|
85
|
-
### • simpleProfileFetchStatus UNAVAILABLE/INVALID_RESPONSE (servis yok) → simple-profile-fetch-failed-end (TEKNİK)
|
|
86
|
-
### • customer + status!=active VEYA hasMobApproval!=true → profile-not-eligible-end
|
|
87
|
-
### • contact → provision'da DOĞRULAMA YOK (kaldırıldı): kontak sp-continue ile devam eder; doğrulama
|
|
88
|
-
### create'te yapılır, doğrulanmamış kontak person draft + davet ile waiting-to-be-user'da bekler
|
|
89
|
-
### isVerified=true → document-router
|
|
90
|
-
### • NOT_FOUND veya uygun customer → document-router
|
|
91
|
-
### Geri navigasyonda TrxBackToIdentityEntryDefaultScriptMapping bu alanları temizler (TCKN değişebilir).
|
|
92
|
-
###
|
|
93
|
-
### checking-existing-user (KPS ÖNCESİ): user {tckn}-{scope} zaten var mı?
|
|
94
|
-
### • VAR → user-already-exists-end (süreç durur; KPS çalışmaz)
|
|
95
|
-
### • YOK → kps-check ile devam
|
|
96
|
-
###
|
|
97
|
-
### create-all → user-corporate-create (commit) SubFlow. Commit sırası:
|
|
98
|
-
### simple-profile fetch (Asgard) → sp-eval uygunluk kapısı:
|
|
99
|
-
### - customer + status=active + hasMobApproval=true → devam
|
|
100
|
-
### - customer uygun değil (status/mob onayı) → profile-not-eligible-end
|
|
101
|
-
### - contact → provision'da kontrol yok, create'te doğrulanır (bkz. create .http)
|
|
102
|
-
### - kayıt yok → devam (invite dalı sonda ayrılır)
|
|
103
|
-
### → person(check/create/activate) → limitler → hesap-yetki → transfer-yetki
|
|
104
|
-
### → check-person-ready
|
|
105
|
-
### - person hazır (bulundu/aktif) → consent → user → completed
|
|
106
|
-
### - person draft (SP kaydı yok) → invite SMS → waiting-to-be-user (PARK)
|
|
107
|
-
### ├─ user-onboarded (onboard-dispatch, Kafka) → person hâlâ draft ise commit publish eder
|
|
108
|
-
### │ (check-onboarded-person → activate-onboarded-person) → consent → user → completed
|
|
109
|
-
### └─ 7 gün içinde onboarding yoksa TIMER → invite-expired-end (davet iptal)
|
|
110
|
-
### Not: girilen telefon `enteredMobilePhonesNumbers`, girilen email `enteredEmails` alanında
|
|
111
|
-
### gönderilir ve commit'e AYNI adlarla forward edilir (commit'in kendi simple-profile fetch'i
|
|
112
|
-
### düz `mobilePhonesNumbers`/`emails` adlarını TCKN verisiyle ezer); user'a girilenler yazılır.
|
|
113
|
-
### ⚠️ .csx değişikliklerinden sonra VS Code'da ilgili JSON'ları re-sync et.
|
|
114
|
-
### -----------------------------------------------------------------------------
|
|
115
|
-
|
|
116
|
-
### A) PERSON get (key = tckn)
|
|
117
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{tckn}}/functions/state
|
|
118
|
-
|
|
119
|
-
### B) USER get (kurumsal user, key = tckn-scopeKey)
|
|
120
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{tckn}}-{{scopeKey}}/functions/state
|
|
121
|
-
|
|
122
|
-
### 1) Start (BACKOFFICE — boş body) → scope-selection
|
|
123
|
-
# @name start
|
|
124
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
125
|
-
Content-Type: application/json
|
|
126
|
-
|
|
127
|
-
{
|
|
128
|
-
"key": "corp-prov-{{$timestamp}}",
|
|
129
|
-
"tags": ["test", "corporate", "provision"],
|
|
130
|
-
"attributes": {}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
### 1b) Start (MOBİL — kurumsal bağlam HEADER'dan: act_sub=tckn, sub=firma müşteri no; act_sub≠sub)
|
|
134
|
-
### draft onEntry (shared scope-header-resolve) customerNo=sub yazar → firm-lookup (LOKAL firma
|
|
135
|
-
### person okuması — firm-person-resolve; CM'e GİDİLMEZ, HARD CUT; firma person'ı CDC ile persist
|
|
136
|
-
### edilmiş olmalı) → identity-entry; scope-selection ATLANIR. scope lokal person'dan kurulur
|
|
137
|
-
### (key/customerNo=externalClientNo, vkn=taxNo, name=name.full). Lokalde firma yok (404) veya
|
|
138
|
-
### pasif (423) → firm-not-found-end.
|
|
139
|
-
### act_sub==sub (bireysel) veya claim eksikse start-scope-selection fallback'i işler (manuel firma
|
|
140
|
-
### arama). Body HER ZAMAN boş — eski mobil body kontratı (attributes.customerNo) kaldırıldı.
|
|
141
|
-
# @name startHeader
|
|
142
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
143
|
-
Content-Type: application/json
|
|
144
|
-
act_sub: {{tckn}}
|
|
145
|
-
sub: 37023103
|
|
146
|
-
|
|
147
|
-
{
|
|
148
|
-
"key": "corp-prov-hdr-{{$timestamp}}",
|
|
149
|
-
"tags": ["test", "corporate", "provision", "mobile", "header"],
|
|
150
|
-
"attributes": {}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
### 1b-2) State — expect identity-entry (firma bulunduysa) / firm-not-found-end (bulunamadıysa)
|
|
154
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{startHeader.request.body.$.key}}/functions/state
|
|
155
|
-
|
|
156
|
-
### 2) State — expect scope-selection
|
|
157
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
158
|
-
|
|
159
|
-
### 3) select-scope (firma) → identity-entry
|
|
160
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/select-scope
|
|
161
|
-
Content-Type: application/json
|
|
162
|
-
|
|
163
|
-
{
|
|
164
|
-
"attributes": {
|
|
165
|
-
"scope": { "key": {{scopeKey}}, "customerNo": {{customerNo}}, "vkn": "{{scopeVkn}}", "firmName": "{{firmName}}" }
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
### 4) submit-identity (userKey=TCKN, birthDate, GİRİLEN telefon + email)
|
|
170
|
-
### Sonrası (auto): checking-existing-user → (yoksa) kps-check → role-selection
|
|
171
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/submit-identity
|
|
172
|
-
Content-Type: application/json
|
|
173
|
-
|
|
174
|
-
{
|
|
175
|
-
"attributes": {
|
|
176
|
-
"userKey": "{{tckn}}",
|
|
177
|
-
"birthDate": "{{birthDate}}",
|
|
178
|
-
"enteredEmails": { "type": "business", "address": "{{email}}" },
|
|
179
|
-
"enteredMobilePhonesNumbers": { "countryCode": "90", "areaCode": "505", "number": "6081122" }
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
### 5) State
|
|
184
|
-
### BACKOFFICE kolu (1 ile başlandıysa, scopeSelectable=true) → expect document-entry
|
|
185
|
-
### MOBİL kolu (1b ile başlandıysa, scopeSelectable=false) → expect role-selection
|
|
186
|
-
### user zaten varsa → user-already-exists-end
|
|
187
|
-
### Uygunluk kapısı uçları (KPS sonrası, otomatik): simple-profile-fetch-failed-end | profile-not-eligible-end |
|
|
188
|
-
### (kontak uçları kaldırıldı) — data'da simpleProfileFetchStatus / profileType / profileStatus / hasMobApproval
|
|
189
|
-
### alanlarından sebep okunur.
|
|
190
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
191
|
-
|
|
192
|
-
### -----------------------------------------------------------------------------
|
|
193
|
-
### 5b) submit-document — YALNIZCA BACKOFFICE kolunda (document-entry state'i)
|
|
194
|
-
### Firma header'dan gelmediyse işlem backoffice'ten yapılıyor demektir; imzalı (ıslak imza)
|
|
195
|
-
### "Kurumsal Kullanıcı Tanımlama Onay Formu" bu adımda EKLENİR.
|
|
196
|
-
###
|
|
197
|
-
### ⚠️ BU ADIM CONTRACT'A İSTEK ATMAZ. documentContent + note yalnızca instance data'ya yazılır.
|
|
198
|
-
### Gerçek upload-v2 çağrısı commit'te (user-corporate-create > uploading-document) yapılır.
|
|
199
|
-
###
|
|
200
|
-
### fileContext = raw base64 (data-URI öneki ve satır sonu OLMAMALI — mapping yine de temizler).
|
|
201
|
-
### Limit: base64 STRING uzunluğu, max 4096 KB (StateUploadingDocumentContractMapping'de sabit).
|
|
202
|
-
### View'daki FilePicker `maxSizeBytes: 3145728` (3 MiB ORİJİNAL byte) ile tam bu tavana oturur:
|
|
203
|
-
### 3 MiB 4/3 şişerek tam 4.194.304 karakter eder = 4096 KB. Mapping'deki sınır düşerse
|
|
204
|
-
### view'daki sayı da düşmeli, yoksa operatör kabul edilen bir belgeyi commit'te kaybeder.
|
|
205
|
-
### size = orijinal byte sayısı; FilePicker yazar, mapping OKUMAZ (yalnız fileName/contentType/
|
|
206
|
-
### fileContext okunur). Şemada additionalProperties:true olduğu için kabul edilir.
|
|
207
|
-
###
|
|
208
|
-
### act_sub header'ı: operatör TCKN'si. Contract'a giden body.actor + User_reference bundan gelir,
|
|
209
|
-
### ama okuma commit tarafında yapılır — oraya taşınıp taşınmadığı henüz doğrulanmadı (bkz. create .http).
|
|
210
|
-
### (Firmanın kişisi userKey'dir; actor ONDAN FARKLI — işlemi yapan backoffice kullanıcısı.)
|
|
211
|
-
###
|
|
212
|
-
### Sonrası: doğrudan role-selection.
|
|
213
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/submit-document
|
|
214
|
-
Content-Type: application/json
|
|
215
|
-
Authorization: Bearer {{contractToken}}
|
|
216
|
-
act_sub: {{operatorTckn}}
|
|
217
|
-
|
|
218
|
-
{
|
|
219
|
-
"attributes": {
|
|
220
|
-
"documentContent": {
|
|
221
|
-
"fileName": "kurumsal-kullanici-onay-formu.pdf",
|
|
222
|
-
"contentType": "application/pdf",
|
|
223
|
-
"size": 245,
|
|
224
|
-
"fileContext": "JVBERi0xLjQKMSAwIG9iago8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFI+PgplbmRvYmoKMiAwIG9iago8PC9UeXBlL1BhZ2VzL0tpZHNbMyAwIFJdL0NvdW50IDE+PgplbmRvYmoKMyAwIG9iago8PC9UeXBlL1BhZ2UvUGFyZW50IDIgMCBSL01lZGlhQm94WzAgMCA5OSA5OV0+PgplbmRvYmoKdHJhaWxlcgo8PC9Sb290IDEgMCBSPj4K"
|
|
225
|
-
},
|
|
226
|
-
"note": "Kurumsal kullanıcı tanımı - backoffice"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
### 5b-2) State — expect role-selection; data'da documentContent dolu (documentUploaded YOK, o commit'te oluşur)
|
|
231
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
232
|
-
|
|
233
|
-
### -----------------------------------------------------------------------------
|
|
234
|
-
### 6-geri) role-selection'da GERİ = back-to-identity-entry → back-from-role-router (görünmez):
|
|
235
|
-
### backoffice kolu (scopeSelectable=true) → document-entry, belge KORUNUR (yeniden yükleme yok)
|
|
236
|
-
### mobil kolu → identity-entry + TrxBackToIdentityEntryDefaultScriptMapping (belge/limit/profil alanları sıfırlanır; ileri gidişte KPS+kapı yeniden)
|
|
237
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/back-to-identity-entry
|
|
238
|
-
Content-Type: application/json
|
|
239
|
-
|
|
240
|
-
{ "attributes": {} }
|
|
241
|
-
|
|
242
|
-
### 6) select-role → limit-definition
|
|
243
|
-
### role enum (master): observer | entry | firstApprover | superUser
|
|
244
|
-
### superUser ise superUserPermissions da gönder (userAdd/roleChange/limitChange)
|
|
245
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/select-role
|
|
246
|
-
Content-Type: application/json
|
|
247
|
-
|
|
248
|
-
{
|
|
249
|
-
"attributes": {
|
|
250
|
-
"role": "superUser",
|
|
251
|
-
"superUserPermissions": { "roleChange": true, "limitChange": true, "userAdd": false }
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
### 6b) switch AÇMA — match-bank-limits, matchBankLimits=true
|
|
256
|
-
### hydrate-scope-bank-limits → limit-definition (bankLimits satırları yeniden kurulur, userAmount = banka tavanı, limits=[])
|
|
257
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/match-bank-limits
|
|
258
|
-
Content-Type: application/json
|
|
259
|
-
|
|
260
|
-
{
|
|
261
|
-
"attributes": {
|
|
262
|
-
"matchBankLimits": true
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
### 6b-2) State — expect limit-definition (Busy dönerse tekrar çek)
|
|
267
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
268
|
-
|
|
269
|
-
### 6b-3) Data — bankLimits[] (banka tanımı olan satırlar, ekran sırasında) her userAmount = amount (banka tavanı);
|
|
270
|
-
### amount/amountLabel/source dolu; limits=[]; bankLimitsScope = scope.key
|
|
271
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
272
|
-
|
|
273
|
-
### 6c) switch KAPATMA — aynı transition, matchBankLimits=false
|
|
274
|
-
### hydrate-scope-bank-limits → limit-definition (userAmount'lar son limits[]'ten geri gelir)
|
|
275
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/match-bank-limits
|
|
276
|
-
Content-Type: application/json
|
|
277
|
-
|
|
278
|
-
{
|
|
279
|
-
"attributes": {
|
|
280
|
-
"matchBankLimits": false
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
### 6c-2) Data — matchBankLimits=false; henüz submit yoksa userAmount'lar null kalır
|
|
285
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
286
|
-
|
|
287
|
-
### 7) submit-limits → verifying-limits → account-permissions
|
|
288
|
-
### Gövde: bankLimits[] (ekranın bağlı olduğu dizi) — operatör tutarı userAmount (SAYI; NumberField). collect-limits-call
|
|
289
|
-
### mapping'i userAmount dolu ve role-uygun (Approve* → firstApprover/superUser) satırları limits[] = [{limitKey,type,amount}]
|
|
290
|
-
### olarak yazar; verify döngüsü ve create-all forward'ı bu kompakt listeyi kullanır.
|
|
291
|
-
### KURAL: gerçek istemci 6) adımındaki data.bankLimits'in TAMAMINI userAmount'ları doldurup geri gönderir (runtime merge
|
|
292
|
-
### diziyi bütün değiştirir; alt küme gönderilirse cache o satırlara küçülür ve ekranda yalnız onlar kalır).
|
|
293
|
-
### Test için: 6) data'dan bankLimits'i kopyala, userAmount'ları doldur, aşağıdaki gövdeye yapıştır. Aşağıdaki örnek
|
|
294
|
-
### 2 satırlık ALT KÜMEDİR — mapping için yeterli ama ekranı 2 satıra indirir (tekrar tam dizi gönderince düzelir).
|
|
295
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/submit-limits
|
|
296
|
-
Content-Type: application/json
|
|
297
|
-
|
|
298
|
-
{
|
|
299
|
-
"attributes": {
|
|
300
|
-
"matchBankLimits": false,
|
|
301
|
-
"bankLimits": [
|
|
302
|
-
{ "limitKey": "accounts.timeDeposit", "type": "Transaction", "userAmount": 100000 },
|
|
303
|
-
{ "limitKey": "transfers.fast", "type": "Daily", "userAmount": 50000 }
|
|
304
|
-
]
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
### 8) account-permissions = deposit `hesap-yetki-degisikligi` WIZARD SubFlow (cross-domain)
|
|
309
|
-
### submit-limits sonrası akış account-permissions (stateType 4) state'ine girer ve wizard subflow başlar.
|
|
310
|
-
### Kimlikler (CustomerNumber = firma müşteri no (scope.key), OperatorCitizenshipNumber = tckn)
|
|
311
|
-
### + kanal HEADER olarak CallAccountPermsWizardMapping.csx tarafından geçilir
|
|
312
|
-
### (config: MorphIdm:AccountPermission:*). Header'lar yalnız child START'ında gönderilir.
|
|
313
|
-
### Wizard interaktif: child transition'ları PARENT instance üzerinden forward edilir
|
|
314
|
-
### (runtime ForwardToActiveSubflowStep). ⚠️ Bu akış SPIKE'ta doğrulanacak.
|
|
315
|
-
|
|
316
|
-
### 8a) State — wizard subflow başladı mı? (child hangi transition'ı bekliyor)
|
|
317
|
-
### Data'da currentAccessLevel(+Label) = kullanıcının O AN KAYITLI modu (okunamazsa hiç gelmez).
|
|
318
|
-
### accessLevel ise bu oturumdaki seçimdir — ikisini karıştırma; transition payload'ı yalnız accessLevel taşır.
|
|
319
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
320
|
-
|
|
321
|
-
### 8b) Wizard: yetki modu seç (child transition → parent üzerinden forward)
|
|
322
|
-
### accessLevel: "specific" | "view-all" | "full-all" | "none"
|
|
323
|
-
### (view-all/full-all/none hesap seçim adımını atlar; ESKİ "all" KALDIRILDI — gönderilirse şema hatası → instance fault)
|
|
324
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/select-access-level
|
|
325
|
-
Content-Type: application/json
|
|
326
|
-
|
|
327
|
-
{
|
|
328
|
-
"attributes": { "accessLevel": "specific" }
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
### 8c) Wizard: hesap bazında yetki ver (yalnız specific modda) — HESAP BAŞINA BİR set-permission çağrısı
|
|
332
|
-
### grantLevel: "none" | "view" | "full" (bakiye/hareket ayrımı kalktı; view = izleme, full = izleme + işlem)
|
|
333
|
-
### ⚠️ Listeye yazılmayan hesap YETKİSİZ kalır — görülmesi istenen her hesap için açıkça view/full gönder.
|
|
334
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/set-permission
|
|
335
|
-
Content-Type: application/json
|
|
336
|
-
|
|
337
|
-
{
|
|
338
|
-
"attributes": { "selectedIban": "TR830012509532018300700353", "grantLevel": "view" }
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
### 8c-2) ⚠️ TODO(deposit): specific modda sihirbazı TAMAMLAYAN geçişin adı deposit'ten bekleniyor
|
|
342
|
-
### (eski save-permissions kalktı; set-permission çağrıları tek başına çocuğu bitirmez).
|
|
343
|
-
### Cevap gelince bu adımı gerçek transition ile değiştir → child completed → auto account-permissions-collected
|
|
344
|
-
|
|
345
|
-
### 8d) Data — provizyon accountServiceResponse altına yazıldı mı?
|
|
346
|
-
### (subflowInstanceId + accessLevel + accounts[]{accountBranchCode, accountSuffix, iban, permissionLevel}
|
|
347
|
-
### + currentAccessLevel(+Label); view-all/full-all/none modlarında accounts hesap bazlı yetki taşımaz)
|
|
348
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
349
|
-
|
|
350
|
-
### 8d-2) YENİDEN GİRİŞ / PREFILL (deposit hesap-yetki-degisikligi >= 1.0.27 — LoadPreviousProvisionMapping, start'ta
|
|
351
|
-
### provisionInstanceId'yi okur, aynı operatör+firma ise accessLevel+accounts'u kopyalar, sonucu provisionRestore'a
|
|
352
|
-
### yazar: restored | not-found | identity-mismatch | nothing-to-restore): limit ekranından ya da transfer adımından geri gelerek deposit
|
|
353
|
-
### wizard'ına İKİNCİ kez girildiğinde child aynı CustomerNumber/OperatorCitizenshipNumber header'larıyla ve
|
|
354
|
-
### body { "attributes": { "provisionInstanceId": "<en son TAMAMLANAN provizyon instance id>" } } ile başlatılır;
|
|
355
|
-
### wizard o provizyondan prefill eder. Kaynak: accountServiceResponse.subflowInstanceId — geri kenarları
|
|
356
|
-
### container'a DOKUNMAZ (yalnız bayrakları reset'ler), container her zaman son TAMAMLANAN child'ı tutar.
|
|
357
|
-
### Kimliğin değişebildiği kenarlar (identity-entry'ye geri) container'ı komple boşaltır — başka bir kişinin
|
|
358
|
-
### provizyonundan prefill olmasın. Child tamamlanınca OutputHandler container'ın HER alanını yeniden yazar
|
|
359
|
-
### (gelmeyen alan açık boş: "" / [] / {tr:"",en:""}) → önceki turdan hiçbir alan merge'de sağ kalmaz, commit'e
|
|
360
|
-
### (hesap-yetki-kaydet) her zaman son tamamlanan child'ın id'si gider. İlk girişte alan gönderilmez.
|
|
361
|
-
### 8e) ALTERNATİF: Sayfa 1'de GERİ → limit ekranına dön (8b YERİNE çağrılır)
|
|
362
|
-
### DİKKAT: wizard'ın KENDİ `back` transition'ı İÇ geridir (child'ın sayfaları arasında gezer, child'ı
|
|
363
|
-
### bitirmez) — buradaki geri ondan farklı, child'ı back-ended final state'inde sonlandıran geri.
|
|
364
|
-
### Transition parent instance'a PATCH'lenir ama parent'ta TANIMLI DEĞİLDİR; runtime aktif blocking
|
|
365
|
-
### subflow'a forward eder (ForwardToActiveSubflowStep) — select-access-level / add-account /
|
|
366
|
-
### finish-account-list ile birebir aynı mekanizma. Parent'a şu anda tanımlanırsa forward DURUR.
|
|
367
|
-
### Child back-ended'a düşünce (stateType 3, status "C") CallAccountPermsWizardMapping.OutputHandler
|
|
368
|
-
### terminal state'i korelasyondan okur ve accountBackRequested=true yazar; accountServiceResponse'a
|
|
369
|
-
### DOKUNMAZ (iptal edilmiş provizyonun instance id'si commit'e sızmasın — hesap-yetki-kaydet onu
|
|
370
|
-
### provisionInstanceId olarak alıp provisionFound:false ile başarısız olurdu).
|
|
371
|
-
### Parent'ta auto back-to-limit-definition kuralı true görür → limit-definition ekranı açılır.
|
|
372
|
-
### ⚠️ APISIX route'u gerekiyor (bkz. transfer'deki back-to-parent ile aynı kalıp, iki kanal).
|
|
373
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/back-to-caller
|
|
374
|
-
|
|
375
|
-
### 8e-1) State — BEKLENEN: limit-definition (limit ekranı, girilen değerler duruyor)
|
|
376
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
377
|
-
|
|
378
|
-
### 8e-2) Data — BEKLENEN: accountBackRequested=true; accountServiceResponse ÖNCEKİ turun
|
|
379
|
-
### değerleriyle duruyor (ilk turda hiç yoksa yok). limit-definition onEntry (scope-bank-limit) bankLimits
|
|
380
|
-
### satırlarını mevcut userAmount'larla yeniden kurar ve verifyCursor'ı 0'a çeker; submit-limits ile doğrulama baştan koşar.
|
|
381
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
382
|
-
|
|
383
|
-
### 8f) HATA YOLU (otomatik, çağrı yok): deposit child'ı completed / back-ended DIŞINDA bir final
|
|
384
|
-
### state ile biterse (örn. cancelled) ya da tamamlanmış korelasyon hiç yoksa,
|
|
385
|
-
### CallAccountPermsWizardMapping.OutputHandler SubFlowCorrelationHelper.IsSubFlowFailed ile
|
|
386
|
-
### accountPermsFailed=true yazar (accountServiceResponse'a DOKUNMAZ, fail-closed).
|
|
387
|
-
### Parent'ta auto account-permissions-failed (AccountPermsFailedRule) → account-permissions-failed-end
|
|
388
|
-
### (stateType 3, subType 2). Kural sırası: back-to-limit-definition → account-permissions-failed →
|
|
389
|
-
### account-permissions-collected (default). Başarıda bayrak EXPLICIT false yazılır (merge null'ı atlar).
|
|
390
|
-
### BEKLENEN state: account-permissions-failed-end; data.accountPermsFailed=true
|
|
391
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
### 9) transfer-permissions = transfer-authorization `transfer-account-restriction` DRAFT SubFlow (cross-domain)
|
|
395
|
-
### account-permissions tamamlanınca akış transfer-permissions (stateType 4) state'ine girer ve draft subflow başlar.
|
|
396
|
-
### Kimlikler HEADER olarak CallTransferRestrictionWizardMapping.csx tarafından geçilir ve
|
|
397
|
-
### YALNIZ child START'ında gönderilir: sub = firma müşteri no (scope.key, deposit CustomerNumber ile
|
|
398
|
-
### aynı kaynak — VKN DEĞİL), act_sub = tckn (userKey). Ekstra header yok (Channel/Branch vs. kontratta yok).
|
|
399
|
-
### Draft start'ta önceden onaylı kayıt varsa accounts[] PREFILL edilir (child: PrefillApprovedRestrictionMapping).
|
|
400
|
-
### Wizard interaktif: child transition'ları PARENT instance üzerinden forward edilir
|
|
401
|
-
### (runtime ForwardToActiveSubflowStep). Child versiyonu: transfer-account-restriction@1.3.5.
|
|
402
|
-
|
|
403
|
-
### 9a) State — draft subflow başladı mı? (Sayfa 1: restriction-type-selection)
|
|
404
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
405
|
-
|
|
406
|
-
### 9b) Draft: sınırlama tipi seç (child transition → parent üzerinden forward)
|
|
407
|
-
### restrictionType: "all-accounts" | "company-accounts-only" | "specific-accounts"
|
|
408
|
-
### all-accounts / company-accounts-only → router child'ı DOĞRUDAN completed'e götürür (9c/9d atlanır,
|
|
409
|
-
### auto transfer-permissions-collected → summary). ⚠️ TODO(transfer-authorization): router davranış teyidi.
|
|
410
|
-
### specific-accounts → Sayfa 2 (account-list-entry), 9c-9d ile devam.
|
|
411
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/select-restriction-type
|
|
412
|
-
Content-Type: application/json
|
|
413
|
-
|
|
414
|
-
{
|
|
415
|
-
"attributes": { "restrictionType": "specific-accounts" }
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
### 9c) Draft: hesap ekle (yalnız specific-accounts modda) — HESAP BAŞINA BİR add-account çağrısı ($self)
|
|
419
|
-
### Aynı IBAN ikinci kez eklenirse TA:400002 hatası döner.
|
|
420
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/add-account
|
|
421
|
-
Content-Type: application/json
|
|
422
|
-
|
|
423
|
-
{
|
|
424
|
-
"attributes": { "fullName": "Ali Veli", "iban": "TR330006100519786457841326" }
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
### 9c-2) (opsiyonel) Draft: hesap çıkar ($self; listede olmayan IBAN sessizce yoksayılır)
|
|
428
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/remove-account
|
|
429
|
-
Content-Type: application/json
|
|
430
|
-
|
|
431
|
-
{
|
|
432
|
-
"attributes": { "iban": "TR330006100519786457841326" }
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
### 9c-3) (opsiyonel) Draft: Sayfa 1'e geri dön (accounts[] KORUNUR; body'siz — schema:null)
|
|
436
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/back-to-restriction-type
|
|
437
|
-
|
|
438
|
-
### 9d) Draft: hesap listesini tamamla (body'siz — schema:null) → child completed
|
|
439
|
-
### → auto transfer-permissions-collected → summary
|
|
440
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/finish-account-list
|
|
441
|
-
|
|
442
|
-
### 9e) Data — draft transferServiceResponse altına yazıldı mı?
|
|
443
|
-
### (subflowInstanceId + restrictionType + accounts[]{fullName, iban})
|
|
444
|
-
### subflowInstanceId = commit'te transfer-restriction-save'in draftInstanceId'si olur.
|
|
445
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
446
|
-
|
|
447
|
-
### 9e-2) YENİDEN GİRİŞ / PREFILL (transfer-account-restriction >= 1.3.3): özetten (back-to-transfer-permissions) ya da
|
|
448
|
-
### hesap yetkilerinden ileri gelerek transfer wizard'ına İKİNCİ kez girildiğinde child aynı sub/act_sub header'larıyla
|
|
449
|
-
### ve body { "attributes": { "provisionInstanceId": "<en son TAMAMLANAN draft instance id>" } } ile başlatılır; wizard o
|
|
450
|
-
### draft'tan prefill eder. Kaynak: transferServiceResponse.subflowInstanceId — geri kenarları container'a DOKUNMAZ
|
|
451
|
-
### (yalnız bayrakları reset'ler), container her zaman son TAMAMLANAN child'ı tutar; kimlik değişen kenarlar komple boşaltır.
|
|
452
|
-
### Child tamamlanınca OutputHandler container'ın HER alanını yeniden yazar (gelmeyen alan açık boş) → önceki turdan
|
|
453
|
-
### hiçbir alan merge'de sağ kalmaz, commit'e her zaman son tamamlanan child'ın id'si gider. İlk girişte alan gönderilmez.
|
|
454
|
-
### 9f) ALTERNATİF: Sayfa 1'de GERİ → hesap yetkilerine dön (9b YERİNE çağrılır)
|
|
455
|
-
### Child'ın ilk ekranında (restriction-type-selection) back-to-parent tetiklenince child
|
|
456
|
-
### BackEnded final state'inde biter (stateType 3, subType 3 "manually terminated", status "C").
|
|
457
|
-
### CallTransferRestrictionWizardMapping.OutputHandler bu terminal state'i korelasyondan okur
|
|
458
|
-
### (SubFlowCorrelationHelper.GetCompletedSubFlowState) ve transferBackRequested=true yazar;
|
|
459
|
-
### transferServiceResponse'a HİÇ DOKUNMAZ (iptal edilmiş draft'ın instance id'si commit'e sızmasın).
|
|
460
|
-
### Parent'ta auto back-to-account-permissions kuralı true görür → account-permissions state'i
|
|
461
|
-
### YENİDEN çalışır, yani deposit `hesap-yetki-degisikligi` wizard'ı yeni bir child ile baştan başlar.
|
|
462
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/back-to-parent
|
|
463
|
-
|
|
464
|
-
### 9f-1) State — BEKLENEN: account-permissions, deposit child'ı ilk adımını bekliyor
|
|
465
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
466
|
-
|
|
467
|
-
### 9f-2) Data — BEKLENEN: transferBackRequested=false (geri hop'unda temizlendi), accountPermsFailed="" ,
|
|
468
|
-
### transferPermsFailed=""; accountServiceResponse + transferServiceResponse ÖNCEKİ turun değerleriyle DURUYOR
|
|
469
|
-
### (prefill kaynağı — deposit wizard'ı accountServiceResponse.subflowInstanceId ile, sonra transfer wizard'ı
|
|
470
|
-
### transferServiceResponse.subflowInstanceId ile başlar). Dolu container güvenli: parent'ın collected/failed/back
|
|
471
|
-
### kuralları container'ı değil bayrakları okur; özet ekranına yalnız completed child'dan sonra girilir ve
|
|
472
|
-
### OutputHandler completed'da container'ın HER alanını yeniden yazar (2. turda daha geniş mod → accounts:[]).
|
|
473
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
474
|
-
|
|
475
|
-
### 9g) HATA YOLU (otomatik, çağrı yok): transfer child'ı completed / BackEnded DIŞINDA bir final
|
|
476
|
-
### state ile biterse (örn. cancelled — child'ın reserved cancel transition'ı) ya da tamamlanmış
|
|
477
|
-
### korelasyon hiç yoksa, CallTransferRestrictionWizardMapping.OutputHandler
|
|
478
|
-
### SubFlowCorrelationHelper.IsSubFlowFailed ile transferPermsFailed=true yazar
|
|
479
|
-
### (transferServiceResponse'a DOKUNMAZ, fail-closed). Parent'ta auto transfer-permissions-failed
|
|
480
|
-
### (TransferPermsFailedRule) → transfer-permissions-failed-end. Kural sırası:
|
|
481
|
-
### back-to-account-permissions → transfer-permissions-failed → transfer-permissions-collected (default).
|
|
482
|
-
### BEKLENEN state: transfer-permissions-failed-end; data.transferPermsFailed=true
|
|
483
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
### 10) confirm-summary → create-all (commit SubFlow)
|
|
487
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/confirm-summary
|
|
488
|
-
Content-Type: application/json
|
|
489
|
-
|
|
490
|
-
{
|
|
491
|
-
"attributes": {}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
### 11) Final state
|
|
495
|
-
### person bulundu/aktif → completed-created-end
|
|
496
|
-
### profil uygun değil (mob onayı/status/contact) → commit profile-not-eligible-end → createFailed
|
|
497
|
-
### person draft (SP kaydı yok) → provision create-all'da BEKLER (commit waiting-to-be-user'da park).
|
|
498
|
-
### Devam için commit .http'deki "user-onboarded" adımını çalıştır; 7 gün içinde onboarding olmazsa create rolling-back
|
|
499
|
-
### (user-corporate-rollback: limitler pasife, hesap/transfer/belge iptali stub) → invite-expired-end; provision ayrı
|
|
500
|
-
### invite-expired-end ucuna gider (create-failed-end DEĞİL). Eski not: 7 gün içinde onboarding
|
|
501
|
-
### olmazsa commit timer ile invite-expired-end'e düşer → createFailed.
|
|
502
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
503
|
-
|
|
504
|
-
### 12) Final data
|
|
505
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
506
|
-
|
|
507
|
-
### =============================================================================
|
|
508
|
-
### SENARYO B — GERİ (back) + DÜZENLE
|
|
509
|
-
### -----------------------------------------------------------------------------
|
|
510
|
-
### Geri kenarları (hepsi triggerType 0, schema:null, view:null → body GEREKMEZ):
|
|
511
|
-
### identity-entry --back-to-scope-selection--> scope-selection (SADECE backoffice yolu)
|
|
512
|
-
### role-selection --back-to-identity-entry--> identity-entry
|
|
513
|
-
### limit-definition --back-to-role-selection--> role-selection
|
|
514
|
-
### summary --back-to-transfer-permissions--> transfer-permissions (SubFlow YENİDEN koşar)
|
|
515
|
-
###
|
|
516
|
-
### Kural: ham operatör girdisi KORUNUR (loadData:true ile prefill), türetilmiş/dış-servis
|
|
517
|
-
### verisi EXPLICIT non-null boş değerle SIFIRLANIR (runtime merge null'ları ATLAR).
|
|
518
|
-
###
|
|
519
|
-
### NOT: scope-selection ve identity-entry arasındaki adımlar (checking-existing-user,
|
|
520
|
-
### kps-check) geri dönüşten sonra ileri gidişte YENİDEN koşar — kimlik/firma değiştiyse
|
|
521
|
-
### bu zorunlu (user-exists {userKey}-{scope.key} ile anahtarlı, KPS kimlik kanıtı).
|
|
522
|
-
### =============================================================================
|
|
523
|
-
|
|
524
|
-
### B1) GERİ: limit-definition → role-selection
|
|
525
|
-
### BEKLENEN sonrası: limits[] ve bankLimits[].userAmount KORUNMUŞ (girilen tutarlar duruyor), verifyCursor=0, verifyRejected=false,
|
|
526
|
-
### limitVerifyError.message="", accountServiceResponse + transferServiceResponse KORUNMUŞ (prefill kaynağı);
|
|
527
|
-
### matchBankLimits=false, role KORUNMUŞ.
|
|
528
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/back-to-role-selection
|
|
529
|
-
|
|
530
|
-
### B1a) Data — yukarıdaki beklentileri doğrula
|
|
531
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
532
|
-
|
|
533
|
-
### B1b) Rol DÜŞÜR: superUser → entry
|
|
534
|
-
### KRİTİK: select-role'de mapping YOK; limit-definition onEntry (scope-bank-limit) bankLimits satırlarını role'e göre
|
|
535
|
-
### yeniden kurar ve approver olmayan rolde ApproveTransaction/ApproveDaily userAmount'larını null'lar; collect-limits-call
|
|
536
|
-
### de Approve* satırlarını eler. Bu olmasaydı eski onay tutarları verify/create'e hayalet Approve* limitleri olarak giderdi.
|
|
537
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/select-role
|
|
538
|
-
Content-Type: application/json
|
|
539
|
-
|
|
540
|
-
{
|
|
541
|
-
"attributes": { "role": "entry" }
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
### B1c) Data — bankLimits[] içinde approve=true satırların userAmount'u null olmuş mu? (limit-definition'a girildikten sonra)
|
|
545
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
546
|
-
|
|
547
|
-
### B1d) submit-limits tekrar → verify yalnız Transaction + Daily satırlarını gezmeli
|
|
548
|
-
### (Approve* satırı gönderilse bile role=entry olduğu için elenir → rol farkındalığı çalıştı)
|
|
549
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/submit-limits
|
|
550
|
-
Content-Type: application/json
|
|
551
|
-
|
|
552
|
-
{
|
|
553
|
-
"attributes": {
|
|
554
|
-
"bankLimits": [
|
|
555
|
-
{ "limitKey": "transfers.fast", "type": "Transaction", "userAmount": 5000 },
|
|
556
|
-
{ "limitKey": "transfers.fast", "type": "Daily", "userAmount": 25000 },
|
|
557
|
-
{ "limitKey": "transfers.fast", "type": "ApproveTransaction", "userAmount": 99999 }
|
|
558
|
-
]
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
### B1e) Data — limits 2 kayıt (Approve* elendi), 2 verify çocuğu koştu (verifyCursor=2), verifyRejected=false, limitVerifyError.message=""
|
|
563
|
-
### (StateVerifyOneLimitSubFlowMapping başarı yolunda artık limitVerifyError'ı da temizliyor →
|
|
564
|
-
### düzeltilmiş limitte ekranda bayat hata banner'ı KALMAZ)
|
|
565
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
566
|
-
|
|
567
|
-
### -----------------------------------------------------------------------------
|
|
568
|
-
### B2) GERİ: role-selection → identity-entry
|
|
569
|
-
### BEKLENEN: userAlreadyExists=false, kpsSummary={error:false,errorType:"",errorMessage:""},
|
|
570
|
-
### limits=[], her iki *ServiceResponse boş;
|
|
571
|
-
### userKey/birthDate/enteredEmails/enteredMobilePhonesNumbers/scope KORUNMUŞ.
|
|
572
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/back-to-identity-entry
|
|
573
|
-
|
|
574
|
-
### B2a) Data
|
|
575
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
576
|
-
|
|
577
|
-
### B2b) submit-identity YENİDEN (sadece e-posta düzeltildi)
|
|
578
|
-
### → checking-existing-user + kps-check YENİDEN koşar → role-selection
|
|
579
|
-
### NOT: provision hiçbir şey oluşturmadığı için aynı tckn+scope hâlâ "yok" →
|
|
580
|
-
### userAlreadyExists=false, user-already-exists-end'e DÜŞMEZ.
|
|
581
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/submit-identity
|
|
582
|
-
Content-Type: application/json
|
|
583
|
-
|
|
584
|
-
{
|
|
585
|
-
"attributes": {
|
|
586
|
-
"userKey": "{{tckn}}",
|
|
587
|
-
"birthDate": "{{birthDate}}",
|
|
588
|
-
"enteredEmails": [ { "type": "business", "address": "duzeltilmis-{{email}}" } ],
|
|
589
|
-
"enteredMobilePhonesNumbers": [ { "countryCode": "90", "number": "{{phone}}", "useForOTP": true } ]
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
### B2c) State — BEKLENEN: role-selection
|
|
594
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
595
|
-
|
|
596
|
-
### -----------------------------------------------------------------------------
|
|
597
|
-
### B3) GERİ: identity-entry → scope-selection
|
|
598
|
-
### ⚠️ SADECE manuel yolda: kurumsal header bağlamı YOKSA (act_sub==sub veya claim eksik) draft →
|
|
599
|
-
### start-scope-selection ile gelinir ve scopeSelectable=true olur.
|
|
600
|
-
### Header yolunda (act_sub≠sub) scopeSelectable=false → view'daki Geri butonu GİZLİ.
|
|
601
|
-
### Bu adımı çalıştırmak için önce B2 ile identity-entry'ye dön.
|
|
602
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/back-to-scope-selection
|
|
603
|
-
|
|
604
|
-
### B3a) State — BEKLENEN: scope-selection (seçili firma loadData:true ile prefill)
|
|
605
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|
|
606
|
-
|
|
607
|
-
### B3b) FARKLI firma seç → identity-entry
|
|
608
|
-
### limits=[] olduğu için ileri gidişte YENİ firmanın tavanlarına göre yeniden doğrulanır.
|
|
609
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/select-scope
|
|
610
|
-
Content-Type: application/json
|
|
611
|
-
|
|
612
|
-
{
|
|
613
|
-
"attributes": {
|
|
614
|
-
"scope": { "key": 2, "customerNo": 67890, "vkn": "50031539177", "firmName": "IKINCI FIRMA A.Ş." }
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
### -----------------------------------------------------------------------------
|
|
619
|
-
### B4) GERİ: summary → transfer-permissions (SubFlow YENİDEN başlar)
|
|
620
|
-
### BEKLENEN: transferServiceResponse ÖNCEKİ turun değerleriyle DURUYOR, transferPermsFailed=""
|
|
621
|
-
### ve YENİ bir transfer-account-restriction child'ı { provisionInstanceId: <önceki subflowInstanceId> }
|
|
622
|
-
### ile başlar (409 YOK — korelasyon CompletedAt DESC ile en yeniyi okur).
|
|
623
|
-
### KRİTİK: 1. turda "belirli hesaplar" + hesap listesi, 2. turda hesapsız bir kısıt tipi
|
|
624
|
-
### seçilirse OutputHandler accounts:[] yazar (HER alan açık yazılır) — 1. turun listesi sağ kalmaz.
|
|
625
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/transitions/back-to-transfer-permissions
|
|
626
|
-
|
|
627
|
-
### B4a) Data — transferServiceResponse duruyor mu (boşalmamalı), transferPermsFailed="" mi?
|
|
628
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/data
|
|
629
|
-
|
|
630
|
-
### B4b) State — BEKLENEN: transfer-permissions, child ilk adımını bekliyor
|
|
631
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{start.request.body.$.key}}/functions/state
|