Namirasoft Notification Sender API V1

Namira Software Corporation Notification Sender API Version 1 (1.5.3)

Install


To use this cli, we need to first Install Nodejs, then run the following command.

npm i -g namirasoft-notification-sender-api-v1

Copied!

Commands


Health

Liveness

Returns the application liveness status

ns-notification-sender health liveness

Copied!

Readiness

Returns the application readiness status

ns-notification-sender health readiness

Copied!

Metrics

Get

Returns the application metrics

ns-notification-sender metrics get

Copied!

Value

List

Returns the value list of a given table and column

ns-notification-sender value list {table} {column} {search} {field_id} {limit}

Copied!

Overview

Count

Returns the row count of every entity across all databases, optionally grouped by workspace_id and filtered to specific workspaces

ns-notification-sender overview count

Copied!

--group_by_workspace (Boolean)

--workspace_ids (Array)

TopicCategory

List

Returns the topic category list

ns-notification-sender topiccategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a topic category by id.

ns-notification-sender topiccategory get {id}

Copied!

Create

Creates a new topic category for an entity

ns-notification-sender topiccategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a topic category by an id.

ns-notification-sender topiccategory delete {id}

Copied!

TopicField

List

Returns the topic field list

ns-notification-sender topicfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a topic field by id.

ns-notification-sender topicfield get {id}

Copied!

Create

Creates a new topic field for an entity

ns-notification-sender topicfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a topic field by an id for an entity

ns-notification-sender topicfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a topic field by an id.

ns-notification-sender topicfield delete {id}

Copied!

TopicTag

List

Returns the topic tag list

ns-notification-sender topictag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a topic tag by id.

ns-notification-sender topictag get {id}

Copied!

Create

Creates a new topic tag for an entity

ns-notification-sender topictag create

Copied!

--name (String)

--value (String)

Update

Updates a topic tag by an id for an entity

ns-notification-sender topictag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a topic tag by an id.

ns-notification-sender topictag delete {id}

Copied!

Topic

_SendFor

Sends a message to a topic

ns-notification-sender topic _sendfor {user_id}

Copied!

--from_application (Boolean)

--topic_id (String)

--title (String)

--message (String)

Send

Sends an topic

ns-notification-sender topic send

Copied!

--topic_id (String)

--title (String)

--message (String)

List

Returns the topic list

ns-notification-sender topic list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a topic by an id

ns-notification-sender topic get {id}

Copied!

Create

Creates a new topic

ns-notification-sender topic create

Copied!

--workspace_id (String)

--name (String)

--limit (Boolean)

--limit_count (Integer)

--limit_per_value (Integer)

--limit_per_unit (Enum)

--delay (Boolean)

--delay_value (Integer)

--delay_unit (Enum)

--description (String)

--topic_category (Array)

--topic_field (Array)

--topic_tag (Array)

Update

Updates a topic by an id

ns-notification-sender topic update {id}

Copied!

--workspace_id (String)

--name (String)

--limit (Boolean)

--limit_count (Integer)

--limit_per_value (Integer)

--limit_per_unit (Enum)

--delay (Boolean)

--delay_value (Integer)

--delay_unit (Enum)

--description (String)

--topic_category (Array)

--topic_field (Array)

--topic_tag (Array)

Delete

Deletes a topic by an id

ns-notification-sender topic delete {id}

Copied!

SubscriberCategory

List

Returns the subscriber category list

ns-notification-sender subscribercategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a subscriber category by id.

ns-notification-sender subscribercategory get {id}

Copied!

Create

Creates a new subscriber category for an entity

ns-notification-sender subscribercategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a subscriber category by an id.

ns-notification-sender subscribercategory delete {id}

Copied!

SubscriberField

List

Returns the subscriber field list

ns-notification-sender subscriberfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a subscriber field by id.

ns-notification-sender subscriberfield get {id}

Copied!

Create

Creates a new subscriber field for an entity

ns-notification-sender subscriberfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a subscriber field by an id for an entity

ns-notification-sender subscriberfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a subscriber field by an id.

ns-notification-sender subscriberfield delete {id}

Copied!

SubscriberTag

List

Returns the subscriber tag list

ns-notification-sender subscribertag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a subscriber tag by id.

ns-notification-sender subscribertag get {id}

Copied!

Create

Creates a new subscriber tag for an entity

ns-notification-sender subscribertag create

Copied!

--name (String)

--value (String)

Update

Updates a subscriber tag by an id for an entity

ns-notification-sender subscribertag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a subscriber tag by an id.

ns-notification-sender subscribertag delete {id}

Copied!

Subscriber

List

Returns the subscriber list

ns-notification-sender subscriber list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a subscriber by an id

ns-notification-sender subscriber get {id}

Copied!

Create

Creates a new subscriber

ns-notification-sender subscriber create

Copied!

--workspace_id (String)

--topic_id (String)

--sender_id (String)

--sender_type (Enum)

--name (String)

--value (String)

--description (String)

--subscriber_category (Array)

--subscriber_field (Array)

--subscriber_tag (Array)

Update

Updates a subscriber by an id

ns-notification-sender subscriber update {id}

Copied!

--workspace_id (String)

--topic_id (String)

--sender_id (String)

--sender_type (Enum)

--name (String)

--value (String)

--description (String)

--subscriber_category (Array)

--subscriber_field (Array)

--subscriber_tag (Array)

Delete

Deletes a subscriber by an id

ns-notification-sender subscriber delete {id}

Copied!

Request

Sends a subscriber validation request

ns-notification-sender subscriber request {id}

Copied!

Verify

Verify subscriber

ns-notification-sender subscriber verify {id}

Copied!

--code (String)

SentSubscriber

List

Returns the sent subscriber list

ns-notification-sender sentsubscriber list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a sent subscriber by an id

ns-notification-sender sentsubscriber get {id}

Copied!

SentTopic

List

Returns the sent topic list

ns-notification-sender senttopic list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a sent topic by an id

ns-notification-sender senttopic get {id}

Copied!

Schemas


OverviewCountInput

{
    "name": "OverviewCountInput",
    "type": "Object",
    "required": true,
    "fields": {
        "group_by_workspace": {
            "type": "Boolean",
            "required": false
        },
        "workspace_ids": {
            "type": "Array",
            "required": false,
            "items": [
                {
                    "type": "String",
                    "required": true
                }
            ]
        }
    }
}

OverviewCountRow

{
    "name": "OverviewCountRow",
    "type": "Object",
    "required": true,
    "fields": {
        "database": {
            "type": "String",
            "required": true
        },
        "table": {
            "type": "String",
            "required": true
        },
        "total": {
            "type": "Integer",
            "required": true
        },
        "by_workspace": {
            "type": "Array",
            "required": false,
            "items": [
                {
                    "name": "OverviewCountByWorkspace",
                    "type": "Object",
                    "required": true,
                    "fields": {
                        "workspace_id": {
                            "type": "String",
                            "required": true
                        },
                        "count": {
                            "type": "Integer",
                            "required": true
                        }
                    }
                }
            ]
        }
    }
}

OverviewCountByWorkspace

{
    "name": "OverviewCountByWorkspace",
    "type": "Object",
    "required": true,
    "fields": {
        "workspace_id": {
            "type": "String",
            "required": true
        },
        "count": {
            "type": "Integer",
            "required": true
        }
    }
}

TopicCategory

{
    "name": "TopicCategory",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "Integer",
            "required": true
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "entity_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "slot_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "category_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        }
    }
}

EntityCategoryInput

{
    "name": "EntityCategoryInput",
    "type": "Object",
    "required": true,
    "fields": {
        "slot_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "category_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        }
    }
}

TopicField

{
    "name": "TopicField",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "Integer",
            "required": true
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "entity_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "slot_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "field_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "value": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        }
    }
}

EntityFieldInput

{
    "name": "EntityFieldInput",
    "type": "Object",
    "required": true,
    "fields": {
        "slot_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "field_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "value": {
            "type": "Any",
            "required": false
        }
    }
}

TopicTag

{
    "name": "TopicTag",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "Integer",
            "required": true
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "entity_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "value": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        }
    }
}

EntityTagInput

{
    "name": "EntityTagInput",
    "type": "Object",
    "required": true,
    "fields": {
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "value": {
            "type": "String",
            "required": false
        }
    }
}

Topic

{
    "name": "Topic",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "workspace_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "limit": {
            "type": "Boolean",
            "required": true
        },
        "limit_count": {
            "type": "Integer",
            "required": false
        },
        "limit_per_value": {
            "type": "Integer",
            "required": false
        },
        "limit_per_unit": {
            "name": "TopicLimitPerUnit",
            "type": "Enum",
            "required": false,
            "valids": [
                "Second",
                "Minute",
                "Hour",
                "Day"
            ]
        },
        "delay": {
            "type": "Boolean",
            "required": true
        },
        "delay_value": {
            "type": "Integer",
            "required": false
        },
        "delay_unit": {
            "name": "TopicDelayUnit",
            "type": "Enum",
            "required": false,
            "valids": [
                "Millisecond",
                "Second",
                "Minute"
            ]
        },
        "description": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        }
    }
}

TopicFull

{
    "name": "TopicFull",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "workspace_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "limit": {
            "type": "Boolean",
            "required": true
        },
        "limit_count": {
            "type": "Integer",
            "required": false
        },
        "limit_per_value": {
            "type": "Integer",
            "required": false
        },
        "limit_per_unit": {
            "name": "TopicLimitPerUnit",
            "type": "Enum",
            "required": false,
            "valids": [
                "Second",
                "Minute",
                "Hour",
                "Day"
            ]
        },
        "delay": {
            "type": "Boolean",
            "required": true
        },
        "delay_value": {
            "type": "Integer",
            "required": false
        },
        "delay_unit": {
            "name": "TopicDelayUnit",
            "type": "Enum",
            "required": false,
            "valids": [
                "Millisecond",
                "Second",
                "Minute"
            ]
        },
        "description": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        },
        "topic_category": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityCategoryInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "slot_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "category_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        }
                    }
                }
            ]
        },
        "topic_field": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityFieldInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "slot_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "field_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "value": {
                            "type": "Any",
                            "required": false
                        }
                    }
                }
            ]
        },
        "topic_tag": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityTagInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "name": {
                            "type": "String",
                            "required": true,
                            "max": 255
                        },
                        "value": {
                            "type": "String",
                            "required": false
                        }
                    }
                }
            ]
        }
    }
}

TopicInput

{
    "name": "TopicInput",
    "type": "Object",
    "required": true,
    "fields": {
        "workspace_id": {
            "type": "String",
            "required": false,
            "min": 20,
            "max": 20
        },
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "limit": {
            "type": "Boolean",
            "required": true
        },
        "limit_count": {
            "type": "Integer",
            "required": false
        },
        "limit_per_value": {
            "type": "Integer",
            "required": false
        },
        "limit_per_unit": {
            "name": "TopicLimitPerUnit",
            "type": "Enum",
            "required": false,
            "valids": [
                "Second",
                "Minute",
                "Hour",
                "Day"
            ]
        },
        "delay": {
            "type": "Boolean",
            "required": true
        },
        "delay_value": {
            "type": "Integer",
            "required": false
        },
        "delay_unit": {
            "name": "TopicDelayUnit",
            "type": "Enum",
            "required": false,
            "valids": [
                "Millisecond",
                "Second",
                "Minute"
            ]
        },
        "description": {
            "type": "String",
            "required": false
        },
        "topic_category": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityCategoryInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "slot_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "category_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        }
                    }
                }
            ]
        },
        "topic_field": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityFieldInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "slot_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "field_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "value": {
                            "type": "Any",
                            "required": false
                        }
                    }
                }
            ]
        },
        "topic_tag": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityTagInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "name": {
                            "type": "String",
                            "required": true,
                            "max": 255
                        },
                        "value": {
                            "type": "String",
                            "required": false
                        }
                    }
                }
            ]
        }
    }
}

SubscriberCategory

{
    "name": "SubscriberCategory",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "Integer",
            "required": true
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "entity_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "slot_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "category_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        }
    }
}

SubscriberField

{
    "name": "SubscriberField",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "Integer",
            "required": true
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "entity_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "slot_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "field_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "value": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        }
    }
}

SubscriberTag

{
    "name": "SubscriberTag",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "Integer",
            "required": true
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "entity_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "value": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        }
    }
}

Subscriber

{
    "name": "Subscriber",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "workspace_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "topic_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "sender_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "sender_type": {
            "name": "SubscriberSenderType",
            "type": "Enum",
            "required": true,
            "valids": [
                "Email",
                "Slack",
                "SMS",
                "Teams",
                "Telegram"
            ]
        },
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "value": {
            "type": "String",
            "required": false,
            "max": 255
        },
        "verified": {
            "type": "Boolean",
            "required": true
        },
        "description": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        }
    }
}

SubscriberFull

{
    "name": "SubscriberFull",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "user_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "workspace_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "topic_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "sender_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "sender_type": {
            "name": "SubscriberSenderType",
            "type": "Enum",
            "required": true,
            "valids": [
                "Email",
                "Slack",
                "SMS",
                "Teams",
                "Telegram"
            ]
        },
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "value": {
            "type": "String",
            "required": false,
            "max": 255
        },
        "verified": {
            "type": "Boolean",
            "required": true
        },
        "description": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "updated_at": {
            "type": "DateTime",
            "required": true
        },
        "subscriber_category": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityCategoryInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "slot_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "category_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        }
                    }
                }
            ]
        },
        "subscriber_field": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityFieldInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "slot_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "field_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "value": {
                            "type": "Any",
                            "required": false
                        }
                    }
                }
            ]
        },
        "subscriber_tag": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityTagInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "name": {
                            "type": "String",
                            "required": true,
                            "max": 255
                        },
                        "value": {
                            "type": "String",
                            "required": false
                        }
                    }
                }
            ]
        }
    }
}

SubscriberInput

{
    "name": "SubscriberInput",
    "type": "Object",
    "required": true,
    "fields": {
        "workspace_id": {
            "type": "String",
            "required": false,
            "min": 20,
            "max": 20
        },
        "topic_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "sender_id": {
            "type": "String",
            "required": true,
            "min": 20,
            "max": 20
        },
        "sender_type": {
            "name": "SubscriberSenderType",
            "type": "Enum",
            "required": true,
            "valids": [
                "Email",
                "Slack",
                "SMS",
                "Teams",
                "Telegram"
            ]
        },
        "name": {
            "type": "String",
            "required": true,
            "max": 255
        },
        "value": {
            "type": "String",
            "required": false,
            "max": 255
        },
        "description": {
            "type": "String",
            "required": false
        },
        "subscriber_category": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityCategoryInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "slot_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "category_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        }
                    }
                }
            ]
        },
        "subscriber_field": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityFieldInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "slot_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "field_id": {
                            "type": "String",
                            "required": true,
                            "min": 20,
                            "max": 20
                        },
                        "value": {
                            "type": "Any",
                            "required": false
                        }
                    }
                }
            ]
        },
        "subscriber_tag": {
            "type": "Array",
            "required": true,
            "items": [
                {
                    "name": "EntityTagInput",
                    "type": "Object",
                    "required": false,
                    "fields": {
                        "name": {
                            "type": "String",
                            "required": true,
                            "max": 255
                        },
                        "value": {
                            "type": "String",
                            "required": false
                        }
                    }
                }
            ]
        }
    }
}

SentSubscriber

{
    "name": "SentSubscriber",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "String",
            "required": true
        },
        "user_id": {
            "type": "String",
            "required": false
        },
        "session_id": {
            "type": "String",
            "required": false
        },
        "topic_id": {
            "type": "String",
            "required": true
        },
        "subscriber_id": {
            "type": "String",
            "required": true
        },
        "message_id": {
            "type": "String",
            "required": true
        },
        "subscriber_type": {
            "type": "String",
            "required": true
        },
        "subscriber_value": {
            "type": "String",
            "required": false
        },
        "title": {
            "type": "String",
            "required": true
        },
        "message": {
            "type": "String",
            "required": true
        },
        "successful": {
            "type": "Boolean",
            "required": false
        },
        "result": {
            "type": "String",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "sent_at": {
            "type": "DateTime",
            "required": false
        }
    }
}

SentTopic

{
    "name": "SentTopic",
    "type": "Object",
    "required": true,
    "fields": {
        "id": {
            "type": "String",
            "required": true
        },
        "user_id": {
            "type": "String",
            "required": false
        },
        "session_id": {
            "type": "String",
            "required": false
        },
        "topic_id": {
            "type": "String",
            "required": true
        },
        "title": {
            "type": "String",
            "required": true
        },
        "message": {
            "type": "String",
            "required": true
        },
        "subscribers": {
            "type": "Double",
            "required": true
        },
        "ignored": {
            "type": "Double",
            "required": true
        },
        "successful": {
            "type": "Double",
            "required": false
        },
        "failed": {
            "type": "Double",
            "required": false
        },
        "created_at": {
            "type": "DateTime",
            "required": true
        },
        "finished_at": {
            "type": "DateTime",
            "required": false
        }
    }
}

Enums

TopicLimitPerUnit

Second

Minute

Hour

Day

TopicDelayUnit

Millisecond

Second

Minute

SubscriberSenderType

Email

Slack

SMS

Teams

Telegram

Namira Software Corporation

©Copyright 2010 to 2026 Namira Software Corporation. All rights reserved.