@fabriktor/client 0.0.102 → 0.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +54 -0
- package/README.md +3 -3
- package/dist/src/billable/billable.js +0 -5
- package/dist/src/calls/calls.d.ts +7 -1
- package/dist/src/calls/calls.js +19 -6
- package/dist/src/chat/chat.js +0 -5
- package/dist/src/connections/connections.js +0 -5
- package/dist/src/contacts/contacts.js +0 -5
- package/dist/src/core/auth.js +0 -5
- package/dist/src/core/col.js +0 -5
- package/dist/src/core/crud.js +0 -5
- package/dist/src/core/err.js +0 -5
- package/dist/src/core/http.js +0 -5
- package/dist/src/core/idempotency.js +0 -5
- package/dist/src/core/multipart.js +0 -5
- package/dist/src/core/path.js +0 -5
- package/dist/src/core/type.js +0 -5
- package/dist/src/core/ws.js +0 -5
- package/dist/src/feed/feed.js +0 -5
- package/dist/src/fulfillments/fulfillments.js +0 -5
- package/dist/src/jobs/jobs.js +0 -5
- package/dist/src/marketplace/marketplace.js +0 -5
- package/dist/src/memos/memos.js +0 -5
- package/dist/src/notifications/notifications.js +0 -5
- package/dist/src/payments/payments.js +0 -5
- package/dist/src/payrolls/payrolls.js +0 -5
- package/dist/src/preferences/preferences.js +0 -5
- package/dist/src/privacy/privacy.js +0 -5
- package/dist/src/processes/processes.js +0 -5
- package/dist/src/routes/routes.js +0 -5
- package/dist/src/storage/storage.js +0 -5
- package/dist/src/timesheets/timesheets.js +0 -5
- package/dist/src/users/tmp_phones.js +0 -5
- package/dist/src/users/tmp_usernames.js +0 -5
- package/dist/src/users/users.js +0 -5
- package/package.json +2 -2
- package/LICENSE +0 -13
package/LICENSE.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# FABRIKTOR PROPRIETARY SOFTWARE LICENSE
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2025-present Philippe Bazinet.
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
## 1. Ownership
|
|
7
|
+
|
|
8
|
+
This software, including all source code, documentation, and associated materials, is proprietary intellectual property of Philippe Bazinet, except where otherwise expressly identified.
|
|
9
|
+
|
|
10
|
+
Public availability of this repository does not constitute authorization for third-party use, reproduction, modification, or distribution.
|
|
11
|
+
|
|
12
|
+
## 2. Scope and Retroactive Application
|
|
13
|
+
|
|
14
|
+
This License expressly applies to the repository in its entirety, including all historical, current, and future commits, branches, tags, releases, revisions, source files, and associated materials, commencing from the repository's initial creation.
|
|
15
|
+
|
|
16
|
+
## 3. Supersession of Prior Licenses
|
|
17
|
+
|
|
18
|
+
**This License expressly supersedes, replaces, and overrides all prior licensing terms, notices, and declarations associated with this repository, including, without limitation, the Apache License, Version 2.0.**
|
|
19
|
+
|
|
20
|
+
Such supersession is declared to apply retroactively to the repository's entire revision history, irrespective of the licensing terms previously included in any individual commit, branch, tag, or release.
|
|
21
|
+
|
|
22
|
+
The copyright holder hereby expressly declares all previously granted licenses and permissions revoked and withdrawn, including those purportedly granted under the Apache License, Version 2.0.
|
|
23
|
+
|
|
24
|
+
No historical revision of this repository shall be deemed authorized for third-party use under any superseded license.
|
|
25
|
+
|
|
26
|
+
## 4. Restrictions
|
|
27
|
+
|
|
28
|
+
Unless expressly authorized in writing by the copyright holder or otherwise permitted by applicable law, no permission is granted to:
|
|
29
|
+
|
|
30
|
+
- Use, reproduce, copy, or modify the software.
|
|
31
|
+
- Distribute, redistribute, or sublicense the software.
|
|
32
|
+
- Create or distribute derivative works.
|
|
33
|
+
- Incorporate the software into third-party products or services.
|
|
34
|
+
- Commercially exploit the software in any manner.
|
|
35
|
+
|
|
36
|
+
This software is developed exclusively for Fabriktor's operational needs and is not intended for third-party usage.
|
|
37
|
+
|
|
38
|
+
## 5. Reservation of Rights
|
|
39
|
+
|
|
40
|
+
All rights not expressly granted in writing by the copyright holder are reserved.
|
|
41
|
+
|
|
42
|
+
No license or other intellectual property rights shall arise merely from public access to the repository, its source code, or its revision history.
|
|
43
|
+
|
|
44
|
+
## 6. Disclaimer of Warranty
|
|
45
|
+
|
|
46
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
|
|
47
|
+
|
|
48
|
+
## 7. Limitation of Liability
|
|
49
|
+
|
|
50
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE COPYRIGHT HOLDER SHALL NOT BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM OR RELATED TO THE SOFTWARE OR ITS USE.
|
|
51
|
+
|
|
52
|
+
## 8. Authorization
|
|
53
|
+
|
|
54
|
+
Any use requiring authorization under this License must be expressly approved in writing by the copyright holder.
|
package/README.md
CHANGED
|
@@ -18,12 +18,12 @@ not intended for public usage.
|
|
|
18
18
|
|
|
19
19
|
## License
|
|
20
20
|
|
|
21
|
-
This project is
|
|
21
|
+
This project is governed by the [FABRIKTOR PROPRIETARY SOFTWARE LICENSE][license-link].
|
|
22
22
|
|
|
23
23
|
[fabriktor-logo]: https://backend.fabriktor.com/filehub/img/gitlab/truck_yellow_filling.gif
|
|
24
24
|
[stars-badge]: https://badgen.net/gitlab/stars/fabriktor/client?icon=gitlab&color=orange
|
|
25
|
-
[license-badge]: https://badgen.net/badge/license/
|
|
25
|
+
[license-badge]: https://badgen.net/badge/license/Proprietary/orange
|
|
26
26
|
[pipeline-badge]: https://gitlab.com/fabriktor/client/badges/main/pipeline.svg
|
|
27
27
|
[starrers-link]: https://gitlab.com/fabriktor/client/-/starrers
|
|
28
|
-
[license-link]: https://gitlab.com/fabriktor/client/-/raw/main/LICENSE
|
|
28
|
+
[license-link]: https://gitlab.com/fabriktor/client/-/raw/main/LICENSE.md
|
|
29
29
|
[pipelines-link]: https://gitlab.com/fabriktor/client/-/pipelines
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColBillableBills, ColBillableCharges, ColBillableEquipments, ColBillableFolders, ColBillableItems, ColBillableLaborRates, ColBillableMeterReadings, ColBillableQuantifiers, ColBillableTaxes, ColBillableTmpBillNumbers, ColBillableVendorInvoices, ColBillableWarehouses, HTTPMethodPost, PathBillableAcceptFixedEstimate, PathBillableCompleteBill, PathBillableCancelBill, PathBillableRetryBillReport, PathBillableFromBill, PathBillableGenerate, PathBillablePeriodsFromDates, PathBillableSetQuantity, PathBillableYearSpan, SvcBillable, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { type Event, type PLCallsMintVideoToken } from "@fabriktor/schema";
|
|
1
|
+
import { type PLCallsStartCall, type PLCallsRespondCall, type RPCallsCallSession, type Event, type PLCallsMintVideoToken } from "@fabriktor/schema";
|
|
2
2
|
import type { TokenProvider } from "../core/auth.js";
|
|
3
3
|
import type { FindOneOptionsCRUD, OperationResultOf, QueryOptionsCRUD } from "../core/crud.js";
|
|
4
4
|
import type { HTTPDoer } from "../core/http.js";
|
|
5
5
|
import type { CompletePayload } from "../core/type.js";
|
|
6
6
|
export type MintVideoTokenOptions = CompletePayload<PLCallsMintVideoToken>;
|
|
7
|
+
export type StartCallSessionOptions = CompletePayload<PLCallsStartCall>;
|
|
8
|
+
export type RespondCallSessionOptions = CompletePayload<PLCallsRespondCall>;
|
|
7
9
|
export type CallsClientOptions = {
|
|
8
10
|
http: HTTPDoer;
|
|
9
11
|
base_url: string;
|
|
10
12
|
get_token?: TokenProvider;
|
|
11
13
|
};
|
|
12
14
|
export interface CallsOperator {
|
|
15
|
+
startCallSession(opts: StartCallSessionOptions): Promise<OperationResultOf<RPCallsCallSession>>;
|
|
16
|
+
respondCallSession(opts: RespondCallSessionOptions): Promise<OperationResultOf<RPCallsCallSession>>;
|
|
13
17
|
queryEvents(opts?: QueryOptionsCRUD): Promise<OperationResultOf<Event[]>>;
|
|
14
18
|
findOneEvent(opts: FindOneOptionsCRUD): Promise<OperationResultOf<Event>>;
|
|
15
19
|
mintVideoToken(opts: MintVideoTokenOptions): Promise<OperationResultOf<string>>;
|
|
@@ -20,6 +24,8 @@ export declare class CallsClient implements CallsOperator {
|
|
|
20
24
|
private base_url;
|
|
21
25
|
private get_token?;
|
|
22
26
|
constructor(opts: CallsClientOptions);
|
|
27
|
+
startCallSession(opts: StartCallSessionOptions): Promise<OperationResultOf<RPCallsCallSession>>;
|
|
28
|
+
respondCallSession(opts: RespondCallSessionOptions): Promise<OperationResultOf<RPCallsCallSession>>;
|
|
23
29
|
queryEvents(opts?: QueryOptionsCRUD): Promise<OperationResultOf<Event[]>>;
|
|
24
30
|
findOneEvent(opts: FindOneOptionsCRUD): Promise<OperationResultOf<Event>>;
|
|
25
31
|
mintVideoToken(opts: MintVideoTokenOptions): Promise<OperationResultOf<string>>;
|
package/dist/src/calls/calls.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
import { ColCallsEvents, HTTPMethodPost, PathCallsMint, PathCallsVidTokens, SvcCalls, } from "@fabriktor/schema";
|
|
1
|
+
import { ColCallsEvents, HTTPMethodPost, PathCallsMint, PathCallsStart, PathCallsRespond, PathCallsVidTokens, SvcCalls, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
9
4
|
import { buildPath } from "../core/path.js";
|
|
@@ -24,6 +19,24 @@ export class CallsClient {
|
|
|
24
19
|
this.base_url = opts.base_url;
|
|
25
20
|
this.get_token = opts.get_token;
|
|
26
21
|
}
|
|
22
|
+
async startCallSession(opts) {
|
|
23
|
+
const token = await requiredToken(this.get_token);
|
|
24
|
+
return this.http.do({
|
|
25
|
+
base_url: this.base_url,
|
|
26
|
+
path: vidTokenPath(PathCallsStart),
|
|
27
|
+
method: HTTPMethodPost,
|
|
28
|
+
token,
|
|
29
|
+
body: opts,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
async respondCallSession(opts) {
|
|
33
|
+
return this.http.do({
|
|
34
|
+
base_url: this.base_url,
|
|
35
|
+
path: vidTokenPath(PathCallsRespond),
|
|
36
|
+
method: HTTPMethodPost,
|
|
37
|
+
body: opts,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
27
40
|
async queryEvents(opts) {
|
|
28
41
|
return await this.events.query(opts);
|
|
29
42
|
}
|
package/dist/src/chat/chat.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColChatChatRoomMembers, ColChatChatRooms, ColChatChats, HTTPMethodPost, PathChatEnsure, PathChatReact, PathChatWS, PathChatWSMine, SvcChat, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { queryParam, queryParams, withQuery } from "../core/col.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColConnectionsConnections, SvcConnections, } from "@fabriktor/schema";
|
|
7
2
|
import { newCRUDClient } from "../core/crud.js";
|
|
8
3
|
export class ConnectionsClient {
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColContactsContacts, ColContactsSignals, HTTPMethodGet, HTTPMethodPost, PathContactsFind, PathContactsQR, PathContactsSignal, PathContactsSuggest, SvcContacts, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
package/dist/src/core/auth.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { errAuthTokenEmpty, errAuthTokenProviderMissing } from "./err.js";
|
|
7
2
|
export async function requiredToken(getToken) {
|
|
8
3
|
if (!getToken) {
|
package/dist/src/core/col.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { buildPath } from "./path.js";
|
|
7
2
|
export function collectionPath(opts) {
|
|
8
3
|
return buildPath({
|
package/dist/src/core/crud.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { HTTPMethodDelete, HTTPMethodGet, HTTPMethodPatch, HTTPMethodPost, PathSearch, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "./auth.js";
|
|
8
3
|
import { collectionPath, idPath, withQuery } from "./col.js";
|
package/dist/src/core/err.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
const msgUnknownClientErr = "Unknown client error.";
|
|
7
2
|
export const ClientErrKind = {
|
|
8
3
|
AuthTokenProviderMissing: "auth_token_provider_missing",
|
package/dist/src/core/http.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { MimeJSON, } from "@fabriktor/schema";
|
|
7
2
|
import { errFromHTTP, errHTTPRequestFailed, errHTTPResponseInvalid, } from "./err.js";
|
|
8
3
|
import { applyIdempotencyHeader, DefaultIdempotencyStore, } from "./idempotency.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { HeaderIdempotency, HTTPMethodPatch, HTTPMethodPost, } from "@fabriktor/schema";
|
|
7
2
|
export const idempotentMethods = new Set([HTTPMethodPost, HTTPMethodPatch]);
|
|
8
3
|
export function newIdempotencyKey() {
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { errFromHTTP, errHTTPRequestFailed, errHTTPResponseInvalid, } from "./err.js";
|
|
7
2
|
import { WebFetcher, headerAuthorization, prefixBearer } from "./http.js";
|
|
8
3
|
import { applyIdempotencyHeader, DefaultIdempotencyStore, } from "./idempotency.js";
|
package/dist/src/core/path.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { PathActions, ZeroID } from "@fabriktor/schema";
|
|
7
2
|
import { errInvalidArgument } from "./err.js";
|
|
8
3
|
const pathSep = "/";
|
package/dist/src/core/type.js
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
export {};
|
package/dist/src/core/ws.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { HTTPScheme, HTTPSScheme } from "@fabriktor/schema";
|
|
7
2
|
const protocolFirebase = "firebase";
|
|
8
3
|
const schemeWS = "ws:";
|
package/dist/src/feed/feed.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColFeedFeedFavorites, ColFeedFeedPosts, ColFeedFeedReactions, HTTPMethodPost, PathFeedRestrict, PathPull, SvcFeed, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColFulfillmentsFulfillOrders, HTTPMethodPost, PathFulfillmentsStatus, SvcFulfillments, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
package/dist/src/jobs/jobs.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColJobsJobPrograms, ColJobsJobs, ColJobsLocations, HTTPMethodGet, HTTPMethodPost, PathJobsImmediate, PathJobsMine, SvcJobs, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { withQuery } from "../core/col.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColMarketplaceMarketplaceFavorites, ColMarketplaceMarketplacePosts, HTTPMethodPost, PathPull, SvcMarketplace, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
package/dist/src/memos/memos.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColMemosMemoFolders, ColMemosMemos, SvcMemos, } from "@fabriktor/schema";
|
|
7
2
|
import { newCRUDClient } from "../core/crud.js";
|
|
8
3
|
export class MemosClient {
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColNotificationsDToks, HTTPMethodPost, PathNotificationsRelay, SvcNotifications, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColPaymentsCreditLedger, ColPaymentsPayments, ColPaymentsPmtAccounts, ColPaymentsPmtBankAccounts, ColPaymentsPmtCards, ColPaymentsPmtCustomers, ColPaymentsPmtPublicSessions, ColPaymentsPmtRefunds, HTTPMethodPost, HTTPMethodGet, PathPaymentsBalance, PathPaymentsFromPublicSession, PathPaymentsOnboarding, PathPaymentsOpen, PathPaymentsPurchase, PathPaymentsTotal, SvcPayments, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColPayrollsAdjustmentAggregates, ColPayrollsAdjustmentFolders, ColPayrollsAdjustmentRecords, ColPayrollsAdjustments, ColPayrollsEmployeePayConfigs, ColPayrollsHourBanks, ColPayrollsPayConfigs, ColPayrollsPayables, ColPayrollsPayrollPrograms, ColPayrollsPayrolls, HTTPMethodPost, PathPayrollsGenerate, PathPayrollsToPayroll, SvcPayrolls, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColPreferencesClients, ColPreferencesCompanies, ColPreferencesEmails, ColPreferencesEmployees, ColPreferencesLanguages, ColPreferencesNotif, ColPreferencesPayments, ColPreferencesTutorials, ColPreferencesVisibilities, SvcPreferences, } from "@fabriktor/schema";
|
|
7
2
|
import { newCRUDClient } from "../core/crud.js";
|
|
8
3
|
export class PreferencesClient {
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColPrivacyAccountLocks, ColPrivacyDeletionRequests, HTTPMethodPost, PathPrivacyExport, SvcPrivacy, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { HTTPMethodPost, PathProcessesProcesses, PathProcessesSpeechToText, SvcProcesses, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { buildPath } from "../core/path.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColRoutesClientAvailabilities, ColRoutesRouteTeams, ColRoutesRoutes, ColRoutesTags, ColRoutesTracking, HTTPMethodPost, PathRoutesGetAvailability, PathRoutesGetDesignation, SvcRoutes, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColStorageCalls, ColStorageChat, ColStorageContacts, ColStorageJobs, ColStorageLocations, ColStorageMemos, ColStorageQR, ColStorageReports, ColStorageTickets, ColStorageUsers, ColStorageFeed, HTTPMethodPost, PathStorageDownload, PathStorageUpload, SvcStorage, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { queryParams, withQuery } from "../core/col.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColTimesheetsSummaries, ColTimesheetsWeekSheets, HTTPMethodPost, PathTimesheetsApprove, PathTimesheetsPunch, PathTimesheetsSync, SvcTimesheets, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { newCRUDClient } from "../core/crud.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColUsersTmpPhones, HTTPMethodPost, PathUsersSend, PathUsersVerify, SvcUsers, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { buildPath } from "../core/path.js";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColUsersTmpUsernames, HTTPMethodPost, PathUsersVerify, SvcUsers, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { buildPath } from "../core/path.js";
|
package/dist/src/users/users.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Copyright (C) Fabriktor, Inc. 2025-present.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
4
|
-
// not use this file except in compliance with the License. You may obtain
|
|
5
|
-
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
1
|
import { ColUsersUsers, HTTPMethodGet, HTTPMethodPost, PathUsersBootstrap, PathUsersExternal, PathUsersForgotPassword, PathUsersMatch, PathUsersResolveUsername, PathUsersSendEmailVerification, PathUsersSendSignInLink, PathUsersSync, SvcUsers, } from "@fabriktor/schema";
|
|
7
2
|
import { requiredToken } from "../core/auth.js";
|
|
8
3
|
import { mergeQueryOptions, queryParam, withQuery } from "../core/col.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabriktor/client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.104",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
"typescript": "^6.0.3"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fabriktor/schema": "0.0.
|
|
20
|
+
"@fabriktor/schema": "0.0.75"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/LICENSE
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Copyright 2025 Fabriktor, Inc.
|
|
2
|
-
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License.
|
|
5
|
-
You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
See the License for the specific language governing permissions and
|
|
13
|
-
limitations under the License.
|