@burgan-tech/morph-idm-runtime 0.0.0
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/LICENSE +21 -0
- package/README.md +245 -0
- package/burgan-tech-morph-idm-runtime-0.0.0.tgz +0 -0
- package/morph-idm/Extensions/.gitkeep +0 -0
- package/morph-idm/Functions/.gitkeep +0 -0
- package/morph-idm/Functions/user/function-validate-user.json +31 -0
- package/morph-idm/Functions/user/src/ValidateUser.csx +39 -0
- package/morph-idm/Mappings/device-register-evaluate-get-device-request.mapper.json +319 -0
- package/morph-idm/Mappings/device-register-evaluate-get-device-response.mapper.json +761 -0
- package/morph-idm/Mappings/device-register-new-device-call-device-start-request.mapper.json +762 -0
- package/morph-idm/Mappings/device-register-start.mapper.json +971 -0
- package/morph-idm/Mappings/device-start-request.mapper.json +20 -0
- package/morph-idm/Mappings/device-start.mapper.json +896 -0
- package/morph-idm/Mappings/device-update-request.mapper.json +883 -0
- package/morph-idm/Mappings/token-start-request.mapper.json +436 -0
- package/morph-idm/Schemas/approval-matrix/approval-matrix-master-1.0.0.json +98 -0
- package/morph-idm/Schemas/approval-matrix/approval-matrix-update-1.0.0.json +85 -0
- package/morph-idm/Schemas/client/client-master-1.0.0.json +293 -0
- package/morph-idm/Schemas/client/client-update-master-1.0.0.json +201 -0
- package/morph-idm/Schemas/consent/consent-master-1.0.0.json +151 -0
- package/morph-idm/Schemas/device/device-master-1.0.0.json +433 -0
- package/morph-idm/Schemas/device/device-register-master-1.0.0.json +300 -0
- package/morph-idm/Schemas/device/device-register-start-1.0.0.json +270 -0
- package/morph-idm/Schemas/device/device-start-1.0.0.json +281 -0
- package/morph-idm/Schemas/device/device-update-1.0.0.json +275 -0
- package/morph-idm/Schemas/headers-1.0.0.json +245 -0
- package/morph-idm/Schemas/organization/organization-master-1.0.0.json +386 -0
- package/morph-idm/Schemas/organization/organization-update-1.0.0.json +60 -0
- package/morph-idm/Schemas/privilege/privilege-master-1.0.0.json +84 -0
- package/morph-idm/Schemas/privilege/privilege-update-1.0.0.json +76 -0
- package/morph-idm/Schemas/scope/scope-group-master-1.0.0.json +52 -0
- package/morph-idm/Schemas/scope/scope-master-1.0.0.json +120 -0
- package/morph-idm/Schemas/token/token-master-1.0.0.json +346 -0
- package/morph-idm/Schemas/token/token-start-1.0.0.json +50 -0
- package/morph-idm/Schemas/transaction-limit/transaction-limit-master-1.0.0.json +175 -0
- package/morph-idm/Schemas/transaction-limit/transaction-limit-update-1.0.0.json +90 -0
- package/morph-idm/Schemas/user/person-master-1.0.0.json +211 -0
- package/morph-idm/Schemas/user/user-master-1.0.0.json +121 -0
- package/morph-idm/Tasks/.gitkeep +0 -0
- package/morph-idm/Tasks/call-device-start-1.0.0.json +21 -0
- package/morph-idm/Tasks/call-device-update-1.0.0.json +21 -0
- package/morph-idm/Tasks/client/client-create-rsa.json +26 -0
- package/morph-idm/Tasks/client/client-password-generator.json +14 -0
- package/morph-idm/Tasks/client/get-client-by-task.json +18 -0
- package/morph-idm/Tasks/consent/get-consent-by-task.json +18 -0
- package/morph-idm/Tasks/consent/get-multi-consents-by-task.json +25 -0
- package/morph-idm/Tasks/device/get-device-by-task.json +18 -0
- package/morph-idm/Tasks/get-device-1.0.0.json +20 -0
- package/morph-idm/Tasks/scope/get-scope-by-task.json +17 -0
- package/morph-idm/Tasks/scope/scope-by-user-task.json +25 -0
- package/morph-idm/Tasks/scope/scope-details-task.json +25 -0
- package/morph-idm/Tasks/token/send-token-to-main.json +20 -0
- package/morph-idm/Tasks/token/token-create-jwt.json +27 -0
- package/morph-idm/Tasks/user/get-user-by-task.json +18 -0
- package/morph-idm/Tasks/user/send-otp-task.json +25 -0
- package/morph-idm/Tasks/user/send-push-task.json +22 -0
- package/morph-idm/Tasks/user/user-password-generator.json +26 -0
- package/morph-idm/Tasks/user/verify-otp-task.json +22 -0
- package/morph-idm/Tasks/user/verify-push-task.json +22 -0
- package/morph-idm/Views/.gitkeep +0 -0
- package/morph-idm/Workflows/.gitkeep +0 -0
- package/morph-idm/Workflows/approval-matrix/approval-1.0.0.json +452 -0
- package/morph-idm/Workflows/approval-matrix/approval-matrix-1.0.0.json +184 -0
- package/morph-idm/Workflows/client/client-1.0.0.json +257 -0
- package/morph-idm/Workflows/client/client-update-1.0.0.json +202 -0
- package/morph-idm/Workflows/client/execute/client.http +377 -0
- package/morph-idm/Workflows/client/src/ClientCreateRsa.csx +198 -0
- package/morph-idm/Workflows/client/src/ClientCreateRsaByScript.csx +118 -0
- package/morph-idm/Workflows/client/src/CreateRsaByHttpCallMapping.csx +223 -0
- package/morph-idm/Workflows/client/src/PasswordGeneratorMapping.csx +26 -0
- package/morph-idm/Workflows/client/src/RsaExistsRule.csx +44 -0
- package/morph-idm/Workflows/client-manager/client-manager-1.0.0.json +217 -0
- package/morph-idm/Workflows/client-manager/execute/client-manager.http +214 -0
- package/morph-idm/Workflows/client-manager/src/ClientCreatedRule.csx +28 -0
- package/morph-idm/Workflows/client-manager/src/ClientExistsRule.csx +25 -0
- package/morph-idm/Workflows/client-manager/src/CreateClientSubFlowMapping.csx +63 -0
- package/morph-idm/Workflows/client-manager/src/GetClientForManagerMapping.csx +59 -0
- package/morph-idm/Workflows/consent/consent-1.0.0.json +424 -0
- package/morph-idm/Workflows/consent/execute/README.md +167 -0
- package/morph-idm/Workflows/consent/execute/consent-invitation-flow.http +283 -0
- package/morph-idm/Workflows/consent/execute/create-consent.http +780 -0
- package/morph-idm/Workflows/consent/src/AutoConsentRule.csx +29 -0
- package/morph-idm/Workflows/consent/src/ConsentTimeoutTimer.csx +14 -0
- package/morph-idm/Workflows/consent-selection/consent-selection-1.0.0.json +331 -0
- package/morph-idm/Workflows/consent-selection/src/AutoConsentCreatedRule.csx +28 -0
- package/morph-idm/Workflows/consent-selection/src/ConsentFetchMapping.csx +82 -0
- package/morph-idm/Workflows/consent-selection/src/ConsentSelectedMapping.csx +70 -0
- package/morph-idm/Workflows/consent-selection/src/CreateAutoConsentMapping.csx +150 -0
- package/morph-idm/Workflows/consent-selection/src/MultipleConsentsRule.csx +31 -0
- package/morph-idm/Workflows/consent-selection/src/NoConsentEligibleRule.csx +44 -0
- package/morph-idm/Workflows/consent-selection/src/SingleConsentRule.csx +45 -0
- package/morph-idm/Workflows/device/device-1.0.0.json +261 -0
- package/morph-idm/Workflows/device/device-migration-1.0.0.json +213 -0
- package/morph-idm/Workflows/device/device-register-1.0.0-documentation.md +646 -0
- package/morph-idm/Workflows/device/device-register-1.0.0-documentation.svg +36 -0
- package/morph-idm/Workflows/device/device-register-1.0.0.json +185 -0
- package/morph-idm/Workflows/device/execute/device-android.http +260 -0
- package/morph-idm/Workflows/device/execute/device-huawei.http +219 -0
- package/morph-idm/Workflows/device/execute/device-ios.http +325 -0
- package/morph-idm/Workflows/device/execute/device-web.http +284 -0
- package/morph-idm/Workflows/device/src/DeviceCreatedRule.csx +32 -0
- package/morph-idm/Workflows/device/src/DeviceFoundRule.csx +32 -0
- package/morph-idm/Workflows/device/src/DeviceNotFoundRule.csx +28 -0
- package/morph-idm/Workflows/device/src/DeviceUpdatedRule.csx +26 -0
- package/morph-idm/Workflows/device/src/NoUpdateRule.csx +19 -0
- package/morph-idm/Workflows/device/src/ReInstallRule.csx +19 -0
- package/morph-idm/Workflows/document-validation/_FF_document-validation.json +423 -0
- package/morph-idm/Workflows/document-validation/src/ApproveRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ClassifyRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ExtractRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/HitlRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/RejectRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/RunOcrRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/StartRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToAggregateRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToFraudRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToReferentialRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToSemanticRule.csx +16 -0
- package/morph-idm/Workflows/document-validation/src/ToStructuralRule.csx +16 -0
- package/morph-idm/Workflows/organization/execute/create-organization.http +280 -0
- package/morph-idm/Workflows/organization/organization-1.0.0-documentation.md +616 -0
- package/morph-idm/Workflows/organization/organization-1.0.0.json +181 -0
- package/morph-idm/Workflows/privilege/privilege-1.0.0.json +185 -0
- package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +131 -0
- package/morph-idm/Workflows/scope/execute/scope-business-hours.http +138 -0
- package/morph-idm/Workflows/scope/execute/scope-corporate.http +165 -0
- package/morph-idm/Workflows/scope/execute/scope-individual.http +133 -0
- package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +133 -0
- package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +159 -0
- package/morph-idm/Workflows/scope/execute/scope-restricted.http +143 -0
- package/morph-idm/Workflows/scope/scope-1.0.0.json +142 -0
- package/morph-idm/Workflows/scope/scope-group-1.0.0.json +144 -0
- package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +222 -0
- package/morph-idm/Workflows/token/execute/README.md +450 -0
- package/morph-idm/Workflows/token/execute/token.http +236 -0
- package/morph-idm/Workflows/token/oauth-authentication-workflow.json +406 -0
- package/morph-idm/Workflows/token/password-subflow.json +173 -0
- package/morph-idm/Workflows/token/scope-cdc-worker.1.0.0.json +46 -0
- package/morph-idm/Workflows/token/src/CreateRsaJwtMapping.csx +208 -0
- package/morph-idm/Workflows/token/src/ExpireTokenTimer.csx +14 -0
- package/morph-idm/Workflows/token/src/PrepareAuthorizationCodeRule.csx +16 -0
- package/morph-idm/Workflows/token/src/RequestInappropriateRule.csx +16 -0
- package/morph-idm/Workflows/token/src/SendJwtToMainMapping.csx +167 -0
- package/morph-idm/Workflows/token/token-1.0.0.json +356 -0
- package/morph-idm/Workflows/token/token-1.0.0.openapi.json.md +707 -0
- package/morph-idm/Workflows/token/token-exchange.1.0.0.json +45 -0
- package/morph-idm/Workflows/transaction-limit/transaction-limit-1.0.0.json +244 -0
- package/morph-idm/Workflows/transaction-limit/transaction-limit-authorization.json +502 -0
- package/morph-idm/Workflows/transaction-limit/transaction-limit-capture.json +142 -0
- package/morph-idm/Workflows/user/execute/README-LOGIN.md +535 -0
- package/morph-idm/Workflows/user/execute/create-user-1234567890.http +116 -0
- package/morph-idm/Workflows/user/execute/create-user-minimal.http +22 -0
- package/morph-idm/Workflows/user/execute/create-user-person-password.http +130 -0
- package/morph-idm/Workflows/user/execute/create-user-person.http +249 -0
- package/morph-idm/Workflows/user/execute/create-user-system.http +16 -0
- package/morph-idm/Workflows/user/execute/user-login.http +583 -0
- package/morph-idm/Workflows/user/execute/user-requests.http +51 -0
- package/morph-idm/Workflows/user/person-1.0.0.json +140 -0
- package/morph-idm/Workflows/user/person-cdc-worker.1.0.0.json +46 -0
- package/morph-idm/Workflows/user/person-upsert-1.0.0.json +129 -0
- package/morph-idm/Workflows/user/src/ApproveRule.csx +16 -0
- package/morph-idm/Workflows/user/src/AutoConsentCreatedRule.csx +20 -0
- package/morph-idm/Workflows/user/src/AutoConsentRequiredRule.csx +77 -0
- package/morph-idm/Workflows/user/src/CheckDeviceByUserReferenceMapping.csx +66 -0
- package/morph-idm/Workflows/user/src/ClientValidationFailRule.csx +28 -0
- package/morph-idm/Workflows/user/src/ClientValidationRule.csx +25 -0
- package/morph-idm/Workflows/user/src/ConsentSelectedRule.csx +24 -0
- package/morph-idm/Workflows/user/src/ConsentValidationRule.csx +36 -0
- package/morph-idm/Workflows/user/src/CreateAutoConsentMapping.csx +171 -0
- package/morph-idm/Workflows/user/src/DeviceFoundForLoginRule.csx +32 -0
- package/morph-idm/Workflows/user/src/DeviceNotFoundForLoginRule.csx +31 -0
- package/morph-idm/Workflows/user/src/GetClientMapping.csx +45 -0
- package/morph-idm/Workflows/user/src/GetConsentMapping.csx +27 -0
- package/morph-idm/Workflows/user/src/GetDeviceMapping.csx +52 -0
- package/morph-idm/Workflows/user/src/GetScopeMapping.csx +139 -0
- package/morph-idm/Workflows/user/src/GetScopesByUserMapping.csx +137 -0
- package/morph-idm/Workflows/user/src/GetUserMapping.csx +39 -0
- package/morph-idm/Workflows/user/src/GrantValidationFailRule.csx +48 -0
- package/morph-idm/Workflows/user/src/GrantValidationRule.csx +45 -0
- package/morph-idm/Workflows/user/src/IsIbWebClientWithDeviceRule.csx +42 -0
- package/morph-idm/Workflows/user/src/NonIbWebClientWithDeviceRule.csx +42 -0
- package/morph-idm/Workflows/user/src/OtpSentRule.csx +31 -0
- package/morph-idm/Workflows/user/src/OtpVerifiedRule.csx +31 -0
- package/morph-idm/Workflows/user/src/PushSentRule.csx +31 -0
- package/morph-idm/Workflows/user/src/PushVerifiedRule.csx +31 -0
- package/morph-idm/Workflows/user/src/RejectRule.csx +16 -0
- package/morph-idm/Workflows/user/src/ScopeFetchedRule.csx +35 -0
- package/morph-idm/Workflows/user/src/ScopeValidationFailRule.csx +67 -0
- package/morph-idm/Workflows/user/src/ScopeValidationRule.csx +67 -0
- package/morph-idm/Workflows/user/src/SendOtpMapping.csx +94 -0
- package/morph-idm/Workflows/user/src/SendPushMapping.csx +90 -0
- package/morph-idm/Workflows/user/src/TokenGenerationSuccessRule.csx +28 -0
- package/morph-idm/Workflows/user/src/TriggerConsentSelectionAsSubFlowMapping.csx +63 -0
- package/morph-idm/Workflows/user/src/TriggerTokenWorkflowAsSubFlowMapping.csx +42 -0
- package/morph-idm/Workflows/user/src/UserPasswordGeneratorMapping.csx +190 -0
- package/morph-idm/Workflows/user/src/UserValidationFailRule.csx +36 -0
- package/morph-idm/Workflows/user/src/UserValidationRule.csx +38 -0
- package/morph-idm/Workflows/user/src/VerifyOtpMapping.csx +65 -0
- package/morph-idm/Workflows/user/src/VerifyPushMapping.csx +65 -0
- package/morph-idm/Workflows/user/user-1.0.0.json +400 -0
- package/morph-idm/Workflows/user/user-force-update.1.0.0.json +46 -0
- package/morph-idm/Workflows/user/user-login-certificate.1.0.0.json +46 -0
- package/morph-idm/Workflows/user/user-login.1.0.0.json +1144 -0
- package/morph-idm/Workflows/user/user-password-reset.1.0.0.json +45 -0
- package/package.json +21 -0
- package/vnext.config.json +58 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../../schemas/schemas/workflow-definition.schema.json",
|
|
3
|
+
"_comment": "Organization Workflow - Organizasyon yapısı yönetimi. Her scope (müşteri) kendi organizasyon ağacına sahiptir. Üç tip node vardır: Location (lokasyon), Division (bölüm), Position (pozisyon). Bu node'lar recursive tree composition ile sonsuz derinlikte hiyerarşi oluşturabilir. Roller ve privilege'lar her node'a atanabilir ve parent'tan child'a kalıtılır (DENY her zaman kazanır). positionLevels[] array'i ApprovalMatrix ve TransactionLimits'te kullanılır. ScopeGroup şablonundan Scope instance'ına key matching ile yatay kalıtım da desteklenir.",
|
|
4
|
+
"key": "organization",
|
|
5
|
+
"flow": "sys-flows",
|
|
6
|
+
"domain": "morph-idm",
|
|
7
|
+
"version": "1.0.0",
|
|
8
|
+
"tags": [
|
|
9
|
+
"new",
|
|
10
|
+
"organization"
|
|
11
|
+
],
|
|
12
|
+
"attributes": {
|
|
13
|
+
"type": "F",
|
|
14
|
+
"labels": [
|
|
15
|
+
{
|
|
16
|
+
"label": "Organization",
|
|
17
|
+
"language": "en-US"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"label": "Organizasyon",
|
|
21
|
+
"language": "tr-TR"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"startTransition": {
|
|
25
|
+
"key": "start",
|
|
26
|
+
"target": "draft",
|
|
27
|
+
"triggerType": 0,
|
|
28
|
+
"versionStrategy": "Minor",
|
|
29
|
+
"schema": {
|
|
30
|
+
"key": "organization-master",
|
|
31
|
+
"flow": "sys-schemas",
|
|
32
|
+
"domain": "morph-idm",
|
|
33
|
+
"version": "1.0.0"
|
|
34
|
+
},
|
|
35
|
+
"labels": [
|
|
36
|
+
{
|
|
37
|
+
"label": "Start",
|
|
38
|
+
"language": "en-US"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"label": "Başlat",
|
|
42
|
+
"language": "tr-TR"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"sharedTransitions": [],
|
|
47
|
+
"states": [
|
|
48
|
+
{
|
|
49
|
+
"key": "draft",
|
|
50
|
+
"_comment": "Taslak durumu - Organizasyon yapısı tanımlanıyor, henüz aktif değil. Departmanlar, pozisyonlar ve hiyerarşi serbestçe değiştirilebilir. Bu state'de yapı henüz kullanımda olmadığı için consent'ler bu yapıya referans veremez.",
|
|
51
|
+
"stateType": 1,
|
|
52
|
+
"versionStrategy": "Minor",
|
|
53
|
+
"labels": [
|
|
54
|
+
{
|
|
55
|
+
"language": "en-US",
|
|
56
|
+
"label": "Draft"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"language": "tr-TR",
|
|
60
|
+
"label": "Taslak"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"transitions": [
|
|
64
|
+
{
|
|
65
|
+
"key": "publish",
|
|
66
|
+
"_comment": "Organizasyon yapısını yayınla/aktifleştir. Aktifleştirmeden sonra bu yapı scope için resmi organizasyon şeması olur. Consent'ler artık bu yapıdaki pozisyonlara referans verebilir.",
|
|
67
|
+
"target": "active",
|
|
68
|
+
"versionStrategy": "Minor",
|
|
69
|
+
"triggerType": 0,
|
|
70
|
+
"schema": null,
|
|
71
|
+
"labels": [
|
|
72
|
+
{
|
|
73
|
+
"label": "Publish",
|
|
74
|
+
"language": "en-US"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"label": "Yayınla",
|
|
78
|
+
"language": "tr-TR"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"key": "active",
|
|
86
|
+
"_comment": "Aktif durumu - Organizasyon yapısı canlı ve kullanımda. Consent'ler bu yapıdaki pozisyon ve departmanlara referans verir. Güncelleme restructure transition'ı ile yapılır. Her restructure yeni bir versiyon oluşturur.",
|
|
87
|
+
"stateType": 2,
|
|
88
|
+
"versionStrategy": "Minor",
|
|
89
|
+
"labels": [
|
|
90
|
+
{
|
|
91
|
+
"language": "en-US",
|
|
92
|
+
"label": "Active"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"language": "tr-TR",
|
|
96
|
+
"label": "Aktif"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"transitions": [
|
|
100
|
+
{
|
|
101
|
+
"key": "restructure",
|
|
102
|
+
"_comment": "Organizasyon yapısını güncelle (departman ekle/çıkar, hiyerarşi değiştir, pozisyon güncelle). Tarihsel veriyi koruyarak yeni versiyon oluşturur. Tree yapısının tamamı veya bir kısmı güncellenebilir. Roller, privilege'lar ve node özellikleri değiştirilebilir.",
|
|
103
|
+
"target": "active",
|
|
104
|
+
"versionStrategy": "Minor",
|
|
105
|
+
"triggerType": 0,
|
|
106
|
+
"schema": {
|
|
107
|
+
"key": "organization-update",
|
|
108
|
+
"flow": "sys-schemas",
|
|
109
|
+
"domain": "morph-idm",
|
|
110
|
+
"version": "1.0.0"
|
|
111
|
+
},
|
|
112
|
+
"labels": [
|
|
113
|
+
{
|
|
114
|
+
"label": "Restructure",
|
|
115
|
+
"language": "en-US"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"label": "Yeniden Yapılandır",
|
|
119
|
+
"language": "tr-TR"
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"key": "deactivate",
|
|
125
|
+
"_comment": "Organizasyon yapısını pasife al. Scope kapandığında veya tamamen yeniden yapılandırma gerektiğinde kullanılır. Pasif yapılar tarihsel referans için saklanır.",
|
|
126
|
+
"target": "passive",
|
|
127
|
+
"versionStrategy": "Major",
|
|
128
|
+
"triggerType": 0,
|
|
129
|
+
"schema": null,
|
|
130
|
+
"labels": [
|
|
131
|
+
{
|
|
132
|
+
"label": "Deactivate",
|
|
133
|
+
"language": "en-US"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"label": "Pasif Yap",
|
|
137
|
+
"language": "tr-TR"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"key": "passive",
|
|
145
|
+
"_comment": "Pasif durumu - Organizasyon yapısı arşivlenmiş, tarihsel referans için saklanıyor. Gerektiğinde yeniden aktifleştirilebilir. Bu state'deki yapılara yeni consent oluşturulamaz, mevcut consent'ler tarihsel kayıt olarak kalır.",
|
|
146
|
+
"stateType": 3,
|
|
147
|
+
"versionStrategy": "Minor",
|
|
148
|
+
"labels": [
|
|
149
|
+
{
|
|
150
|
+
"language": "en-US",
|
|
151
|
+
"label": "Passive"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"language": "tr-TR",
|
|
155
|
+
"label": "Pasif"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"transitions": [
|
|
159
|
+
{
|
|
160
|
+
"key": "reactivate",
|
|
161
|
+
"_comment": "Organizasyon yapısını yeniden aktifleştir. Pasif durumdaki bir yapıyı tekrar kullanıma açar. Aktifleştirmeden sonra yapı üzerinde restructure ile değişiklik yapılabilir.",
|
|
162
|
+
"target": "active",
|
|
163
|
+
"versionStrategy": "Minor",
|
|
164
|
+
"triggerType": 0,
|
|
165
|
+
"schema": null,
|
|
166
|
+
"labels": [
|
|
167
|
+
{
|
|
168
|
+
"label": "Reactivate",
|
|
169
|
+
"language": "en-US"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"label": "Yeniden Aktifleştir",
|
|
173
|
+
"language": "tr-TR"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../../schemas/schemas/workflow-definition.schema.json",
|
|
3
|
+
"_comment": "BUSINESS CONTEXT: Privilege workflow manages fine-grained resource filtering and feature flags. Combines static key-value pairs (items) with optional dynamic evaluation (code). Can be assigned to organization nodes or consent instances. Merge strategy: tree parent inheritance + consent override.",
|
|
4
|
+
"key": "privilege",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"domain": "morph-idm",
|
|
7
|
+
"flow": "sys-flows",
|
|
8
|
+
"tags": [
|
|
9
|
+
"privilege",
|
|
10
|
+
"authorization",
|
|
11
|
+
"resource-filtering"
|
|
12
|
+
],
|
|
13
|
+
"attributes": {
|
|
14
|
+
"type": "F",
|
|
15
|
+
"labels": [
|
|
16
|
+
{
|
|
17
|
+
"language": "tr",
|
|
18
|
+
"label": "Ayrıcalık"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"language": "en",
|
|
22
|
+
"label": "Privilege"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"startTransition": {
|
|
26
|
+
"key": "start",
|
|
27
|
+
"target": "draft",
|
|
28
|
+
"triggerType": 0,
|
|
29
|
+
"versionStrategy": "Minor",
|
|
30
|
+
"schema": {
|
|
31
|
+
"key": "privilege-master",
|
|
32
|
+
"flow": "sys-schemas",
|
|
33
|
+
"domain": "morph-idm",
|
|
34
|
+
"version": "1.0.0"
|
|
35
|
+
},
|
|
36
|
+
"labels": [
|
|
37
|
+
{
|
|
38
|
+
"label": "Başlat",
|
|
39
|
+
"language": "tr"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"label": "Start",
|
|
43
|
+
"language": "en"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"sharedTransitions": [],
|
|
48
|
+
"states": [
|
|
49
|
+
{
|
|
50
|
+
"key": "draft",
|
|
51
|
+
"_comment": "Privilege tanımının taslak halinde olduğu state. Henüz aktif değil, test edilebilir veya gözden geçirilebilir. 'publish' transition'ı ile active'e geçer.",
|
|
52
|
+
"stateType": 1,
|
|
53
|
+
"versionStrategy": "Minor",
|
|
54
|
+
"labels": [
|
|
55
|
+
{
|
|
56
|
+
"language": "tr",
|
|
57
|
+
"label": "Taslak"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"language": "en",
|
|
61
|
+
"label": "Draft"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"transitions": [
|
|
65
|
+
{
|
|
66
|
+
"key": "publish",
|
|
67
|
+
"_comment": "Privilege tanımını yayınlayarak aktif hale getirir. Artık authorization engine tarafından kullanılabilir.",
|
|
68
|
+
"target": "active",
|
|
69
|
+
"versionStrategy": "Minor",
|
|
70
|
+
"triggerType": 0,
|
|
71
|
+
"schema": {
|
|
72
|
+
"key": "privilege-master",
|
|
73
|
+
"flow": "sys-schemas",
|
|
74
|
+
"domain": "morph-idm",
|
|
75
|
+
"version": "1.0.0"
|
|
76
|
+
},
|
|
77
|
+
"labels": [
|
|
78
|
+
{
|
|
79
|
+
"label": "Yayınla",
|
|
80
|
+
"language": "tr"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"label": "Publish",
|
|
84
|
+
"language": "en"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"key": "active",
|
|
92
|
+
"_comment": "Privilege tanımının aktif olduğu state. Authorization engine tarafından kullanılır. Organization node'larına veya consent'lere atanabilir. 'update' ile güncellenebilir, 'deactivate' ile pasif hale getirilebilir.",
|
|
93
|
+
"stateType": 2,
|
|
94
|
+
"versionStrategy": "Minor",
|
|
95
|
+
"labels": [
|
|
96
|
+
{
|
|
97
|
+
"language": "tr",
|
|
98
|
+
"label": "Aktif"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"language": "en",
|
|
102
|
+
"label": "Active"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"transitions": [
|
|
106
|
+
{
|
|
107
|
+
"key": "update",
|
|
108
|
+
"_comment": "Aktif privilege tanımını günceller. Items (key-value pairs) ve/veya code (dynamic script) güncellenebilir.",
|
|
109
|
+
"target": "active",
|
|
110
|
+
"versionStrategy": "Minor",
|
|
111
|
+
"triggerType": 0,
|
|
112
|
+
"schema": {
|
|
113
|
+
"key": "privilege-update",
|
|
114
|
+
"flow": "sys-schemas",
|
|
115
|
+
"domain": "morph-idm",
|
|
116
|
+
"version": "1.0.0"
|
|
117
|
+
},
|
|
118
|
+
"labels": [
|
|
119
|
+
{
|
|
120
|
+
"label": "Güncelle",
|
|
121
|
+
"language": "tr"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"label": "Update",
|
|
125
|
+
"language": "en"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"key": "deactivate",
|
|
131
|
+
"_comment": "Privilege tanımını pasif hale getirir. Artık authorization engine tarafından kullanılmaz, ancak silinmez. Yeniden aktifleştirilebilir.",
|
|
132
|
+
"target": "passive",
|
|
133
|
+
"versionStrategy": "Minor",
|
|
134
|
+
"triggerType": 0,
|
|
135
|
+
"labels": [
|
|
136
|
+
{
|
|
137
|
+
"label": "Pasifleştir",
|
|
138
|
+
"language": "tr"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"label": "Deactivate",
|
|
142
|
+
"language": "en"
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"key": "passive",
|
|
150
|
+
"_comment": "Privilege tanımının pasif olduğu state. Authorization engine tarafından kullanılmaz, ancak arşiv olarak saklanır. 'reactivate' ile tekrar aktif hale getirilebilir.",
|
|
151
|
+
"stateType": 2,
|
|
152
|
+
"versionStrategy": "Minor",
|
|
153
|
+
"labels": [
|
|
154
|
+
{
|
|
155
|
+
"language": "tr",
|
|
156
|
+
"label": "Pasif"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"language": "en",
|
|
160
|
+
"label": "Passive"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"transitions": [
|
|
164
|
+
{
|
|
165
|
+
"key": "reactivate",
|
|
166
|
+
"_comment": "Pasif privilege tanımını tekrar aktif hale getirir. Authorization engine tarafından kullanılmaya başlar.",
|
|
167
|
+
"target": "active",
|
|
168
|
+
"versionStrategy": "Minor",
|
|
169
|
+
"triggerType": 0,
|
|
170
|
+
"labels": [
|
|
171
|
+
{
|
|
172
|
+
"label": "Yeniden Aktifleştir",
|
|
173
|
+
"language": "tr"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"label": "Reactivate",
|
|
177
|
+
"language": "en"
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
}
|
|
185
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
### Variables
|
|
2
|
+
@workflow = scope
|
|
3
|
+
|
|
4
|
+
### ===========================================
|
|
5
|
+
### 24/7 ACCESS SCOPE (No Time Restrictions)
|
|
6
|
+
### Premium Customer with unrestricted access
|
|
7
|
+
### ===========================================
|
|
8
|
+
|
|
9
|
+
### Start Scope - 24/7 Access
|
|
10
|
+
# @name startScope
|
|
11
|
+
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
12
|
+
Accept-Language: en-US
|
|
13
|
+
X-Request-Id: {{$guid}}
|
|
14
|
+
X-Device-Id: admin-portal
|
|
15
|
+
X-Token-Id: {{$guid}}
|
|
16
|
+
X-Device-Info: Admin Portal/1.0
|
|
17
|
+
X-Forwarded-For: 192.168.1.100
|
|
18
|
+
user_reference: admin-001
|
|
19
|
+
Content-Type: application/json
|
|
20
|
+
|
|
21
|
+
{
|
|
22
|
+
"key": "scope-24-7-access-{{$timestamp}}",
|
|
23
|
+
"tags": [
|
|
24
|
+
"test",
|
|
25
|
+
"premium",
|
|
26
|
+
"24-7"
|
|
27
|
+
],
|
|
28
|
+
"attributes": {
|
|
29
|
+
"group": {
|
|
30
|
+
"domain": "morph-idm",
|
|
31
|
+
"workflow": "scope-group",
|
|
32
|
+
"key": "premium-customers"
|
|
33
|
+
},
|
|
34
|
+
"externalSystems": [
|
|
35
|
+
{
|
|
36
|
+
"systemId": "CIF",
|
|
37
|
+
"externalId": "CIF-PREMIUM-VIP-001",
|
|
38
|
+
"lastSyncAt": "{{$datetime iso8601}}"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
###
|
|
45
|
+
@instanceId = {{startScope.response.body.id}}
|
|
46
|
+
@scopeKey = {{startScope.response.body.key}}
|
|
47
|
+
|
|
48
|
+
### ===========================================
|
|
49
|
+
### TRANSITIONS
|
|
50
|
+
### ===========================================
|
|
51
|
+
|
|
52
|
+
### Publish Scope (draft → active)
|
|
53
|
+
# @name publishScope
|
|
54
|
+
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/publish?sync=true
|
|
55
|
+
Accept-Language: en-US
|
|
56
|
+
X-Request-Id: {{$guid}}
|
|
57
|
+
X-Device-Id: admin-portal
|
|
58
|
+
X-Token-Id: {{$guid}}
|
|
59
|
+
X-Device-Info: Admin Portal/1.0
|
|
60
|
+
X-Forwarded-For: 192.168.1.100
|
|
61
|
+
user_reference: admin-001
|
|
62
|
+
Content-Type: application/json
|
|
63
|
+
|
|
64
|
+
{
|
|
65
|
+
"attributes": {}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
### Deactivate Scope (active → passive)
|
|
69
|
+
# @name deactivateScope
|
|
70
|
+
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/passive?sync=true
|
|
71
|
+
Accept-Language: en-US
|
|
72
|
+
X-Request-Id: {{$guid}}
|
|
73
|
+
X-Device-Id: admin-portal
|
|
74
|
+
X-Token-Id: {{$guid}}
|
|
75
|
+
X-Device-Info: Admin Portal/1.0
|
|
76
|
+
X-Forwarded-For: 192.168.1.100
|
|
77
|
+
user_reference: admin-001
|
|
78
|
+
Content-Type: application/json
|
|
79
|
+
|
|
80
|
+
{
|
|
81
|
+
"attributes": {}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
### Reactivate Scope (passive → active)
|
|
85
|
+
# @name reactivateScope
|
|
86
|
+
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/reactivate?sync=true
|
|
87
|
+
Accept-Language: en-US
|
|
88
|
+
X-Request-Id: {{$guid}}
|
|
89
|
+
X-Device-Id: admin-portal
|
|
90
|
+
X-Token-Id: {{$guid}}
|
|
91
|
+
X-Device-Info: Admin Portal/1.0
|
|
92
|
+
X-Forwarded-For: 192.168.1.100
|
|
93
|
+
user_reference: admin-001
|
|
94
|
+
Content-Type: application/json
|
|
95
|
+
|
|
96
|
+
{
|
|
97
|
+
"attributes": {}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
### ===========================================
|
|
101
|
+
### QUERIES
|
|
102
|
+
### ===========================================
|
|
103
|
+
|
|
104
|
+
### Get Scope Instance State
|
|
105
|
+
# @name getScopeState
|
|
106
|
+
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
107
|
+
Accept-Language: en-US
|
|
108
|
+
X-Request-Id: {{$guid}}
|
|
109
|
+
X-Device-Id: admin-portal
|
|
110
|
+
X-Token-Id: {{$guid}}
|
|
111
|
+
user_reference: admin-001
|
|
112
|
+
|
|
113
|
+
### Get Scope Instance Data
|
|
114
|
+
# @name getScopeData
|
|
115
|
+
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
116
|
+
Accept-Language: en-US
|
|
117
|
+
X-Request-Id: {{$guid}}
|
|
118
|
+
X-Device-Id: admin-portal
|
|
119
|
+
X-Token-Id: {{$guid}}
|
|
120
|
+
user_reference: admin-001
|
|
121
|
+
|
|
122
|
+
### Get Scope by Key
|
|
123
|
+
# @name getScopeByKey
|
|
124
|
+
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{scopeKey}}/functions/data
|
|
125
|
+
Accept-Language: en-US
|
|
126
|
+
X-Request-Id: {{$guid}}
|
|
127
|
+
X-Device-Id: admin-portal
|
|
128
|
+
X-Token-Id: {{$guid}}
|
|
129
|
+
user_reference: admin-001
|
|
130
|
+
|
|
131
|
+
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
### Variables
|
|
2
|
+
@workflow = scope
|
|
3
|
+
|
|
4
|
+
### ===========================================
|
|
5
|
+
### STRICT BUSINESS HOURS SCOPE
|
|
6
|
+
### Access only during business hours with IP restrictions
|
|
7
|
+
### ===========================================
|
|
8
|
+
|
|
9
|
+
### Start Scope - Business Hours Only
|
|
10
|
+
# @name startScope
|
|
11
|
+
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
12
|
+
Accept-Language: en-US
|
|
13
|
+
X-Request-Id: {{$guid}}
|
|
14
|
+
X-Device-Id: admin-portal
|
|
15
|
+
X-Token-Id: {{$guid}}
|
|
16
|
+
X-Device-Info: Admin Portal/1.0
|
|
17
|
+
X-Forwarded-For: 192.168.1.100
|
|
18
|
+
user_reference: admin-001
|
|
19
|
+
Content-Type: application/json
|
|
20
|
+
|
|
21
|
+
{
|
|
22
|
+
"key": "scope-business-hours-{{$timestamp}}",
|
|
23
|
+
"tags": [
|
|
24
|
+
"test",
|
|
25
|
+
"business-hours",
|
|
26
|
+
"restricted"
|
|
27
|
+
],
|
|
28
|
+
"attributes": {
|
|
29
|
+
"group": {
|
|
30
|
+
"domain": "morph-idm",
|
|
31
|
+
"workflow": "scope-group",
|
|
32
|
+
"key": "standard-customers"
|
|
33
|
+
},
|
|
34
|
+
"timeRestrictions": {
|
|
35
|
+
"monday": "09:00-17:30",
|
|
36
|
+
"tuesday": "09:00-17:30",
|
|
37
|
+
"wednesday": "09:00-17:30",
|
|
38
|
+
"thursday": "09:00-17:30",
|
|
39
|
+
"friday": "09:00-16:00",
|
|
40
|
+
"saturday": "closed",
|
|
41
|
+
"sunday": "closed",
|
|
42
|
+
"timezone": "Europe/Istanbul"
|
|
43
|
+
},
|
|
44
|
+
"ipRestrictions": [
|
|
45
|
+
"10.10.0.0/16",
|
|
46
|
+
"192.168.100.0/24"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
###
|
|
52
|
+
@instanceId = {{startScope.response.body.id}}
|
|
53
|
+
@scopeKey = {{startScope.response.body.key}}
|
|
54
|
+
|
|
55
|
+
### ===========================================
|
|
56
|
+
### TRANSITIONS
|
|
57
|
+
### ===========================================
|
|
58
|
+
|
|
59
|
+
### Publish Scope (draft → active)
|
|
60
|
+
# @name publishScope
|
|
61
|
+
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/publish?sync=true
|
|
62
|
+
Accept-Language: en-US
|
|
63
|
+
X-Request-Id: {{$guid}}
|
|
64
|
+
X-Device-Id: admin-portal
|
|
65
|
+
X-Token-Id: {{$guid}}
|
|
66
|
+
X-Device-Info: Admin Portal/1.0
|
|
67
|
+
X-Forwarded-For: 192.168.1.100
|
|
68
|
+
user_reference: admin-001
|
|
69
|
+
Content-Type: application/json
|
|
70
|
+
|
|
71
|
+
{
|
|
72
|
+
"attributes": {}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
### Deactivate Scope (active → passive)
|
|
76
|
+
# @name deactivateScope
|
|
77
|
+
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/passive?sync=true
|
|
78
|
+
Accept-Language: en-US
|
|
79
|
+
X-Request-Id: {{$guid}}
|
|
80
|
+
X-Device-Id: admin-portal
|
|
81
|
+
X-Token-Id: {{$guid}}
|
|
82
|
+
X-Device-Info: Admin Portal/1.0
|
|
83
|
+
X-Forwarded-For: 192.168.1.100
|
|
84
|
+
user_reference: admin-001
|
|
85
|
+
Content-Type: application/json
|
|
86
|
+
|
|
87
|
+
{
|
|
88
|
+
"attributes": {}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
### Reactivate Scope (passive → active)
|
|
92
|
+
# @name reactivateScope
|
|
93
|
+
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/reactivate?sync=true
|
|
94
|
+
Accept-Language: en-US
|
|
95
|
+
X-Request-Id: {{$guid}}
|
|
96
|
+
X-Device-Id: admin-portal
|
|
97
|
+
X-Token-Id: {{$guid}}
|
|
98
|
+
X-Device-Info: Admin Portal/1.0
|
|
99
|
+
X-Forwarded-For: 192.168.1.100
|
|
100
|
+
user_reference: admin-001
|
|
101
|
+
Content-Type: application/json
|
|
102
|
+
|
|
103
|
+
{
|
|
104
|
+
"attributes": {}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
### ===========================================
|
|
108
|
+
### QUERIES
|
|
109
|
+
### ===========================================
|
|
110
|
+
|
|
111
|
+
### Get Scope Instance State
|
|
112
|
+
# @name getScopeState
|
|
113
|
+
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
114
|
+
Accept-Language: en-US
|
|
115
|
+
X-Request-Id: {{$guid}}
|
|
116
|
+
X-Device-Id: admin-portal
|
|
117
|
+
X-Token-Id: {{$guid}}
|
|
118
|
+
user_reference: admin-001
|
|
119
|
+
|
|
120
|
+
### Get Scope Instance Data
|
|
121
|
+
# @name getScopeData
|
|
122
|
+
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
123
|
+
Accept-Language: en-US
|
|
124
|
+
X-Request-Id: {{$guid}}
|
|
125
|
+
X-Device-Id: admin-portal
|
|
126
|
+
X-Token-Id: {{$guid}}
|
|
127
|
+
user_reference: admin-001
|
|
128
|
+
|
|
129
|
+
### Get Scope by Key
|
|
130
|
+
# @name getScopeByKey
|
|
131
|
+
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{scopeKey}}/functions/data
|
|
132
|
+
Accept-Language: en-US
|
|
133
|
+
X-Request-Id: {{$guid}}
|
|
134
|
+
X-Device-Id: admin-portal
|
|
135
|
+
X-Token-Id: {{$guid}}
|
|
136
|
+
user_reference: admin-001
|
|
137
|
+
|
|
138
|
+
|