@fabriktor/schema 0.0.85 → 0.0.87

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.
@@ -164,6 +164,7 @@ export type InChat = {
164
164
  quoted_message_id: string;
165
165
  mentions: string[];
166
166
  has_objects: boolean;
167
+ is_talkie: boolean;
167
168
  objects_uploaded: boolean;
168
169
  };
169
170
  export type InChatRoom = {
@@ -777,6 +778,11 @@ export type InUser = {
777
778
  privacy: Privacy;
778
779
  picture_id: string;
779
780
  picture_preview: string;
781
+ bio: string;
782
+ urls: string[];
783
+ show_as_company: boolean;
784
+ banner_id: string;
785
+ banner_preview: string;
780
786
  is_onboarded: boolean;
781
787
  };
782
788
  export type InVendorInvoice = {
@@ -1032,6 +1038,7 @@ export type Chat = {
1032
1038
  quoted_message_id: string;
1033
1039
  mentions: string[];
1034
1040
  has_objects: boolean;
1041
+ is_talkie: boolean;
1035
1042
  objects_uploaded: boolean;
1036
1043
  };
1037
1044
  export type ChatRoom = {
@@ -1900,6 +1907,7 @@ export type User = {
1900
1907
  is_email_verified: boolean;
1901
1908
  is_firebase_disabled: boolean;
1902
1909
  picture_url: string;
1910
+ banner_url: string;
1903
1911
  address_timezone: string;
1904
1912
  lat: number;
1905
1913
  lon: number;
@@ -1922,6 +1930,11 @@ export type User = {
1922
1930
  privacy: Privacy;
1923
1931
  picture_id: string;
1924
1932
  picture_preview: string;
1933
+ bio: string;
1934
+ urls: string[];
1935
+ show_as_company: boolean;
1936
+ banner_id: string;
1937
+ banner_preview: string;
1925
1938
  is_onboarded: boolean;
1926
1939
  };
1927
1940
  export type VendorInvoice = {
@@ -3122,6 +3135,17 @@ export declare const PathUsersSendSignInLink = "send_sign_in_link";
3122
3135
  export declare const PathUsersResolveUsername = "resolve_username";
3123
3136
  export declare const PathUsersCleanupStale = "cleanup_stale";
3124
3137
  export declare const PathUsersExternal = "external";
3138
+ export declare const PathUsersPublicProfile = "public_profile";
3139
+ export declare const UserBioMaxLength = 1000;
3140
+ export declare const UserURLsMaxCount = 2;
3141
+ export declare const UserURLMaxLength = 2048;
3142
+ export declare const UserPreviewMinBytes = 1;
3143
+ export declare const UserPreviewMinSize = 1;
3144
+ export declare const UserPictureMaxBytes = 16384;
3145
+ export declare const UserPictureMaxSize = 128;
3146
+ export declare const UserBannerMaxBytes = 65536;
3147
+ export declare const UserBannerWidth = 768;
3148
+ export declare const UserBannerHeight = 256;
3125
3149
  export declare const PSPEventTypeAccountUpdated = "account.updated";
3126
3150
  export declare const PSPEventTypePaymentIntentPaymentFailed = "payment_intent.payment_failed";
3127
3151
  export declare const PSPEventTypePaymentIntentProcessing = "payment_intent.processing";
@@ -3463,6 +3487,7 @@ export declare const NotifKJobsJobsCompleted = "jobs.jobs.completed";
3463
3487
  export declare const NotifKJobsJobsCancelled = "jobs.jobs.cancelled";
3464
3488
  export declare const NotifKJobsJobsTest = "jobs.jobs.test";
3465
3489
  export declare const NotifKChatChatsReceived = "chat.chats.received";
3490
+ export declare const NotifKChatChatsTalkieReceived = "chat.chats.talkie_received";
3466
3491
  export declare const NotifKJobsJobsStarted = "jobs.jobs.started";
3467
3492
  export declare const NotifKCallsEventsReceived = "calls.events.received";
3468
3493
  export declare const NotifKPaymentsPaymentsReceived = "payments.payments.received";
@@ -3474,6 +3499,10 @@ export declare const NotifRecordIDKey = "record_id";
3474
3499
  export declare const NotifIDKey = "notification_id";
3475
3500
  export declare const NotifCategoryKey = "notif_k";
3476
3501
  export declare const NotifDeepLinkKey = "deeplink";
3502
+ export declare const NotifChatIDKey = "chat_id";
3503
+ export declare const NotifChatRoomIDKey = "chat_room_id";
3504
+ export declare const NotifSenderIDKey = "sender_id";
3505
+ export declare const NotifSenderNameKey = "sender_name";
3477
3506
  export declare const DeepLinkToolRoutes = "routes";
3478
3507
  export declare const DeepLinkViewRoutesRoutes = "routes";
3479
3508
  export declare const DeepLinkToolChat = "chat";
@@ -221,6 +221,17 @@ export const PathUsersSendSignInLink = "send_sign_in_link";
221
221
  export const PathUsersResolveUsername = "resolve_username";
222
222
  export const PathUsersCleanupStale = "cleanup_stale";
223
223
  export const PathUsersExternal = "external";
224
+ export const PathUsersPublicProfile = "public_profile";
225
+ export const UserBioMaxLength = 1000;
226
+ export const UserURLsMaxCount = 2;
227
+ export const UserURLMaxLength = 2048;
228
+ export const UserPreviewMinBytes = 1;
229
+ export const UserPreviewMinSize = 1;
230
+ export const UserPictureMaxBytes = 16384;
231
+ export const UserPictureMaxSize = 128;
232
+ export const UserBannerMaxBytes = 65536;
233
+ export const UserBannerWidth = 768;
234
+ export const UserBannerHeight = 256;
224
235
  export const PSPEventTypeAccountUpdated = "account.updated";
225
236
  export const PSPEventTypePaymentIntentPaymentFailed = "payment_intent.payment_failed";
226
237
  export const PSPEventTypePaymentIntentProcessing = "payment_intent.processing";
@@ -562,6 +573,7 @@ export const NotifKJobsJobsCompleted = "jobs.jobs.completed";
562
573
  export const NotifKJobsJobsCancelled = "jobs.jobs.cancelled";
563
574
  export const NotifKJobsJobsTest = "jobs.jobs.test";
564
575
  export const NotifKChatChatsReceived = "chat.chats.received";
576
+ export const NotifKChatChatsTalkieReceived = "chat.chats.talkie_received";
565
577
  export const NotifKJobsJobsStarted = "jobs.jobs.started";
566
578
  export const NotifKCallsEventsReceived = "calls.events.received";
567
579
  export const NotifKPaymentsPaymentsReceived = "payments.payments.received";
@@ -573,6 +585,10 @@ export const NotifRecordIDKey = "record_id";
573
585
  export const NotifIDKey = "notification_id";
574
586
  export const NotifCategoryKey = "notif_k";
575
587
  export const NotifDeepLinkKey = "deeplink";
588
+ export const NotifChatIDKey = "chat_id";
589
+ export const NotifChatRoomIDKey = "chat_room_id";
590
+ export const NotifSenderIDKey = "sender_id";
591
+ export const NotifSenderNameKey = "sender_name";
576
592
  export const DeepLinkToolRoutes = "routes";
577
593
  export const DeepLinkViewRoutesRoutes = "routes";
578
594
  export const DeepLinkToolChat = "chat";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/schema",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {