@fabriktor/schema 0.0.78 → 0.0.81

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.
@@ -207,6 +207,9 @@ export type InContact = {
207
207
  relation: number;
208
208
  is_pending: boolean;
209
209
  };
210
+ export type InCreditGrant = {
211
+ type: string;
212
+ };
210
213
  export type InCreditLedgerEntry = {
211
214
  amount: number;
212
215
  operation: string;
@@ -757,7 +760,7 @@ export type InUser = {
757
760
  active_mode: string;
758
761
  privacy: Privacy;
759
762
  picture_id: string;
760
- qr_id: string;
763
+ picture_preview: string;
761
764
  is_onboarded: boolean;
762
765
  };
763
766
  export type InVendorInvoice = {
@@ -1065,6 +1068,16 @@ export type Contact = {
1065
1068
  relation: number;
1066
1069
  is_pending: boolean;
1067
1070
  };
1071
+ export type CreditGrant = {
1072
+ id: string;
1073
+ updated_at: string;
1074
+ created_at: string;
1075
+ owner_id: string;
1076
+ key: string;
1077
+ amount: number;
1078
+ ledger_id: string;
1079
+ type: string;
1080
+ };
1068
1081
  export type CreditLedgerEntry = {
1069
1082
  id: string;
1070
1083
  updated_at: string;
@@ -1845,6 +1858,7 @@ export type User = {
1845
1858
  uid: string;
1846
1859
  is_email_verified: boolean;
1847
1860
  is_firebase_disabled: boolean;
1861
+ picture_url: string;
1848
1862
  address_timezone: string;
1849
1863
  lat: number;
1850
1864
  lon: number;
@@ -1866,7 +1880,7 @@ export type User = {
1866
1880
  active_mode: string;
1867
1881
  privacy: Privacy;
1868
1882
  picture_id: string;
1869
- qr_id: string;
1883
+ picture_preview: string;
1870
1884
  is_onboarded: boolean;
1871
1885
  };
1872
1886
  export type VendorInvoice = {
@@ -2632,6 +2646,9 @@ export type PLPaymentsPurchaseCredits = {
2632
2646
  payer_payment_method_psp_id: string;
2633
2647
  return_url: string;
2634
2648
  };
2649
+ export type PLPaymentsClaimCredits = {
2650
+ type: string;
2651
+ };
2635
2652
  export type PLPaymentsBalance = {
2636
2653
  psp_account_id: string;
2637
2654
  };
@@ -2894,6 +2911,7 @@ export declare const ColPaymentsPmtRefunds = "pmt_refunds";
2894
2911
  export declare const ColPaymentsPmtCustomers = "pmt_customers";
2895
2912
  export declare const ColPaymentsPmtPublicSessions = "pmt_public_sessions";
2896
2913
  export declare const ColPaymentsCreditLedger = "credit_ledger";
2914
+ export declare const ColPaymentsCreditGrants = "credit_grants";
2897
2915
  export declare const ColPayrollsPayables = "payables";
2898
2916
  export declare const ColPayrollsPayrolls = "payrolls";
2899
2917
  export declare const ColPayrollsPayConfigs = "pay_configs";
@@ -2937,8 +2955,11 @@ export declare const ColUsersTmpUsernames = "tmp_usernames";
2937
2955
  export declare const ColPrivacyDeletionRequests = "deletion_requests";
2938
2956
  export declare const ColPrivacyAccountLocks = "account_locks";
2939
2957
  export declare const ColFulfillmentsFulfillOrders = "fulfill_orders";
2958
+ export declare const CreditGrantTypeSignup = "signup";
2959
+ export declare const CreditGrantSignup = 20;
2940
2960
  export declare const CreditLedgerOperationPurchase = "purchase";
2941
2961
  export declare const CreditLedgerOperationConsume = "consume";
2962
+ export declare const CreditLedgerOperationGrant = "grant";
2942
2963
  export declare const CreditLedgerSourceStripe = "stripe";
2943
2964
  export declare const CreditLedgerSourceAppleIAP = "apple_iap";
2944
2965
  export declare const CreditLedgerSourceAndroidIAP = "android_iap";
@@ -3023,6 +3044,7 @@ export declare const PathPaymentsOpen = "open";
3023
3044
  export declare const PathPaymentsFromPublicSession = "from_public_session";
3024
3045
  export declare const PathPaymentsConsume = "consume";
3025
3046
  export declare const PathPaymentsPurchase = "purchase";
3047
+ export declare const PathPaymentsClaim = "claim";
3026
3048
  export declare const PathPaymentsTotal = "total";
3027
3049
  export declare const PathPaymentsOnboarding = "onboarding";
3028
3050
  export declare const PathPayrollsGenerate = "generate";
@@ -3304,7 +3326,11 @@ export declare const All = 2;
3304
3326
  export declare const MimeJSON = "application/json";
3305
3327
  export declare const MimeOctetStream = "application/octet-stream";
3306
3328
  export declare const MimeMultipart = "multipart/form-data";
3329
+ export declare const MimeHTMLBase = "text/html";
3307
3330
  export declare const MimeHTML = "text/html; charset=utf-8";
3331
+ export declare const MimeXHTML = "application/xhtml+xml";
3332
+ export declare const MimeJPEG = "image/jpeg";
3333
+ export declare const MimePNG = "image/png";
3308
3334
  export declare const EncodingGzip = "gzip";
3309
3335
  export declare const MimePrefixImage = "image";
3310
3336
  export declare const MimePrefixVideo = "video";
@@ -3314,6 +3340,9 @@ export declare const AllowedOriginsKey = "ALLOWED_ORIGINS";
3314
3340
  export declare const SubpathKey = "subpath";
3315
3341
  export declare const HTTPSScheme = "https";
3316
3342
  export declare const HTTPScheme = "http";
3343
+ export declare const HTTPPort = "80";
3344
+ export declare const HTTPSPort = "443";
3345
+ export declare const LinkPreviewTimeout = 5000000000;
3317
3346
  export declare const HeaderIdempotency = "X-Fabriktor-Idempotency";
3318
3347
  export declare const LockReasonDeletionRequest = "deletion_request";
3319
3348
  export declare const LockReasonAdminBlock = "admin_block";
@@ -52,6 +52,7 @@ export const ColPaymentsPmtRefunds = "pmt_refunds";
52
52
  export const ColPaymentsPmtCustomers = "pmt_customers";
53
53
  export const ColPaymentsPmtPublicSessions = "pmt_public_sessions";
54
54
  export const ColPaymentsCreditLedger = "credit_ledger";
55
+ export const ColPaymentsCreditGrants = "credit_grants";
55
56
  export const ColPayrollsPayables = "payables";
56
57
  export const ColPayrollsPayrolls = "payrolls";
57
58
  export const ColPayrollsPayConfigs = "pay_configs";
@@ -95,8 +96,11 @@ export const ColUsersTmpUsernames = "tmp_usernames";
95
96
  export const ColPrivacyDeletionRequests = "deletion_requests";
96
97
  export const ColPrivacyAccountLocks = "account_locks";
97
98
  export const ColFulfillmentsFulfillOrders = "fulfill_orders";
99
+ export const CreditGrantTypeSignup = "signup";
100
+ export const CreditGrantSignup = 20;
98
101
  export const CreditLedgerOperationPurchase = "purchase";
99
102
  export const CreditLedgerOperationConsume = "consume";
103
+ export const CreditLedgerOperationGrant = "grant";
100
104
  export const CreditLedgerSourceStripe = "stripe";
101
105
  export const CreditLedgerSourceAppleIAP = "apple_iap";
102
106
  export const CreditLedgerSourceAndroidIAP = "android_iap";
@@ -181,6 +185,7 @@ export const PathPaymentsOpen = "open";
181
185
  export const PathPaymentsFromPublicSession = "from_public_session";
182
186
  export const PathPaymentsConsume = "consume";
183
187
  export const PathPaymentsPurchase = "purchase";
188
+ export const PathPaymentsClaim = "claim";
184
189
  export const PathPaymentsTotal = "total";
185
190
  export const PathPaymentsOnboarding = "onboarding";
186
191
  export const PathPayrollsGenerate = "generate";
@@ -462,7 +467,11 @@ export const All = 2;
462
467
  export const MimeJSON = "application/json";
463
468
  export const MimeOctetStream = "application/octet-stream";
464
469
  export const MimeMultipart = "multipart/form-data";
470
+ export const MimeHTMLBase = "text/html";
465
471
  export const MimeHTML = "text/html; charset=utf-8";
472
+ export const MimeXHTML = "application/xhtml+xml";
473
+ export const MimeJPEG = "image/jpeg";
474
+ export const MimePNG = "image/png";
466
475
  export const EncodingGzip = "gzip";
467
476
  export const MimePrefixImage = "image";
468
477
  export const MimePrefixVideo = "video";
@@ -472,6 +481,9 @@ export const AllowedOriginsKey = "ALLOWED_ORIGINS";
472
481
  export const SubpathKey = "subpath";
473
482
  export const HTTPSScheme = "https";
474
483
  export const HTTPScheme = "http";
484
+ export const HTTPPort = "80";
485
+ export const HTTPSPort = "443";
486
+ export const LinkPreviewTimeout = 5000000000;
475
487
  export const HeaderIdempotency = "X-Fabriktor-Idempotency";
476
488
  export const LockReasonDeletionRequest = "deletion_request";
477
489
  export const LockReasonAdminBlock = "admin_block";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/schema",
3
- "version": "0.0.78",
3
+ "version": "0.0.81",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {