Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@odit/lfk-client-js

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@odit/lfk-client-js - npm Package Compare versions

Comparing version 0.15.4 to 1.0.0

2

dist/core/OpenAPI.js

@@ -6,3 +6,3 @@ "use strict";

BASE: '',
VERSION: '0.15.4',
VERSION: '1.0.0',
WITH_CREDENTIALS: false,

@@ -9,0 +9,0 @@ TOKEN: undefined,

@@ -12,6 +12,8 @@ import type { CreateDistanceDonation } from '../models/CreateDistanceDonation';

* Lists all donations (fixed or distance based) from all donors. <br> This includes the donations's runner's distance ran(if distance donation).
* @param page
* @param pageSize
* @result any
* @throws ApiError
*/
static donationControllerGetAll(): Promise<(Array<ResponseDonation> | Array<ResponseDistanceDonation>)>;
static donationControllerGetAll(page?: number, pageSize?: number): Promise<(Array<ResponseDonation> | Array<ResponseDistanceDonation>)>;
/**

@@ -18,0 +20,0 @@ * Get one

@@ -9,9 +9,15 @@ "use strict";

* Lists all donations (fixed or distance based) from all donors. <br> This includes the donations's runner's distance ran(if distance donation).
* @param page
* @param pageSize
* @result any
* @throws ApiError
*/
static async donationControllerGetAll() {
static async donationControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/donations`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -9,6 +9,8 @@ import type { CreateDonor } from '../models/CreateDonor';

* Lists all donor. <br> This includes the donor's current donation amount.
* @param page
* @param pageSize
* @result ResponseDonor
* @throws ApiError
*/
static donorControllerGetAll(): Promise<Array<ResponseDonor>>;
static donorControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseDonor>>;
/**

@@ -15,0 +17,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all donor. <br> This includes the donor's current donation amount.
* @param page
* @param pageSize
* @result ResponseDonor
* @throws ApiError
*/
static async donorControllerGetAll() {
static async donorControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/donors`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -9,6 +9,8 @@ import type { CreateGroupContact } from '../models/CreateGroupContact';

* Lists all contacts. <br> This includes the contact's associated groups.
* @param page
* @param pageSize
* @result ResponseGroupContact
* @throws ApiError
*/
static groupContactControllerGetAll(): Promise<Array<ResponseGroupContact>>;
static groupContactControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseGroupContact>>;
/**

@@ -15,0 +17,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all contacts. <br> This includes the contact's associated groups.
* @param page
* @param pageSize
* @result ResponseGroupContact
* @throws ApiError
*/
static async groupContactControllerGetAll() {
static async groupContactControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/contacts`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -10,6 +10,8 @@ import type { CreatePermission } from '../models/CreatePermission';

* Lists all permissions for all users and groups.
* @param page
* @param pageSize
* @result ResponsePermission
* @throws ApiError
*/
static permissionControllerGetAll(): Promise<Array<ResponsePermission>>;
static permissionControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponsePermission>>;
/**

@@ -16,0 +18,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all permissions for all users and groups.
* @param page
* @param pageSize
* @result ResponsePermission
* @throws ApiError
*/
static async permissionControllerGetAll() {
static async permissionControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/permissions`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -9,6 +9,8 @@ import type { CreateRunnerCard } from '../models/CreateRunnerCard';

* Lists all card.
* @param page
* @param pageSize
* @result ResponseRunnerCard
* @throws ApiError
*/
static runnerCardControllerGetAll(): Promise<Array<ResponseRunnerCard>>;
static runnerCardControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseRunnerCard>>;
/**

@@ -15,0 +17,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all card.
* @param page
* @param pageSize
* @result ResponseRunnerCard
* @throws ApiError
*/
static async runnerCardControllerGetAll() {
static async runnerCardControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/cards`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -10,6 +10,8 @@ import type { CreateRunnerOrganization } from '../models/CreateRunnerOrganization';

* Lists all organizations. <br> This includes their address, contact and teams (if existing/associated).
* @param page
* @param pageSize
* @result ResponseRunnerOrganization
* @throws ApiError
*/
static runnerOrganizationControllerGetAll(): Promise<Array<ResponseRunnerOrganization>>;
static runnerOrganizationControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseRunnerOrganization>>;
/**

@@ -16,0 +18,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all organizations. <br> This includes their address, contact and teams (if existing/associated).
* @param page
* @param pageSize
* @result ResponseRunnerOrganization
* @throws ApiError
*/
static async runnerOrganizationControllerGetAll() {
static async runnerOrganizationControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/organizations`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -13,6 +13,8 @@ import type { CreateRunner } from '../models/CreateRunner';

* Lists all runners from all teams/orgs. <br> This includes the runner's group and distance ran.
* @param page
* @param pageSize
* @result ResponseRunner
* @throws ApiError
*/
static runnerControllerGetAll(): Promise<Array<ResponseRunner>>;
static runnerControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseRunner>>;
/**

@@ -19,0 +21,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all runners from all teams/orgs. <br> This includes the runner's group and distance ran.
* @param page
* @param pageSize
* @result ResponseRunner
* @throws ApiError
*/
static async runnerControllerGetAll() {
static async runnerControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/runners`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -10,6 +10,8 @@ import type { CreateRunnerTeam } from '../models/CreateRunnerTeam';

* Lists all teams. <br> This includes their parent organization and contact (if existing/associated).
* @param page
* @param pageSize
* @result ResponseRunnerTeam
* @throws ApiError
*/
static runnerTeamControllerGetAll(): Promise<Array<ResponseRunnerTeam>>;
static runnerTeamControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseRunnerTeam>>;
/**

@@ -16,0 +18,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all teams. <br> This includes their parent organization and contact (if existing/associated).
* @param page
* @param pageSize
* @result ResponseRunnerTeam
* @throws ApiError
*/
static async runnerTeamControllerGetAll() {
static async runnerTeamControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/teams`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -12,6 +12,8 @@ import type { CreateScan } from '../models/CreateScan';

* Lists all scans (normal or track) from all runners. <br> This includes the scan's runner's distance ran.
* @param page
* @param pageSize
* @result any
* @throws ApiError
*/
static scanControllerGetAll(): Promise<(Array<ResponseScan> | Array<ResponseTrackScan>)>;
static scanControllerGetAll(page?: number, pageSize?: number): Promise<(Array<ResponseScan> | Array<ResponseTrackScan>)>;
/**

@@ -18,0 +20,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all scans (normal or track) from all runners. <br> This includes the scan's runner's distance ran.
* @param page
* @param pageSize
* @result any
* @throws ApiError
*/
static async scanControllerGetAll() {
static async scanControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/scans`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -9,6 +9,8 @@ import type { CreateScanStation } from '../models/CreateScanStation';

* Lists all stations. <br> This includes their associated tracks.
* @param page
* @param pageSize
* @result ResponseScanStation
* @throws ApiError
*/
static scanStationControllerGetAll(): Promise<Array<ResponseScanStation>>;
static scanStationControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseScanStation>>;
/**

@@ -15,0 +17,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all stations. <br> This includes their associated tracks.
* @param page
* @param pageSize
* @result ResponseScanStation
* @throws ApiError
*/
static async scanStationControllerGetAll() {
static async scanStationControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/stations`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -8,6 +8,8 @@ import type { CreateStatsClient } from '../models/CreateStatsClient';

* Lists all stats clients. Please remember that the key can only be viewed on creation.
* @param page
* @param pageSize
* @result ResponseStatsClient
* @throws ApiError
*/
static statsClientControllerGetAll(): Promise<Array<ResponseStatsClient>>;
static statsClientControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseStatsClient>>;
/**

@@ -14,0 +16,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all stats clients. Please remember that the key can only be viewed on creation.
* @param page
* @param pageSize
* @result ResponseStatsClient
* @throws ApiError
*/
static async statsClientControllerGetAll() {
static async statsClientControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/statsclients`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -9,6 +9,8 @@ import type { CreateTrack } from '../models/CreateTrack';

* Lists all tracks.
* @param page
* @param pageSize
* @result ResponseTrack
* @throws ApiError
*/
static trackControllerGetAll(): Promise<Array<ResponseTrack>>;
static trackControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseTrack>>;
/**

@@ -15,0 +17,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all tracks.
* @param page
* @param pageSize
* @result ResponseTrack
* @throws ApiError
*/
static async trackControllerGetAll() {
static async trackControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/tracks`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -12,6 +12,8 @@ import type { CreateUserGroup } from '../models/CreateUserGroup';

* Lists all groups. <br> The information provided might change while the project continues to evolve.
* @param page
* @param pageSize
* @result ResponseUserGroup
* @throws ApiError
*/
static userGroupControllerGetAll(): Promise<Array<ResponseUserGroup>>;
static userGroupControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseUserGroup>>;
/**

@@ -18,0 +20,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all groups. <br> The information provided might change while the project continues to evolve.
* @param page
* @param pageSize
* @result ResponseUserGroup
* @throws ApiError
*/
static async userGroupControllerGetAll() {
static async userGroupControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/usergroups`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

@@ -9,6 +9,8 @@ import type { CreateUser } from '../models/CreateUser';

* Lists all users. <br> This includes their groups and permissions granted to them.
* @param page
* @param pageSize
* @result ResponseUser
* @throws ApiError
*/
static userControllerGetAll(): Promise<Array<ResponseUser>>;
static userControllerGetAll(page?: number, pageSize?: number): Promise<Array<ResponseUser>>;
/**

@@ -15,0 +17,0 @@ * Post

@@ -9,9 +9,15 @@ "use strict";

* Lists all users. <br> This includes their groups and permissions granted to them.
* @param page
* @param pageSize
* @result ResponseUser
* @throws ApiError
*/
static async userControllerGetAll() {
static async userControllerGetAll(page, pageSize) {
const result = await (0, request_1.request)({
method: 'GET',
path: `/api/users`,
query: {
'page': page,
'page_size': pageSize,
},
});

@@ -18,0 +24,0 @@ return result.body;

{
"name": "@odit/lfk-client-js",
"description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.",
"version": "0.15.4",
"version": "1.0.0",
"license": "CC-BY-NC-SA-4.0",

@@ -6,0 +6,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc