@etohq/types 1.4.0 → 1.5.1-alpha.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/dist/analytics/index.d.ts +5 -0
- package/dist/analytics/index.d.ts.map +1 -0
- package/dist/analytics/index.js +21 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/analytics/mutations.d.ts +71 -0
- package/dist/analytics/mutations.d.ts.map +1 -0
- package/dist/{index-data/sotrage-provider.js → analytics/mutations.js} +1 -1
- package/dist/analytics/mutations.js.map +1 -0
- package/dist/analytics/provider.d.ts +41 -0
- package/dist/analytics/provider.d.ts.map +1 -0
- package/dist/analytics/provider.js +3 -0
- package/dist/analytics/provider.js.map +1 -0
- package/dist/analytics/providers/index.d.ts +3 -0
- package/dist/analytics/providers/index.d.ts.map +1 -0
- package/dist/analytics/providers/index.js +19 -0
- package/dist/analytics/providers/index.js.map +1 -0
- package/dist/analytics/providers/local.d.ts +3 -0
- package/dist/analytics/providers/local.d.ts.map +1 -0
- package/dist/analytics/providers/local.js +3 -0
- package/dist/analytics/providers/local.js.map +1 -0
- package/dist/analytics/providers/posthog.d.ts +11 -0
- package/dist/analytics/providers/posthog.d.ts.map +1 -0
- package/dist/analytics/providers/posthog.js +3 -0
- package/dist/analytics/providers/posthog.js.map +1 -0
- package/dist/analytics/service.d.ts +51 -0
- package/dist/analytics/service.d.ts.map +1 -0
- package/dist/{link-modules-sdk → analytics}/service.js.map +1 -1
- package/dist/api-key/mutations/api-key.d.ts +2 -0
- package/dist/api-key/mutations/api-key.d.ts.map +1 -1
- package/dist/auth/common/auth-identity.d.ts +1 -1
- package/dist/auth/common/auth-identity.d.ts.map +1 -1
- package/dist/auth/provider.d.ts +1 -7
- package/dist/auth/provider.d.ts.map +1 -1
- package/dist/auth/service.d.ts +50 -0
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/bundles.d.ts +2 -1
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +3 -2
- package/dist/bundles.js.map +1 -1
- package/dist/cache/service.d.ts +27 -0
- package/dist/cache/service.d.ts.map +1 -1
- package/dist/cart/common.d.ts +1125 -0
- package/dist/cart/common.d.ts.map +1 -0
- package/dist/cart/common.js +3 -0
- package/dist/cart/common.js.map +1 -0
- package/dist/cart/index.d.ts +5 -0
- package/dist/cart/index.d.ts.map +1 -0
- package/dist/cart/index.js +21 -0
- package/dist/cart/index.js.map +1 -0
- package/dist/cart/mutations.d.ts +734 -0
- package/dist/cart/mutations.d.ts.map +1 -0
- package/dist/cart/mutations.js +4 -0
- package/dist/cart/mutations.js.map +1 -0
- package/dist/cart/service.d.ts +1888 -0
- package/dist/cart/service.d.ts.map +1 -0
- package/dist/cart/service.js +3 -0
- package/dist/cart/service.js.map +1 -0
- package/dist/cart/workflows.d.ts +480 -0
- package/dist/cart/workflows.d.ts.map +1 -0
- package/dist/cart/workflows.js +3 -0
- package/dist/cart/workflows.js.map +1 -0
- package/dist/common/batch.d.ts +47 -0
- package/dist/common/batch.d.ts.map +1 -1
- package/dist/common/common.d.ts +11 -1
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +222 -63
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/common/modules.d.ts +133 -15
- package/dist/common/modules.d.ts.map +1 -1
- package/dist/dal/repository-service.d.ts +2 -2
- package/dist/dal/repository-service.d.ts.map +1 -1
- package/dist/dml/index.d.ts +8 -0
- package/dist/dml/index.d.ts.map +1 -1
- package/dist/event-bus/common.d.ts +24 -0
- package/dist/event-bus/common.d.ts.map +1 -1
- package/dist/event-bus/event-bus-module.d.ts +58 -0
- package/dist/event-bus/event-bus-module.d.ts.map +1 -1
- package/dist/file/common.d.ts +22 -2
- package/dist/file/common.d.ts.map +1 -1
- package/dist/file/mutations.d.ts +21 -3
- package/dist/file/mutations.d.ts.map +1 -1
- package/dist/file/provider.d.ts +75 -7
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/service.d.ts +83 -11
- package/dist/file/service.d.ts.map +1 -1
- package/dist/http/auth/payloads.d.ts +3 -0
- package/dist/http/auth/payloads.d.ts.map +1 -1
- package/dist/http/common/additional_data.d.ts +9 -2
- package/dist/http/common/additional_data.d.ts.map +1 -1
- package/dist/http/common/request.d.ts +2 -2
- package/dist/http/common/response.d.ts +28 -0
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/currency/admin/entities.d.ts +4 -0
- package/dist/http/currency/admin/entities.d.ts.map +1 -0
- package/dist/http/currency/admin/entities.js +3 -0
- package/dist/http/currency/admin/entities.js.map +1 -0
- package/dist/http/currency/admin/index.d.ts +4 -0
- package/dist/http/currency/admin/index.d.ts.map +1 -0
- package/dist/http/currency/admin/index.js +20 -0
- package/dist/http/currency/admin/index.js.map +1 -0
- package/dist/http/currency/admin/queries.d.ts +15 -0
- package/dist/http/currency/admin/queries.d.ts.map +1 -0
- package/dist/http/currency/admin/queries.js +3 -0
- package/dist/http/currency/admin/queries.js.map +1 -0
- package/dist/http/currency/admin/responses.d.ts +16 -0
- package/dist/http/currency/admin/responses.d.ts.map +1 -0
- package/dist/http/currency/admin/responses.js +3 -0
- package/dist/http/currency/admin/responses.js.map +1 -0
- package/dist/http/currency/common.d.ts +48 -0
- package/dist/http/currency/common.d.ts.map +1 -0
- package/dist/http/currency/common.js +3 -0
- package/dist/http/currency/common.js.map +1 -0
- package/dist/http/currency/index.d.ts +2 -0
- package/dist/http/currency/index.d.ts.map +1 -0
- package/dist/http/currency/index.js +18 -0
- package/dist/http/currency/index.js.map +1 -0
- package/dist/http/encore/encore.d.ts +4 -2
- package/dist/http/encore/encore.d.ts.map +1 -1
- package/dist/http/encore/encore.js.map +1 -1
- package/dist/http/file/admin/payloads.d.ts +18 -0
- package/dist/http/file/admin/payloads.d.ts.map +1 -1
- package/dist/http/file/admin/responses.d.ts +33 -0
- package/dist/http/file/admin/responses.d.ts.map +1 -1
- package/dist/http/file/common.d.ts +17 -0
- package/dist/http/file/common.d.ts.map +1 -1
- package/dist/http/invite/admin/entities.d.ts +35 -0
- package/dist/http/invite/admin/entities.d.ts.map +1 -0
- package/dist/http/invite/admin/entities.js +3 -0
- package/dist/http/invite/admin/entities.js.map +1 -0
- package/dist/http/invite/admin/index.d.ts +5 -0
- package/dist/http/invite/admin/index.d.ts.map +1 -0
- package/dist/http/invite/admin/index.js +21 -0
- package/dist/http/invite/admin/index.js.map +1 -0
- package/dist/http/invite/admin/payloads.d.ts +25 -0
- package/dist/http/invite/admin/payloads.d.ts.map +1 -0
- package/dist/http/invite/admin/payloads.js +3 -0
- package/dist/http/invite/admin/payloads.js.map +1 -0
- package/dist/http/invite/admin/queries.d.ts +11 -0
- package/dist/http/invite/admin/queries.d.ts.map +1 -0
- package/dist/http/invite/admin/queries.js +3 -0
- package/dist/http/invite/admin/queries.js.map +1 -0
- package/dist/http/invite/admin/responses.d.ts +28 -0
- package/dist/http/invite/admin/responses.d.ts.map +1 -0
- package/dist/http/invite/admin/responses.js +3 -0
- package/dist/http/invite/admin/responses.js.map +1 -0
- package/dist/http/invite/index.d.ts +2 -0
- package/dist/http/invite/index.d.ts.map +1 -0
- package/dist/http/invite/index.js +18 -0
- package/dist/http/invite/index.js.map +1 -0
- package/dist/http/notification/admin/entities.d.ts +68 -0
- package/dist/http/notification/admin/entities.d.ts.map +1 -0
- package/dist/http/notification/admin/entities.js +3 -0
- package/dist/http/notification/admin/entities.js.map +1 -0
- package/dist/http/notification/admin/index.d.ts +4 -0
- package/dist/http/notification/admin/index.d.ts.map +1 -0
- package/dist/http/notification/admin/index.js +20 -0
- package/dist/http/notification/admin/index.js.map +1 -0
- package/dist/http/notification/admin/queries.d.ts +19 -0
- package/dist/http/notification/admin/queries.d.ts.map +1 -0
- package/dist/http/notification/admin/queries.js +3 -0
- package/dist/http/notification/admin/queries.js.map +1 -0
- package/dist/http/notification/admin/responses.d.ts +16 -0
- package/dist/http/notification/admin/responses.d.ts.map +1 -0
- package/dist/http/notification/admin/responses.js +3 -0
- package/dist/http/notification/admin/responses.js.map +1 -0
- package/dist/http/notification/index.d.ts +2 -0
- package/dist/http/notification/index.d.ts.map +1 -0
- package/dist/http/notification/index.js +18 -0
- package/dist/http/notification/index.js.map +1 -0
- package/dist/http/payment/admin/queries.d.ts +6 -0
- package/dist/http/payment/admin/queries.d.ts.map +1 -1
- package/dist/http/payment/admin/responses.d.ts +3 -0
- package/dist/http/payment/admin/responses.d.ts.map +1 -1
- package/dist/http/payment/common.d.ts +1 -21
- package/dist/http/payment/common.d.ts.map +1 -1
- package/dist/http/payment/index.d.ts +0 -1
- package/dist/http/payment/index.d.ts.map +1 -1
- package/dist/http/payment/index.js +0 -1
- package/dist/http/payment/index.js.map +1 -1
- package/dist/http/payment/store/payloads.d.ts +0 -5
- package/dist/http/payment/store/payloads.d.ts.map +1 -1
- package/dist/http/plugins/admin/responses.d.ts +13 -0
- package/dist/http/plugins/admin/responses.d.ts.map +1 -0
- package/dist/http/plugins/admin/responses.js +3 -0
- package/dist/http/plugins/admin/responses.js.map +1 -0
- package/dist/http/plugins/index.d.ts +2 -0
- package/dist/http/plugins/index.d.ts.map +1 -0
- package/dist/http/plugins/index.js +18 -0
- package/dist/http/plugins/index.js.map +1 -0
- package/dist/http/user/admin/entities.d.ts +27 -0
- package/dist/http/user/admin/entities.d.ts.map +1 -1
- package/dist/http/user/admin/payloads.d.ts +12 -0
- package/dist/http/user/admin/payloads.d.ts.map +1 -1
- package/dist/http/user/admin/queries.d.ts +24 -0
- package/dist/http/user/admin/queries.d.ts.map +1 -1
- package/dist/http/user/admin/responses.d.ts +6 -0
- package/dist/http/user/admin/responses.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/entities.d.ts +142 -2
- package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/queries.d.ts +10 -0
- package/dist/http/workflow-execution/admin/queries.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/responses.d.ts +6 -0
- package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
- package/dist/index-data/common.d.ts +11 -0
- package/dist/index-data/common.d.ts.map +1 -1
- package/dist/index-data/index-operator-map.d.ts +10 -10
- package/dist/index-data/index-operator-map.d.ts.map +1 -1
- package/dist/index-data/index.d.ts +1 -1
- package/dist/index-data/index.js +1 -1
- package/dist/index-data/query-config/query-input-config-fields.d.ts +3 -1
- package/dist/index-data/query-config/query-input-config-fields.d.ts.map +1 -1
- package/dist/index-data/query-config/query-input-config-filters.d.ts +1 -1
- package/dist/index-data/query-config/query-input-config-filters.d.ts.map +1 -1
- package/dist/index-data/query-config/query-input-config.d.ts +50 -6
- package/dist/index-data/query-config/query-input-config.d.ts.map +1 -1
- package/dist/index-data/{sotrage-provider.d.ts → storage-provider.d.ts} +1 -1
- package/dist/index-data/{sotrage-provider.d.ts.map → storage-provider.d.ts.map} +1 -1
- package/dist/index-data/storage-provider.js +3 -0
- package/dist/index-data/storage-provider.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/joiner/index.d.ts +3 -0
- package/dist/joiner/index.d.ts.map +1 -1
- package/dist/link-modules/index.d.ts.map +1 -0
- package/dist/link-modules/index.js.map +1 -0
- package/dist/link-modules/migrations.d.ts.map +1 -0
- package/dist/link-modules/migrations.js.map +1 -0
- package/dist/{link-modules-sdk → link-modules}/service.d.ts +1 -1
- package/dist/link-modules/service.d.ts.map +1 -0
- package/dist/link-modules/service.js +3 -0
- package/dist/link-modules/service.js.map +1 -0
- package/dist/locking/index.d.ts +466 -0
- package/dist/locking/index.d.ts.map +1 -1
- package/dist/modules-sdk/eto-internal-service.d.ts +5 -5
- package/dist/modules-sdk/eto-internal-service.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +25 -5
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/remote-query-object-from-string.d.ts +55 -4
- package/dist/modules-sdk/remote-query-object-from-string.d.ts.map +1 -1
- package/dist/modules-sdk/remote-query.d.ts +14 -0
- package/dist/modules-sdk/remote-query.d.ts.map +1 -1
- package/dist/modules-sdk/to-remote-query.d.ts +8 -2
- package/dist/modules-sdk/to-remote-query.d.ts.map +1 -1
- package/dist/notification/common.d.ts +1 -1
- package/dist/notification/common.d.ts.map +1 -1
- package/dist/notification/mutations.d.ts +10 -5
- package/dist/notification/mutations.d.ts.map +1 -1
- package/dist/notification/service.d.ts +23 -5
- package/dist/notification/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +78 -48
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/payment/mutations.d.ts +73 -47
- package/dist/payment/mutations.d.ts.map +1 -1
- package/dist/payment/provider.d.ts +450 -76
- package/dist/payment/provider.d.ts.map +1 -1
- package/dist/payment/service.d.ts +351 -14
- package/dist/payment/service.d.ts.map +1 -1
- package/dist/shared-context.d.ts +8 -0
- package/dist/shared-context.d.ts.map +1 -1
- package/dist/totals/big-number.d.ts +15 -0
- package/dist/totals/big-number.d.ts.map +1 -0
- package/dist/totals/big-number.js +3 -0
- package/dist/totals/big-number.js.map +1 -0
- package/dist/totals/index.d.ts +26 -0
- package/dist/totals/index.d.ts.map +1 -0
- package/dist/totals/index.js +18 -0
- package/dist/totals/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/workflow/index.d.ts +1 -0
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +2 -1
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/invite/accept-invite.d.ts +39 -0
- package/dist/workflow/invite/accept-invite.d.ts.map +1 -0
- package/dist/workflow/invite/accept-invite.js +3 -0
- package/dist/workflow/invite/accept-invite.js.map +1 -0
- package/dist/workflow/invite/create-invite.d.ts +11 -0
- package/dist/workflow/invite/create-invite.d.ts.map +1 -0
- package/dist/workflow/invite/create-invite.js +3 -0
- package/dist/workflow/invite/create-invite.js.map +1 -0
- package/dist/workflow/invite/delete-invite.d.ts +10 -0
- package/dist/workflow/invite/delete-invite.d.ts.map +1 -0
- package/dist/workflow/invite/delete-invite.js +3 -0
- package/dist/workflow/invite/delete-invite.js.map +1 -0
- package/dist/workflow/invite/index.d.ts +5 -0
- package/dist/workflow/invite/index.d.ts.map +1 -0
- package/dist/workflow/invite/index.js +21 -0
- package/dist/workflow/invite/index.js.map +1 -0
- package/dist/workflow/invite/resend-invite.d.ts +10 -0
- package/dist/workflow/invite/resend-invite.d.ts.map +1 -0
- package/dist/workflow/invite/resend-invite.js +3 -0
- package/dist/workflow/invite/resend-invite.js.map +1 -0
- package/dist/workflow/user/create-user.d.ts +6 -0
- package/dist/workflow/user/create-user.d.ts.map +1 -1
- package/dist/workflow/user/update-user.d.ts +6 -0
- package/dist/workflow/user/update-user.d.ts.map +1 -1
- package/dist/workflows-sdk/common.d.ts +6 -4
- package/dist/workflows-sdk/common.d.ts.map +1 -1
- package/dist/workflows-sdk/service.d.ts +12 -8
- package/dist/workflows-sdk/service.d.ts.map +1 -1
- package/package.json +5 -3
- package/dist/index-data/sotrage-provider.js.map +0 -1
- package/dist/link-modules-sdk/index.d.ts.map +0 -1
- package/dist/link-modules-sdk/index.js.map +0 -1
- package/dist/link-modules-sdk/migrations.d.ts.map +0 -1
- package/dist/link-modules-sdk/migrations.js.map +0 -1
- package/dist/link-modules-sdk/service.d.ts.map +0 -1
- /package/dist/{link-modules-sdk → analytics}/service.js +0 -0
- /package/dist/{link-modules-sdk → link-modules}/index.d.ts +0 -0
- /package/dist/{link-modules-sdk → link-modules}/index.js +0 -0
- /package/dist/{link-modules-sdk → link-modules}/migrations.d.ts +0 -0
- /package/dist/{link-modules-sdk → link-modules}/migrations.js +0 -0
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { BigNumberInput } from "../
|
|
2
|
-
import { PaymentCollectionStatus } from "./common";
|
|
3
|
-
import { PaymentProviderContext } from "./provider";
|
|
1
|
+
import { BigNumberInput } from "../totals";
|
|
2
|
+
import { PaymentCollectionStatus, PaymentSessionStatus } from "./common";
|
|
3
|
+
import { PaymentAccountHolderDTO, PaymentCustomerDTO, PaymentProviderContext } from "./provider";
|
|
4
4
|
/**
|
|
5
5
|
* The payment collection to be created.
|
|
6
6
|
*/
|
|
7
7
|
export interface CreatePaymentCollectionDTO {
|
|
8
|
-
/**
|
|
9
|
-
* The associated region's ID.
|
|
10
|
-
*/
|
|
11
|
-
region_id: string;
|
|
12
8
|
/**
|
|
13
9
|
* The ISO 3 character currency code of the payment collection.
|
|
14
10
|
*/
|
|
@@ -39,10 +35,6 @@ export interface UpsertPaymentCollectionDTO {
|
|
|
39
35
|
* The ID of the payment collection.
|
|
40
36
|
*/
|
|
41
37
|
id?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The associated region's ID.
|
|
44
|
-
*/
|
|
45
|
-
region_id?: string;
|
|
46
38
|
/**
|
|
47
39
|
* The ISO 3 character currency code of the payment collection.
|
|
48
40
|
*/
|
|
@@ -60,10 +52,6 @@ export interface UpsertPaymentCollectionDTO {
|
|
|
60
52
|
* The attributes to update in the payment collection.
|
|
61
53
|
*/
|
|
62
54
|
export interface PaymentCollectionUpdatableFields {
|
|
63
|
-
/**
|
|
64
|
-
* The associated region's ID.
|
|
65
|
-
*/
|
|
66
|
-
region_id?: string;
|
|
67
55
|
/**
|
|
68
56
|
* The ISO 3 character currency code of the payment collection.
|
|
69
57
|
*/
|
|
@@ -109,22 +97,6 @@ export interface CreatePaymentDTO {
|
|
|
109
97
|
* The associated payment collection's ID.
|
|
110
98
|
*/
|
|
111
99
|
payment_collection_id: string;
|
|
112
|
-
/**
|
|
113
|
-
* The associated cart's ID.
|
|
114
|
-
*/
|
|
115
|
-
cart_id?: string;
|
|
116
|
-
/**
|
|
117
|
-
* The associated order's ID.
|
|
118
|
-
*/
|
|
119
|
-
order_id?: string;
|
|
120
|
-
/**
|
|
121
|
-
* The associated order edit's ID.
|
|
122
|
-
*/
|
|
123
|
-
order_edit_id?: string;
|
|
124
|
-
/**
|
|
125
|
-
* The associated customer's ID.
|
|
126
|
-
*/
|
|
127
|
-
customer_id?: string;
|
|
128
100
|
}
|
|
129
101
|
/**
|
|
130
102
|
* The attributes to update in the payment.
|
|
@@ -134,22 +106,6 @@ export interface UpdatePaymentDTO {
|
|
|
134
106
|
* The ID of the payment.
|
|
135
107
|
*/
|
|
136
108
|
id: string;
|
|
137
|
-
/**
|
|
138
|
-
* The associated cart's ID.
|
|
139
|
-
*/
|
|
140
|
-
cart_id?: string;
|
|
141
|
-
/**
|
|
142
|
-
* The associated order's ID.
|
|
143
|
-
*/
|
|
144
|
-
order_id?: string;
|
|
145
|
-
/**
|
|
146
|
-
* The associated order edit's ID.
|
|
147
|
-
*/
|
|
148
|
-
order_edit_id?: string;
|
|
149
|
-
/**
|
|
150
|
-
* The associated customer's ID.
|
|
151
|
-
*/
|
|
152
|
-
customer_id?: string;
|
|
153
109
|
}
|
|
154
110
|
/**
|
|
155
111
|
* The capture to be created.
|
|
@@ -219,6 +175,10 @@ export interface CreatePaymentSessionDTO {
|
|
|
219
175
|
* Necessary context data for the associated payment provider.
|
|
220
176
|
*/
|
|
221
177
|
context?: PaymentProviderContext;
|
|
178
|
+
/**
|
|
179
|
+
* Holds custom data in key-value pairs.
|
|
180
|
+
*/
|
|
181
|
+
metadata?: Record<string, unknown>;
|
|
222
182
|
}
|
|
223
183
|
/**
|
|
224
184
|
* The attributes to update in a payment session.
|
|
@@ -240,10 +200,18 @@ export interface UpdatePaymentSessionDTO {
|
|
|
240
200
|
* The amount to be authorized.
|
|
241
201
|
*/
|
|
242
202
|
amount: BigNumberInput;
|
|
203
|
+
/**
|
|
204
|
+
* The status of the payment session.
|
|
205
|
+
*/
|
|
206
|
+
status?: PaymentSessionStatus;
|
|
243
207
|
/**
|
|
244
208
|
* Necessary context data for the associated payment provider.
|
|
245
209
|
*/
|
|
246
210
|
context?: PaymentProviderContext;
|
|
211
|
+
/**
|
|
212
|
+
* Holds custom data in key-value pairs.
|
|
213
|
+
*/
|
|
214
|
+
metadata?: Record<string, unknown>;
|
|
247
215
|
}
|
|
248
216
|
/**
|
|
249
217
|
* The payment provider to be created.
|
|
@@ -258,6 +226,47 @@ export interface CreatePaymentProviderDTO {
|
|
|
258
226
|
*/
|
|
259
227
|
is_enabled?: boolean;
|
|
260
228
|
}
|
|
229
|
+
/**
|
|
230
|
+
* The payment session to be created.
|
|
231
|
+
*/
|
|
232
|
+
export interface CreateAccountHolderDTO {
|
|
233
|
+
/**
|
|
234
|
+
* The provider's ID.
|
|
235
|
+
*/
|
|
236
|
+
provider_id: string;
|
|
237
|
+
/**
|
|
238
|
+
* Necessary context data for the associated payment provider.
|
|
239
|
+
*/
|
|
240
|
+
context: PaymentProviderContext & {
|
|
241
|
+
/**
|
|
242
|
+
* The customer information from Eto.
|
|
243
|
+
*/
|
|
244
|
+
customer: PaymentCustomerDTO;
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
export interface UpdateAccountHolderDTO {
|
|
248
|
+
/**
|
|
249
|
+
* The ID of the account holder.
|
|
250
|
+
*/
|
|
251
|
+
id: string;
|
|
252
|
+
/**
|
|
253
|
+
* The provider's ID.
|
|
254
|
+
*/
|
|
255
|
+
provider_id: string;
|
|
256
|
+
/**
|
|
257
|
+
* Necessary context data for the associated payment provider.
|
|
258
|
+
*/
|
|
259
|
+
context: PaymentProviderContext & {
|
|
260
|
+
/**
|
|
261
|
+
* The account holder information from Eto.
|
|
262
|
+
*/
|
|
263
|
+
account_holder: PaymentAccountHolderDTO;
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* Holds custom data in key-value pairs.
|
|
267
|
+
*/
|
|
268
|
+
metadata?: Record<string, unknown>;
|
|
269
|
+
}
|
|
261
270
|
/**
|
|
262
271
|
* The details of the webhook event payload.
|
|
263
272
|
*/
|
|
@@ -316,4 +325,21 @@ export interface UpdateRefundReasonDTO {
|
|
|
316
325
|
*/
|
|
317
326
|
metadata?: Record<string, unknown> | null;
|
|
318
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* The payment method to be created.
|
|
330
|
+
*/
|
|
331
|
+
export interface CreatePaymentMethodDTO {
|
|
332
|
+
/**
|
|
333
|
+
* The provider's ID.
|
|
334
|
+
*/
|
|
335
|
+
provider_id: string;
|
|
336
|
+
/**
|
|
337
|
+
* Necessary data for the associated payment provider to process the payment.
|
|
338
|
+
*/
|
|
339
|
+
data: Record<string, unknown>;
|
|
340
|
+
/**
|
|
341
|
+
* Necessary context data for the associated payment provider.
|
|
342
|
+
*/
|
|
343
|
+
context: PaymentProviderContext;
|
|
344
|
+
}
|
|
319
345
|
//# sourceMappingURL=mutations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/payment/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/payment/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACxE,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAEnB;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,0BACf,SAAQ,OAAO,CAAC,0BAA0B,CAAC;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,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