open-index/open-npm huggingface dataset:
npm package: @inclouded/slm-sdk
Description: ``` npm install --save @inclouded/slm-sdk ```
Latest version: 0.3.4

# Slack Leave Management Angular SDK

```
npm install --save @inclouded/slm-sdk
```

## Introduction

This library contains a Firebase SDK that is compatible with projects built in Angular 2+ frameworks. This SDK achieves the basic CRUD operations.

## Usage

1. The SDK needs an Angular 2+ project in which an existing Firebase project is integrated.

2. We recommend to call SDK methods in Angular services:

```typescript
import { Injectable } from '@angular/core';
import { Event, EventApi, Request, RequestApi, User, UserApi, Holiday, HolidayApi } from '@inclouded/slm-sdk';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';

@Injectable()
export class SLMService {

    eventApi: EventApi;
    requestApi: RequestApi;
    userApi: UserApi;
    holidayApi: HolidayApi;

    constructor(private afs: AngularFirestore) {
        this.eventApi = new EventApi(this.afs);
        this.requestApi = new RequestApi(this.afs);
        this.userApi = new UserApi(this.afs);
        this.holidayApi = new HolidayApi(this.afs);
    }

    addUser(user: User) {
        return this.userApi.add(user);
    }

    getAllUsers(): Observable<User[]> {
        return this.userApi.getAll();
    }

    addRequest(user: Request) {
        return this.requestApi.add(user);
    }

    getAllRequests(): Observable<Request[]> {
        return this.requestApi.getAll();
    }

    addEvent(user: Event) {
        return this.eventApi.add(user);
    }

    getAllEvents(): Observable<Event[]> {
        return this.eventApi.getAll();
    }

    addHoliday(holiday: Holiday) {
        return this.holidayApi.add(holiday);
    }

    getAllHolidays(): Observable<Holiday[]> {
        return this.holidayApi.getAll();
    }

}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu)
npm package: @inclouded/tigra-phr-sdk
Description: ``` npm install --save @inclouded/tigra-phr-sdk ```
Latest version: 1.0.3

# TIGRA PHR SDK

```
npm install --save @inclouded/tigra-phr-sdk
```

## Introduction

This library contains a Tigra PHR SDK that is compatible with projects built in Angular 2+ frameworks. This SDK achieves the basic CRUD operations.

## Usage

1. The SDK needs an Angular 2+ project in which an existing Firebase project is integrated.

2. We must import the different classes and invite the correct one with the 'new' command.

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)
npm package: @inclouded/tmf-agreements
Description: ``` npm install --save @inclouded/tmf-agreements ```
Latest version: 1.0.5

# TMF Agreement Firestore SDK

```
npm install --save @inclouded/tmf-agreements
```

## Introduction

In the repository the Firebase Cloud Firestore SDK can be found that was made for the TMF Agreement resource in an installable Angular folder form. The SDK can be installed for every Angular 2+ project. The SDK accomplishes the necessary CRUD operations.

## Usage

1. For using the SDK an Angular 2+ project is needed, in which we can establish a connection to a Firestore database instance. (configured in environments.ts)

2. The SDK can be used in a Service in the following way:

```javascript
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';
import { AgreementsApi } from '@inclouded/tmf-agreements'

@Injectable()
export class AgreementsService {

    AgreementsApi: AgreementsApi;
    constructor(private afs: AngularFirestore) {
        this.AgreementsApi = new AgreementsApi(this.afs);
    }

    addAgreement(agreement: any, id?: string) {
        return this.AgreementsApi.add(agreement, id);
    }

    getAllAgreements() {
        return this.AgreementsApi.getAll();
    }

    deleteAgreement(agreementId: string) {
        return this.AgreementsApi.delete(agreementId);
    }

    updateAgreement(agreement: any) {
        return this.AgreementsApi.update(agreement);
    }

    getAgreementById(id: string) {
        return this.AgreementsApi.getById(id);
    }

    getAgreementsByAgreementItem(agreementItem: string, orderBy?: OrderBy, paging?: Paging) {
        return this.AgreementsApi.getAgreementsByAgreementItem(agreementItem);
    }

    getAgreementsByEngagedParty(engagedParty: string, orderBy?: OrderBy, paging?: Paging) {
        return this.AgreementsApi.getAgreementsByEngagedParty(engagedParty);
    }

    getAgreementsByAgreementAuthorization(agreementAuthorization: string, orderBy?: OrderBy, paging?: Paging) {
        return this.AgreementsApi.getAgreementsByAgreementAuthorization(agreementAuthorization);
    }

    getAgreementsByNameSubStr(nameSubStr: string, orderBy?: OrderBy, paging?: Paging) {
        return this.AgreementsApi.getAgreementsByNameSubStr(nameSubStr);
    }
}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)
npm package: @inclouded/tmf-communicationmessages
Description: ``` npm install --save @inclouded/tmf-communicationmessage ```
Latest version: 1.0.3

# TMF CommunicationMessages Firestore SDK

```
npm install --save @inclouded/tmf-communicationmessage
```

## Introduction

In the repository the Firebase Cloud Firestore SDK can be found that was made for the TMF CommunicationMessages resource in an installable Angular folder form. The SDK can be installed for every Angular 2+ project. The SDK accomplishes the necessary CRUD operations.

## Usage

1. For using the SDK an Angular 2+ project is needed, in which we can establish a connection to a Firestore database instance. (configured in environments.ts)

2. The SDK can be used in a Service in the following way:

```javascript
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';
import { CommunicationMessagesApi } from '@inclouded/tmf-communicationmessage'

@Injectable()
export class CommunicationMessagesService {

    CommunicationMessagesApi: CommunicationMessagesApi;
    constructor(private afs: AngularFirestore) {
        this.CommunicationMessagesApi = new CommunicationMessagesApi(this.afs);
    }

    addCommunicationMessage(communicationmessage: any, id?: string) {
        return this.CommunicationMessagesApi.add(communicationmessage, id);
    }

    getAllCommunicationMessages() {
        return this.CommunicationMessagesApi.getAll();
    }

    deleteCommunicationMessage(communicationmessageId: string) {
        return this.CommunicationMessagesApi.delete(communicationmessageId);
    }

    updateCommunicationMessage(communicationmessage: any) {
        return this.CommunicationMessagesApi.update(communicationmessage);
    }

    getCommunicationMessageById(id: string) {
        return this.CommunicationMessagesApi.getById(id);
    }

    getCommunicationMessagesByPriority(priority: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CommunicationMessagesApi.getCommunicationMessagesByPriority(priority);
    }

    getCommunicationMessagesByParty(party: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CommunicationMessagesApi.getCommunicationMessagesByParty(party);
    }
}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)
npm package: @inclouded/tmf-customers
Description: ``` npm install --save @inclouded/tmf-customers ```
Latest version: 1.0.6

# TMF Customer Firestore SDK

```
npm install --save @inclouded/tmf-customers
```

## Introduction

In the repository the Firebase Cloud Firestore SDK can be found that was made for the TMF Customer resource in an installable Angular folder form. The SDK can be installed for every Angular 2+ project. The SDK accomplishes the necessary CRUD operations.

## Usage

1. For using the SDK an Angular 2+ project is needed, in which we can establish a connection to a Firestore database instance. (configured in environments.ts)

2. The SDK can be used in a Service in the following way:

```javascript
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';
import { CustomersApi } from '@inclouded/tmf-customers'

@Injectable()
export class CustomersService {

    CustomersApi: CustomersApi;
    constructor(private afs: AngularFirestore) {
        this.CustomersApi = new CustomersApi(this.afs);
    }

    addCustomer(customer: any, id?: string) {
        return this.CustomersApi.add(customer, id);
    }

    getAllCustomers() {
        return this.CustomersApi.getAll();
    }

    deleteCustomer(customerId: string) {
        return this.CustomersApi.delete(customerId);
    }

    updateCustomer(customer: any) {
        return this.CustomersApi.update(customer);
    }

    getCustomerById(id: string) {
        return this.CustomersApi.getById(id);
    }

    getCustomersByAgreement(agreement: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CustomersApi.getCustomersByAgreement(agreement);
    }

    getCustomersByAccount(account: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CustomersApi.getCustomersByAccount(account);
    }

    getCustomersByContactMedium(contactMedium: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CustomersApi.getCustomersByContactMedium(contactMedium);
    }

    getCustomerByRaletedPartyId(relatedParty: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CustomersApi.getCustomerByRaletedPartyId(relatedParty);
    }

    getCustomersByCharacteristic(characteristic: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CustomersApi.getCustomersByCharacteristic(characteristic);
    }

    getCustomersByEngagedParty(engagedParty: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CustomersApi.getCustomersByEngagedParty(engagedParty);
    }

    getCustomersByNameSubStr(nameSubStr: string, releatedPartyId?: string, orderBy?: OrderBy, paging?: Paging) {
        return this.CustomersApi.getCustomersByNameSubStr(nameSubStr, releatedPartyId);
    }
}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)
npm package: @inclouded/tmf-organizations
Description: ``` npm install --save @inclouded/tmf-organizations ```
Latest version: 1.0.8

# TMF Organization Firestore SDK

```
npm install --save @inclouded/tmf-organizations
```

## Introduction

In the repository the Firebase Cloud Firestore SDK can be found that was made for the TMF Organization resource in an installable Angular folder form. The SDK can be installed for every Angular 2+ project. The SDK accomplishes the necessary CRUD operations.

## Usage

1. For using the SDK an Angular 2+ project is needed, in which we can establish a connection to a Firestore database instance. (configured in environments.ts)

2. The SDK can be used in a Service in the following way:

```javascript
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';
import { OrganizationsApi } from '@inclouded/tmf-organizations'

@Injectable()
export class OrganizationsService {

    OrganizationsApi: OrganizationsApi;
    constructor(private afs: AngularFirestore) {
        this.OrganizationsApi = new OrganizationsApi(this.afs);
    }

    addOrganization(organization: any, id?: string) {
        return this.OrganizationsApi.add(organization, id);
    }

    getAllOrganizations() {
        return this.OrganizationsApi.getAll();
    }

    deleteOrganization(organizationId: string) {
        return this.OrganizationsApi.delete(organizationId);
    }

    updateOrganization(organization: any) {
        return this.OrganizationsApi.update(organization);
    }

    getOrganizationById(id: string) {
        return this.OrganizationsApi.getById(id);
    }

    getOrganizationsByOrganizationChildRelationship(organizationChildRelationship: string, orderBy?: OrderBy, paging?: Paging) {
        return this.OrganizationsApi.getOrganizationsByOrganizationChildRelationship(organizationChildRelationship);
    }

    getOrganizationsByOrganizationIdentification(organizationIdentification: string, orderBy?: OrderBy, paging?: Paging) {
        return this.OrganizationsApi.getOrganizationsByOrganizationIdentification(organizationIdentification);
    }

    getOrganizationsByContactMedium(contactMedium: string, orderBy?: OrderBy, paging?: Paging) {
        return this.OrganizationsApi.getOrganizationsByContactMedium(contactMedium);
    }

    getOrgParyByEmployeeId(relatedParty: string, orderBy?: OrderBy, paging?: Paging) {
        return this.OrganizationsApi.getOrgParyByEmployeeId(relatedParty);
    }

    getOrgParyByNameSubStr(nameSubStr: string, orderBy?: OrderBy, paging?: Paging) {
        return this.OrganizationsApi.getOrgParyByNameSubStr(nameSubStr);
    }
}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)
npm package: @inclouded/tmf-partyroles
Description: ``` npm install --save @inclouded/tmf-partyroles ```
Latest version: 1.0.5

# TMF PartyRole Firestore SDK

```
npm install --save @inclouded/tmf-partyroles
```

## Introduction

In the repository the Firebase Cloud Firestore SDK can be found that was made for the TMF PartyRole resource in an installable Angular folder form. The SDK can be installed for every Angular 2+ project. The SDK accomplishes the necessary CRUD operations.

## Usage

1. For using the SDK an Angular 2+ project is needed, in which we can establish a connection to a Firestore database instance. (configured in environments.ts)

2. The SDK can be used in a Service in the following way:

```javascript
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';
import { PartyRolesApi } from '@inclouded/tmf-partyroles'

@Injectable()
export class PartyRolesService {

    PartyRolesApi: PartyRolesApi;
    constructor(private afs: AngularFirestore) {
        this.PartyRolesApi = new PartyRolesApi(this.afs);
    }

    addPartyRole(partyrole: any, id?: string) {
        return this.PartyRolesApi.add(partyrole, id);
    }

    getAllPartyRoles() {
        return this.PartyRolesApi.getAll();
    }

    deletePartyRole(partyroleId: string) {
        return this.PartyRolesApi.delete(partyroleId);
    }

    updatePartyRole(partyrole: any) {
        return this.PartyRolesApi.update(partyrole);
    }

    getPartyRoleById(id: string) {
        return this.PartyRolesApi.getById(id);
    }

    getPartyRolesByContactMedium(contactMedium: string, orderBy?: OrderBy, paging?: Paging) {
        return this.PartyRolesApi.getPartyRolesByContactMedium(contactMedium);
    }

    getPartyRoleByRaletedPartyId(relatedParty: string, orderBy?: OrderBy, paging?: Paging) {
        return this.PartyRolesApi.getPartyRoleByRaletedPartyId(relatedParty);
    }

    getPartyRolesByEngagedParty(engagedParty: string, orderBy?: OrderBy, paging?: Paging) {
        return this.PartyRolesApi.getPartyRolesByEngagedParty(engagedParty);
    }

    getPartyRolesByNameSubStr(nameSubStr: string, orderBy?: OrderBy, paging?: Paging) {
        return this.PartyRolesApi.getPartyRolesByNameSubStr(nameSubStr);
    }
}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)
npm package: @inclouded/tmf-resulttable
Description: ``` npm install --save @inclouded/tmf-resulttable ```
Latest version: 1.0.5

# TMF ResultTable Firestore SDK

```
npm install --save @inclouded/tmf-resulttable
```

## Introduction

In the repository the Firebase Cloud Firestore SDK can be found that was made for the TMF ResultTable resource in an installable Angular folder form. The SDK can be installed for every Angular 2+ project. The SDK accomplishes the necessary CRUD operations.

## Usage

1. For using the SDK an Angular 2+ project is needed, in which we can establish a connection to a Firestore database instance. (configured in environments.ts)

2. The SDK can be used in a Service in the following way:

```javascript
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';
import { ResultTableApi } from '@inclouded/tmf-resulttable'

@Injectable()
export class ResultTableService {

    ResultTableApi: ResultTableApi;
    constructor(private afs: AngularFirestore) {
        this.ResultTableApi = new ResultTableApi(this.afs);
    }

    getAllResultTable() {
        return this.ResultTableApi.getAll();
    }

    deleteResultTable(resultTableId: string) {
        return this.ResultTableApi.delete(resultTableId);
    }

    getOvervierwResults(resultTableType: string, releatedPartyId: string, partyId?:string, customertId?: string, status?: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ResultTableApi.getOvervierwResults(resultTableType, releatedPartyId, partyId, customertId, status);
    }
}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)
npm package: @inclouded/tmf-services
Description: ``` npm install --save @inclouded/tmf-services ```
Latest version: 1.0.6

# TMF Service Firestore SDK

```
npm install --save @inclouded/tmf-services
```

## Introduction

In the repository the Firebase Cloud Firestore SDK can be found that was made for the TMF Service resource in an installable Angular folder form. The SDK can be installed for every Angular 2+ project. The SDK accomplishes the necessary CRUD operations.

## Usage

1. For using the SDK an Angular 2+ project is needed, in which we can establish a connection to a Firestore database instance. (configured in environments.ts)

2. The SDK can be used in a Service in the following way:

```javascript
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';
import { ServicesApi } from '@inclouded/tmf-services'

@Injectable()
export class ServicesService {

    ServicesApi: ServicesApi;
    constructor(private afs: AngularFirestore) {
        this.ServicesApi = new ServicesApi(this.afs);
    }

    addService(service: any, id?: string) {
        return this.ServicesApi.add(service, id);
    }

    getAllServices() {
        return this.ServicesApi.getAll();
    }

    deleteService(serviceId: string) {
        return this.ServicesApi.delete(serviceId);
    }

    updateService(service: any) {
        return this.ServicesApi.update(service);
    }

    getServiceById(id: string) {
        return this.ServicesApi.getById(id);
    }

    getServicesByRelatedParty(relatedParty: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ServicesApi.getServicesByRelatedParty(relatedParty);
    }

    getServicesByRelatedEntity(relatedEntity: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ServicesApi.getServicesByRelatedEntity(relatedEntity);
    }

    getServicesByServiceCharacteristic(serviceCharacteristic: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ServicesApi.getServicesByServiceCharacteristic(serviceCharacteristic);
    }

    getServicesByTypeAndDistributor(serviceType: string, distributorId: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ServicesApi.getServicesByTypeAndDistributor(serviceType, distributorId);
    }

    getServicesByTypeAndInstaller(serviceType: string, installerId: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ServicesApi.getServicesByTypeAndInstaller(serviceType, installerId);
    }

    getServicesByTypeAndCustomer(serviceType: string, customerId: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ServicesApi.getServicesByTypeAndCustomer(serviceType, customerId);
    }

    getServicesByTypeAndOwner(serviceType: string, ownerId: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ServicesApi.getServicesByTypeAndOwner(serviceType, ownerId);
    }

    getServicesByNameSubStr(nameSubStr: string, orderBy?: OrderBy, paging?: Paging) {
        return this.ServicesApi.getServicesByNameSubStr(nameSubStr);
    }
}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)
npm package: @inclouded/tmf-tags
Description: ``` npm install --save @inclouded/tmf-tags ```
Latest version: 1.0.2

# TMF Tag Firestore SDK

```
npm install --save @inclouded/tmf-tags
```

## Introduction

In the repository the Firebase Cloud Firestore SDK can be found that was made for the TMF Tag resource in an installable Angular folder form. The SDK can be installed for every Angular 2+ project. The SDK accomplishes the necessary CRUD operations.

## Usage

1. For using the SDK an Angular 2+ project is needed, in which we can establish a connection to a Firestore database instance. (configured in environments.ts)

2. The SDK can be used in a Service in the following way:

```javascript
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFirestore } from '@angular/fire/firestore';
import { TagsApi } from '@inclouded/tmf-tags'

@Injectable()
export class TagsService {

    TagsApi: TagsApi;
    constructor(private afs: AngularFirestore) {
        this.TagsApi = new TagsApi(this.afs);
    }

    addTag(tag: any, id?: string) {
        return this.TagsApi.add(tag, id);
    }

    getAllTags() {
        return this.TagsApi.getAll();
    }

    deleteTag(tagId: string) {
        return this.TagsApi.delete(tagId);
    }

    updateTag(tag: any) {
        return this.TagsApi.update(tag);
    }

    getTagById(id: string) {
        return this.TagsApi.getById(id);
    }

    getTagsByRelatedParty(relatedParty: string, orderBy?: OrderBy, paging?: Paging) {
        return this.TagsApi.getTagsByRelatedParty(relatedParty);
    }

    getTagsByResourceSpecCharacteristic(resourceSpecCharacteristic: string, orderBy?: OrderBy, paging?: Paging) {
        return this.TagsApi.getTagsByResourceSpecCharacteristic(resourceSpecCharacteristic);
    }

    getTagsByNameSubStr(nameSubStr: string, orderBy?: OrderBy, paging?: Paging) {
        return this.TagsApi.getTagsByNameSubStr(nameSubStr);
    }
}

```

Developer: Zoltán R. Jánki (jankiz@inf.u-szeged.hu), Gábor Simon (simonovszkij@gmail.com)