@etohq/payment 1.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.
- package/README.md +3 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/joiner-config.d.ts +2 -0
- package/dist/joiner-config.d.ts.map +1 -0
- package/dist/joiner-config.js +26 -0
- package/dist/joiner-config.js.map +1 -0
- package/dist/loaders/index.d.ts +2 -0
- package/dist/loaders/index.d.ts.map +1 -0
- package/dist/loaders/index.js +18 -0
- package/dist/loaders/index.js.map +1 -0
- package/dist/loaders/providers.d.ts +6 -0
- package/dist/loaders/providers.d.ts.map +1 -0
- package/dist/loaders/providers.js +70 -0
- package/dist/loaders/providers.js.map +1 -0
- package/dist/migrations/Migration20240225134525.d.ts +5 -0
- package/dist/migrations/Migration20240225134525.d.ts.map +1 -0
- package/dist/migrations/Migration20240225134525.js +272 -0
- package/dist/migrations/Migration20240225134525.js.map +1 -0
- package/dist/migrations/Migration20240806072619.d.ts +6 -0
- package/dist/migrations/Migration20240806072619.d.ts.map +1 -0
- package/dist/migrations/Migration20240806072619.js +38 -0
- package/dist/migrations/Migration20240806072619.js.map +1 -0
- package/dist/migrations/Migration20241211151053.d.ts +6 -0
- package/dist/migrations/Migration20241211151053.d.ts.map +1 -0
- package/dist/migrations/Migration20241211151053.js +34 -0
- package/dist/migrations/Migration20241211151053.js.map +1 -0
- package/dist/models/capture.d.ts +87 -0
- package/dist/models/capture.d.ts.map +1 -0
- package/dist/models/capture.js +25 -0
- package/dist/models/capture.js.map +1 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +23 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/payment-collection.d.ts +160 -0
- package/dist/models/payment-collection.d.ts.map +1 -0
- package/dist/models/payment-collection.js +44 -0
- package/dist/models/payment-collection.js.map +1 -0
- package/dist/models/payment-method-token.d.ts +11 -0
- package/dist/models/payment-method-token.d.ts.map +1 -0
- package/dist/models/payment-method-token.js +14 -0
- package/dist/models/payment-method-token.js.map +1 -0
- package/dist/models/payment-provider.d.ts +160 -0
- package/dist/models/payment-provider.d.ts.map +1 -0
- package/dist/models/payment-provider.js +16 -0
- package/dist/models/payment-provider.js.map +1 -0
- package/dist/models/payment-session.d.ts +137 -0
- package/dist/models/payment-session.d.ts.map +1 -0
- package/dist/models/payment-session.js +38 -0
- package/dist/models/payment-session.js.map +1 -0
- package/dist/models/payment.d.ts +88 -0
- package/dist/models/payment.d.ts.map +1 -0
- package/dist/models/payment.js +55 -0
- package/dist/models/payment.js.map +1 -0
- package/dist/models/refund-reason.d.ts +81 -0
- package/dist/models/refund-reason.d.ts.map +1 -0
- package/dist/models/refund-reason.js +18 -0
- package/dist/models/refund-reason.js.map +1 -0
- package/dist/models/refund.d.ts +87 -0
- package/dist/models/refund.d.ts.map +1 -0
- package/dist/models/refund.js +32 -0
- package/dist/models/refund.js.map +1 -0
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +9 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/system.d.ts +22 -0
- package/dist/providers/system.d.ts.map +1 -0
- package/dist/providers/system.js +46 -0
- package/dist/providers/system.js.map +1 -0
- package/dist/schema/index.d.ts +3 -0
- package/dist/schema/index.d.ts.map +1 -0
- package/dist/schema/index.js +114 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/services/index.d.ts +3 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +11 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/payment-module.d.ts +78 -0
- package/dist/services/payment-module.d.ts.map +1 -0
- package/dist/services/payment-module.js +629 -0
- package/dist/services/payment-module.js.map +1 -0
- package/dist/services/payment-provider.d.ts +27 -0
- package/dist/services/payment-provider.d.ts.map +1 -0
- package/dist/services/payment-provider.js +111 -0
- package/dist/services/payment-provider.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/index.d.ts +24 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import PaymentCollection from "./payment-collection";
|
|
2
|
+
declare const PaymentProvider: import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
3
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
4
|
+
is_enabled: import("@etohq/framework/utils").BooleanProperty;
|
|
5
|
+
payment_collections: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
6
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
7
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
8
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
9
|
+
authorized_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
10
|
+
captured_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
11
|
+
refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
12
|
+
region_id: import("@etohq/framework/utils").TextProperty;
|
|
13
|
+
completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
14
|
+
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
|
|
15
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
16
|
+
payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentProvider">>;
|
|
17
|
+
payment_sessions: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
18
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
19
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
20
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
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>;
|
|
24
|
+
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
|
|
25
|
+
authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
26
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
|
|
27
|
+
payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
28
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
29
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
30
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
31
|
+
provider_id: import("@etohq/framework/utils").TextProperty;
|
|
32
|
+
cart_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
33
|
+
order_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
34
|
+
customer_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
35
|
+
data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
36
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
37
|
+
captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
38
|
+
canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
39
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentCollection">, undefined>;
|
|
40
|
+
payment_session: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentSession">, undefined>;
|
|
41
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
42
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
43
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
44
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
45
|
+
refund_reason: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
46
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
47
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
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>;
|
|
50
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
51
|
+
}>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
52
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
53
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
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>;
|
|
56
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
57
|
+
}>, "RefundReason">, undefined>, true>;
|
|
58
|
+
note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
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>;
|
|
61
|
+
}>, "Refund">>;
|
|
62
|
+
captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
63
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
64
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
65
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
66
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
67
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
68
|
+
}>, "Capture">>;
|
|
69
|
+
}>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
70
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
71
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
72
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
73
|
+
provider_id: import("@etohq/framework/utils").TextProperty;
|
|
74
|
+
cart_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
75
|
+
order_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
76
|
+
customer_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
77
|
+
data: 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>;
|
|
79
|
+
captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
80
|
+
canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
81
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentCollection">, undefined>;
|
|
82
|
+
payment_session: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentSession">, undefined>;
|
|
83
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
84
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
85
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
86
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
87
|
+
refund_reason: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
88
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
89
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
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>;
|
|
92
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
93
|
+
}>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
94
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
95
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
96
|
+
description: 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>;
|
|
98
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
99
|
+
}>, "RefundReason">, undefined>, true>;
|
|
100
|
+
note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
101
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
102
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
103
|
+
}>, "Refund">>;
|
|
104
|
+
captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
105
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
106
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
107
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
108
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
109
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
110
|
+
}>, "Capture">>;
|
|
111
|
+
}>, "Payment">>, false>;
|
|
112
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
113
|
+
}>, "PaymentSession">>;
|
|
114
|
+
payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
115
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
116
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
117
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
118
|
+
provider_id: import("@etohq/framework/utils").TextProperty;
|
|
119
|
+
cart_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
120
|
+
order_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
121
|
+
customer_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
122
|
+
data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
123
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
124
|
+
captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
125
|
+
canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
126
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentCollection">, undefined>;
|
|
127
|
+
payment_session: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentSession">, undefined>;
|
|
128
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
129
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
130
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
131
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
132
|
+
refund_reason: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
133
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
134
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
135
|
+
description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
136
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
137
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
138
|
+
}>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
139
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
140
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
141
|
+
description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
142
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
143
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
144
|
+
}>, "RefundReason">, undefined>, true>;
|
|
145
|
+
note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
146
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
147
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
148
|
+
}>, "Refund">>;
|
|
149
|
+
captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
150
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
151
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
152
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
153
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
154
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
155
|
+
}>, "Capture">>;
|
|
156
|
+
}>, "Payment">>;
|
|
157
|
+
}>, "PaymentCollection">>;
|
|
158
|
+
}>, "PaymentProvider">;
|
|
159
|
+
export default PaymentProvider;
|
|
160
|
+
//# sourceMappingURL=payment-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-provider.d.ts","sourceRoot":"","sources":["../../src/models/payment-provider.ts"],"names":[],"mappings":"AACA,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AAEpD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAMnB,CAAA;AAEF,eAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
7
|
+
const payment_collection_1 = __importDefault(require("./payment-collection"));
|
|
8
|
+
const PaymentProvider = utils_1.model.define("PaymentProvider", {
|
|
9
|
+
id: utils_1.model.id().primaryKey(),
|
|
10
|
+
is_enabled: utils_1.model.boolean().default(true),
|
|
11
|
+
payment_collections: utils_1.model.manyToMany(() => payment_collection_1.default, {
|
|
12
|
+
mappedBy: "payment_providers",
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
15
|
+
exports.default = PaymentProvider;
|
|
16
|
+
//# sourceMappingURL=payment-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-provider.js","sourceRoot":"","sources":["../../src/models/payment-provider.ts"],"names":[],"mappings":";;;;;AAAA,kDAA8C;AAC9C,8EAAoD;AAEpD,MAAM,eAAe,GAAG,aAAK,CAAC,MAAM,CAAC,iBAAiB,EAAE;IACtD,EAAE,EAAE,aAAK,CAAC,EAAE,EAAE,CAAC,UAAU,EAAE;IAC3B,UAAU,EAAE,aAAK,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACzC,mBAAmB,EAAE,aAAK,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,4BAAiB,EAAE;QAC7D,QAAQ,EAAE,mBAAmB;KAC9B,CAAC;CACH,CAAC,CAAA;AAEF,kBAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { PaymentSessionStatus } from "@etohq/framework/utils";
|
|
2
|
+
import PaymentCollection from "./payment-collection";
|
|
3
|
+
declare const PaymentSession: import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
4
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
5
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
6
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
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>;
|
|
10
|
+
status: import("@etohq/framework/utils").EnumProperty<typeof PaymentSessionStatus>;
|
|
11
|
+
authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
12
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
|
|
13
|
+
payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
14
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
15
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
16
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
17
|
+
provider_id: import("@etohq/framework/utils").TextProperty;
|
|
18
|
+
cart_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
19
|
+
order_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
20
|
+
customer_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
21
|
+
data: 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>;
|
|
23
|
+
captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
24
|
+
canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
25
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
26
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
27
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
28
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
29
|
+
authorized_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
30
|
+
captured_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
31
|
+
refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
32
|
+
region_id: import("@etohq/framework/utils").TextProperty;
|
|
33
|
+
completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
34
|
+
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
|
|
35
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
36
|
+
payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
37
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
38
|
+
is_enabled: import("@etohq/framework/utils").BooleanProperty;
|
|
39
|
+
payment_collections: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentCollection">>;
|
|
40
|
+
}>, "PaymentProvider">>;
|
|
41
|
+
payment_sessions: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentSession">>;
|
|
42
|
+
payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">>;
|
|
43
|
+
}>, "PaymentCollection">, undefined>;
|
|
44
|
+
payment_session: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentSession">, undefined>;
|
|
45
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
46
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
47
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
48
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
49
|
+
refund_reason: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
50
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
51
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
52
|
+
description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
53
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
54
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
55
|
+
}>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
56
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
57
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
58
|
+
description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
59
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
60
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
61
|
+
}>, "RefundReason">, undefined>, true>;
|
|
62
|
+
note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
63
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
64
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
65
|
+
}>, "Refund">>;
|
|
66
|
+
captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
67
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
68
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
69
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
70
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
71
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
72
|
+
}>, "Capture">>;
|
|
73
|
+
}>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
74
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
75
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
76
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
77
|
+
provider_id: import("@etohq/framework/utils").TextProperty;
|
|
78
|
+
cart_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
79
|
+
order_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
80
|
+
customer_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
81
|
+
data: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
82
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
83
|
+
captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
84
|
+
canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
85
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
86
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
87
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
88
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
89
|
+
authorized_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
90
|
+
captured_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
91
|
+
refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
92
|
+
region_id: import("@etohq/framework/utils").TextProperty;
|
|
93
|
+
completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
94
|
+
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
|
|
95
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
96
|
+
payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
97
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
98
|
+
is_enabled: import("@etohq/framework/utils").BooleanProperty;
|
|
99
|
+
payment_collections: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentCollection">>;
|
|
100
|
+
}>, "PaymentProvider">>;
|
|
101
|
+
payment_sessions: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentSession">>;
|
|
102
|
+
payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">>;
|
|
103
|
+
}>, "PaymentCollection">, undefined>;
|
|
104
|
+
payment_session: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentSession">, undefined>;
|
|
105
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
106
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
107
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
108
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
109
|
+
refund_reason: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
110
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
111
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
112
|
+
description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
113
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
114
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
115
|
+
}>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
116
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
117
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
118
|
+
description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
119
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
120
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
121
|
+
}>, "RefundReason">, undefined>, true>;
|
|
122
|
+
note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
123
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
124
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
125
|
+
}>, "Refund">>;
|
|
126
|
+
captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
127
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
128
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
129
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
130
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
131
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
132
|
+
}>, "Capture">>;
|
|
133
|
+
}>, "Payment">>, false>;
|
|
134
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
135
|
+
}>, "PaymentSession">;
|
|
136
|
+
export default PaymentSession;
|
|
137
|
+
//# sourceMappingURL=payment-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-session.d.ts","sourceRoot":"","sources":["../../src/models/payment-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAEpE,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AAEpD,QAAA,MAAM,cAAc;;;;;;;;;yEAY0B,OAAO,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkBlE,CAAA;AAEJ,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
7
|
+
const payment_1 = __importDefault(require("./payment"));
|
|
8
|
+
const payment_collection_1 = __importDefault(require("./payment-collection"));
|
|
9
|
+
const PaymentSession = utils_1.model
|
|
10
|
+
.define("PaymentSession", {
|
|
11
|
+
id: utils_1.model.id({ prefix: "payses" }).primaryKey(),
|
|
12
|
+
currency_code: utils_1.model.text(),
|
|
13
|
+
amount: utils_1.model.bigNumber(),
|
|
14
|
+
provider_id: utils_1.model.text(),
|
|
15
|
+
data: utils_1.model.json().default({}),
|
|
16
|
+
context: utils_1.model.json().nullable(),
|
|
17
|
+
status: utils_1.model
|
|
18
|
+
.enum(utils_1.PaymentSessionStatus)
|
|
19
|
+
.default(utils_1.PaymentSessionStatus.PENDING),
|
|
20
|
+
authorized_at: utils_1.model.dateTime().nullable(),
|
|
21
|
+
payment_collection: utils_1.model.belongsTo(() => payment_collection_1.default, {
|
|
22
|
+
mappedBy: "payment_sessions",
|
|
23
|
+
}),
|
|
24
|
+
payment: utils_1.model
|
|
25
|
+
.hasOne(() => payment_1.default, {
|
|
26
|
+
mappedBy: "payment_session",
|
|
27
|
+
})
|
|
28
|
+
.nullable(),
|
|
29
|
+
metadata: utils_1.model.json().nullable(),
|
|
30
|
+
})
|
|
31
|
+
.indexes([
|
|
32
|
+
{
|
|
33
|
+
name: "IDX_payment_session_payment_collection_id",
|
|
34
|
+
on: ["payment_collection_id"],
|
|
35
|
+
},
|
|
36
|
+
]);
|
|
37
|
+
exports.default = PaymentSession;
|
|
38
|
+
//# sourceMappingURL=payment-session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-session.js","sourceRoot":"","sources":["../../src/models/payment-session.ts"],"names":[],"mappings":";;;;;AAAA,kDAAoE;AACpE,wDAA+B;AAC/B,8EAAoD;AAEpD,MAAM,cAAc,GAAG,aAAK;KACzB,MAAM,CAAC,gBAAgB,EAAE;IACxB,EAAE,EAAE,aAAK,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE;IAC/C,aAAa,EAAE,aAAK,CAAC,IAAI,EAAE;IAC3B,MAAM,EAAE,aAAK,CAAC,SAAS,EAAE;IACzB,WAAW,EAAE,aAAK,CAAC,IAAI,EAAE;IACzB,IAAI,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,OAAO,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,aAAK;SACV,IAAI,CAAC,4BAAoB,CAAC;SAC1B,OAAO,CAAC,4BAAoB,CAAC,OAAO,CAAC;IACxC,aAAa,EAAE,aAAK,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1C,kBAAkB,EAAE,aAAK,CAAC,SAAS,CACjC,GAAG,EAAE,CAAC,4BAAiB,EACvB;QACE,QAAQ,EAAE,kBAAkB;KAC7B,CACF;IACD,OAAO,EAAE,aAAK;SACX,MAAM,CAAC,GAAG,EAAE,CAAC,iBAAO,EAAE;QACrB,QAAQ,EAAE,iBAAiB;KAC5B,CAAC;SACD,QAAQ,EAAE;IACb,QAAQ,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC;KACD,OAAO,CAAC;IACP;QACE,IAAI,EAAE,2CAA2C;QACjD,EAAE,EAAE,CAAC,uBAAuB,CAAC;KAC9B;CACF,CAAC,CAAA;AAEJ,kBAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import PaymentCollection from "./payment-collection";
|
|
2
|
+
declare const Payment: import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
3
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
4
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
5
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
6
|
+
provider_id: import("@etohq/framework/utils").TextProperty;
|
|
7
|
+
cart_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
8
|
+
order_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
9
|
+
customer_id: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
10
|
+
data: 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>;
|
|
12
|
+
captured_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
13
|
+
canceled_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
14
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
15
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
16
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
17
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
18
|
+
authorized_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
19
|
+
captured_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
20
|
+
refunded_amount: import("@etohq/framework/utils").NullableModifier<number, import("@etohq/framework/utils").BigNumberProperty>;
|
|
21
|
+
region_id: import("@etohq/framework/utils").TextProperty;
|
|
22
|
+
completed_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
23
|
+
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentCollectionStatus>;
|
|
24
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
25
|
+
payment_providers: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
26
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
27
|
+
is_enabled: import("@etohq/framework/utils").BooleanProperty;
|
|
28
|
+
payment_collections: import("@etohq/framework/utils").ManyToMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "PaymentCollection">>;
|
|
29
|
+
}>, "PaymentProvider">>;
|
|
30
|
+
payment_sessions: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
31
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
32
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
33
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
34
|
+
provider_id: import("@etohq/framework/utils").TextProperty;
|
|
35
|
+
data: import("@etohq/framework/utils").JSONProperty;
|
|
36
|
+
context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
37
|
+
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
|
|
38
|
+
authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
39
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
|
|
40
|
+
payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">>, false>;
|
|
41
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
42
|
+
}>, "PaymentSession">>;
|
|
43
|
+
payments: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">>;
|
|
44
|
+
}>, "PaymentCollection">, undefined>;
|
|
45
|
+
payment_session: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
46
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
47
|
+
currency_code: import("@etohq/framework/utils").TextProperty;
|
|
48
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
49
|
+
provider_id: import("@etohq/framework/utils").TextProperty;
|
|
50
|
+
data: import("@etohq/framework/utils").JSONProperty;
|
|
51
|
+
context: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
52
|
+
status: import("@etohq/framework/utils").EnumProperty<typeof import("@etohq/framework/utils").PaymentSessionStatus>;
|
|
53
|
+
authorized_at: import("@etohq/framework/utils").NullableModifier<Date, import("@etohq/framework/utils").DateTimeProperty>;
|
|
54
|
+
payment_collection: import("@etohq/framework/utils").BelongsTo<() => typeof PaymentCollection, undefined>;
|
|
55
|
+
payment: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, import("@etohq/framework/utils").HasOne<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">>, false>;
|
|
56
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
57
|
+
}>, "PaymentSession">, undefined>;
|
|
58
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
59
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
60
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
61
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
62
|
+
refund_reason: import("@etohq/framework/utils").RelationNullableModifier<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
63
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
64
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
65
|
+
description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
66
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
67
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
68
|
+
}>, "RefundReason">, import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
69
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
70
|
+
label: import("@etohq/framework/utils").TextProperty;
|
|
71
|
+
description: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
72
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
73
|
+
refunds: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Refund">>;
|
|
74
|
+
}>, "RefundReason">, undefined>, true>;
|
|
75
|
+
note: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
76
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
77
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
78
|
+
}>, "Refund">>;
|
|
79
|
+
captures: import("@etohq/framework/utils").HasMany<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<{
|
|
80
|
+
id: import("@etohq/framework/utils").PrimaryKeyModifier<string, import("@etohq/framework/utils").IdProperty>;
|
|
81
|
+
amount: import("@etohq/framework/utils").BigNumberProperty;
|
|
82
|
+
payment: import("@etohq/framework/utils").BelongsTo<() => import("@etohq/framework/utils").DmlEntity<import("@etohq/framework/utils").DMLEntitySchemaBuilder<any>, "Payment">, undefined>;
|
|
83
|
+
metadata: import("@etohq/framework/utils").NullableModifier<Record<string, unknown>, import("@etohq/framework/utils").JSONProperty>;
|
|
84
|
+
created_by: import("@etohq/framework/utils").NullableModifier<string, import("@etohq/framework/utils").TextProperty>;
|
|
85
|
+
}>, "Capture">>;
|
|
86
|
+
}>, "Payment">;
|
|
87
|
+
export default Payment;
|
|
88
|
+
//# sourceMappingURL=payment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../src/models/payment.ts"],"names":[],"mappings":"AAEA,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AAIpD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0CT,CAAA;AAEJ,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const utils_1 = require("@etohq/framework/utils");
|
|
7
|
+
const capture_1 = __importDefault(require("./capture"));
|
|
8
|
+
const payment_collection_1 = __importDefault(require("./payment-collection"));
|
|
9
|
+
const payment_session_1 = __importDefault(require("./payment-session"));
|
|
10
|
+
const refund_1 = __importDefault(require("./refund"));
|
|
11
|
+
const Payment = utils_1.model
|
|
12
|
+
.define("Payment", {
|
|
13
|
+
id: utils_1.model.id({ prefix: "pay" }).primaryKey(),
|
|
14
|
+
amount: utils_1.model.bigNumber(),
|
|
15
|
+
currency_code: utils_1.model.text(),
|
|
16
|
+
provider_id: utils_1.model.text(),
|
|
17
|
+
cart_id: utils_1.model.text().searchable().nullable(),
|
|
18
|
+
order_id: utils_1.model.text().searchable().nullable(),
|
|
19
|
+
customer_id: utils_1.model.text().searchable().nullable(),
|
|
20
|
+
data: utils_1.model.json().nullable(),
|
|
21
|
+
metadata: utils_1.model.json().nullable(),
|
|
22
|
+
captured_at: utils_1.model.dateTime().nullable(),
|
|
23
|
+
canceled_at: utils_1.model.dateTime().nullable(),
|
|
24
|
+
payment_collection: utils_1.model.belongsTo(() => payment_collection_1.default, {
|
|
25
|
+
mappedBy: "payments",
|
|
26
|
+
}),
|
|
27
|
+
payment_session: utils_1.model.belongsTo(() => payment_session_1.default, {
|
|
28
|
+
mappedBy: "payment",
|
|
29
|
+
}),
|
|
30
|
+
refunds: utils_1.model.hasMany(() => refund_1.default, {
|
|
31
|
+
mappedBy: "payment",
|
|
32
|
+
}),
|
|
33
|
+
captures: utils_1.model.hasMany(() => capture_1.default, {
|
|
34
|
+
mappedBy: "payment",
|
|
35
|
+
}),
|
|
36
|
+
})
|
|
37
|
+
.cascades({
|
|
38
|
+
delete: ["refunds", "captures"],
|
|
39
|
+
})
|
|
40
|
+
.indexes([
|
|
41
|
+
{
|
|
42
|
+
name: "IDX_payment_provider_id",
|
|
43
|
+
on: ["provider_id"],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "IDX_payment_payment_collection_id",
|
|
47
|
+
on: ["payment_collection_id"],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "IDX_payment_payment_session_id",
|
|
51
|
+
on: ["payment_session_id"],
|
|
52
|
+
},
|
|
53
|
+
]);
|
|
54
|
+
exports.default = Payment;
|
|
55
|
+
//# sourceMappingURL=payment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../src/models/payment.ts"],"names":[],"mappings":";;;;;AAAA,kDAA8C;AAC9C,wDAA+B;AAC/B,8EAAoD;AACpD,wEAA8C;AAC9C,sDAA6B;AAE7B,MAAM,OAAO,GAAG,aAAK;KAClB,MAAM,CAAC,SAAS,EAAE;IACjB,EAAE,EAAE,aAAK,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE;IAC5C,MAAM,EAAE,aAAK,CAAC,SAAS,EAAE;IACzB,aAAa,EAAE,aAAK,CAAC,IAAI,EAAE;IAC3B,WAAW,EAAE,aAAK,CAAC,IAAI,EAAE;IACzB,OAAO,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE;IAC7C,QAAQ,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE;IAC9C,WAAW,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE;IACjD,IAAI,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,aAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,aAAK,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,aAAK,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,kBAAkB,EAAE,aAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,4BAAiB,EAAE;QAC3D,QAAQ,EAAE,UAAU;KACrB,CAAC;IACF,eAAe,EAAE,aAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,yBAAc,EAAE;QACrD,QAAQ,EAAE,SAAS;KACpB,CAAC;IACF,OAAO,EAAE,aAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,gBAAM,EAAE;QACnC,QAAQ,EAAE,SAAS;KACpB,CAAC;IACF,QAAQ,EAAE,aAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,iBAAO,EAAE;QACrC,QAAQ,EAAE,SAAS;KACpB,CAAC;CACH,CAAC;KACD,QAAQ,CAAC;IACR,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;CAChC,CAAC;KACD,OAAO,CAAC;IACP;QACE,IAAI,EAAE,yBAAyB;QAC/B,EAAE,EAAE,CAAC,aAAa,CAAC;KACpB;IACD;QACE,IAAI,EAAE,mCAAmC;QACzC,EAAE,EAAE,CAAC,uBAAuB,CAAC;KAC9B;IACD;QACE,IAAI,EAAE,gCAAgC;QACtC,EAAE,EAAE,CAAC,oBAAoB,CAAC;KAC3B;CACF,CAAC,CAAA;AAEJ,kBAAe,OAAO,CAAA"}
|