npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@vhiweb/munio-client-js

v0.3.44

Published

Munio is a platform to help communities and organizations managing their members with engaging features

Downloads

15

Readme

Installing

npm i @vhiweb/munio-client-js

or if you are using yarn

yarn add @vhiweb/munio-client-js

Then you need to import this library into your application.

import Munio from "@vhiweb/munio-client-js";
const munio = new Munio();

Init using API

To initialize the app use munio.init() all your host client and apiKey would be found on our munio website or please contact us.

munio.init({
  host: "example",
  client: `example`,
  AppKey: "example",
});

Client

  • Get Client For get client information, you can use getClient() function.
munio.getClient();
  • Get Client Permissions For get client permissions, you can use getClientPermissions() function.
munio.getClientPermissions();
  • Get Client Appreance Config For get client appreance config website, you can use getCLientAppreanceConfig() function.
munio.getCLientAppreanceConfig();
  • Get Client Setting Policies For get client setting policies, you can use getSettingPolicies() function.
munio.getSettingPolicies();
  • Get Firebase App Service Account For get firebase app service account, you can use getFirebaseAppServiceAccount() function.
munio.getFirebaseAppServiceAccount();

Authentication

  • Login With Email For login using email, you can use LoginWithEmail({your_data}) function.
munio.LoginWithEmail({
  login: "[email protected]",
  password: "munioTest1234 ",
  grant_type: "example",
});
  • Login With SSO For login using SSO (Social Media), you can use LoginWithSSO({your_data}) function.
munio.LoginWithSSO({
  token,
  grant_type: "example",
});
  • Register With Email For register using email, you can use RegisterWithEmail({your_data}) function.
munio.RegisterWithEmail({
  name: "Munio Test",
  email: "[email protected]",
  phone: "08123456781",
  password: "munioTest1234",
  password_confirmation: "munioTest1234",
  grant_type: "example",
});
  • Forgot Passowrd For check email if forgot password, you can use forgotPassword({your_data}) function.
munio.forgotPassword({
  email: "your_email",
});
  • Send OTP For send OTP, you can use sendOTP({your_data}) function.
munio.sendOTP({
  email: "your_email",
});
  • Resend OTP For resend OTP, you can use resendOTP({your_data}) function.
munio.resendOTP({
  email: "your_email",
});
  • Verify OTP For verify OTP, you can use verifyOTP({your_data}) function.
munio.verifyOTP({
  email: "your_email",
  code: "your_code",
});
  • Change or Reset Password For change or reset password, you can use changePassword({your_data}) function.
munio.changePassword({
  password: "your_new_password",
  password_confirmation: "your_new_password_confirmation",
  code: "your_code",
});
  • Check User For check if email belongs to several clients, you can use checkUsers() function.
munio.checkUsers();
  • Profile For get user prfoile information, you can use getProfile() function.
munio.getProfile();
  • Update Profile For update user prfoile information, you can use updateProfile({your_data}) function.
munio.updateProfile({
  name: "Munio Test Update",
  email: "[email protected]",
  phone: "081234567813",
  member: {},
  avatar: 'base64'
});
  • Profile Membership For get profile membership, you can use getProfileMembership() function.
munio.getProfileMembership();
  • Profile Membership Packcage For get profile membership, you can use getProfileMembershipPackage() function..
munio.getProfileMembershipPackage();

Events

  • Get Upcoming Detail To get list of Events, you can use getEvent(your_data) function.
munio.getEvent(category:string, page: number, pageNumber: number, q:string, theme:string, type:string, eventDate:string )
  • Get Upcoming Detail To get list of Upcoming Event, you can use getUpcomingEvent(your_data) function.
munio.getUpcomingEvent(pageNumber: string, page: number);
  • Get Event Detail To get Detail Event, you can use getEventDetail('your slug') function.
munio.getEventDetail(slug: string);
  • Get Themes Event To get list of Themes Event, you can use getThemesEvent() function.
munio.getThemesEvent();
  • Get Categories Event To get list of Categories Event, you can use getCategoriesEvents(your_data) function.
munio.getCategoriesEvents(pageNumber: string, page: number, category: string, q:string);
  • Registration Event For registration event (rsvp), you can use RegistrationEvent({your_data}) function.
munio.RegistrationEvent({
  name: "Munio Test",
  email: "[email protected]",
  phone: "08123456781",
  package_id: 1,
  qty: 1,
  form_response: [],
  payment_method_id: 1
});
  • Get Detail RSVP To get detail RSVP, you can use getRsvpsDetail(your_data) function.
munio.getRsvpsDetail(number: string);
  • Get List Package Event To get list package event, you can use getListPackageEvent(your_data) function.
munio.getListPackageEvent(id);

Transactions

  • Get Payment Channels To get payment channels, you can use getPaymentChannels(your_data) function.
munio.getPaymentChannels(amount: number);
  • Get List Payment Channels To get list payment channels, you can use getListPaymentChannels(your_data) function.
munio.getListPaymentChannels(type: string, id: any, amount: number);
  • Get Invoice Detail To get invoice detail, you can use getInvoicesDetail(your_data) function.
munio.getInvoicesDetail(hash: string);
  • Update Invoice Detail To update invoice detail, you can use updateInvoiceStatus({your_data}) function.
munio.updateInvoiceStatus({
  status: 'status_value'
});

Posts

  • Get Posts To get list of Posts, you can use getPosts() and getLatestPostsfunction.
munio.getPosts(page: number, q:string)
munio.getLatestPosts(page: number, q:string);
  • Get Categories Post To get list of Categories Post, you can use getCategoriesPost() and getPostsCategories()function.
munio.getCategoriesPost(pageNumber: string, page: number, category: string, q:string);
munio.getPostsCategories();
  • Get Detail Post To get detail post, you can use getPostsDetail(your_data) function.
munio.getPostsDetail(slug: any);

Vacancies

  • Get Vacancies To get vacancies, you can use getVacancies() function.
munio.getVacancies(pageNumber: string);
munio.getFilterVacancies(categoryvacancy?: string,industryvacancy?: string,typevacancy?:string,q?:string, page?: number);
  • Get Categories Vacancy To get categories you can use getVacanciesCategories() function.
munio.getVacanciesCategories();
  • Get Type Vacancy To get Type you can use getVacanciesTypes() function.
munio.getVacanciesTypes();
  • Get Industries Vacancy To get Industries you can use getIndustries() function.
munio.getIndustries();
  • Get Vacancy Detail To get Detail you can use getVacanciesDetail(your_data) function.
munio.getDetailVacancy(slug: string);

Campaigns

  • Get Campaigns To get Campaigns you can use getCampaigns(your_data) function.
munio.getCampaigns(page?: number, q?: string, per_page?: number, categories: string, date: any);
  • Get Campaigns Finished To get Campaigns was finished, you can use getCampaignsFinished({your_data}) function.
munio.getCampaignsFinished(page?: number, q?: string, per_page?: number, categories: string, date: any);
  • Get Campaign Detail To get Campaign Detail you can use getCampaignDetail(your_data) function.
munio.getCampaignDetail(id: string);
  • Get Campaign Categories To get Campaigns you can use getCampaignCategories() function.
munio.getCampaignCategories();
  • Create Donation To create donation, you can use CreateDonation({your_data}) function.
munio.CreateDonation({
  amount: 'amount_value'
  campaign_id: 'campaign_id_value'
  payment_method_id: 'payment_method_id_value'
  name: 'name_value'
  phone: 'phone_value'
  email: 'email_value'
  is_anonymous email: 'is_anonymous_value'
});

Activities

  • Get Identifier To get Identifier you can use getIdentifierActivities() function.
munio.getIdentifierActivities();
  • Count View To count view for 'events' or 'news', you can use countView({your_data}) function.
munio.countView({
  type: 'type'
  slug: 'slug_value'
  identifier: 'identifier_value'
});
  • Count Share To count share for 'events' or 'news', you can use countShare({your_data}) function.
munio.countShare({
  type: 'type'
  slug: 'slug_value'
  identifier: 'identifier_value'
});

Commerce - Product

  • Get Products Commerce To get List Products you can use getProductsCommerce(yourdata) function.
munio.getProductsCommerce(page?: number, q?: string, per_page?: number, category?: string, order?: string, orderby?: string, show_all?: boolean);
  • Get Categories Product Commerce To get Categories Product you can use getCategoriesProductCommerce() function.
munio.getCategoriesProductCommerce();
  • Get Product Commerce Detail To get Campaign Detail you can use getProductCommerceDetail(your_data) function.
munio.getProductCommerceDetail(id);

Commerce - Orders

  • Create Order To create order, you can use CreateOrders({your_data}) function.
munio.CreateOrders({
  name: 'name_value'
  email: 'email_value'
  phone: 'phone_value'
  address: 'address_value'
  country: 'country_value'
  state: 'state_value'
  district: 'district_value'
  subdistrict: 'subdistrict_value'
  postcode: 'postcode_value'
  items: 'items_value'
  shipping_destination_id: 'shipping_destination_id_value'
  shipping_courier: 'shipping_courier_value'
  payment_method_id: 'payment_method_id_value'
});
  • Get Order Detail To get order detail, you can use getOrderDetail() function.
munio.getOrderDetail();
  • **Get Orders Shipment States ** To get Orders Shipment States, you can use getOrdersShipmentStates() function.
munio.getOrdersShipmentStates();
  • Get Orders Shipment State Detail To get Orders Shipment State Detail, you can use getOrdersShipmentStateDetail(your_data) function.
munio.getOrdersShipmentStateDetail(id);
  • **Get Orders Shipment Districts ** To get Orders Shipment Districts, you can use getOrdersShipmentDistricts(your_data) function.
munio.getOrdersShipmentDistricts(state);
  • Get Orders Shipment District Detail To get Orders Shipment District Detail, you can use getOrdersShipmentDistrictDetail(your_data) function.
munio.getOrdersShipmentDistrictDetail(id);
  • **Get Orders Shipment Subdistricts ** To get Orders Shipment Subdistricts, you can use getOrdersShipmentSubdistricts(your_data) function.
munio.getOrdersShipmentSubdistricts(district);
  • Get Orders Shipment Subdistrict Detail To get Orders Shipment Subdistrict Detail, you can use getOrdersShipmentSubdistrictDetail(your_data) function.
munio.getOrdersShipmentSubdistrictDetail(id);
  • Check Order Shipment Costs To Check Order Shipment Costs, you can use CheckOrderShipementCosts(your_data) function.
munio.CheckOrderShipementCosts(products, shipping_destination_id);

Other

  • Get List To get list Major, you can use ggetMajorList() function.
munio.getMajorList();

:warning: Note: Munio Client JS is still under development, and some function might be change.