@fabriktor/schema 0.0.74 → 0.0.76

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 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 licensed under the [Apache License 2.0][license-link].
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/schema?icon=gitlab&color=orange
25
- [license-badge]: https://badgen.net/badge/license/Apache-2.0/orange
25
+ [license-badge]: https://badgen.net/badge/license/Proprietary/orange
26
26
  [pipeline-badge]: https://gitlab.com/fabriktor/schema/badges/main/pipeline.svg
27
27
  [starrers-link]: https://gitlab.com/fabriktor/schema/-/starrers
28
- [license-link]: https://gitlab.com/fabriktor/schema/-/raw/main/LICENSE
28
+ [license-link]: https://gitlab.com/fabriktor/schema/-/raw/main/LICENSE.md
29
29
  [pipelines-link]: https://gitlab.com/fabriktor/schema/-/pipelines
@@ -224,6 +224,8 @@ export type InDelegation = {
224
224
  };
225
225
  export type InDTok = {
226
226
  token: string;
227
+ transport: string;
228
+ sandbox: boolean;
227
229
  };
228
230
  export type InEmployeePayConfig = {
229
231
  currency: string;
@@ -1096,6 +1098,8 @@ export type DTok = {
1096
1098
  created_at: string;
1097
1099
  owner_id: string;
1098
1100
  token: string;
1101
+ transport: string;
1102
+ sandbox: boolean;
1099
1103
  };
1100
1104
  export type EmployeePayConfig = {
1101
1105
  id: string;
@@ -2491,6 +2495,29 @@ export type PLTimesheetsApprove = {
2491
2495
  export type PLCallsMintVideoToken = {
2492
2496
  room_id: string;
2493
2497
  };
2498
+ export type PLCallsStartCall = {
2499
+ call_id: string;
2500
+ room_id: string;
2501
+ device_id: string;
2502
+ user_ids: string[];
2503
+ mode: string;
2504
+ };
2505
+ export type PLCallsRespondCall = {
2506
+ ticket: string;
2507
+ device_id: string;
2508
+ action: string;
2509
+ };
2510
+ export type RPCallsCallSession = {
2511
+ call_id: string;
2512
+ room_id: string;
2513
+ owner_id: string;
2514
+ caller_id: string;
2515
+ mode: string;
2516
+ ticket: string;
2517
+ token: string;
2518
+ expires_at: number;
2519
+ state: string;
2520
+ };
2494
2521
  export type PLContactsGenerateQR = {
2495
2522
  v: string;
2496
2523
  red: number;
@@ -3306,3 +3333,22 @@ export declare const PullTypeProfilePosts = 7;
3306
3333
  export declare const PullTypeProfileReplies = 8;
3307
3334
  export declare const PullTypeProfileMedias = 9;
3308
3335
  export declare const PullTypeProfileReferences = 10;
3336
+ export declare const PathCallsStart = "start";
3337
+ export declare const PathCallsRespond = "respond";
3338
+ export declare const CallActionRing = "ring";
3339
+ export declare const CallActionAnswer = "answer";
3340
+ export declare const CallActionEnd = "end";
3341
+ export declare const CallActionStatus = "status";
3342
+ export declare const CallStatePending = "pending";
3343
+ export declare const CallStateAnswered = "answered";
3344
+ export declare const CallStateEnded = "ended";
3345
+ export declare const CallTicketKey = "call_ticket";
3346
+ export declare const CallOwnerIDKey = "call_owner_id";
3347
+ export declare const CallExpiresAtKey = "call_expires_at";
3348
+ export declare const CallRingTimeoutMS = 60000;
3349
+ export declare const PushTransportFCM = "fcm";
3350
+ export declare const PushTransportAndroid = "fcm_android";
3351
+ export declare const PushTransportIOS = "fcm_ios";
3352
+ export declare const PushTransportVoIP = "voip";
3353
+ export declare const PushTransportKey = "transport";
3354
+ export declare const PushSandboxKey = "sandbox";
@@ -500,3 +500,22 @@ export const PullTypeProfilePosts = 7;
500
500
  export const PullTypeProfileReplies = 8;
501
501
  export const PullTypeProfileMedias = 9;
502
502
  export const PullTypeProfileReferences = 10;
503
+ export const PathCallsStart = "start";
504
+ export const PathCallsRespond = "respond";
505
+ export const CallActionRing = "ring";
506
+ export const CallActionAnswer = "answer";
507
+ export const CallActionEnd = "end";
508
+ export const CallActionStatus = "status";
509
+ export const CallStatePending = "pending";
510
+ export const CallStateAnswered = "answered";
511
+ export const CallStateEnded = "ended";
512
+ export const CallTicketKey = "call_ticket";
513
+ export const CallOwnerIDKey = "call_owner_id";
514
+ export const CallExpiresAtKey = "call_expires_at";
515
+ export const CallRingTimeoutMS = 60000;
516
+ export const PushTransportFCM = "fcm";
517
+ export const PushTransportAndroid = "fcm_android";
518
+ export const PushTransportIOS = "fcm_ios";
519
+ export const PushTransportVoIP = "voip";
520
+ export const PushTransportKey = "transport";
521
+ export const PushSandboxKey = "sandbox";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/schema",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {
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.