Skip to content

refactor: remove code and files related to KAPSystem #450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 0 additions & 137 deletions apps/api/OsmoX-API.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,51 +325,6 @@
},
"response": []
},
{
"name": "KAPS - SMS",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "x-api-key",
"value": "{{x-api-key}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n // Assuming providerId 8 also has channelType 8\n \"providerId\": 8,\n \"data\": {\n \"indiaDltContentTemplateId\": \"1707160146562806652\",\n \"indiaDltPrincipalEntityId\":\"1601100000000005964\",\n \"to\": \"+918900100002,+918900100003\",\n \"text\": \"This is a test message from OsmoX.\\nThank you for using our service.\"\n }\n}"
},
"url": {
"raw": "{{base_url}}/notifications",
"host": [
"{{base_url}}"
],
"path": [
"notifications"
]
},
"description": "Allows successfully creating new notification for the KAPS SMS channel type."
},
"response": []
},
{
"name": "AWS - PushNotification - Android",
"event": [
Expand Down Expand Up @@ -1429,54 +1384,6 @@
},
"response": []
},
{
"name": "Create KAPSystem SMS Provider",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{auth-token}}",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "graphql",
"graphql": {
"query": "mutation CreateProvider($applicationId: Float!) {\n provider(createProviderInput: {\n applicationId: $applicationId,\n channelType: 8\n configuration: {\n KAP_SMS_BASE_API_URL:\"http://<api-domain>/api/v3/sendsms/plain\",\n KAP_SMS_ACCOUNT_USERNAME: \"<YOUR_KAP_SMS_ACCOUNT_USERNAME>\", \n KAP_SMS_ACCOUNT_PASSWORD: \"<YOUR_KAP_SMS_ACCOUNT_PASSWORD>\", \n KAP_SMS_FROM: \"KAPMSG\" \n },\n isEnabled: 1,\n name: \"<New Provider Name>\",\n userId: 1,\n }) {\n providerId\n applicationId\n channelType\n configuration\n isEnabled\n name\n userId\n createdOn\n updatedOn\n status\n }\n}",
"variables": "{\n \"applicationId\": {{applicationId}}\n}"
}
},
"url": {
"raw": "{{base_url}}/graphql",
"host": [
"{{base_url}}"
],
"path": [
"graphql"
]
},
"description": "Allows successfully creating a provider based on the options passed."
},
"response": []
},
{
"name": "Create AWS SNS Push Notification Provider",
"event": [
Expand Down Expand Up @@ -2122,50 +2029,6 @@
},
"response": []
},
{
"name": "KAPS SMS cURL",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{KAP_SMS_BASE_API_URL}}?username={{KAP_SMS_ACCOUNT_USERNAME}}&password={{KAP_SMS_ACCOUNT_PASSWORD}}&from={{KAP_SMS_FROM}}&indiaDltContentTemplateId=1707160146562806652&indiaDltPrincipalEntityId=1601100000000005964&to=+918900100002&text=This is a test message from OsmoX.",
"host": [
"{{KAP_SMS_BASE_API_URL}}"
],
"query": [
{
"key": "username",
"value": "{{KAP_SMS_ACCOUNT_USERNAME}}"
},
{
"key": "password",
"value": "{{KAP_SMS_ACCOUNT_PASSWORD}}"
},
{
"key": "from",
"value": "{{KAP_SMS_FROM}}"
},
{
"key": "indiaDltContentTemplateId",
"value": "1707160146562806652"
},
{
"key": "indiaDltPrincipalEntityId",
"value": "1601100000000005964"
},
{
"key": "to",
"value": "+918900100002"
},
{
"key": "text",
"value": "This is a test message from OsmoX."
}
]
}
},
"response": []
},
{
"name": "Twilio Voice Call cURL",
"request": {
Expand Down
20 changes: 0 additions & 20 deletions apps/api/OsmoX-API.postman_environment.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,6 @@
"value": "some-plivo-auth-token",
"enabled": true
},
{
"key": "KAP_SMS_ACCOUNT_USERNAME",
"value": "kaps-username",
"enabled": true
},
{
"key": "KAP_SMS_BASE_API_URL",
"value": "http://<api-domain>/api/v3/sendsms/plain",
"enabled": true
},
{
"key": "KAP_SMS_ACCOUNT_PASSWORD",
"value": "kaps-password",
"enabled": true
},
{
"key": "KAP_SMS_FROM",
"value": "KAPMSG",
"enabled": true
},
{
"key": "AWS_REGION",
"value": "aws-region",
Expand Down
Loading
Loading