@fabriktor/schema 0.0.80 → 0.0.82

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;
@@ -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;
@@ -2633,6 +2646,9 @@ export type PLPaymentsPurchaseCredits = {
2633
2646
  payer_payment_method_psp_id: string;
2634
2647
  return_url: string;
2635
2648
  };
2649
+ export type PLPaymentsClaimCredits = {
2650
+ type: string;
2651
+ };
2636
2652
  export type PLPaymentsBalance = {
2637
2653
  psp_account_id: string;
2638
2654
  };
@@ -2895,6 +2911,7 @@ export declare const ColPaymentsPmtRefunds = "pmt_refunds";
2895
2911
  export declare const ColPaymentsPmtCustomers = "pmt_customers";
2896
2912
  export declare const ColPaymentsPmtPublicSessions = "pmt_public_sessions";
2897
2913
  export declare const ColPaymentsCreditLedger = "credit_ledger";
2914
+ export declare const ColPaymentsCreditGrants = "credit_grants";
2898
2915
  export declare const ColPayrollsPayables = "payables";
2899
2916
  export declare const ColPayrollsPayrolls = "payrolls";
2900
2917
  export declare const ColPayrollsPayConfigs = "pay_configs";
@@ -2938,8 +2955,11 @@ export declare const ColUsersTmpUsernames = "tmp_usernames";
2938
2955
  export declare const ColPrivacyDeletionRequests = "deletion_requests";
2939
2956
  export declare const ColPrivacyAccountLocks = "account_locks";
2940
2957
  export declare const ColFulfillmentsFulfillOrders = "fulfill_orders";
2958
+ export declare const CreditGrantTypeSignup = "signup";
2959
+ export declare const CreditGrantSignup = 20;
2941
2960
  export declare const CreditLedgerOperationPurchase = "purchase";
2942
2961
  export declare const CreditLedgerOperationConsume = "consume";
2962
+ export declare const CreditLedgerOperationGrant = "grant";
2943
2963
  export declare const CreditLedgerSourceStripe = "stripe";
2944
2964
  export declare const CreditLedgerSourceAppleIAP = "apple_iap";
2945
2965
  export declare const CreditLedgerSourceAndroidIAP = "android_iap";
@@ -3024,6 +3044,7 @@ export declare const PathPaymentsOpen = "open";
3024
3044
  export declare const PathPaymentsFromPublicSession = "from_public_session";
3025
3045
  export declare const PathPaymentsConsume = "consume";
3026
3046
  export declare const PathPaymentsPurchase = "purchase";
3047
+ export declare const PathPaymentsClaim = "claim";
3027
3048
  export declare const PathPaymentsTotal = "total";
3028
3049
  export declare const PathPaymentsOnboarding = "onboarding";
3029
3050
  export declare const PathPayrollsGenerate = "generate";
@@ -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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/schema",
3
- "version": "0.0.80",
3
+ "version": "0.0.82",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {