Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@integrationos/cli

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@integrationos/cli

Build and manage performant, high-converting native integrations with a few lines of code.

npmnpm
Version
0.3.0
Version published
Weekly downloads
37
-49.32%
Maintainers
5
Weekly downloads
 
Created
Source

IntegrationOS

Build performant, high-converting native integrations with a few lines of code. By unlocking more integrations, you can onboard more customers and expand app usage, overnight.

Installation

npm install cios

Docker Setup

Commands

Start

To start the docker containers.

cios start
Available Flags
FlagDescriptionRequired
--kmsKeyIdThe KMS Key ID.Yes.
--kmsKeyRingIdThe KMS Key Ring ID.Yes.
--gcpLocationIdThe GCP Location ID.Yes.
--gcpProjectIdThe GCP Project ID.Yes.
--homeThe GCP Configuration Global Path.Yes.
--seedWhether to seed the Database.No.
Examples
# To start the docker containers
cios start --kmsKeyId random-key-id --kmsKeyRingId random-kms-key-ring-id --gcpLocationId global --gcpProjectId random-gcp-project-id --home /home/gcp_config

Stop

To stop the docker containers.

cios stop

Initialization

To generate the configuration file.

cios init
Available Flags
FlagDescriptionRequired
--mongoPasswordThe Mongo Password.No.
--buildableSecretThe Buildable Secret.No.
--defaultLiveAccessKeyThe Default Live Access Key.No.
--defaultTestAccessKeyThe Default Test Access Key.No.
--developerAccountAccessKeyThe Developer Account Access Key.No.
--developerAccountIdThe Developer Account ID.No.
--eventAccessPasswordThe Event Access Password.No.
--jwtSecretThe JWT Secret.No.
--gatewaySecretThe Gateway Secret.No.
--apiUrlThe API URL.No.
--xIosSecretThe X-IOS Secret.No.
--bearerTokenThe Bearer Token.No.
Examples
# To generate the configuration file
cios init --mongoPassword mongo-password --buildableSecret buildable-secret --defaultLiveAccessKey default-live-access-key --defaultTestAccessKey default-test-access-key --developerAccountAccessKey developer-account-access-key --developerAccountId developer-account-id --eventAccessPassword event-access-password --jwtSecret jwt-secret --gatewaySecret gateway-secret --apiUrl api-url --xIosSecret x-ios-secret --bearerToken bearer-token

Supported Operations

EntityOperationsExtra Operations
ListAddPushPullDelete
AllSpecificAllSpecificAllSpecific
Common EnumsXXXX
Common ModelsXX
PlatformsXAdd ModelAdd Oauth

Commands

The following commands are available to work with Common Models, Common Enums or Platforms.

Common Enums

Perform operations on common enums.

List

List common enum(s) available in the database.

cios listCommonEnum

Add

Add common enum(s) to the repository.

cios addCommonEnum
Available Flags
FlagDescriptionRequired
--enumsNames of the enum(s) to be added.Yes.
Examples
# To add specific enums
cios addCommonModel --enums UserType MessageStatus

Pull

Pull common enum(s) from the database to the repository.

cios pullCommonEnum
Available Flags
FlagDescriptionRequired
--allTo pull all common enums available.Yes, if --enums is not provided.
--enumsNames of the common enum(s) to be pulled.Yes, if --all is not provided.
Examples
# To pull all enums 
cios pullCommonEnum --all

# To pull specific enums
cios pullCommonEnum --enums AddressType SocialProfileType

Push

Push common enum(s) from the repository to the database.

cios pushCommonEnum
Available Flags
FlagDescriptionRequired
--allTo push all common enums available.Yes, if --enums is not provided.
--enumsNames of the enum(s) to be pushed.Yes, if --all is not provided.
Examples
# To push all enums 
cios pushCommonEnum --all

# To push specific enums
cios pushCommonEnum --enums EventRuleType TimeCycle

Delete

Delete common enum(s) from the repository and the database.

cios deleteCommonEnum
Available Flags
FlagDescriptionRequired
--enumsNames of the enum(s) to be deleted.Yes.
Examples
# To delete specific enums
cios deleteCommonEnum --enums UserStatus TaxType

Common Models

Perform operations on common models.

List

List common model(s) available in the database.

cios listCommonModel

Add

Add common model(s) to the repository.

cios addCommonModel
Available Flags
FlagDescriptionRequired
--modelsNames of the model(s) to be added.Yes.
Examples
# To add specific models
cios addCommonModel --models Contacts Deals

Pull

Pull common model(s) from the database to the repository.

cios pullCommonModel
Available Flags
FlagDescriptionRequired
--allTo pull all common models available.Yes, if --models is not provided.
--modelsNames of the model(s) to be pulled.Yes, if --all is not provided.
Examples
# To pull all models 
cios pullCommonModel --all

# To pull specific models
cios pullCommonModel --models Customers Webhooks

Push

Push common model(s) from the repository to the database.

cios pushCommonModel
Available Flags
FlagDescriptionRequired
--allTo push all common models available.Yes, if --models is not provided.
--modelsNames of the model(s) to be pushed.Yes, if --all is not provided.
Examples
# To push all models 
cios pushCommonModel --all

# To push specific models
cios pushCommonModel --models Customers Webhooks

Delete

Delete common model(s) from the repository and the database.

cios deleteCommonModel
Available Flags
FlagDescriptionRequired
--modelsNames of the model(s) to be deleted.Yes.
Examples
# To delete specific models
cios deleteCommonModel --models Leads Opportunities

Platforms

Perform operations on platforms.

List

List platform(s) available in the database.

cios listPlatform

Add

Add platform to the repository.

cios addPlatform
Available Flags
FlagDescriptionRequired
--platformName of the platform.Yes.
--authAuthentication type, possible options are: oauth or bearer.Yes.
--modelsNames of the model(s) to be added to the platform.Yes.
Examples
# To add a platform
cios addPlatform --platform zenMail --auth oauth --models Addresses Discounts

Pull

Pull platform(s) from the database to the repository.

cios pullPlatform
Available Flags
FlagDescriptionRequired
--allTo pull all platforms available.Yes, if --platforms is not provided.
--platformsNames of the platform(s) to be pulled.Yes, if --all is not provided.
Examples
# To pull all platforms
cios pullPlatform --all

# To pull specific platform
cios pullPlatform --platforms faceGram instaBook

Push

Push platform(s) from the repository to the database.

cios pushPlatform
Available Flags
FlagDescriptionRequired
--allTo push all platforms available.Yes, if --platforms is not provided.
--platformsNames of the platform(s) to be pushed.Yes, if --all is not provided.
Examples
# To push all platforms 
cios pushPlatform --all

# To push specific platforms
cios pushPlatform --platforms shopCommerce bigify

Add Model

Add model(s) to the platform.

cios addPlatformModel
Available Flags
FlagDescriptionRequired
--platformName of the platform.Yes.
--modelsName of the models to be added.Yes.
Examples
# To add models to a platform
cios addPlatformModel --platform bananaShake --models Accounts Users

Add OAuth

Add oauth configuration for a platform.

cios addPlatformOAuth
Available Flags
FlagDescriptionRequired
--platformName of the platform.Yes.
Examples
# To add oauth for a platform
cios addPlatformOAuth --platform boogle

Delete

Delete platform(s) from the repository and the database.

cios deletePlatform
Available Flags
FlagDescriptionRequired
--platformsNames of the platform(s) to be deleted.Yes.
Examples
# To delete specific platforms
cios deletePlatforms --platforms bwitter orange

FAQs

Package last updated on 18 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts