@fabriktor/schema 0.0.74 → 0.0.75

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.
@@ -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.75",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {