@flowio/api-types 0.0.226 → 0.0.228

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.
Files changed (34) hide show
  1. package/generated/io.flow.billing.accounting.v0.billing-accounting.d.ts +13 -0
  2. package/generated/io.flow.billing.bank.account.v0.billing-bank-account.d.ts +1 -1
  3. package/generated/io.flow.billing.internal.v0.billing-internal.d.ts +1 -1
  4. package/generated/io.flow.billing.reporting.csv.v0.billing-reporting-csv.d.ts +0 -1
  5. package/generated/io.flow.billing.reporting.v0.billing-reporting.d.ts +17 -16
  6. package/generated/io.flow.billing.v0.billing.d.ts +6 -1
  7. package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +1 -1
  8. package/generated/io.flow.experiment.internal.v0.experiment-internal.d.ts +191 -0
  9. package/generated/io.flow.internal.v0.api-internal.d.ts +586 -325
  10. package/generated/io.flow.organization.onboarding.state.v0.organization-onboarding-state.d.ts +6 -1
  11. package/generated/io.flow.payment.gateway.v0.payment-gateway.d.ts +7 -1
  12. package/generated/io.flow.payment.v0.payment.d.ts +11 -1
  13. package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +1 -0
  14. package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +16 -1
  15. package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +11 -0
  16. package/generated/io.flow.shopify.markets.v0.shopify-markets.d.ts +1 -1
  17. package/generated/io.flow.stripe.v0.stripe.d.ts +162 -5
  18. package/generated/io.flow.v0.api.d.ts +30 -4
  19. package/index.d.ts +1 -14
  20. package/package.json +2 -2
  21. package/generated/io.flow.billing.csv.v0.billing-csv.d.ts +0 -454
  22. package/generated/io.flow.checkout.analytics.v0.checkout-analytics.d.ts +0 -137
  23. package/generated/io.flow.checkout.backend.v0.checkout-backend.d.ts +0 -539
  24. package/generated/io.flow.checkout.common.v0.checkout-common.d.ts +0 -57
  25. package/generated/io.flow.checkout.configuration.v0.checkout-configuration.d.ts +0 -113
  26. package/generated/io.flow.checkout.protocol.v0.checkout-protocol.d.ts +0 -1347
  27. package/generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts +0 -204
  28. package/generated/io.flow.content.internal.v0.content-internal.d.ts +0 -168
  29. package/generated/io.flow.currency.internal.v0.currency-internal.d.ts +0 -119
  30. package/generated/io.flow.experience.internal.v0.experience-internal.d.ts +0 -247
  31. package/generated/io.flow.feature.v0.feature.d.ts +0 -121
  32. package/generated/io.flow.optin.internal.v0.optin-internal.d.ts +0 -73
  33. package/generated/io.flow.price.internal.v0.price-internal.d.ts +0 -4
  34. package/generated/io.flow.svb.v0.svb.d.ts +0 -166
@@ -1,247 +0,0 @@
1
- declare namespace io.flow.experience.internal.v0.enums {
2
- type DeliveredDutyOptionMessageType = 'warning' | 'notification';
3
- type DiscountRequestOrderEntitlementKey = 'subtotal';
4
- type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
5
- type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
6
- type OrderAttributeIntent = 'discount_code';
7
- type PriceSelector = 'minimum' | 'maximum';
8
- }
9
-
10
- declare namespace io.flow.experience.internal.v0.models {
11
- interface AllocationItemReference {
12
- readonly 'number': string;
13
- }
14
-
15
- interface DeliveredDutyOption {
16
- readonly 'methods': io.flow.common.v0.enums.DeliveredDuty[];
17
- readonly 'message'?: io.flow.experience.internal.v0.models.DeliveredDutyOptionMessage;
18
- readonly 'selectable': boolean;
19
- }
20
-
21
- interface DeliveredDutyOptionMessage {
22
- readonly 'type': io.flow.experience.internal.v0.enums.DeliveredDutyOptionMessageType;
23
- readonly 'text': string;
24
- }
25
-
26
- interface DeliveredDutyOptions {
27
- readonly 'options': io.flow.experience.internal.v0.models.DeliveredDutyOption[];
28
- readonly 'message'?: io.flow.experience.internal.v0.models.DeliveredDutyOptionsMessage;
29
- }
30
-
31
- interface DeliveredDutyOptionsMessage {
32
- readonly 'title': string;
33
- readonly 'content': string;
34
- readonly 'type': io.flow.experience.internal.v0.enums.DeliveredDutyOptionMessageType;
35
- }
36
-
37
- interface DeliveredDutyPreference {
38
- readonly 'methods': io.flow.common.v0.enums.DeliveredDuty[];
39
- readonly 'default': io.flow.common.v0.enums.DeliveredDuty;
40
- readonly 'display': io.flow.experience.v0.enums.DeliveredDutyDisplayType;
41
- }
42
-
43
- interface DeliveredDutyPreferenceForm {
44
- readonly 'methods': io.flow.common.v0.enums.DeliveredDuty[];
45
- readonly 'default'?: io.flow.common.v0.enums.DeliveredDuty;
46
- readonly 'display'?: io.flow.experience.v0.enums.DeliveredDutyDisplayType;
47
- }
48
-
49
- interface DiscountCode {
50
- readonly 'code': string;
51
- }
52
-
53
- interface DiscountRequestForm {
54
- readonly 'order_form'?: io.flow.experience.internal.v0.models.DiscountRequestOrderForm;
55
- }
56
-
57
- interface DiscountRequestOfferFixedAmountForm {
58
- readonly 'discriminator': 'discount_request_offer_fixed_amount_form';
59
- readonly 'amount': number;
60
- readonly 'currency': string;
61
- }
62
-
63
- interface DiscountRequestOrderEntitlementForm {
64
- readonly 'entitlement_key': io.flow.experience.internal.v0.enums.DiscountRequestOrderEntitlementKey;
65
- readonly 'offer_form': io.flow.experience.internal.v0.unions.DiscountRequestOfferForm;
66
- }
67
-
68
- interface DiscountRequestOrderForm {
69
- readonly 'order_entitlement_forms': io.flow.experience.internal.v0.models.DiscountRequestOrderEntitlementForm[];
70
- }
71
-
72
- interface EmailModificationForm {
73
- readonly 'email'?: string;
74
- }
75
-
76
- interface ExperienceOrderActionRule {
77
- readonly 'trigger': io.flow.experience.internal.v0.enums.ExperienceOrderActionTrigger;
78
- readonly 'actions': io.flow.experience.internal.v0.enums.ExperienceOrderAction[];
79
- }
80
-
81
- interface GiftCard {
82
- readonly 'id': string;
83
- readonly 'number': string;
84
- readonly 'pin'?: string;
85
- readonly 'balance': io.flow.common.v0.models.Price;
86
- readonly 'display_label': string;
87
- readonly 'applied_balance': io.flow.common.v0.models.Price;
88
- }
89
-
90
- interface GiftCardAuthorizationError {
91
- readonly 'code': io.flow.error.v0.enums.GenericErrorCode;
92
- readonly 'messages': string[];
93
- readonly 'gift_card_program': io.flow.experience.internal.v0.models.GiftCardProgram;
94
- }
95
-
96
- interface GiftCardForm {
97
- readonly 'number': string;
98
- readonly 'pin'?: string;
99
- }
100
-
101
- interface GiftCardProgram {
102
- readonly 'title': string;
103
- readonly 'input_specification'?: io.flow.common.v0.models.InputFormSpecification;
104
- readonly 'cards': io.flow.experience.internal.v0.models.GiftCard[];
105
- }
106
-
107
- interface InternalOrder {
108
- readonly 'order': io.flow.experience.v0.models.Order;
109
- readonly 'session'?: io.flow.common.v0.models.SessionReference;
110
- readonly 'rates': io.flow.currency.internal.v0.models.RateDataV3[];
111
- readonly 'environment'?: io.flow.common.v0.enums.Environment;
112
- readonly 'discount'?: io.flow.common.v0.models.Money;
113
- }
114
-
115
- interface ItemFilterResponse {
116
- readonly 'filter': string;
117
- readonly 'responses': io.flow.experience.internal.v0.models.ItemFilterValueResponse[];
118
- }
119
-
120
- interface ItemFilterValueResponse {
121
- readonly 'value': string;
122
- readonly 'items': io.flow.catalog.v0.models.Item[];
123
- }
124
-
125
- interface ItemFilterValuesForm {
126
- readonly 'filter': string;
127
- readonly 'values': string[];
128
- }
129
-
130
- interface ItemQueryResponse {
131
- readonly 'q': string;
132
- readonly 'items': io.flow.catalog.v0.models.Item[];
133
- }
134
-
135
- interface ItemSalesMargin {
136
- readonly 'id': string;
137
- readonly 'key': string;
138
- readonly 'name': string;
139
- readonly 'q': string;
140
- readonly 'fixed': number;
141
- readonly 'percent': number;
142
- readonly 'position': number;
143
- }
144
-
145
- interface ItemSalesMarginPostForm {
146
- readonly 'name': string;
147
- readonly 'q': string;
148
- readonly 'key': string;
149
- readonly 'fixed'?: number;
150
- readonly 'percent'?: number;
151
- readonly 'position'?: number;
152
- }
153
-
154
- interface ItemSalesMarginPutForm {
155
- readonly 'name': string;
156
- readonly 'q': string;
157
- readonly 'fixed'?: number;
158
- readonly 'percent'?: number;
159
- readonly 'position'?: number;
160
- }
161
-
162
- interface ItemSalesMarginVersion {
163
- readonly 'id': string;
164
- readonly 'timestamp': string;
165
- readonly 'type': io.flow.common.v0.enums.ChangeType;
166
- readonly 'item_sales_margin': io.flow.experience.internal.v0.models.ItemSalesMargin;
167
- }
168
-
169
- interface ItemValuesForm {
170
- readonly 'values': string[];
171
- }
172
-
173
- interface LevyRateSummary {
174
- readonly 'id': string;
175
- readonly 'number': string;
176
- readonly 'destination': io.flow.common.v0.models.Address;
177
- readonly 'items': io.flow.harmonization.v0.models.HarmonizedLandedCostItem[];
178
- readonly 'tax_registration'?: io.flow.harmonization.v0.models.TaxRegistration;
179
- }
180
-
181
- interface LoyaltyProgram {
182
- readonly 'title': string;
183
- readonly 'message'?: io.flow.experience.internal.v0.models.LoyaltyProgramMessage;
184
- readonly 'input_specification'?: io.flow.common.v0.models.InputFormSpecification;
185
- readonly 'rewards'?: io.flow.experience.internal.v0.models.LoyaltyProgramRewards;
186
- }
187
-
188
- interface LoyaltyProgramMessage {
189
- readonly 'content': string;
190
- }
191
-
192
- interface LoyaltyProgramReward {
193
- readonly 'id': string;
194
- readonly 'label': string;
195
- }
196
-
197
- interface LoyaltyProgramRewards {
198
- readonly 'applied': io.flow.experience.internal.v0.models.LoyaltyProgramReward[];
199
- }
200
-
201
- interface OrderAttribute {
202
- readonly 'id': string;
203
- readonly 'key': string;
204
- readonly 'type': io.flow.common.v0.enums.AttributeDataType;
205
- readonly 'intent'?: io.flow.experience.internal.v0.enums.OrderAttributeIntent;
206
- }
207
-
208
- interface OrderPaymentAuthorization {
209
- readonly 'placeholder': string;
210
- }
211
-
212
- interface OrderServiceChangeCsvForm {
213
- readonly 'order_number': string;
214
- readonly 'from_service_id': string;
215
- readonly 'to_service_id': string;
216
- }
217
-
218
- interface OrganizationSettings {
219
- readonly 'default_currency_format_symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
220
- readonly 'default_currency_label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
221
- readonly 'order_action_rules': io.flow.experience.internal.v0.models.ExperienceOrderActionRule[];
222
- readonly 'respect_item_margins_on_override': boolean;
223
- readonly 'respect_item_sales_margins_on_override': boolean;
224
- readonly 'respect_session_currency': boolean;
225
- }
226
-
227
- interface OrganizationSettingsForm {
228
- readonly 'default_currency_format_symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
229
- readonly 'default_currency_label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
230
- readonly 'order_action_rules'?: io.flow.experience.internal.v0.models.ExperienceOrderActionRule[];
231
- readonly 'respect_item_margins_on_override': boolean;
232
- readonly 'respect_item_sales_margins_on_override': boolean;
233
- readonly 'respect_session_currency': boolean;
234
- }
235
-
236
- interface SessionOrderData {
237
- readonly 'id': string;
238
- readonly 'session': io.flow.common.v0.models.SessionReference;
239
- readonly 'attributes': Record<string, string>;
240
- readonly 'customer': io.flow.common.v0.models.OrderCustomer;
241
- readonly 'destination': io.flow.experience.v0.models.OrderAddress;
242
- }
243
- }
244
-
245
- declare namespace io.flow.experience.internal.v0.unions {
246
- type DiscountRequestOfferForm = (io.flow.experience.internal.v0.models.DiscountRequestOfferFixedAmountForm);
247
- }
@@ -1,121 +0,0 @@
1
- declare namespace io.flow.feature.v0.enums {
2
- type FeatureScope = 'global' | 'organization';
3
- type FeatureStatus = 'draft' | 'active' | 'archived';
4
- type FeatureType = 'boolean' | 'decimal' | 'string';
5
- }
6
-
7
- declare namespace io.flow.feature.v0.models {
8
- interface BooleanFeatureDefaultValue {
9
- readonly 'discriminator': 'boolean';
10
- readonly 'value': boolean;
11
- }
12
-
13
- interface BooleanFeatureRule {
14
- readonly 'discriminator': 'boolean';
15
- readonly 'id': string;
16
- readonly 'query': string;
17
- readonly 'value': boolean;
18
- readonly 'position': number;
19
- }
20
-
21
- interface BooleanFeatureRuleForm {
22
- readonly 'discriminator': 'boolean';
23
- readonly 'query': string;
24
- readonly 'value': boolean;
25
- }
26
-
27
- interface BooleanFeatureValue {
28
- readonly 'discriminator': 'boolean';
29
- readonly 'feature': io.flow.feature.v0.models.FeatureReference;
30
- readonly 'value': boolean;
31
- }
32
-
33
- interface Feature {
34
- readonly 'id': string;
35
- readonly 'key': string;
36
- readonly 'name': string;
37
- readonly 'description'?: string;
38
- readonly 'scope': io.flow.feature.v0.enums.FeatureScope;
39
- readonly 'released_at'?: string;
40
- readonly 'status': io.flow.feature.v0.enums.FeatureStatus;
41
- readonly 'type': io.flow.feature.v0.enums.FeatureType;
42
- readonly 'rules': io.flow.feature.v0.unions.FeatureRule[];
43
- readonly 'default'?: io.flow.feature.v0.unions.FeatureDefaultValue;
44
- }
45
-
46
- interface FeatureContextForm {
47
- readonly 'experience_key'?: string;
48
- readonly 'geo'?: io.flow.feature.v0.models.FeatureGeoForm;
49
- }
50
-
51
- interface FeatureForm {
52
- readonly 'name': string;
53
- readonly 'description'?: string;
54
- readonly 'status'?: io.flow.feature.v0.enums.FeatureStatus;
55
- readonly 'type': io.flow.feature.v0.enums.FeatureType;
56
- readonly 'rules': io.flow.feature.v0.unions.FeatureRuleForm[];
57
- readonly 'default'?: io.flow.feature.v0.unions.FeatureDefaultValue;
58
- }
59
-
60
- interface FeatureGeoForm {
61
- readonly 'country'?: string;
62
- readonly 'currency'?: string;
63
- readonly 'language'?: string;
64
- readonly 'locale'?: string;
65
- readonly 'region'?: string;
66
- }
67
-
68
- interface FeatureReference {
69
- readonly 'id': string;
70
- readonly 'key': string;
71
- }
72
-
73
- interface FeatureReleaseForm {
74
- readonly 'released_at'?: string;
75
- }
76
-
77
- interface FeatureStatusForm {
78
- readonly 'status': io.flow.feature.v0.enums.FeatureStatus;
79
- }
80
-
81
- interface FeatureValueForm {
82
- readonly 'feature_query': string;
83
- readonly 'context': io.flow.feature.v0.models.FeatureContextForm;
84
- }
85
-
86
- interface FeatureValueResult {
87
- readonly 'values': io.flow.feature.v0.unions.FeatureValue[];
88
- }
89
-
90
- interface StringFeatureDefaultValue {
91
- readonly 'discriminator': 'string';
92
- readonly 'value': string;
93
- }
94
-
95
- interface StringFeatureRule {
96
- readonly 'discriminator': 'string';
97
- readonly 'id': string;
98
- readonly 'query': string;
99
- readonly 'value': string;
100
- readonly 'position': number;
101
- }
102
-
103
- interface StringFeatureRuleForm {
104
- readonly 'discriminator': 'string';
105
- readonly 'query': string;
106
- readonly 'value': string;
107
- }
108
-
109
- interface StringFeatureValue {
110
- readonly 'discriminator': 'string';
111
- readonly 'feature': io.flow.feature.v0.models.FeatureReference;
112
- readonly 'value': string;
113
- }
114
- }
115
-
116
- declare namespace io.flow.feature.v0.unions {
117
- type FeatureDefaultValue = (io.flow.feature.v0.models.BooleanFeatureDefaultValue | io.flow.feature.v0.models.StringFeatureDefaultValue);
118
- type FeatureRule = (io.flow.feature.v0.models.BooleanFeatureRule | io.flow.feature.v0.models.StringFeatureRule);
119
- type FeatureRuleForm = (io.flow.feature.v0.models.BooleanFeatureRuleForm | io.flow.feature.v0.models.StringFeatureRuleForm);
120
- type FeatureValue = (io.flow.feature.v0.models.BooleanFeatureValue | io.flow.feature.v0.models.StringFeatureValue);
121
- }
@@ -1,73 +0,0 @@
1
- declare namespace io.flow.optin.internal.v0.enums {
2
- type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
3
- type PromptCheckoutDisplayPosition = 'email' | 'submission';
4
- type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
5
- type PromptTarget = 'browse' | 'checkout';
6
- }
7
-
8
- declare namespace io.flow.optin.internal.v0.models {
9
- interface ConsumerOptinActivity {
10
- readonly 'optin_attribute_key': string;
11
- readonly 'optin_region': string;
12
- readonly 'consent_granted': boolean;
13
- readonly 'last_seen_at'?: string;
14
- readonly 'last_acted_at'?: string;
15
- }
16
-
17
- interface OptinAttribute {
18
- readonly 'name': string;
19
- readonly 'optin_attribute_key': string;
20
- readonly 'target': io.flow.optin.internal.v0.enums.PromptTarget;
21
- readonly 'status': io.flow.content.internal.v0.enums.ContentStatus;
22
- readonly 'created_at': string;
23
- readonly 'updated_at': string;
24
- }
25
-
26
- interface OptinAttributeForm {
27
- readonly 'name': string;
28
- readonly 'optin_attribute_key': string;
29
- readonly 'target': io.flow.optin.internal.v0.enums.PromptTarget;
30
- readonly 'status': io.flow.content.internal.v0.enums.ContentStatus;
31
- }
32
-
33
- interface OptinPrompt {
34
- readonly 'id': string;
35
- readonly 'optin_attribute': io.flow.optin.internal.v0.models.OptinAttribute;
36
- readonly 'region': string;
37
- readonly 'options': io.flow.optin.internal.v0.enums.PromptOptions[];
38
- readonly 'content': io.flow.content.internal.v0.unions.LocalizableContent;
39
- readonly 'position': number;
40
- readonly 'enforce_on': string;
41
- readonly 'display'?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
42
- }
43
-
44
- interface OptinPromptCheckoutDisplay {
45
- readonly 'discriminator': 'optin_prompt_checkout_display';
46
- readonly 'display_position': io.flow.optin.internal.v0.enums.PromptCheckoutDisplayPosition;
47
- }
48
-
49
- interface OptinPromptCopy {
50
- readonly 'from': string;
51
- readonly 'to': string;
52
- readonly 'number_prompts': number;
53
- }
54
-
55
- interface OptinPromptCopyForm {
56
- readonly 'from': string;
57
- readonly 'to': string;
58
- }
59
-
60
- interface OptinPromptForm {
61
- readonly 'optin_attribute_key': string;
62
- readonly 'region': string;
63
- readonly 'options': io.flow.optin.internal.v0.enums.PromptOptions[];
64
- readonly 'content': io.flow.content.internal.v0.models.LocalizationForm;
65
- readonly 'position': number;
66
- readonly 'enforce_on'?: string;
67
- readonly 'display'?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
68
- }
69
- }
70
-
71
- declare namespace io.flow.optin.internal.v0.unions {
72
- type OptinPromptDisplay = (io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay);
73
- }
@@ -1,4 +0,0 @@
1
- declare namespace io.flow.price.internal.v0.enums {
2
- type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
3
- type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
4
- }
@@ -1,166 +0,0 @@
1
- declare namespace io.flow.svb.v0.enums {
2
- type ClearingType = 'Credit' | 'Debit';
3
- type NotificationType = 'virtualcard.clearings' | 'virtualcard.created' | 'virtualcard.deleted' | 'virtualcard.realtime.auths';
4
- type TransactionType = 'Authorization' | 'Advice' | 'First Presentment' | 'Reversal' | 'Reversal Advice' | 'Unspecified' | 'Purchase Return' | 'Forced Post';
5
- }
6
-
7
- declare namespace io.flow.svb.v0.models {
8
- interface Authorization {
9
- readonly 'billing_amount': number;
10
- readonly 'billing_currency': string;
11
- readonly 'issuer_response': string;
12
- readonly 'mcc': string;
13
- readonly 'mcc_description': string;
14
- readonly 'merchant_amount': number;
15
- readonly 'merchant_currency': string;
16
- readonly 'merchant_id': string;
17
- readonly 'merchant_name': string;
18
- readonly 'transaction_date_time': string;
19
- readonly 'transaction_type': io.flow.svb.v0.enums.TransactionType;
20
- }
21
-
22
- interface Clearing {
23
- readonly 'billing_amount': number;
24
- readonly 'billing_currency': string;
25
- readonly 'clearing_type': io.flow.svb.v0.enums.ClearingType;
26
- readonly 'authorization_date'?: string;
27
- readonly 'exchange_rate': string;
28
- readonly 'mcc': string;
29
- readonly 'mcc_description': string;
30
- readonly 'merchant_amount': number;
31
- readonly 'merchant_currency': string;
32
- readonly 'merchant_id': string;
33
- readonly 'merchant_name': string;
34
- readonly 'settlement_date': string;
35
- }
36
-
37
- interface ClearingNotification {
38
- readonly 'acquirer_ica': string;
39
- readonly 'approval_code'?: string;
40
- readonly 'authorization_date': string;
41
- readonly 'billing_amount': number;
42
- readonly 'billing_currency': string;
43
- readonly 'clearing_type': io.flow.svb.v0.enums.ClearingType;
44
- readonly 'exchange_rate': string;
45
- readonly 'mcc': string;
46
- readonly 'mcc_description': string;
47
- readonly 'merchant_amount': number;
48
- readonly 'merchant_currency': string;
49
- readonly 'merchant_id': string;
50
- readonly 'merchant_name': string;
51
- readonly 'settlement_date': string;
52
- readonly 'vcn_id': number;
53
- }
54
-
55
- interface CreateBody {
56
- readonly 'data': io.flow.svb.v0.models.CreateVirtualCard;
57
- readonly 'show_card_number': boolean;
58
- }
59
-
60
- interface CreateVirtualCard {
61
- readonly 'emails'?: string[];
62
- readonly 'mastercard_data'?: io.flow.svb.v0.models.MastercardData;
63
- readonly 'metadata'?: any/*object*/;
64
- readonly 'per_transaction_max'?: number;
65
- readonly 'per_transaction_min'?: number;
66
- readonly 'rcn_id'?: number;
67
- readonly 'rcn_alias'?: string;
68
- readonly 'supplier_id'?: number;
69
- readonly 'total_card_amount': number;
70
- readonly 'transactions_max': number;
71
- readonly 'valid_ending_on': string;
72
- readonly 'valid_starting_on'?: string;
73
- }
74
-
75
- interface Email {
76
- readonly 'email': string;
77
- }
78
-
79
- interface EmailBody {
80
- readonly 'data': io.flow.svb.v0.models.Email;
81
- }
82
-
83
- interface EmailResponse {
84
- readonly 'id': string;
85
- }
86
-
87
- interface ListData {
88
- readonly 'id': string;
89
- readonly 'type': string;
90
- readonly 'url': string;
91
- }
92
-
93
- interface ListLinks {
94
- readonly 'first': string;
95
- readonly 'next'?: string;
96
- }
97
-
98
- interface ListResponse {
99
- readonly 'data': io.flow.svb.v0.models.ListData[];
100
- readonly 'links': io.flow.svb.v0.models.ListLinks;
101
- }
102
-
103
- interface MastercardData {
104
- readonly 'id'?: string;
105
- readonly 'organization'?: string;
106
- readonly 'order_number'?: string;
107
- readonly 'authorization_key'?: string;
108
- }
109
-
110
- interface NotificationData {
111
- readonly 'date': string;
112
- readonly 'event-id': number;
113
- readonly 'payload': any/*object*/;
114
- readonly 'type'?: io.flow.svb.v0.enums.NotificationType;
115
- }
116
-
117
- interface SvbNotification {
118
- readonly 'data': io.flow.svb.v0.models.NotificationData;
119
- }
120
-
121
- interface UpdateBody {
122
- readonly 'data': io.flow.svb.v0.models.UpdateVirtualCard;
123
- }
124
-
125
- interface UpdateVirtualCard {
126
- readonly 'emails'?: string[];
127
- readonly 'mastercard_data'?: io.flow.svb.v0.models.MastercardData;
128
- readonly 'metadata'?: any/*object*/;
129
- readonly 'per_transaction_max'?: number;
130
- readonly 'per_transaction_min'?: number;
131
- readonly 'total_card_amount'?: number;
132
- readonly 'transactions_max'?: number;
133
- readonly 'valid_ending_on'?: string;
134
- readonly 'valid_starting_on'?: string;
135
- }
136
-
137
- interface VirtualCard {
138
- readonly 'authorizations': io.flow.svb.v0.models.Authorization[];
139
- readonly 'available_balance'?: number;
140
- readonly 'card_number'?: string;
141
- readonly 'clearings': io.flow.svb.v0.models.Clearing[];
142
- readonly 'currency': string;
143
- readonly 'cvc'?: string;
144
- readonly 'emails'?: string[];
145
- readonly 'expiry': string;
146
- readonly 'id': string;
147
- readonly 'last4': string;
148
- readonly 'mastercard_data': io.flow.svb.v0.models.MastercardData;
149
- readonly 'metadata'?: any/*object*/;
150
- readonly 'notified': boolean;
151
- readonly 'per_transaction_max': number;
152
- readonly 'per_transaction_min': number;
153
- readonly 'rcn_alias': string;
154
- readonly 'rcn_id': number;
155
- readonly 'status': string;
156
- readonly 'supplier_id': number;
157
- readonly 'total_card_amount': number;
158
- readonly 'transactions_max': number;
159
- readonly 'valid_ending_on': string;
160
- readonly 'valid_starting_on': string;
161
- }
162
-
163
- interface VirtualCardResponse {
164
- readonly 'data': io.flow.svb.v0.models.VirtualCard;
165
- }
166
- }