0.0.4 • Published 1 year ago

@plasma-platform/service-authors v0.0.4

Weekly downloads
-
License
CC-BY-4.0
Repository
gitlab
Last release
1 year ago

version nextVersion downloads license dependency


Full documentation
install:
npm i @plasma-platform/service-apv -S

Short documentation

Table of Contents

AuthorsService

messages

object with class service messages

Type: object

searchStores

Stores - Search stores

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.searchStores();
})();

Returns Promise<any>

updateStore

Stores - Update store

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.updateStore();
})();

Returns Promise<any>

getAuthorProfile

Author - Request authorized author information

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.getAuthorProfile();
})();

Returns Promise<any>

createAuthorProfile

Author - Create new author

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.createAuthorProfile({});
})();

Returns Promise<any>

modifyAuthorProfile

Author - Modify author own information

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.modifyAuthorProfile({});
})();

Returns Promise<any>

getPercentSettings

Author - Get list of percent settings

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.getPercentSettings();
})();

Returns Promise<any>

linkAuthorsCover

Author - Link cover image url to author

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.linkAuthorsCover({});
})();

Returns Promise<any>

linkAuthorsSocialAccount

Author - Link social account profile

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.linkAuthorsSocialAccount({});
})();

Returns Promise<any>

getListBadges

Badges - Get list of badges

Examples

(async () => {
  const service = new AuthorsService(url);
  const request = await service.getListBadges({});
})();

Returns Promise<any>