@itentialopensource/adapter-calix_cloud_devportal 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.
Files changed (109) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +639 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +6609 -0
  23. package/adapterBase.js +1787 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +6 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +75 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/AccessLogs/action.json +25 -0
  33. package/entities/AccessLogs/mockdatafiles/getCaleaAccessLogs-default.json +22 -0
  34. package/entities/AccessLogs/schema.json +19 -0
  35. package/entities/CallOutcome/action.json +25 -0
  36. package/entities/CallOutcome/mockdatafiles/getCalloutcomeSubscriberCallOutcome-default.json +20 -0
  37. package/entities/CallOutcome/schema.json +19 -0
  38. package/entities/E2EServiceDefinitionTemplate/action.json +25 -0
  39. package/entities/E2EServiceDefinitionTemplate/mockdatafiles/searchServiceDefinitions-default.json +35 -0
  40. package/entities/E2EServiceDefinitionTemplate/schema.json +19 -0
  41. package/entities/ManagedServiceArlo/action.json +85 -0
  42. package/entities/ManagedServiceArlo/schema.json +22 -0
  43. package/entities/ManagedServiceServify/action.json +85 -0
  44. package/entities/ManagedServiceServify/schema.json +22 -0
  45. package/entities/NetPerfTest/action.json +188 -0
  46. package/entities/NetPerfTest/mockdatafiles/getNetPerfTestCafIITest-default.json +44 -0
  47. package/entities/NetPerfTest/mockdatafiles/getNetPerfTestOoklaServer-default.json +23 -0
  48. package/entities/NetPerfTest/schema.json +27 -0
  49. package/entities/Reports/action.json +46 -0
  50. package/entities/Reports/mockdatafiles/getTrafficUsage-default.json +56 -0
  51. package/entities/Reports/mockdatafiles/getTrafficUsageForAllSubs-default.json +56 -0
  52. package/entities/Reports/schema.json +20 -0
  53. package/entities/SSID/action.json +147 -0
  54. package/entities/SSID/mockdatafiles/getBillingSupportOperatorSecondarynetwork-default.json +38 -0
  55. package/entities/SSID/mockdatafiles/getBillingSupportOperatorSsid-default.json +29 -0
  56. package/entities/SSID/mockdatafiles/putBillingSupportOperatorSsid-default.json +14 -0
  57. package/entities/SSID/schema.json +25 -0
  58. package/entities/ServiceDefinitions/action.json +126 -0
  59. package/entities/ServiceDefinitions/schema.json +24 -0
  60. package/entities/Subscriber/action.json +106 -0
  61. package/entities/Subscriber/schema.json +23 -0
  62. package/entities/SubscriberAppServices/action.json +66 -0
  63. package/entities/SubscriberAppServices/schema.json +21 -0
  64. package/entities/SubscriberArloServiceDeprecated/action.json +85 -0
  65. package/entities/SubscriberArloServiceDeprecated/schema.json +22 -0
  66. package/entities/SubscriberDevices/action.json +105 -0
  67. package/entities/SubscriberDevices/schema.json +23 -0
  68. package/entities/SubscriberFCCIdentifier/action.json +85 -0
  69. package/entities/SubscriberFCCIdentifier/schema.json +22 -0
  70. package/entities/SubscriberServices/action.json +147 -0
  71. package/entities/SubscriberServices/schema.json +25 -0
  72. package/entities/SubscriberServifyContractDeprecated/action.json +65 -0
  73. package/entities/SubscriberServifyContractDeprecated/schema.json +21 -0
  74. package/entities/SubscriberSmartTownWiFi/action.json +45 -0
  75. package/entities/SubscriberSmartTownWiFi/schema.json +20 -0
  76. package/error.json +190 -0
  77. package/package.json +88 -0
  78. package/pronghorn.json +6245 -0
  79. package/propertiesDecorators.json +14 -0
  80. package/propertiesSchema.json +1248 -0
  81. package/refs?service=git-upload-pack +0 -0
  82. package/report/adapterInfo.json +10 -0
  83. package/report/creationReport.json +755 -0
  84. package/report/merged-calix.json +9420 -0
  85. package/sampleProperties.json +196 -0
  86. package/test/integration/adapterTestBasicGet.js +83 -0
  87. package/test/integration/adapterTestConnectivity.js +93 -0
  88. package/test/integration/adapterTestIntegration.js +2507 -0
  89. package/test/unit/adapterBaseTestUnit.js +949 -0
  90. package/test/unit/adapterTestUnit.js +3622 -0
  91. package/utils/adapterInfo.js +206 -0
  92. package/utils/addAuth.js +94 -0
  93. package/utils/artifactize.js +146 -0
  94. package/utils/basicGet.js +50 -0
  95. package/utils/checkMigrate.js +63 -0
  96. package/utils/entitiesToDB.js +178 -0
  97. package/utils/findPath.js +74 -0
  98. package/utils/methodDocumentor.js +225 -0
  99. package/utils/modify.js +154 -0
  100. package/utils/packModificationScript.js +35 -0
  101. package/utils/patches2bundledDeps.js +90 -0
  102. package/utils/pre-commit.sh +32 -0
  103. package/utils/removeHooks.js +20 -0
  104. package/utils/setup.js +33 -0
  105. package/utils/tbScript.js +246 -0
  106. package/utils/tbUtils.js +490 -0
  107. package/utils/testRunner.js +298 -0
  108. package/utils/troubleshootingAdapter.js +195 -0
  109. package/workflows/README.md +3 -0
@@ -0,0 +1,147 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getBillingSupportOperatorSsid",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/billing/support/operator/ssid?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/getBillingSupportOperatorSsid-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "putBillingSupportOperatorSsid",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/billing/support/operator/ssid?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": "mockdatafiles/putBillingSupportOperatorSsid-default.json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "getBillingSupportOperatorSecondarynetworkAvailability",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/billing/support/operator/secondarynetwork/availability?{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": "getBillingSupportOperatorSecondarynetwork",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/billing/support/operator/secondarynetwork?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": "mockdatafiles/getBillingSupportOperatorSecondarynetwork-default.json"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "putBillingSupportOperatorSecondarynetwork",
88
+ "protocol": "REST",
89
+ "method": "PUT",
90
+ "entitypath": "{base_path}/{version}/billing/support/operator/secondarynetwork?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": 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": "postBillingSupportOperatorSecondarynetwork",
108
+ "protocol": "REST",
109
+ "method": "POST",
110
+ "entitypath": "{base_path}/{version}/billing/support/operator/secondarynetwork?{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
+ "name": "deleteBillingSupportOperatorSecondarynetwork",
128
+ "protocol": "REST",
129
+ "method": "DELETE",
130
+ "entitypath": "{base_path}/{version}/billing/support/operator/secondarynetwork?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ }
146
+ ]
147
+ }
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "eventId": "60abf177-fd67-4227-9b53-f2e3a80b5e58",
4
+ "eventName": "CU_WiFi4",
5
+ "isIndefinite": true,
6
+ "duration": {
7
+ "startTime": 0,
8
+ "endTime": 0
9
+ },
10
+ "ssid": "CU_WiFi4",
11
+ "encryptionType": 5,
12
+ "type": 1,
13
+ "isolated": true,
14
+ "smartQos": false,
15
+ "band24": true,
16
+ "band5": true,
17
+ "band6": false,
18
+ "impaired": false
19
+ },
20
+ {
21
+ "eventId": "60abf177-fd67-4227-9b53-f2e3a80b5e58",
22
+ "eventName": "CU_WiFi4",
23
+ "isIndefinite": true,
24
+ "duration": {
25
+ "startTime": 0,
26
+ "endTime": 0
27
+ },
28
+ "ssid": "CU_WiFi4",
29
+ "encryptionType": 5,
30
+ "type": 1,
31
+ "isolated": true,
32
+ "smartQos": false,
33
+ "band24": true,
34
+ "band5": true,
35
+ "band6": false,
36
+ "impaired": false
37
+ }
38
+ ]
@@ -0,0 +1,29 @@
1
+ [
2
+ {
3
+ "id": "SSID1",
4
+ "Enable": true,
5
+ "SSID": "2.4G Primary",
6
+ "SSIDAdvertisementEnabled": true,
7
+ "BeaconType": "WPAand11i",
8
+ "BasicEncryptionModes": "None",
9
+ "BasicAuthenticationMode": "None",
10
+ "WPAEncryptionModes": "AESEncryption",
11
+ "IEEE11iEncryptionModes": "AESEncryption",
12
+ "IEEE11iAuthenticationMode": "PSKAuthentication",
13
+ "KeyPassphrase": "ATCadb#?!?_",
14
+ "freqBand": "2.4GHz",
15
+ "PRConfig": {
16
+ "Enable": true,
17
+ "SSID": "2.4G Primary",
18
+ "SSIDAdvertisementEnabled": true,
19
+ "BeaconType": "WPAand11i",
20
+ "BasicEncryptionModes": "None",
21
+ "BasicAuthenticationMode": "None",
22
+ "WPAEncryptionModes": "AESEncryption",
23
+ "IEEE11iEncryptionModes": "AESEncryption",
24
+ "IEEE11iAuthenticationMode": "PSKAuthentication",
25
+ "KeyPassphrase": "ATCadb#?!?_"
26
+ },
27
+ "isInL2Bridge": false
28
+ }
29
+ ]
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "result": "OK"
4
+ },
5
+ {
6
+ "result": "OK"
7
+ },
8
+ {
9
+ "result": "OK"
10
+ },
11
+ {
12
+ "result": "OK"
13
+ }
14
+ ]
@@ -0,0 +1,25 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getBillingSupportOperatorSsid",
12
+ "enum": [
13
+ "getBillingSupportOperatorSsid",
14
+ "putBillingSupportOperatorSsid",
15
+ "getBillingSupportOperatorSecondarynetworkAvailability",
16
+ "getBillingSupportOperatorSecondarynetwork",
17
+ "putBillingSupportOperatorSecondarynetwork",
18
+ "postBillingSupportOperatorSecondarynetwork",
19
+ "deleteBillingSupportOperatorSecondarynetwork"
20
+ ],
21
+ "external_name": "ph_request_type"
22
+ }
23
+ },
24
+ "definitions": {}
25
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getBillingServiceDefinitions",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/billing/serviceDefinitions?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "putBillingServiceDefinitions",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/billing/serviceDefinitions?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": 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": "postBillingServiceDefinitions",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/billing/serviceDefinitions?{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": "getBillingServiceDefinitionsServiceDefinitionId",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/billing/serviceDefinitions/{pathv1}?{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": "putBillingServiceDefinitionsServiceDefinitionId",
87
+ "protocol": "REST",
88
+ "method": "PUT",
89
+ "entitypath": "{base_path}/{version}/billing/serviceDefinitions/{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
+ "name": "deleteBillingServiceDefinitionsServiceDefinitionId",
107
+ "protocol": "REST",
108
+ "method": "DELETE",
109
+ "entitypath": "{base_path}/{version}/billing/serviceDefinitions/{pathv1}?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getBillingServiceDefinitions",
12
+ "enum": [
13
+ "getBillingServiceDefinitions",
14
+ "putBillingServiceDefinitions",
15
+ "postBillingServiceDefinitions",
16
+ "getBillingServiceDefinitionsServiceDefinitionId",
17
+ "putBillingServiceDefinitionsServiceDefinitionId",
18
+ "deleteBillingServiceDefinitionsServiceDefinitionId"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getBillingSubscribers",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/billing/subscribers?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "postBillingSubscribers",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/billing/subscribers?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": 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": "getBillingSubscribersSubscriberId",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/billing/subscribers/{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": "putBillingSubscribersSubscriberId",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/billing/subscribers/{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": "deleteBillingSubscribersSubscriberId",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/billing/subscribers/{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,23 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getBillingSubscribers",
12
+ "enum": [
13
+ "getBillingSubscribers",
14
+ "postBillingSubscribers",
15
+ "getBillingSubscribersSubscriberId",
16
+ "putBillingSubscribersSubscriberId",
17
+ "deleteBillingSubscribersSubscriberId"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getBillingSubscribersSubscriberIdAppServices",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/billing/subscribers/{pathv1}/appServices?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getBillingSubscribersSubscriberIdAppServicesAppServiceName",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/billing/subscribers/{pathv1}/appServices/{pathv2}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "putBillingSubscribersSubscriberIdAppServicesAppServiceName",
47
+ "protocol": "REST",
48
+ "method": "PUT",
49
+ "entitypath": "{base_path}/{version}/billing/subscribers/{pathv1}/appServices/{pathv2}?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getBillingSubscribersSubscriberIdAppServices",
12
+ "enum": [
13
+ "getBillingSubscribersSubscriberIdAppServices",
14
+ "getBillingSubscribersSubscriberIdAppServicesAppServiceName",
15
+ "putBillingSubscribersSubscriberIdAppServicesAppServiceName"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }