@fabriktor/schema 0.0.82 → 0.0.84

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.
@@ -455,6 +455,17 @@ export type InMeterReading = {
455
455
  reading_in_hours: number;
456
456
  is_charged: boolean;
457
457
  };
458
+ export type InNotification = {
459
+ notif_k: string;
460
+ title: string;
461
+ body: string;
462
+ language: string;
463
+ custom_data: {
464
+ [key: string]: string;
465
+ };
466
+ path_custom_image: string;
467
+ is_read: boolean;
468
+ };
458
469
  export type InObject = {
459
470
  embedding: {
460
471
  text: string;
@@ -1400,6 +1411,22 @@ export type MeterReading = {
1400
1411
  reading_in_hours: number;
1401
1412
  is_charged: boolean;
1402
1413
  };
1414
+ export type Notification = {
1415
+ id: string;
1416
+ updated_at: string;
1417
+ created_at: string;
1418
+ owner_id: string;
1419
+ key: string;
1420
+ notif_k: string;
1421
+ title: string;
1422
+ body: string;
1423
+ language: string;
1424
+ custom_data: {
1425
+ [key: string]: string;
1426
+ };
1427
+ path_custom_image: string;
1428
+ is_read: boolean;
1429
+ };
1403
1430
  export type Object = {
1404
1431
  id: string;
1405
1432
  updated_at: string;
@@ -2863,6 +2890,9 @@ export declare const ZeroID = "";
2863
2890
  export declare const AdjustmentTypeRate = "rate";
2864
2891
  export declare const AdjustmentTypePerPeriod = "per_period";
2865
2892
  export declare const AdjustmentTypePerHour = "per_hour";
2893
+ export declare const NotifKPayrollsPayrollsAttention = "payrolls.payrolls.attention";
2894
+ export declare const NotifKBillableBillsAccepted = "billable.bills.accepted";
2895
+ export declare const NotifKBillableBillsCancelled = "billable.bills.cancelled";
2866
2896
  export declare const BillTypeFixed = "fixed";
2867
2897
  export declare const BillTypeDynamic = "dynamic";
2868
2898
  export declare const ChargeTypeItem = "item";
@@ -2903,6 +2933,7 @@ export declare const ColMarketplaceMarketplaceSessions = "marketplace_sessions";
2903
2933
  export declare const ColMemosMemos = "memos";
2904
2934
  export declare const ColMemosMemoFolders = "memo_folders";
2905
2935
  export declare const ColNotificationsDToks = "dtoks";
2936
+ export declare const ColNotificationsNotifications = "notifications";
2906
2937
  export declare const ColPaymentsPayments = "payments";
2907
2938
  export declare const ColPaymentsPmtAccounts = "pmt_accounts";
2908
2939
  export declare const ColPaymentsPmtBankAccounts = "pmt_bank_accounts";
@@ -3081,6 +3112,7 @@ export declare const PSPEventTypePaymentIntentProcessing = "payment_intent.proce
3081
3112
  export declare const PSPEventTypePaymentIntentRequiresAction = "payment_intent.requires_action";
3082
3113
  export declare const PSPEventTypePaymentIntentSucceeded = "payment_intent.succeeded";
3083
3114
  export declare const PSPEventTypePaymentIntentCanceled = "payment_intent.canceled";
3115
+ export declare const PSPEventTypeRefundCreated = "refund.created";
3084
3116
  export declare const PSPEventTypeRefundUpdated = "refund.updated";
3085
3117
  export declare const PSPEventTypeSetupIntentCanceled = "setup_intent.canceled";
3086
3118
  export declare const PSPEventTypeSetupIntentSucceeded = "setup_intent.succeeded";
@@ -3385,6 +3417,72 @@ export declare const CallTicketKey = "call_ticket";
3385
3417
  export declare const CallOwnerIDKey = "call_owner_id";
3386
3418
  export declare const CallExpiresAtKey = "call_expires_at";
3387
3419
  export declare const CallRingTimeoutMS = 60000;
3420
+ export declare const NotifKRoutesRoutesAssigned = "routes.routes.assigned";
3421
+ export declare const NotifKRoutesRoutesUpdated = "routes.routes.updated";
3422
+ export declare const NotifKRoutesRoutesUnassigned = "routes.routes.unassigned";
3423
+ export declare const NotifKRoutesRoutesCancelled = "routes.routes.cancelled";
3424
+ export declare const NotifKReportsBillsReady = "reports.bills.ready";
3425
+ export declare const NotifKReportsPayrollsReady = "reports.payrolls.ready";
3426
+ export declare const NotifKReportsAdjustmentAggregatesReady = "reports.adjustment_aggregates.ready";
3427
+ export declare const NotifKTimesheetsWeekSheetsApproved = "timesheets.weeksheets.approved";
3428
+ export declare const NotifKConnectionsConnectionsAttention = "connections.connections.attention";
3429
+ export declare const NotifKFulfillmentsFulfillOrdersConfirmed = "fulfillments.fulfill_orders.confirmed";
3430
+ export declare const NotifKTimesheetsWeekSheetsUpdated = "timesheets.weeksheets.updated";
3431
+ export declare const NotifKTimesheetsSummariesUpdated = "timesheets.summaries.updated";
3432
+ export declare const NotifKFeedFeedPostsReplied = "feed.feed_posts.replied";
3433
+ export declare const NotifKFeedFeedPostsReposted = "feed.feed_posts.reposted";
3434
+ export declare const NotifKContactsContactsRequested = "contacts.contacts.requested";
3435
+ export declare const NotifKContactsContactsAccepted = "contacts.contacts.accepted";
3436
+ export declare const NotifKContactsContactsRelationChanged = "contacts.contacts.relation_changed";
3437
+ export declare const NotifKJobsLocationsAssigned = "jobs.locations.assigned";
3438
+ export declare const NotifKJobsLocationsUnassigned = "jobs.locations.unassigned";
3439
+ export declare const NotifKJobsJobsAssigned = "jobs.jobs.assigned";
3440
+ export declare const NotifKJobsJobsUnassigned = "jobs.jobs.unassigned";
3441
+ export declare const NotifKJobsJobsRoleChanged = "jobs.jobs.role_changed";
3442
+ export declare const NotifKJobsJobsRescheduled = "jobs.jobs.rescheduled";
3443
+ export declare const NotifKJobsJobsCompleted = "jobs.jobs.completed";
3444
+ export declare const NotifKJobsJobsCancelled = "jobs.jobs.cancelled";
3445
+ export declare const NotifKJobsJobsTest = "jobs.jobs.test";
3446
+ export declare const NotifKChatChatsReceived = "chat.chats.received";
3447
+ export declare const NotifKJobsJobsStarted = "jobs.jobs.started";
3448
+ export declare const NotifKCallsEventsReceived = "calls.events.received";
3449
+ export declare const NotifKPaymentsPaymentsReceived = "payments.payments.received";
3450
+ export declare const NotifKPaymentsPaymentsAttention = "payments.payments.attention";
3451
+ export declare const NotifKPaymentsPmtRefundsSucceeded = "payments.pmt_refunds.succeeded";
3452
+ export declare const NotifServiceKey = "service";
3453
+ export declare const NotifCollectionKey = "collection";
3454
+ export declare const NotifRecordIDKey = "record_id";
3455
+ export declare const NotifIDKey = "notification_id";
3456
+ export declare const NotifCategoryKey = "notif_k";
3457
+ export declare const NotifDeepLinkKey = "deeplink";
3458
+ export declare const DeepLinkToolRoutes = "routes";
3459
+ export declare const DeepLinkViewRoutesRoutes = "routes";
3460
+ export declare const DeepLinkToolChat = "chat";
3461
+ export declare const DeepLinkViewChatAll = "all";
3462
+ export declare const DeepLinkToolBillable = "billable";
3463
+ export declare const DeepLinkViewBillableBills = "bills";
3464
+ export declare const DeepLinkToolPayrolls = "payrolls";
3465
+ export declare const DeepLinkViewPayrollsPayrolls = "payrolls";
3466
+ export declare const DeepLinkViewPayrollsAggregates = "adjustment_aggregates";
3467
+ export declare const DeepLinkToolTimesheets = "timesheets";
3468
+ export declare const DeepLinkToolPreferences = "preferences";
3469
+ export declare const DeepLinkViewPreferencesProfile = "profile";
3470
+ export declare const DeepLinkToolQR = "qr";
3471
+ export declare const DeepLinkViewQRCarMagnet = "car_magnet";
3472
+ export declare const DeepLinkViewTimesheetsWeekSheets = "weeks";
3473
+ export declare const DeepLinkViewTimesheetsSummaries = "summaries";
3474
+ export declare const DeepLinkToolFeed = "feed";
3475
+ export declare const DeepLinkToolContacts = "contacts";
3476
+ export declare const DeepLinkViewContactsAll = "all";
3477
+ export declare const DeepLinkViewContactsRequestsReceived = "requests-received";
3478
+ export declare const DeepLinkToolJobs = "jobs";
3479
+ export declare const DeepLinkViewJobsLocations = "locations";
3480
+ export declare const DeepLinkViewJobsJobs = "jobs";
3481
+ export declare const DeepLinkScheme = "app";
3482
+ export declare const DeepLinkViewKey = "view";
3483
+ export declare const DeepLinkRecordKey = "record";
3484
+ export declare const DeepLinkToolPayments = "payments";
3485
+ export declare const DeepLinkViewPaymentsHistory = "history";
3388
3486
  export declare const PushTransportFCM = "fcm";
3389
3487
  export declare const PushTransportAndroid = "fcm_android";
3390
3488
  export declare const PushTransportIOS = "fcm_ios";
@@ -4,6 +4,9 @@ export const ZeroID = "";
4
4
  export const AdjustmentTypeRate = "rate";
5
5
  export const AdjustmentTypePerPeriod = "per_period";
6
6
  export const AdjustmentTypePerHour = "per_hour";
7
+ export const NotifKPayrollsPayrollsAttention = "payrolls.payrolls.attention";
8
+ export const NotifKBillableBillsAccepted = "billable.bills.accepted";
9
+ export const NotifKBillableBillsCancelled = "billable.bills.cancelled";
7
10
  export const BillTypeFixed = "fixed";
8
11
  export const BillTypeDynamic = "dynamic";
9
12
  export const ChargeTypeItem = "item";
@@ -44,6 +47,7 @@ export const ColMarketplaceMarketplaceSessions = "marketplace_sessions";
44
47
  export const ColMemosMemos = "memos";
45
48
  export const ColMemosMemoFolders = "memo_folders";
46
49
  export const ColNotificationsDToks = "dtoks";
50
+ export const ColNotificationsNotifications = "notifications";
47
51
  export const ColPaymentsPayments = "payments";
48
52
  export const ColPaymentsPmtAccounts = "pmt_accounts";
49
53
  export const ColPaymentsPmtBankAccounts = "pmt_bank_accounts";
@@ -222,6 +226,7 @@ export const PSPEventTypePaymentIntentProcessing = "payment_intent.processing";
222
226
  export const PSPEventTypePaymentIntentRequiresAction = "payment_intent.requires_action";
223
227
  export const PSPEventTypePaymentIntentSucceeded = "payment_intent.succeeded";
224
228
  export const PSPEventTypePaymentIntentCanceled = "payment_intent.canceled";
229
+ export const PSPEventTypeRefundCreated = "refund.created";
225
230
  export const PSPEventTypeRefundUpdated = "refund.updated";
226
231
  export const PSPEventTypeSetupIntentCanceled = "setup_intent.canceled";
227
232
  export const PSPEventTypeSetupIntentSucceeded = "setup_intent.succeeded";
@@ -526,6 +531,72 @@ export const CallTicketKey = "call_ticket";
526
531
  export const CallOwnerIDKey = "call_owner_id";
527
532
  export const CallExpiresAtKey = "call_expires_at";
528
533
  export const CallRingTimeoutMS = 60000;
534
+ export const NotifKRoutesRoutesAssigned = "routes.routes.assigned";
535
+ export const NotifKRoutesRoutesUpdated = "routes.routes.updated";
536
+ export const NotifKRoutesRoutesUnassigned = "routes.routes.unassigned";
537
+ export const NotifKRoutesRoutesCancelled = "routes.routes.cancelled";
538
+ export const NotifKReportsBillsReady = "reports.bills.ready";
539
+ export const NotifKReportsPayrollsReady = "reports.payrolls.ready";
540
+ export const NotifKReportsAdjustmentAggregatesReady = "reports.adjustment_aggregates.ready";
541
+ export const NotifKTimesheetsWeekSheetsApproved = "timesheets.weeksheets.approved";
542
+ export const NotifKConnectionsConnectionsAttention = "connections.connections.attention";
543
+ export const NotifKFulfillmentsFulfillOrdersConfirmed = "fulfillments.fulfill_orders.confirmed";
544
+ export const NotifKTimesheetsWeekSheetsUpdated = "timesheets.weeksheets.updated";
545
+ export const NotifKTimesheetsSummariesUpdated = "timesheets.summaries.updated";
546
+ export const NotifKFeedFeedPostsReplied = "feed.feed_posts.replied";
547
+ export const NotifKFeedFeedPostsReposted = "feed.feed_posts.reposted";
548
+ export const NotifKContactsContactsRequested = "contacts.contacts.requested";
549
+ export const NotifKContactsContactsAccepted = "contacts.contacts.accepted";
550
+ export const NotifKContactsContactsRelationChanged = "contacts.contacts.relation_changed";
551
+ export const NotifKJobsLocationsAssigned = "jobs.locations.assigned";
552
+ export const NotifKJobsLocationsUnassigned = "jobs.locations.unassigned";
553
+ export const NotifKJobsJobsAssigned = "jobs.jobs.assigned";
554
+ export const NotifKJobsJobsUnassigned = "jobs.jobs.unassigned";
555
+ export const NotifKJobsJobsRoleChanged = "jobs.jobs.role_changed";
556
+ export const NotifKJobsJobsRescheduled = "jobs.jobs.rescheduled";
557
+ export const NotifKJobsJobsCompleted = "jobs.jobs.completed";
558
+ export const NotifKJobsJobsCancelled = "jobs.jobs.cancelled";
559
+ export const NotifKJobsJobsTest = "jobs.jobs.test";
560
+ export const NotifKChatChatsReceived = "chat.chats.received";
561
+ export const NotifKJobsJobsStarted = "jobs.jobs.started";
562
+ export const NotifKCallsEventsReceived = "calls.events.received";
563
+ export const NotifKPaymentsPaymentsReceived = "payments.payments.received";
564
+ export const NotifKPaymentsPaymentsAttention = "payments.payments.attention";
565
+ export const NotifKPaymentsPmtRefundsSucceeded = "payments.pmt_refunds.succeeded";
566
+ export const NotifServiceKey = "service";
567
+ export const NotifCollectionKey = "collection";
568
+ export const NotifRecordIDKey = "record_id";
569
+ export const NotifIDKey = "notification_id";
570
+ export const NotifCategoryKey = "notif_k";
571
+ export const NotifDeepLinkKey = "deeplink";
572
+ export const DeepLinkToolRoutes = "routes";
573
+ export const DeepLinkViewRoutesRoutes = "routes";
574
+ export const DeepLinkToolChat = "chat";
575
+ export const DeepLinkViewChatAll = "all";
576
+ export const DeepLinkToolBillable = "billable";
577
+ export const DeepLinkViewBillableBills = "bills";
578
+ export const DeepLinkToolPayrolls = "payrolls";
579
+ export const DeepLinkViewPayrollsPayrolls = "payrolls";
580
+ export const DeepLinkViewPayrollsAggregates = "adjustment_aggregates";
581
+ export const DeepLinkToolTimesheets = "timesheets";
582
+ export const DeepLinkToolPreferences = "preferences";
583
+ export const DeepLinkViewPreferencesProfile = "profile";
584
+ export const DeepLinkToolQR = "qr";
585
+ export const DeepLinkViewQRCarMagnet = "car_magnet";
586
+ export const DeepLinkViewTimesheetsWeekSheets = "weeks";
587
+ export const DeepLinkViewTimesheetsSummaries = "summaries";
588
+ export const DeepLinkToolFeed = "feed";
589
+ export const DeepLinkToolContacts = "contacts";
590
+ export const DeepLinkViewContactsAll = "all";
591
+ export const DeepLinkViewContactsRequestsReceived = "requests-received";
592
+ export const DeepLinkToolJobs = "jobs";
593
+ export const DeepLinkViewJobsLocations = "locations";
594
+ export const DeepLinkViewJobsJobs = "jobs";
595
+ export const DeepLinkScheme = "app";
596
+ export const DeepLinkViewKey = "view";
597
+ export const DeepLinkRecordKey = "record";
598
+ export const DeepLinkToolPayments = "payments";
599
+ export const DeepLinkViewPaymentsHistory = "history";
529
600
  export const PushTransportFCM = "fcm";
530
601
  export const PushTransportAndroid = "fcm_android";
531
602
  export const PushTransportIOS = "fcm_ios";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/schema",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {