@fabriktor/schema 0.0.73 → 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;
@@ -3247,6 +3274,16 @@ export declare const EmailTemplateFulfillOrderConfirmation = "fulfill_order_conf
3247
3274
  export declare const CallEventConnected = "CONNECTED";
3248
3275
  export declare const CallEventDisconnected = "DISCONNECTED";
3249
3276
  export declare const CallEventCallEnded = "ENDED";
3277
+ export declare const CallSignalKey = "call_signal";
3278
+ export declare const CallIDKey = "call_id";
3279
+ export declare const CallRoomIDKey = "room_id";
3280
+ export declare const CallSenderIDKey = "sender_id";
3281
+ export declare const CallModeKey = "call_mode";
3282
+ export declare const CallSignalInvite = "invite";
3283
+ export declare const CallSignalAnswered = "answered";
3284
+ export declare const CallSignalCancelled = "cancelled";
3285
+ export declare const CallModeAudio = "audio";
3286
+ export declare const CallModeVideo = "video";
3250
3287
  export declare const UserTypeEmployer = "employer";
3251
3288
  export declare const UserTypeEmployee = "employee";
3252
3289
  export declare const UserTypeClient = "client";
@@ -3296,3 +3333,22 @@ export declare const PullTypeProfilePosts = 7;
3296
3333
  export declare const PullTypeProfileReplies = 8;
3297
3334
  export declare const PullTypeProfileMedias = 9;
3298
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";
@@ -441,6 +441,16 @@ export const EmailTemplateFulfillOrderConfirmation = "fulfill_order_confirmation
441
441
  export const CallEventConnected = "CONNECTED";
442
442
  export const CallEventDisconnected = "DISCONNECTED";
443
443
  export const CallEventCallEnded = "ENDED";
444
+ export const CallSignalKey = "call_signal";
445
+ export const CallIDKey = "call_id";
446
+ export const CallRoomIDKey = "room_id";
447
+ export const CallSenderIDKey = "sender_id";
448
+ export const CallModeKey = "call_mode";
449
+ export const CallSignalInvite = "invite";
450
+ export const CallSignalAnswered = "answered";
451
+ export const CallSignalCancelled = "cancelled";
452
+ export const CallModeAudio = "audio";
453
+ export const CallModeVideo = "video";
444
454
  export const UserTypeEmployer = "employer";
445
455
  export const UserTypeEmployee = "employee";
446
456
  export const UserTypeClient = "client";
@@ -490,3 +500,22 @@ export const PullTypeProfilePosts = 7;
490
500
  export const PullTypeProfileReplies = 8;
491
501
  export const PullTypeProfileMedias = 9;
492
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.73",
3
+ "version": "0.0.75",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {