Skip to content
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

feat(analytics): refactor and introduce analytics APIs to accommodate OrgLevel, MerchantLevel and ProfileLevel authentication #5729

Merged
merged 68 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
5768434
add: AuthInfo enum for hierarchical authentication
tsdk02 Aug 28, 2024
de64e11
add: impl QueryFilter for AuthInfo - to add filters based on the auth…
tsdk02 Aug 28, 2024
5c8f4fb
refactor: v1/metrics/payments for MerchantLevel
tsdk02 Aug 28, 2024
bb3e600
Minor nits
tsdk02 Aug 28, 2024
de9a032
refactor: v1/filters/payments for MerchantLevel
tsdk02 Aug 28, 2024
6ae94a9
chore: run formatter
hyperswitch-bot[bot] Aug 28, 2024
3ae374a
refactor: v1/metrics/refunds for MerchantLevel
tsdk02 Aug 28, 2024
9c7f648
merged main
tsdk02 Aug 28, 2024
72cdb46
v1/filters/refunds for MerchantLevel
tsdk02 Aug 28, 2024
fa13088
chore: run formatter
hyperswitch-bot[bot] Aug 28, 2024
9ce602d
refactor: v1/filters/refunds for MerchantLevel
tsdk02 Aug 28, 2024
dbf85bd
minor nits
tsdk02 Aug 28, 2024
71dc279
chore: run formatter
hyperswitch-bot[bot] Aug 28, 2024
a390b65
refactor: v2/metrics/payments for MerchantLevel
tsdk02 Aug 28, 2024
5e8ba29
chore: run formatter
hyperswitch-bot[bot] Aug 28, 2024
1e1f1c4
refactor: v1/metrics/disputes for MerchantLevel
tsdk02 Aug 28, 2024
d73db62
refactor: v1/filters/disputes for MerchantLevel
tsdk02 Aug 28, 2024
530f688
refactor: v1/metrics/api_events for MerchantLevel
tsdk02 Aug 28, 2024
2db93b2
refactor: v1/filters/api_events for MerchantLevel
tsdk02 Aug 28, 2024
2a619f6
Minor nits
tsdk02 Aug 28, 2024
0b70985
chore: run formatter
hyperswitch-bot[bot] Aug 28, 2024
628bd87
refactor: v1/outgoing_webhook_event_logs for MerchantLevel
tsdk02 Aug 28, 2024
acc40ca
chore: run formatter
hyperswitch-bot[bot] Aug 28, 2024
3ea7232
refactor: v1/connector_event_logs for MerchantLevel
tsdk02 Aug 28, 2024
be85efb
fix make fmt
tsdk02 Aug 28, 2024
5f60f80
restructured routes to incorporate /merchant for MerchantLevel
tsdk02 Aug 28, 2024
cdefa4e
add: org/metrics/payments
tsdk02 Aug 28, 2024
49e0d2b
chore: run formatter
hyperswitch-bot[bot] Aug 28, 2024
4a33dd6
add: org/filters/payments
tsdk02 Aug 28, 2024
71655ca
add: org/metrics/refunds and org/filters/refunds
tsdk02 Aug 28, 2024
2849080
fix make fmt
tsdk02 Aug 28, 2024
aedec1d
add: v2/org/metrics/payments
tsdk02 Aug 28, 2024
5470170
add: org/metrics/disputes and org/filters/disputes
tsdk02 Aug 28, 2024
182bdc0
add: org/metrics/api_events and org/filters/api_events
tsdk02 Aug 28, 2024
9dc368f
add: org/connector_event_logs and org/outgoing_webhook_event_logs
tsdk02 Aug 28, 2024
fd619d8
add: org/{domain}/info
tsdk02 Aug 28, 2024
ff2266d
add: profile/{domain}/info
tsdk02 Aug 29, 2024
e39935d
merged main
tsdk02 Aug 29, 2024
9f4afee
add: profile/metrics/payments
tsdk02 Aug 29, 2024
172d4b9
add: profile/filters/payments
tsdk02 Aug 29, 2024
62cac59
add: profile/metrics/refunds and profile/filters/refunds
tsdk02 Aug 29, 2024
26ace2b
add: profile/metrics/api_events and profile/filters/api_events
tsdk02 Aug 29, 2024
aae391f
add: profile/metrics/disputes and profile/filters/disputes
tsdk02 Aug 29, 2024
895b504
add: profile/connector_event_logs and profile/outgoing_webhook_event_…
tsdk02 Aug 29, 2024
e684b92
add: v2/profile/metrics/payments
tsdk02 Aug 29, 2024
6496263
minor nits
tsdk02 Aug 29, 2024
6033a4f
chore: run formatter
hyperswitch-bot[bot] Aug 29, 2024
113d328
remove org level and merchant level connector events and outgoing web…
tsdk02 Aug 29, 2024
6729eba
pulled from remote
tsdk02 Aug 29, 2024
6f7ca7b
check: profile authentication for sdk_event_logs
tsdk02 Aug 29, 2024
3ada298
merged main
tsdk02 Aug 29, 2024
ce5aaaf
add: profile authentication for connector_logs
tsdk02 Aug 29, 2024
cbbff0b
add: profile authentication for outgoing_webhook_event_logs
tsdk02 Aug 29, 2024
fd466b3
add: profile authentication for api_event_logs
tsdk02 Aug 29, 2024
a62bda9
chore: run formatter
hyperswitch-bot[bot] Aug 29, 2024
bf09de0
add: generate report APIs added for Refunds, Payments and Disputes at…
tsdk02 Aug 29, 2024
5390b01
restructured routes
tsdk02 Aug 30, 2024
be9036e
merged main
tsdk02 Aug 30, 2024
e58ee74
add: profile_id in dimensions, filters, filter_row for payments, paym…
tsdk02 Aug 30, 2024
49a35b8
chore: run formatter
hyperswitch-bot[bot] Aug 30, 2024
cfcd2c1
minor nits
tsdk02 Aug 30, 2024
4212161
merged main
tsdk02 Sep 2, 2024
c0bb1e5
merged main
tsdk02 Sep 2, 2024
44fafcf
add: paymentId id_type changes
tsdk02 Sep 2, 2024
2e4ffac
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] Sep 2, 2024
cfed36e
change: clickhouse query timerange is now based on UTC timestamp
tsdk02 Sep 2, 2024
240f54d
pulled from remote
tsdk02 Sep 2, 2024
8aadbb4
fix(lints): fix clippy lints
lsampras Sep 2, 2024
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
1,975 changes: 1,027 additions & 948 deletions Cargo.lock

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Organization"
],
"summary": "Organization - Create",
"description": "Organization - Create\n\nCreate a new organization",
"description": "Create a new organization",
"operationId": "Create an Organization",
"requestBody": {
"content": {
Expand Down Expand Up @@ -73,7 +73,7 @@
"Organization"
],
"summary": "Organization - Retrieve",
"description": "Organization - Retrieve\n\nRetrieve an existing organization",
"description": "Retrieve an existing organization",
"operationId": "Retrieve an Organization",
"parameters": [
{
Expand Down Expand Up @@ -112,7 +112,7 @@
"Organization"
],
"summary": "Organization - Update",
"description": "Organization - Update\n\nCreate a new organization for .",
"description": "Create a new organization for .",
"operationId": "Update an Organization",
"parameters": [
{
Expand Down Expand Up @@ -170,7 +170,7 @@
"Merchant Connector Account"
],
"summary": "Merchant Connector - Create",
"description": "Merchant Connector - Create\n\nCreates a new Merchant Connector for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/Accounting etc.",
"description": "Creates a new Merchant Connector for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/Accounting etc.",
"operationId": "Create a Merchant Connector",
"requestBody": {
"content": {
Expand Down Expand Up @@ -247,7 +247,7 @@
"Merchant Connector Account"
],
"summary": "Merchant Connector - Retrieve",
"description": "Merchant Connector - Retrieve\n\nRetrieves details of a Connector account",
"description": "Retrieves details of a Connector account",
"operationId": "Retrieve a Merchant Connector",
"parameters": [
{
Expand Down Expand Up @@ -290,7 +290,7 @@
"Merchant Connector Account"
],
"summary": "Merchant Connector - Update",
"description": "Merchant Connector - Update\n\nTo update an existing Merchant Connector account. Helpful in enabling/disabling different payment methods and other settings for the connector",
"description": "To update an existing Merchant Connector account. Helpful in enabling/disabling different payment methods and other settings for the connector",
"operationId": "Update a Merchant Connector",
"parameters": [
{
Expand Down Expand Up @@ -362,7 +362,7 @@
"Merchant Connector Account"
],
"summary": "Merchant Connector - Delete",
"description": "Merchant Connector - Delete\n\nDelete or Detach a Merchant Connector from Merchant Account",
"description": "Delete or Detach a Merchant Connector from Merchant Account",
"operationId": "Delete a Merchant Connector",
"parameters": [
{
Expand Down Expand Up @@ -407,7 +407,7 @@
"Merchant Account"
],
"summary": "Merchant Account - Create",
"description": "Merchant Account - Create\n\nCreate a new account for a *merchant* and the *merchant* could be a seller or retailer or client who likes to receive and send payments.\n\nBefore creating the merchant account, it is mandatory to create an organization.",
"description": "Create a new account for a *merchant* and the *merchant* could be a seller or retailer or client who likes to receive and send payments.\n\nBefore creating the merchant account, it is mandatory to create an organization.",
"operationId": "Create a Merchant Account",
"requestBody": {
"content": {
Expand Down Expand Up @@ -475,7 +475,7 @@
"Merchant Account"
],
"summary": "Merchant Account - Retrieve",
"description": "Merchant Account - Retrieve\n\nRetrieve a *merchant* account details.",
"description": "Retrieve a *merchant* account details.",
"operationId": "Retrieve a Merchant Account",
"parameters": [
{
Expand Down Expand Up @@ -514,7 +514,7 @@
"Merchant Account"
],
"summary": "Merchant Account - Update",
"description": "Merchant Account - Update\n\nUpdates details of an existing merchant account. Helpful in updating merchant details such as email, contact details, or other configuration details like webhook, routing algorithm etc",
"description": "Updates details of an existing merchant account. Helpful in updating merchant details such as email, contact details, or other configuration details like webhook, routing algorithm etc",
"operationId": "Update a Merchant Account",
"parameters": [
{
Expand Down Expand Up @@ -581,7 +581,7 @@
"Business Profile"
],
"summary": "Business Profile - Create",
"description": "Business Profile - Create\n\nCreates a new *business profile* for a merchant",
"description": "Creates a new *business profile* for a merchant",
"operationId": "Create A Business Profile",
"requestBody": {
"content": {
Expand Down Expand Up @@ -628,7 +628,7 @@
"Business Profile"
],
"summary": "Business Profile - Retrieve",
"description": "Business Profile - Retrieve\n\nRetrieve existing *business profile*",
"description": "Retrieve existing *business profile*",
"operationId": "Retrieve a Business Profile",
"parameters": [
{
Expand Down Expand Up @@ -667,7 +667,7 @@
"Business Profile"
],
"summary": "Business Profile - Update",
"description": "Business Profile - Update\n\nUpdate the *business profile*",
"description": "Update the *business profile*",
"operationId": "Update a Business Profile",
"parameters": [
{
Expand Down Expand Up @@ -725,7 +725,7 @@
"Business Profile"
],
"summary": "Business Profile - Activate routing algorithm",
"description": "Business Profile - Activate routing algorithm\n\nActivates a routing algorithm under a business profile",
"description": "Activates a routing algorithm under a business profile",
"operationId": "Activates a routing algorithm under a business profile",
"parameters": [
{
Expand Down Expand Up @@ -792,7 +792,7 @@
"Business Profile"
],
"summary": "Business Profile - Deactivate routing algorithm",
"description": "Business Profile - Deactivate routing algorithm\n\nDeactivates a routing algorithm under a business profile",
"description": "Deactivates a routing algorithm under a business profile",
"operationId": " Deactivates a routing algorithm under a business profile",
"parameters": [
{
Expand Down Expand Up @@ -845,7 +845,7 @@
"Business Profile"
],
"summary": "Business Profile - Update Default Fallback Routing Algorithm",
"description": "Business Profile - Update Default Fallback Routing Algorithm\n\nUpdate the default fallback routing algorithm for the business profile",
"description": "Update the default fallback routing algorithm for the business profile",
"operationId": "Update the default fallback routing algorithm for the business profile",
"parameters": [
{
Expand Down Expand Up @@ -909,7 +909,7 @@
"Business Profile"
],
"summary": "Business Profile - Retrieve Default Fallback Routing Algorithm",
"description": "Business Profile - Retrieve Default Fallback Routing Algorithm\n\nRetrieve the default fallback routing algorithm for the business profile",
"description": "Retrieve the default fallback routing algorithm for the business profile",
"operationId": "Retrieve the default fallback routing algorithm for the business profile",
"parameters": [
{
Expand Down Expand Up @@ -956,7 +956,7 @@
"Business Profile"
],
"summary": "Business Profile - Retrieve Active Routing Algorithm",
"description": "Business Profile - Retrieve Active Routing Algorithm\n\nRetrieve active routing algorithm under the business profile",
"description": "Retrieve active routing algorithm under the business profile",
"operationId": "Retrieve the active routing algorithm under the business profile",
"parameters": [
{
Expand Down Expand Up @@ -1030,7 +1030,7 @@
"Routing"
],
"summary": "Routing - Create",
"description": "Routing - Create\n\nCreate a routing algorithm",
"description": "Create a routing algorithm",
"operationId": "Create a routing algprithm",
"requestBody": {
"content": {
Expand Down Expand Up @@ -1085,7 +1085,7 @@
"Routing"
],
"summary": "Routing - Retrieve",
"description": "Routing - Retrieve\n\nRetrieve a routing algorithm with its algorithm id",
"description": "Retrieve a routing algorithm with its algorithm id",
"operationId": "Retrieve a routing algorithm with its algorithm id",
"parameters": [
{
Expand Down Expand Up @@ -1135,7 +1135,7 @@
"API Key"
],
"summary": "API Key - Create",
"description": "API Key - Create\n\nCreate a new API Key for accessing our APIs from your servers. The plaintext API Key will be\ndisplayed only once on creation, so ensure you store it securely.",
"description": "Create a new API Key for accessing our APIs from your servers. The plaintext API Key will be\ndisplayed only once on creation, so ensure you store it securely.",
"operationId": "Create an API Key",
"requestBody": {
"content": {
Expand Down Expand Up @@ -1175,7 +1175,7 @@
"API Key"
],
"summary": "API Key - Retrieve",
"description": "API Key - Retrieve\n\nRetrieve information about the specified API Key.",
"description": "Retrieve information about the specified API Key.",
"operationId": "Retrieve an API Key",
"parameters": [
{
Expand Down Expand Up @@ -1214,7 +1214,7 @@
"API Key"
],
"summary": "API Key - Update",
"description": "API Key - Update\n\nUpdate information for the specified API Key.",
"description": "Update information for the specified API Key.",
"operationId": "Update an API Key",
"parameters": [
{
Expand Down Expand Up @@ -1263,7 +1263,7 @@
"API Key"
],
"summary": "API Key - Revoke",
"description": "API Key - Revoke\n\nRevoke the specified API Key. Once revoked, the API Key can no longer be used for\nauthenticating with our APIs.",
"description": "Revoke the specified API Key. Once revoked, the API Key can no longer be used for\nauthenticating with our APIs.",
"operationId": "Revoke an API Key",
"parameters": [
{
Expand Down
Loading
Loading