@itentialopensource/adapter-sendgrid 0.1.1
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/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +31 -0
- package/BROKER.md +211 -0
- package/CALLS.md +2211 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +646 -0
- package/README.md +343 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +20 -0
- package/TAB1.md +11 -0
- package/TAB2.md +302 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +38033 -0
- package/adapterBase.js +1452 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/APIKeyPermissions/action.json +25 -0
- package/entities/APIKeyPermissions/schema.json +19 -0
- package/entities/APIKeys/action.json +126 -0
- package/entities/APIKeys/schema.json +35 -0
- package/entities/Alerts/action.json +106 -0
- package/entities/Alerts/schema.json +34 -0
- package/entities/BlocksAPI/action.json +86 -0
- package/entities/BlocksAPI/schema.json +44 -0
- package/entities/BouncesAPI/action.json +86 -0
- package/entities/BouncesAPI/schema.json +55 -0
- package/entities/CSVUIOnly/action.json +45 -0
- package/entities/CSVUIOnly/schema.json +31 -0
- package/entities/CampaignsAPI/action.json +227 -0
- package/entities/CampaignsAPI/schema.json +40 -0
- package/entities/CancelScheduledSends/action.json +147 -0
- package/entities/CancelScheduledSends/schema.json +36 -0
- package/entities/Categories/action.json +67 -0
- package/entities/Categories/schema.json +76 -0
- package/entities/Certificates/action.json +106 -0
- package/entities/Certificates/schema.json +45 -0
- package/entities/Contacts/action.json +270 -0
- package/entities/Contacts/schema.json +42 -0
- package/entities/ContactsAPICustomFields/action.json +107 -0
- package/entities/ContactsAPICustomFields/schema.json +34 -0
- package/entities/ContactsAPILists/action.json +207 -0
- package/entities/ContactsAPILists/schema.json +72 -0
- package/entities/ContactsAPIRecipients/action.json +251 -0
- package/entities/ContactsAPIRecipients/schema.json +63 -0
- package/entities/ContactsAPISegments/action.json +127 -0
- package/entities/ContactsAPISegments/schema.json +57 -0
- package/entities/CustomFields/action.json +85 -0
- package/entities/CustomFields/schema.json +33 -0
- package/entities/DesignsAPI/action.json +188 -0
- package/entities/DesignsAPI/schema.json +49 -0
- package/entities/DomainAuthentication/action.json +248 -0
- package/entities/DomainAuthentication/schema.json +52 -0
- package/entities/EmailAddressValidation/action.json +24 -0
- package/entities/EmailAddressValidation/schema.json +19 -0
- package/entities/EmailCNAMERecords/action.json +24 -0
- package/entities/EmailCNAMERecords/schema.json +19 -0
- package/entities/IPAccessManagement/action.json +127 -0
- package/entities/IPAccessManagement/schema.json +35 -0
- package/entities/IPAddresses/action.json +108 -0
- package/entities/IPAddresses/schema.json +56 -0
- package/entities/IPPools/action.json +146 -0
- package/entities/IPPools/schema.json +36 -0
- package/entities/IPWarmup/action.json +86 -0
- package/entities/IPWarmup/schema.json +33 -0
- package/entities/InvalidEmailsAPI/action.json +86 -0
- package/entities/InvalidEmailsAPI/schema.json +44 -0
- package/entities/LinkBranding/action.json +208 -0
- package/entities/LinkBranding/schema.json +39 -0
- package/entities/Lists/action.json +147 -0
- package/entities/Lists/schema.json +80 -0
- package/entities/MailSend/action.json +24 -0
- package/entities/MailSend/schema.json +19 -0
- package/entities/MarketingCampaignsStats/action.json +172 -0
- package/entities/MarketingCampaignsStats/schema.json +147 -0
- package/entities/Query/action.json +46 -0
- package/entities/Query/schema.json +31 -0
- package/entities/ReverseDNS/action.json +106 -0
- package/entities/ReverseDNS/schema.json +23 -0
- package/entities/SegmentingContacts/action.json +126 -0
- package/entities/SegmentingContacts/schema.json +68 -0
- package/entities/SegmentingContactsV2/action.json +86 -0
- package/entities/SegmentingContactsV2/schema.json +66 -0
- package/entities/SegmentingContactsV2Beta/action.json +24 -0
- package/entities/SegmentingContactsV2Beta/schema.json +30 -0
- package/entities/SendTestEmail/action.json +24 -0
- package/entities/SendTestEmail/schema.json +19 -0
- package/entities/SenderIdentitiesAPI/action.json +126 -0
- package/entities/SenderIdentitiesAPI/schema.json +35 -0
- package/entities/SenderVerification/action.json +168 -0
- package/entities/SenderVerification/schema.json +26 -0
- package/entities/Senders/action.json +24 -0
- package/entities/Senders/schema.json +19 -0
- package/entities/SettingsEnforcedTLS/action.json +45 -0
- package/entities/SettingsEnforcedTLS/schema.json +20 -0
- package/entities/SettingsInboundParse/action.json +85 -0
- package/entities/SettingsInboundParse/schema.json +22 -0
- package/entities/SettingsMail/action.json +271 -0
- package/entities/SettingsMail/schema.json +31 -0
- package/entities/SettingsPartner/action.json +66 -0
- package/entities/SettingsPartner/schema.json +21 -0
- package/entities/SettingsTracking/action.json +189 -0
- package/entities/SettingsTracking/schema.json +27 -0
- package/entities/SingleSends/action.json +227 -0
- package/entities/SingleSends/schema.json +51 -0
- package/entities/SingleSignOnSettings/action.json +106 -0
- package/entities/SingleSignOnSettings/schema.json +23 -0
- package/entities/SingleSignOnTeammates/action.json +44 -0
- package/entities/SingleSignOnTeammates/schema.json +20 -0
- package/entities/SpamReportsAPI/action.json +86 -0
- package/entities/SpamReportsAPI/schema.json +44 -0
- package/entities/Stats/action.json +151 -0
- package/entities/Stats/schema.json +80 -0
- package/entities/SubuserMonitorSettings/action.json +85 -0
- package/entities/SubuserMonitorSettings/schema.json +33 -0
- package/entities/SubuserStatistics/action.json +88 -0
- package/entities/SubuserStatistics/schema.json +88 -0
- package/entities/SubusersAPI/action.json +126 -0
- package/entities/SubusersAPI/schema.json +35 -0
- package/entities/SuppressionsGlobalSuppressions/action.json +86 -0
- package/entities/SuppressionsGlobalSuppressions/schema.json +44 -0
- package/entities/SuppressionsSuppressions/action.json +127 -0
- package/entities/SuppressionsSuppressions/schema.json +35 -0
- package/entities/SuppressionsUnsubscribeGroups/action.json +106 -0
- package/entities/SuppressionsUnsubscribeGroups/schema.json +34 -0
- package/entities/Teammates/action.json +228 -0
- package/entities/Teammates/schema.json +40 -0
- package/entities/TransactionalTemplates/action.json +126 -0
- package/entities/TransactionalTemplates/schema.json +57 -0
- package/entities/TransactionalTemplatesVersions/action.json +105 -0
- package/entities/TransactionalTemplatesVersions/schema.json +45 -0
- package/entities/UsersAPI/action.json +189 -0
- package/entities/UsersAPI/schema.json +27 -0
- package/entities/Webhooks/action.json +148 -0
- package/entities/Webhooks/schema.json +58 -0
- package/error.json +190 -0
- package/metadata.json +77 -0
- package/package.json +81 -0
- package/pronghorn.json +17316 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1574 -0
- package/report/adapter-openapi.json +59750 -0
- package/report/adapter-openapi.yaml +43964 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +14137 -0
- package/report/creationReport.json +2750 -0
- package/report/sendgrid.json +48136 -0
- package/sampleProperties.json +257 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +118 -0
- package/test/integration/adapterTestIntegration.js +9099 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +8691 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "postAsmSuppressionsGlobal",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/asm/suppressions/global?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "getSuppressionUnsubscribes",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/suppression/unsubscribes?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"sendGetBody": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "getAsmSuppressionsGlobalEmail",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/asm/suppressions/global/{pathv1}?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"sendGetBody": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "deleteAsmSuppressionsGlobalEmail",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/asm/suppressions/global/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "postAsmSuppressionsGlobal",
|
|
12
|
+
"enum": [
|
|
13
|
+
"postAsmSuppressionsGlobal",
|
|
14
|
+
"getSuppressionUnsubscribes",
|
|
15
|
+
"getAsmSuppressionsGlobalEmail",
|
|
16
|
+
"deleteAsmSuppressionsGlobalEmail"
|
|
17
|
+
],
|
|
18
|
+
"external_name": "ph_request_type"
|
|
19
|
+
},
|
|
20
|
+
"startTime": {
|
|
21
|
+
"type": "number",
|
|
22
|
+
"description": "Refers start of the time range in unix timestamp when an unsubscribe email was created (inclusive).",
|
|
23
|
+
"parse": false,
|
|
24
|
+
"encode": false,
|
|
25
|
+
"encrypt": {
|
|
26
|
+
"type": "AES",
|
|
27
|
+
"key": ""
|
|
28
|
+
},
|
|
29
|
+
"external_name": "start_time"
|
|
30
|
+
},
|
|
31
|
+
"endTime": {
|
|
32
|
+
"type": "number",
|
|
33
|
+
"description": "Refers end of the time range in unix timestamp when an unsubscribe email was created (inclusive).",
|
|
34
|
+
"parse": false,
|
|
35
|
+
"encode": false,
|
|
36
|
+
"encrypt": {
|
|
37
|
+
"type": "AES",
|
|
38
|
+
"key": ""
|
|
39
|
+
},
|
|
40
|
+
"external_name": "end_time"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"definitions": {}
|
|
44
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "postAsmGroupsGroupIdSuppressions",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/asm/groups/{pathv1}/suppressions?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "getAsmGroupsGroupIdSuppressions",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/asm/groups/{pathv1}/suppressions?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"sendGetBody": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "postAsmGroupsGroupIdSuppressionsSearch",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "POST",
|
|
48
|
+
"entitypath": "{base_path}/{version}/asm/groups/{pathv1}/suppressions/search?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"requestDatatype": "JSON",
|
|
54
|
+
"responseDatatype": "JSON",
|
|
55
|
+
"headers": {},
|
|
56
|
+
"responseObjects": [
|
|
57
|
+
{
|
|
58
|
+
"type": "default",
|
|
59
|
+
"key": "",
|
|
60
|
+
"mockFile": ""
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "getAsmSuppressions",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "GET",
|
|
68
|
+
"entitypath": "{base_path}/{version}/asm/suppressions?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"sendGetBody": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "getAsmSuppressionsEmail",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "GET",
|
|
89
|
+
"entitypath": "{base_path}/{version}/asm/suppressions/{pathv1}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"sendGetBody": false,
|
|
95
|
+
"requestDatatype": "JSON",
|
|
96
|
+
"responseDatatype": "JSON",
|
|
97
|
+
"headers": {},
|
|
98
|
+
"responseObjects": [
|
|
99
|
+
{
|
|
100
|
+
"type": "default",
|
|
101
|
+
"key": "",
|
|
102
|
+
"mockFile": ""
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "deleteAsmGroupsGroupIdSuppressionsEmail",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "DELETE",
|
|
110
|
+
"entitypath": "{base_path}/{version}/asm/groups/{pathv1}/suppressions/{pathv2}?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "postAsmGroupsGroupIdSuppressions",
|
|
12
|
+
"enum": [
|
|
13
|
+
"postAsmGroupsGroupIdSuppressions",
|
|
14
|
+
"getAsmGroupsGroupIdSuppressions",
|
|
15
|
+
"postAsmGroupsGroupIdSuppressionsSearch",
|
|
16
|
+
"getAsmSuppressions",
|
|
17
|
+
"getAsmSuppressionsEmail",
|
|
18
|
+
"deleteAsmGroupsGroupIdSuppressionsEmail"
|
|
19
|
+
],
|
|
20
|
+
"external_name": "ph_request_type"
|
|
21
|
+
},
|
|
22
|
+
"groupId": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "The id of the suppression group that you are removing an email address from.",
|
|
25
|
+
"parse": false,
|
|
26
|
+
"encode": false,
|
|
27
|
+
"encrypt": {
|
|
28
|
+
"type": "AES",
|
|
29
|
+
"key": ""
|
|
30
|
+
},
|
|
31
|
+
"external_name": "group_id"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"definitions": {}
|
|
35
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "postAsmGroups",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/asm/groups?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "getAsmGroups",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/asm/groups?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"sendGetBody": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "getAsmGroupsGroupId",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/asm/groups/{pathv1}?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"sendGetBody": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "patchAsmGroupsGroupId",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "PATCH",
|
|
69
|
+
"entitypath": "{base_path}/{version}/asm/groups/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "deleteAsmGroupsGroupId",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "DELETE",
|
|
89
|
+
"entitypath": "{base_path}/{version}/asm/groups/{pathv1}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "postAsmGroups",
|
|
12
|
+
"enum": [
|
|
13
|
+
"postAsmGroups",
|
|
14
|
+
"getAsmGroups",
|
|
15
|
+
"getAsmGroupsGroupId",
|
|
16
|
+
"patchAsmGroupsGroupId",
|
|
17
|
+
"deleteAsmGroupsGroupId"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
},
|
|
21
|
+
"groupId": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "The ID of the suppression group you would like to retrieve.",
|
|
24
|
+
"parse": false,
|
|
25
|
+
"encode": false,
|
|
26
|
+
"encrypt": {
|
|
27
|
+
"type": "AES",
|
|
28
|
+
"key": ""
|
|
29
|
+
},
|
|
30
|
+
"external_name": "group_id"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"definitions": {}
|
|
34
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "postV3Teammates",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/teammates?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "getV3Teammates",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/teammates?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"sendGetBody": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "postV3TeammatesPendingTokenResend",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "POST",
|
|
48
|
+
"entitypath": "{base_path}/{version}/teammates/pending/{pathv1}/resend?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"requestDatatype": "JSON",
|
|
54
|
+
"responseDatatype": "JSON",
|
|
55
|
+
"headers": {},
|
|
56
|
+
"responseObjects": [
|
|
57
|
+
{
|
|
58
|
+
"type": "default",
|
|
59
|
+
"key": "",
|
|
60
|
+
"mockFile": ""
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "getV3ScopesRequests",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "GET",
|
|
68
|
+
"entitypath": "{base_path}/{version}/scopes/requests?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"sendGetBody": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "getV3TeammatesPending",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "GET",
|
|
89
|
+
"entitypath": "{base_path}/{version}/teammates/pending?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"sendGetBody": false,
|
|
95
|
+
"requestDatatype": "JSON",
|
|
96
|
+
"responseDatatype": "JSON",
|
|
97
|
+
"headers": {},
|
|
98
|
+
"responseObjects": [
|
|
99
|
+
{
|
|
100
|
+
"type": "default",
|
|
101
|
+
"key": "",
|
|
102
|
+
"mockFile": ""
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "getV3TeammatesUsername",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"entitypath": "{base_path}/{version}/teammates/{pathv1}?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"sendGetBody": false,
|
|
116
|
+
"requestDatatype": "JSON",
|
|
117
|
+
"responseDatatype": "JSON",
|
|
118
|
+
"headers": {},
|
|
119
|
+
"responseObjects": [
|
|
120
|
+
{
|
|
121
|
+
"type": "default",
|
|
122
|
+
"key": "",
|
|
123
|
+
"mockFile": ""
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "patchV3TeammatesUsername",
|
|
129
|
+
"protocol": "REST",
|
|
130
|
+
"method": "PATCH",
|
|
131
|
+
"entitypath": "{base_path}/{version}/teammates/{pathv1}?{query}",
|
|
132
|
+
"requestSchema": "schema.json",
|
|
133
|
+
"responseSchema": "schema.json",
|
|
134
|
+
"timeout": 0,
|
|
135
|
+
"sendEmpty": false,
|
|
136
|
+
"requestDatatype": "JSON",
|
|
137
|
+
"responseDatatype": "JSON",
|
|
138
|
+
"headers": {},
|
|
139
|
+
"responseObjects": [
|
|
140
|
+
{
|
|
141
|
+
"type": "default",
|
|
142
|
+
"key": "",
|
|
143
|
+
"mockFile": ""
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "deleteV3TeammatesUsername",
|
|
149
|
+
"protocol": "REST",
|
|
150
|
+
"method": "DELETE",
|
|
151
|
+
"entitypath": "{base_path}/{version}/teammates/{pathv1}?{query}",
|
|
152
|
+
"requestSchema": "schema.json",
|
|
153
|
+
"responseSchema": "schema.json",
|
|
154
|
+
"timeout": 0,
|
|
155
|
+
"sendEmpty": false,
|
|
156
|
+
"requestDatatype": "JSON",
|
|
157
|
+
"responseDatatype": "JSON",
|
|
158
|
+
"headers": {},
|
|
159
|
+
"responseObjects": [
|
|
160
|
+
{
|
|
161
|
+
"type": "default",
|
|
162
|
+
"key": "",
|
|
163
|
+
"mockFile": ""
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "patchV3ScopesRequestsApproveId",
|
|
169
|
+
"protocol": "REST",
|
|
170
|
+
"method": "PATCH",
|
|
171
|
+
"entitypath": "{base_path}/{version}/scopes/requests/{pathv1}/approve?{query}",
|
|
172
|
+
"requestSchema": "schema.json",
|
|
173
|
+
"responseSchema": "schema.json",
|
|
174
|
+
"timeout": 0,
|
|
175
|
+
"sendEmpty": false,
|
|
176
|
+
"requestDatatype": "JSON",
|
|
177
|
+
"responseDatatype": "JSON",
|
|
178
|
+
"headers": {},
|
|
179
|
+
"responseObjects": [
|
|
180
|
+
{
|
|
181
|
+
"type": "default",
|
|
182
|
+
"key": "",
|
|
183
|
+
"mockFile": ""
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "deleteV3ScopesRequestsRequestId",
|
|
189
|
+
"protocol": "REST",
|
|
190
|
+
"method": "DELETE",
|
|
191
|
+
"entitypath": "{base_path}/{version}/scopes/requests/{pathv1}?{query}",
|
|
192
|
+
"requestSchema": "schema.json",
|
|
193
|
+
"responseSchema": "schema.json",
|
|
194
|
+
"timeout": 0,
|
|
195
|
+
"sendEmpty": false,
|
|
196
|
+
"requestDatatype": "JSON",
|
|
197
|
+
"responseDatatype": "JSON",
|
|
198
|
+
"headers": {},
|
|
199
|
+
"responseObjects": [
|
|
200
|
+
{
|
|
201
|
+
"type": "default",
|
|
202
|
+
"key": "",
|
|
203
|
+
"mockFile": ""
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "deleteV3TeammatesPendingToken",
|
|
209
|
+
"protocol": "REST",
|
|
210
|
+
"method": "DELETE",
|
|
211
|
+
"entitypath": "{base_path}/{version}/teammates/pending/{pathv1}?{query}",
|
|
212
|
+
"requestSchema": "schema.json",
|
|
213
|
+
"responseSchema": "schema.json",
|
|
214
|
+
"timeout": 0,
|
|
215
|
+
"sendEmpty": false,
|
|
216
|
+
"requestDatatype": "JSON",
|
|
217
|
+
"responseDatatype": "JSON",
|
|
218
|
+
"headers": {},
|
|
219
|
+
"responseObjects": [
|
|
220
|
+
{
|
|
221
|
+
"type": "default",
|
|
222
|
+
"key": "",
|
|
223
|
+
"mockFile": ""
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|