@etohq/payment 1.5.5-next-20260317140633 → 2.0.0

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.
@@ -3,8 +3,8 @@ declare const AccountHolder: import("@etohq/framework/utils").DmlEntity<import("
3
3
  provider_id: import("@etohq/framework/utils").TextProperty;
4
4
  external_id: import("@etohq/framework/utils").TextProperty;
5
5
  email: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
6
- data: import("@etohq/framework/utils").JSONProperty;
7
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
6
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
7
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
8
8
  }>, "AccountHolder">;
9
9
  export default AccountHolder;
10
10
  //# sourceMappingURL=account-holder.d.ts.map
@@ -6,8 +6,8 @@ declare const Capture: import("@etohq/framework/utils").DmlEntity<import("@etohq
6
6
  amount: import("@etohq/framework/utils").BigNumberProperty;
7
7
  currency_code: import("@etohq/framework/utils").TextProperty;
8
8
  provider_id: import("@etohq/framework/utils").TextProperty;
9
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
10
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
9
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
10
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
11
11
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
12
12
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
13
13
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -19,7 +19,7 @@ declare const Capture: import("@etohq/framework/utils").DmlEntity<import("@etohq
19
19
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
20
20
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
21
21
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
22
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
22
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
23
23
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
24
24
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
25
25
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -30,13 +30,13 @@ declare const Capture: import("@etohq/framework/utils").DmlEntity<import("@etohq
30
30
  currency_code: import("@etohq/framework/utils").TextProperty;
31
31
  amount: import("@etohq/framework/utils").BigNumberProperty;
32
32
  provider_id: import("@etohq/framework/utils").TextProperty;
33
- data: import("@etohq/framework/utils").JSONProperty;
34
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
33
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
34
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
35
35
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
36
36
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
37
37
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
38
38
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
39
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
39
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
40
40
  }>, "PaymentSession">>;
41
41
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>;
42
42
  }>, "PaymentCollection">, undefined>;
@@ -45,8 +45,8 @@ declare const Capture: import("@etohq/framework/utils").DmlEntity<import("@etohq
45
45
  currency_code: import("@etohq/framework/utils").TextProperty;
46
46
  amount: import("@etohq/framework/utils").BigNumberProperty;
47
47
  provider_id: import("@etohq/framework/utils").TextProperty;
48
- data: import("@etohq/framework/utils").JSONProperty;
49
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
48
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
49
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
50
50
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
51
51
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
52
52
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -58,7 +58,7 @@ declare const Capture: import("@etohq/framework/utils").DmlEntity<import("@etohq
58
58
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
59
59
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
60
60
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
61
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
61
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
62
62
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
63
63
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
64
64
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -68,7 +68,7 @@ declare const Capture: import("@etohq/framework/utils").DmlEntity<import("@etohq
68
68
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>;
69
69
  }>, "PaymentCollection">, undefined>;
70
70
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
71
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
71
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
72
72
  }>, "PaymentSession">, undefined>;
73
73
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
74
74
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
@@ -78,22 +78,22 @@ declare const Capture: import("@etohq/framework/utils").DmlEntity<import("@etohq
78
78
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
79
79
  label: import("@etohq/framework/utils").TextProperty;
80
80
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
81
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
81
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
82
82
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
83
83
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
84
84
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
85
85
  label: import("@etohq/framework/utils").TextProperty;
86
86
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
87
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
87
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
88
88
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
89
89
  }>, "RefundReason">, undefined>, true>;
90
90
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
91
91
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
92
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
92
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
93
93
  }>, "Refund">>;
94
94
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Capture">>;
95
95
  }>, "Payment">, undefined>;
96
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
96
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
97
97
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
98
98
  }>, "Capture">;
99
99
  export default Capture;
@@ -8,7 +8,7 @@ declare const PaymentCollection: import("@etohq/framework/utils").DmlEntity<impo
8
8
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
9
9
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
10
10
  status: import("@etohq/framework/utils").EnumProperty<typeof PaymentCollectionStatus>;
11
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
11
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
12
12
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
13
13
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
14
14
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -19,8 +19,8 @@ declare const PaymentCollection: import("@etohq/framework/utils").DmlEntity<impo
19
19
  currency_code: import("@etohq/framework/utils").TextProperty;
20
20
  amount: import("@etohq/framework/utils").BigNumberProperty;
21
21
  provider_id: import("@etohq/framework/utils").TextProperty;
22
- data: import("@etohq/framework/utils").JSONProperty;
23
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
22
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
23
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
24
24
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
25
25
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
26
26
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
@@ -29,8 +29,8 @@ declare const PaymentCollection: import("@etohq/framework/utils").DmlEntity<impo
29
29
  amount: import("@etohq/framework/utils").BigNumberProperty;
30
30
  currency_code: import("@etohq/framework/utils").TextProperty;
31
31
  provider_id: import("@etohq/framework/utils").TextProperty;
32
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
33
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
32
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
33
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
34
34
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
35
35
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
36
36
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
@@ -43,24 +43,24 @@ declare const PaymentCollection: import("@etohq/framework/utils").DmlEntity<impo
43
43
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
44
44
  label: import("@etohq/framework/utils").TextProperty;
45
45
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
46
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
46
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
47
47
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
48
48
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
49
49
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
50
50
  label: import("@etohq/framework/utils").TextProperty;
51
51
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
52
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
52
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
53
53
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
54
54
  }>, "RefundReason">, undefined>, true>;
55
55
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
56
56
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
57
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
57
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
58
58
  }>, "Refund">>;
59
59
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
60
60
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
61
61
  amount: import("@etohq/framework/utils").BigNumberProperty;
62
62
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
63
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
63
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
64
64
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
65
65
  }>, "Capture">>;
66
66
  }>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -68,8 +68,8 @@ declare const PaymentCollection: import("@etohq/framework/utils").DmlEntity<impo
68
68
  amount: import("@etohq/framework/utils").BigNumberProperty;
69
69
  currency_code: import("@etohq/framework/utils").TextProperty;
70
70
  provider_id: import("@etohq/framework/utils").TextProperty;
71
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
72
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
71
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
72
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
73
73
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
74
74
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
75
75
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
@@ -82,36 +82,36 @@ declare const PaymentCollection: import("@etohq/framework/utils").DmlEntity<impo
82
82
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
83
83
  label: import("@etohq/framework/utils").TextProperty;
84
84
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
85
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
85
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
86
86
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
87
87
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
88
88
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
89
89
  label: import("@etohq/framework/utils").TextProperty;
90
90
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
91
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
91
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
92
92
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
93
93
  }>, "RefundReason">, undefined>, true>;
94
94
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
95
95
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
96
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
96
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
97
97
  }>, "Refund">>;
98
98
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
99
99
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
100
100
  amount: import("@etohq/framework/utils").BigNumberProperty;
101
101
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
102
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
102
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
103
103
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
104
104
  }>, "Capture">>;
105
105
  }>, "Payment">>, false>;
106
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
106
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
107
107
  }>, "PaymentSession">>;
108
108
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
109
109
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
110
110
  amount: import("@etohq/framework/utils").BigNumberProperty;
111
111
  currency_code: import("@etohq/framework/utils").TextProperty;
112
112
  provider_id: import("@etohq/framework/utils").TextProperty;
113
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
114
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
113
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
114
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
115
115
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
116
116
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
117
117
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
@@ -120,13 +120,13 @@ declare const PaymentCollection: import("@etohq/framework/utils").DmlEntity<impo
120
120
  currency_code: import("@etohq/framework/utils").TextProperty;
121
121
  amount: import("@etohq/framework/utils").BigNumberProperty;
122
122
  provider_id: import("@etohq/framework/utils").TextProperty;
123
- data: import("@etohq/framework/utils").JSONProperty;
124
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
123
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
124
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
125
125
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
126
126
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
127
127
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
128
128
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
129
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
129
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
130
130
  }>, "PaymentSession">, undefined>;
131
131
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
132
132
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
@@ -136,24 +136,24 @@ declare const PaymentCollection: import("@etohq/framework/utils").DmlEntity<impo
136
136
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
137
137
  label: import("@etohq/framework/utils").TextProperty;
138
138
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
139
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
139
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
140
140
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
141
141
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
142
142
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
143
143
  label: import("@etohq/framework/utils").TextProperty;
144
144
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
145
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
145
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
146
146
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
147
147
  }>, "RefundReason">, undefined>, true>;
148
148
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
149
149
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
150
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
150
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
151
151
  }>, "Refund">>;
152
152
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
153
153
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
154
154
  amount: import("@etohq/framework/utils").BigNumberProperty;
155
155
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
156
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
156
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
157
157
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
158
158
  }>, "Capture">>;
159
159
  }>, "Payment">>;
@@ -11,15 +11,15 @@ declare const PaymentProvider: import("@etohq/framework/utils").DmlEntity<import
11
11
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
12
12
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
13
13
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
14
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
14
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
15
15
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentProvider">>;
16
16
  payment_sessions: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
17
17
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
18
18
  currency_code: import("@etohq/framework/utils").TextProperty;
19
19
  amount: import("@etohq/framework/utils").BigNumberProperty;
20
20
  provider_id: import("@etohq/framework/utils").TextProperty;
21
- data: import("@etohq/framework/utils").JSONProperty;
22
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
21
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
22
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
23
23
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
24
24
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
25
25
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
@@ -28,8 +28,8 @@ declare const PaymentProvider: import("@etohq/framework/utils").DmlEntity<import
28
28
  amount: import("@etohq/framework/utils").BigNumberProperty;
29
29
  currency_code: import("@etohq/framework/utils").TextProperty;
30
30
  provider_id: import("@etohq/framework/utils").TextProperty;
31
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
32
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
31
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
32
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
33
33
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
34
34
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
35
35
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
@@ -42,24 +42,24 @@ declare const PaymentProvider: import("@etohq/framework/utils").DmlEntity<import
42
42
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
43
43
  label: import("@etohq/framework/utils").TextProperty;
44
44
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
45
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
45
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
46
46
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
47
47
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
48
48
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
49
49
  label: import("@etohq/framework/utils").TextProperty;
50
50
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
51
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
51
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
52
52
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
53
53
  }>, "RefundReason">, undefined>, true>;
54
54
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
55
55
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
56
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
56
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
57
57
  }>, "Refund">>;
58
58
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
59
59
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
60
60
  amount: import("@etohq/framework/utils").BigNumberProperty;
61
61
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
62
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
62
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
63
63
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
64
64
  }>, "Capture">>;
65
65
  }>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -67,8 +67,8 @@ declare const PaymentProvider: import("@etohq/framework/utils").DmlEntity<import
67
67
  amount: import("@etohq/framework/utils").BigNumberProperty;
68
68
  currency_code: import("@etohq/framework/utils").TextProperty;
69
69
  provider_id: import("@etohq/framework/utils").TextProperty;
70
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
71
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
70
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
71
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
72
72
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
73
73
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
74
74
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
@@ -81,36 +81,36 @@ declare const PaymentProvider: import("@etohq/framework/utils").DmlEntity<import
81
81
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
82
82
  label: import("@etohq/framework/utils").TextProperty;
83
83
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
84
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
84
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
85
85
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
86
86
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
87
87
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
88
88
  label: import("@etohq/framework/utils").TextProperty;
89
89
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
90
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
90
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
91
91
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
92
92
  }>, "RefundReason">, undefined>, true>;
93
93
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
94
94
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
95
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
95
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
96
96
  }>, "Refund">>;
97
97
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
98
98
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
99
99
  amount: import("@etohq/framework/utils").BigNumberProperty;
100
100
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
101
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
101
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
102
102
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
103
103
  }>, "Capture">>;
104
104
  }>, "Payment">>, false>;
105
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
105
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
106
106
  }>, "PaymentSession">>;
107
107
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
108
108
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
109
109
  amount: import("@etohq/framework/utils").BigNumberProperty;
110
110
  currency_code: import("@etohq/framework/utils").TextProperty;
111
111
  provider_id: import("@etohq/framework/utils").TextProperty;
112
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
113
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
112
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
113
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
114
114
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
115
115
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
116
116
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
@@ -119,13 +119,13 @@ declare const PaymentProvider: import("@etohq/framework/utils").DmlEntity<import
119
119
  currency_code: import("@etohq/framework/utils").TextProperty;
120
120
  amount: import("@etohq/framework/utils").BigNumberProperty;
121
121
  provider_id: import("@etohq/framework/utils").TextProperty;
122
- data: import("@etohq/framework/utils").JSONProperty;
123
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
122
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
123
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
124
124
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
125
125
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
126
126
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
127
127
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
128
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
128
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
129
129
  }>, "PaymentSession">, undefined>;
130
130
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
131
131
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
@@ -135,24 +135,24 @@ declare const PaymentProvider: import("@etohq/framework/utils").DmlEntity<import
135
135
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
136
136
  label: import("@etohq/framework/utils").TextProperty;
137
137
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
138
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
138
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
139
139
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
140
140
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
141
141
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
142
142
  label: import("@etohq/framework/utils").TextProperty;
143
143
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
144
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
144
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
145
145
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
146
146
  }>, "RefundReason">, undefined>, true>;
147
147
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
148
148
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
149
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
149
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
150
150
  }>, "Refund">>;
151
151
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
152
152
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
153
153
  amount: import("@etohq/framework/utils").BigNumberProperty;
154
154
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
155
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
155
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
156
156
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
157
157
  }>, "Capture">>;
158
158
  }>, "Payment">>;
@@ -5,8 +5,8 @@ declare const PaymentSession: import("@etohq/framework/utils").DmlEntity<import(
5
5
  currency_code: import("@etohq/framework/utils").TextProperty;
6
6
  amount: import("@etohq/framework/utils").BigNumberProperty;
7
7
  provider_id: import("@etohq/framework/utils").TextProperty;
8
- data: import("@etohq/framework/utils").JSONProperty;
9
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
8
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
9
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
10
10
  status: import("@etohq/framework/utils").EnumProperty<typeof PaymentSessionStatus>;
11
11
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
12
12
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
@@ -15,8 +15,8 @@ declare const PaymentSession: import("@etohq/framework/utils").DmlEntity<import(
15
15
  amount: import("@etohq/framework/utils").BigNumberProperty;
16
16
  currency_code: import("@etohq/framework/utils").TextProperty;
17
17
  provider_id: import("@etohq/framework/utils").TextProperty;
18
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
19
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
18
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
19
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
20
20
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
21
21
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
22
22
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -28,7 +28,7 @@ declare const PaymentSession: import("@etohq/framework/utils").DmlEntity<import(
28
28
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
29
29
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
30
30
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
31
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
31
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
32
32
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
33
33
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
34
34
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -46,24 +46,24 @@ declare const PaymentSession: import("@etohq/framework/utils").DmlEntity<import(
46
46
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
47
47
  label: import("@etohq/framework/utils").TextProperty;
48
48
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
49
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
49
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
50
50
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
51
51
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
52
52
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
53
53
  label: import("@etohq/framework/utils").TextProperty;
54
54
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
55
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
55
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
56
56
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
57
57
  }>, "RefundReason">, undefined>, true>;
58
58
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
59
59
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
60
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
60
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
61
61
  }>, "Refund">>;
62
62
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
63
63
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
64
64
  amount: import("@etohq/framework/utils").BigNumberProperty;
65
65
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
66
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
66
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
67
67
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
68
68
  }>, "Capture">>;
69
69
  }>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -71,8 +71,8 @@ declare const PaymentSession: import("@etohq/framework/utils").DmlEntity<import(
71
71
  amount: import("@etohq/framework/utils").BigNumberProperty;
72
72
  currency_code: import("@etohq/framework/utils").TextProperty;
73
73
  provider_id: import("@etohq/framework/utils").TextProperty;
74
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
75
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
74
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
75
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
76
76
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
77
77
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
78
78
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -84,7 +84,7 @@ declare const PaymentSession: import("@etohq/framework/utils").DmlEntity<import(
84
84
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
85
85
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
86
86
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
87
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
87
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
88
88
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
89
89
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
90
90
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -102,28 +102,28 @@ declare const PaymentSession: import("@etohq/framework/utils").DmlEntity<import(
102
102
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
103
103
  label: import("@etohq/framework/utils").TextProperty;
104
104
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
105
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
105
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
106
106
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
107
107
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
108
108
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
109
109
  label: import("@etohq/framework/utils").TextProperty;
110
110
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
111
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
111
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
112
112
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
113
113
  }>, "RefundReason">, undefined>, true>;
114
114
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
115
115
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
116
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
116
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
117
117
  }>, "Refund">>;
118
118
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
119
119
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
120
120
  amount: import("@etohq/framework/utils").BigNumberProperty;
121
121
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
122
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
122
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
123
123
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
124
124
  }>, "Capture">>;
125
125
  }>, "Payment">>, false>;
126
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
126
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
127
127
  }>, "PaymentSession">;
128
128
  export default PaymentSession;
129
129
  //# sourceMappingURL=payment-session.d.ts.map
@@ -4,8 +4,8 @@ declare const Payment: import("@etohq/framework/utils").DmlEntity<import("@etohq
4
4
  amount: import("@etohq/framework/utils").BigNumberProperty;
5
5
  currency_code: import("@etohq/framework/utils").TextProperty;
6
6
  provider_id: import("@etohq/framework/utils").TextProperty;
7
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
8
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
7
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
8
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
9
9
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
10
10
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
11
11
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -17,7 +17,7 @@ declare const Payment: import("@etohq/framework/utils").DmlEntity<import("@etohq
17
17
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
18
18
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
19
19
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
20
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
20
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
21
21
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
22
22
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
23
23
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -28,13 +28,13 @@ declare const Payment: import("@etohq/framework/utils").DmlEntity<import("@etohq
28
28
  currency_code: import("@etohq/framework/utils").TextProperty;
29
29
  amount: import("@etohq/framework/utils").BigNumberProperty;
30
30
  provider_id: import("@etohq/framework/utils").TextProperty;
31
- data: import("@etohq/framework/utils").JSONProperty;
32
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
31
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
32
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
33
33
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
34
34
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
35
35
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
36
36
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
37
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
37
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
38
38
  }>, "PaymentSession">>;
39
39
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>;
40
40
  }>, "PaymentCollection">, undefined>;
@@ -43,13 +43,13 @@ declare const Payment: import("@etohq/framework/utils").DmlEntity<import("@etohq
43
43
  currency_code: import("@etohq/framework/utils").TextProperty;
44
44
  amount: import("@etohq/framework/utils").BigNumberProperty;
45
45
  provider_id: import("@etohq/framework/utils").TextProperty;
46
- data: import("@etohq/framework/utils").JSONProperty;
47
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
46
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
47
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
48
48
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
49
49
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
50
50
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
51
51
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
52
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
52
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
53
53
  }>, "PaymentSession">, undefined>;
54
54
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
55
55
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
@@ -59,24 +59,24 @@ declare const Payment: import("@etohq/framework/utils").DmlEntity<import("@etohq
59
59
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
60
60
  label: import("@etohq/framework/utils").TextProperty;
61
61
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
62
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
62
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
63
63
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
64
64
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
65
65
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
66
66
  label: import("@etohq/framework/utils").TextProperty;
67
67
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
68
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
68
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
69
69
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
70
70
  }>, "RefundReason">, undefined>, true>;
71
71
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
72
72
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
73
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
73
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
74
74
  }>, "Refund">>;
75
75
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
76
76
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
77
77
  amount: import("@etohq/framework/utils").BigNumberProperty;
78
78
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
79
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
79
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
80
80
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
81
81
  }>, "Capture">>;
82
82
  }>, "Payment">;
@@ -2,7 +2,7 @@ declare const RefundReason: import("@etohq/framework/utils").DmlEntity<import("@
2
2
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
3
3
  label: import("@etohq/framework/utils").TextProperty;
4
4
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
5
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
5
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
6
6
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
7
7
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
8
8
  amount: import("@etohq/framework/utils").BigNumberProperty;
@@ -11,8 +11,8 @@ declare const RefundReason: import("@etohq/framework/utils").DmlEntity<import("@
11
11
  amount: import("@etohq/framework/utils").BigNumberProperty;
12
12
  currency_code: import("@etohq/framework/utils").TextProperty;
13
13
  provider_id: import("@etohq/framework/utils").TextProperty;
14
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
15
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
14
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
15
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
16
16
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
17
17
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
18
18
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -24,7 +24,7 @@ declare const RefundReason: import("@etohq/framework/utils").DmlEntity<import("@
24
24
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
25
25
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
26
26
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
27
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
27
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
28
28
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
29
29
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
30
30
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -35,13 +35,13 @@ declare const RefundReason: import("@etohq/framework/utils").DmlEntity<import("@
35
35
  currency_code: import("@etohq/framework/utils").TextProperty;
36
36
  amount: import("@etohq/framework/utils").BigNumberProperty;
37
37
  provider_id: import("@etohq/framework/utils").TextProperty;
38
- data: import("@etohq/framework/utils").JSONProperty;
39
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
38
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
39
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
40
40
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
41
41
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
42
42
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
43
43
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
44
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
44
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
45
45
  }>, "PaymentSession">>;
46
46
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>;
47
47
  }>, "PaymentCollection">, undefined>;
@@ -50,8 +50,8 @@ declare const RefundReason: import("@etohq/framework/utils").DmlEntity<import("@
50
50
  currency_code: import("@etohq/framework/utils").TextProperty;
51
51
  amount: import("@etohq/framework/utils").BigNumberProperty;
52
52
  provider_id: import("@etohq/framework/utils").TextProperty;
53
- data: import("@etohq/framework/utils").JSONProperty;
54
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
53
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
54
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
55
55
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
56
56
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
57
57
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -63,7 +63,7 @@ declare const RefundReason: import("@etohq/framework/utils").DmlEntity<import("@
63
63
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
64
64
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
65
65
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
66
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
66
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
67
67
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
68
68
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
69
69
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -73,21 +73,21 @@ declare const RefundReason: import("@etohq/framework/utils").DmlEntity<import("@
73
73
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>;
74
74
  }>, "PaymentCollection">, undefined>;
75
75
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
76
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
76
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
77
77
  }>, "PaymentSession">, undefined>;
78
78
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
79
79
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
80
80
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
81
81
  amount: import("@etohq/framework/utils").BigNumberProperty;
82
82
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
83
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
83
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
84
84
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
85
85
  }>, "Capture">>;
86
86
  }>, "Payment">, undefined>;
87
87
  refund_reason: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "RefundReason">, undefined>, true>;
88
88
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
89
89
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
90
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
90
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
91
91
  }>, "Refund">>;
92
92
  }>, "RefundReason">;
93
93
  export default RefundReason;
@@ -6,8 +6,8 @@ declare const Refund: import("@etohq/framework/utils").DmlEntity<import("@etohq/
6
6
  amount: import("@etohq/framework/utils").BigNumberProperty;
7
7
  currency_code: import("@etohq/framework/utils").TextProperty;
8
8
  provider_id: import("@etohq/framework/utils").TextProperty;
9
- data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
10
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
9
+ data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
10
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
11
11
  captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
12
12
  canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
13
13
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -19,7 +19,7 @@ declare const Refund: import("@etohq/framework/utils").DmlEntity<import("@etohq/
19
19
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
20
20
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
21
21
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
22
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
22
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
23
23
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
24
24
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
25
25
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -30,13 +30,13 @@ declare const Refund: import("@etohq/framework/utils").DmlEntity<import("@etohq/
30
30
  currency_code: import("@etohq/framework/utils").TextProperty;
31
31
  amount: import("@etohq/framework/utils").BigNumberProperty;
32
32
  provider_id: import("@etohq/framework/utils").TextProperty;
33
- data: import("@etohq/framework/utils").JSONProperty;
34
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
33
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
34
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
35
35
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
36
36
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
37
37
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "PaymentCollection">, undefined>;
38
38
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
39
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
39
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
40
40
  }>, "PaymentSession">>;
41
41
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>;
42
42
  }>, "PaymentCollection">, undefined>;
@@ -45,8 +45,8 @@ declare const Refund: import("@etohq/framework/utils").DmlEntity<import("@etohq/
45
45
  currency_code: import("@etohq/framework/utils").TextProperty;
46
46
  amount: import("@etohq/framework/utils").BigNumberProperty;
47
47
  provider_id: import("@etohq/framework/utils").TextProperty;
48
- data: import("@etohq/framework/utils").JSONProperty;
49
- context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
48
+ data: import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>;
49
+ context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
50
50
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
51
51
  authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
52
52
  payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
@@ -58,7 +58,7 @@ declare const Refund: import("@etohq/framework/utils").DmlEntity<import("@etohq/
58
58
  refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
59
59
  completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
60
60
  status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
61
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
61
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
62
62
  payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
63
63
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
64
64
  is_enabled: import("@etohq/framework/utils").BooleanProperty;
@@ -68,14 +68,14 @@ declare const Refund: import("@etohq/framework/utils").DmlEntity<import("@etohq/
68
68
  payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>;
69
69
  }>, "PaymentCollection">, undefined>;
70
70
  payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">>, false>;
71
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
71
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
72
72
  }>, "PaymentSession">, undefined>;
73
73
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
74
74
  captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
75
75
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
76
76
  amount: import("@etohq/framework/utils").BigNumberProperty;
77
77
  payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Payment">, undefined>;
78
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
78
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
79
79
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
80
80
  }>, "Capture">>;
81
81
  }>, "Payment">, undefined>;
@@ -83,18 +83,18 @@ declare const Refund: import("@etohq/framework/utils").DmlEntity<import("@etohq/
83
83
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
84
84
  label: import("@etohq/framework/utils").TextProperty;
85
85
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
86
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
86
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
87
87
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
88
88
  }>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
89
89
  id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
90
90
  label: import("@etohq/framework/utils").TextProperty;
91
91
  description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
92
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
92
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
93
93
  refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Refund">>;
94
94
  }>, "RefundReason">, undefined>, true>;
95
95
  note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
96
96
  created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
97
- metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
97
+ metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty<Record<string, unknown>>>;
98
98
  }>, "Refund">;
99
99
  export default Refund;
100
100
  //# sourceMappingURL=refund.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etohq/payment",
3
- "version": "1.5.5-next-20260317140633",
3
+ "version": "2.0.0",
4
4
  "description": "Eto Payment module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,17 +36,17 @@
36
36
  "rimraf": "5.0.2",
37
37
  "tsc-alias": "1.8.6",
38
38
  "typescript": "5.8.3",
39
- "@etohq/framework": "1.5.5-next-20260317140633",
40
- "@etohq/test-utils": "1.5.5-next-20260317140633",
41
- "@etohq/types": "1.5.5-next-20260317140633"
39
+ "@etohq/framework": "2.0.0",
40
+ "@etohq/types": "2.0.0",
41
+ "@etohq/test-utils": "2.0.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@mikro-orm/core": "6.4.3",
45
45
  "@mikro-orm/migrations": "6.4.3",
46
46
  "@mikro-orm/postgresql": "6.4.3",
47
47
  "awilix": "8.0.1",
48
- "@etohq/framework": "1.5.5-next-20260317140633",
49
- "@etohq/types": "1.5.5-next-20260317140633"
48
+ "@etohq/framework": "2.0.0",
49
+ "@etohq/types": "2.0.0"
50
50
  },
51
51
  "scripts": {
52
52
  "watch": "tsc --build --watch",
@@ -55,9 +55,9 @@
55
55
  "resolve:aliases": "tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && tsc-alias -p tsconfig.resolved.json && rimraf tsconfig.resolved.json",
56
56
  "test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
57
57
  "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
58
- "migration:initial": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts eto-mikro-orm migration:create --initial",
59
- "migration:create": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts eto-mikro-orm migration:create",
60
- "migration:up": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts eto-mikro-orm migration:up",
61
- "orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts eto-mikro-orm cache:clear"
58
+ "migration:initial": " MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true MIKRO_ORM_PASSWORD=postgres eto-mikro-orm migration:create --initial",
59
+ "migration:create": " MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true MIKRO_ORM_PASSWORD=postgres eto-mikro-orm migration:create",
60
+ "migration:up": " MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true MIKRO_ORM_PASSWORD=postgres eto-mikro-orm migration:up",
61
+ "orm:cache:clear": " MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true MIKRO_ORM_PASSWORD=postgres eto-mikro-orm cache:clear"
62
62
  }
63
63
  }