@flowio/api-types 0.0.224 → 0.0.225
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/generated/io.flow.billing.csv.v0.billing-csv.d.ts +9 -0
- package/generated/io.flow.billing.internal.v0.billing-internal.d.ts +44 -8
- package/generated/io.flow.billing.reporting.v0.billing-reporting.d.ts +1 -1
- package/generated/io.flow.billing.v0.billing.d.ts +21 -5
- package/generated/io.flow.internal.v0.api-internal.d.ts +173 -95
- package/generated/io.flow.organization.onboarding.state.v0.organization-onboarding-state.d.ts +2 -0
- package/generated/io.flow.payment.gateway.v0.payment-gateway.d.ts +17 -8
- package/generated/io.flow.payment.internal.v0.payment-internal.d.ts +0 -9
- package/generated/io.flow.payment.v0.payment.d.ts +0 -5
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +8 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +6 -0
- package/generated/io.flow.shopify.markets.v0.shopify-markets.d.ts +1 -1
- package/generated/io.flow.v0.api.d.ts +41 -19
- package/package.json +2 -2
package/generated/io.flow.organization.onboarding.state.v0.organization-onboarding-state.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
|
|
|
11
11
|
|
|
12
12
|
interface DeactivationPutForm {
|
|
13
13
|
readonly 'reason': string;
|
|
14
|
+
readonly 'deactivate_at'?: string;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
interface InComplianceReview {
|
|
@@ -26,6 +27,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
|
|
|
26
27
|
interface MerchantDeactivated {
|
|
27
28
|
readonly 'discriminator': 'merchant_deactivated';
|
|
28
29
|
readonly 'reason': string;
|
|
30
|
+
readonly 'deactivate_at'?: string;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
interface MerchantDisabled {
|
|
@@ -189,6 +189,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
189
189
|
readonly 'currency': string;
|
|
190
190
|
readonly 'base_amount'?: number;
|
|
191
191
|
readonly 'base_currency'?: string;
|
|
192
|
+
readonly 'reference'?: string;
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
interface PaymentAuthorizationStatus {
|
|
@@ -202,6 +203,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
202
203
|
readonly 'currency': string;
|
|
203
204
|
readonly 'base_amount'?: number;
|
|
204
205
|
readonly 'base_currency'?: string;
|
|
206
|
+
readonly 'reference'?: string;
|
|
205
207
|
readonly 'created_at': string;
|
|
206
208
|
readonly 'updated_at': string;
|
|
207
209
|
readonly 'status': io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
|
|
@@ -210,6 +212,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
210
212
|
interface PaymentCaptureForm {
|
|
211
213
|
readonly 'amount'?: number;
|
|
212
214
|
readonly 'currency'?: string;
|
|
215
|
+
readonly 'reference'?: string;
|
|
213
216
|
readonly 'attributes'?: Record<string, string>;
|
|
214
217
|
}
|
|
215
218
|
|
|
@@ -325,6 +328,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
325
328
|
readonly 'device_fingerprint_details': io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
|
|
326
329
|
readonly 'cvv'?: string;
|
|
327
330
|
readonly 'stored_details_card'?: io.flow.payment.gateway.v0.unions.PaymentMethodStoredDetailsCard;
|
|
331
|
+
readonly 'reference'?: string;
|
|
328
332
|
}
|
|
329
333
|
|
|
330
334
|
interface PaymentMethodDataAuthorizeGooglepay {
|
|
@@ -360,42 +364,43 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
360
364
|
|
|
361
365
|
interface PaymentMethodDataInitAfterpay {
|
|
362
366
|
readonly 'type': 'init_afterpay';
|
|
363
|
-
readonly '
|
|
367
|
+
readonly 'reference'?: string;
|
|
364
368
|
}
|
|
365
369
|
|
|
366
370
|
interface PaymentMethodDataInitApplepay {
|
|
367
371
|
readonly 'type': 'init_applepay';
|
|
368
|
-
readonly '
|
|
372
|
+
readonly 'reference'?: string;
|
|
369
373
|
}
|
|
370
374
|
|
|
371
375
|
interface PaymentMethodDataInitBancontact {
|
|
372
376
|
readonly 'type': 'init_bancontact';
|
|
373
|
-
readonly '
|
|
377
|
+
readonly 'reference'?: string;
|
|
374
378
|
}
|
|
375
379
|
|
|
376
380
|
interface PaymentMethodDataInitGooglepay {
|
|
377
381
|
readonly 'type': 'init_googlepay';
|
|
378
|
-
readonly '
|
|
382
|
+
readonly 'reference'?: string;
|
|
379
383
|
}
|
|
380
384
|
|
|
381
385
|
interface PaymentMethodDataInitIdeal {
|
|
382
386
|
readonly 'type': 'init_ideal';
|
|
383
387
|
readonly 'issuer'?: string;
|
|
388
|
+
readonly 'reference'?: string;
|
|
384
389
|
}
|
|
385
390
|
|
|
386
391
|
interface PaymentMethodDataInitKlarna {
|
|
387
392
|
readonly 'type': 'init_klarna';
|
|
388
|
-
readonly '
|
|
393
|
+
readonly 'reference'?: string;
|
|
389
394
|
}
|
|
390
395
|
|
|
391
396
|
interface PaymentMethodDataInitPaypal {
|
|
392
397
|
readonly 'type': 'init_paypal';
|
|
393
|
-
readonly '
|
|
398
|
+
readonly 'reference'?: string;
|
|
394
399
|
}
|
|
395
400
|
|
|
396
401
|
interface PaymentMethodDataInitSofort {
|
|
397
402
|
readonly 'type': 'init_sofort';
|
|
398
|
-
readonly '
|
|
403
|
+
readonly 'reference'?: string;
|
|
399
404
|
}
|
|
400
405
|
|
|
401
406
|
interface PaymentMethodDataOptionLogoSvg {
|
|
@@ -482,7 +487,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
482
487
|
}
|
|
483
488
|
|
|
484
489
|
interface PaymentOrderDetailsLineItem {
|
|
485
|
-
readonly 'id'
|
|
490
|
+
readonly 'id'?: string;
|
|
486
491
|
readonly 'description': string;
|
|
487
492
|
readonly 'quantity': number;
|
|
488
493
|
readonly 'amount': number;
|
|
@@ -510,6 +515,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
510
515
|
readonly 'currency': string;
|
|
511
516
|
readonly 'base_amount'?: number;
|
|
512
517
|
readonly 'base_currency'?: string;
|
|
518
|
+
readonly 'reference'?: string;
|
|
513
519
|
readonly 'created_at': string;
|
|
514
520
|
readonly 'updated_at': string;
|
|
515
521
|
readonly 'status': io.flow.payment.gateway.v0.models.PaymentRefundStatus;
|
|
@@ -518,6 +524,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
518
524
|
interface PaymentRefundForm {
|
|
519
525
|
readonly 'amount'?: number;
|
|
520
526
|
readonly 'currency'?: string;
|
|
527
|
+
readonly 'reference'?: string;
|
|
521
528
|
}
|
|
522
529
|
|
|
523
530
|
interface PaymentRefundStatus {
|
|
@@ -584,6 +591,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
584
591
|
readonly 'currency': string;
|
|
585
592
|
readonly 'base_amount'?: number;
|
|
586
593
|
readonly 'base_currency'?: string;
|
|
594
|
+
readonly 'reference'?: string;
|
|
587
595
|
readonly 'created_at': string;
|
|
588
596
|
readonly 'updated_at': string;
|
|
589
597
|
readonly 'status': io.flow.payment.gateway.v0.models.PaymentReversalStatus;
|
|
@@ -592,6 +600,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
592
600
|
interface PaymentReversalForm {
|
|
593
601
|
readonly 'amount'?: number;
|
|
594
602
|
readonly 'currency'?: string;
|
|
603
|
+
readonly 'reference'?: string;
|
|
595
604
|
}
|
|
596
605
|
|
|
597
606
|
interface PaymentReversalStatus {
|
|
@@ -833,15 +833,6 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
833
833
|
readonly 'id': string;
|
|
834
834
|
readonly 'description': string;
|
|
835
835
|
}
|
|
836
|
-
|
|
837
|
-
interface VirtualCardProvider {
|
|
838
|
-
readonly 'id': string;
|
|
839
|
-
readonly 'organization_id': string;
|
|
840
|
-
readonly 'provider': string;
|
|
841
|
-
readonly 'attributes'?: Record<string, string>;
|
|
842
|
-
readonly 'created_at': string;
|
|
843
|
-
readonly 'updated_at': string;
|
|
844
|
-
}
|
|
845
836
|
}
|
|
846
837
|
|
|
847
838
|
declare namespace io.flow.payment.internal.v0.unions {
|
|
@@ -915,11 +915,6 @@ declare namespace io.flow.payment.v0.models {
|
|
|
915
915
|
readonly 'virtual_card_capture': io.flow.payment.v0.models.VirtualCardCapture;
|
|
916
916
|
}
|
|
917
917
|
|
|
918
|
-
interface VirtualCardForm {
|
|
919
|
-
readonly 'limit': io.flow.common.v0.models.Money;
|
|
920
|
-
readonly 'attributes'?: Record<string, string>;
|
|
921
|
-
}
|
|
922
|
-
|
|
923
918
|
interface VirtualCardReference {
|
|
924
919
|
readonly 'id': string;
|
|
925
920
|
}
|
|
@@ -24,6 +24,7 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
24
24
|
type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
|
|
25
25
|
type ShopifyDiscountPaginationDirection = 'next' | 'prev';
|
|
26
26
|
type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
|
|
27
|
+
type ShopifyPlanName = 'basic' | 'business' | 'cancelled' | 'dormant' | 'enterprise' | 'fraudulent' | 'frozen' | 'npo_full' | 'npo_lite' | 'open_learning' | 'paid_trial' | 'professional' | 'retail' | 'shopify_alumni' | 'shopify_plus' | 'staff' | 'staff_business' | 'starter' | 'starter_2022' | 'unlimited';
|
|
27
28
|
type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
28
29
|
type ShopifyTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
|
|
29
30
|
type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
@@ -172,7 +173,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
172
173
|
readonly 'id': number;
|
|
173
174
|
readonly 'product_id': number;
|
|
174
175
|
readonly 'variant_ids': number[];
|
|
175
|
-
readonly 'src'
|
|
176
|
+
readonly 'src'?: string;
|
|
176
177
|
readonly 'position': number;
|
|
177
178
|
readonly 'created_at': string;
|
|
178
179
|
readonly 'updated_at': string;
|
|
@@ -784,6 +785,12 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
784
785
|
readonly 'carrier_identifier'?: string;
|
|
785
786
|
}
|
|
786
787
|
|
|
788
|
+
interface ShopifyShopUpdate {
|
|
789
|
+
readonly 'id': number;
|
|
790
|
+
readonly 'plan_display_name': string;
|
|
791
|
+
readonly 'plan_name': io.flow.shopify.external.v0.enums.ShopifyPlanName;
|
|
792
|
+
}
|
|
793
|
+
|
|
787
794
|
interface ShopifyTaxLine {
|
|
788
795
|
readonly 'price': string;
|
|
789
796
|
readonly 'rate': number;
|
|
@@ -45,6 +45,10 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
|
45
45
|
readonly 'flow_authorization'?: io.flow.payment.v0.unions.Authorization;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
interface MarketsOrderSummary {
|
|
49
|
+
readonly 'id': string;
|
|
50
|
+
}
|
|
51
|
+
|
|
48
52
|
interface OrderValidationError {
|
|
49
53
|
readonly 'message': string;
|
|
50
54
|
readonly 'reason': io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
@@ -117,6 +121,7 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
|
117
121
|
readonly 'api_key_masked'?: string;
|
|
118
122
|
readonly 'api_password_masked'?: string;
|
|
119
123
|
readonly 'access_token_masked'?: string;
|
|
124
|
+
readonly 'shopify_plan_name'?: io.flow.shopify.external.v0.enums.ShopifyPlanName;
|
|
120
125
|
}
|
|
121
126
|
|
|
122
127
|
interface ShopifyMarketsShopForm {
|
|
@@ -127,6 +132,7 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
|
|
|
127
132
|
readonly 'api_key'?: string;
|
|
128
133
|
readonly 'api_password'?: string;
|
|
129
134
|
readonly 'access_token'?: string;
|
|
135
|
+
readonly 'shopify_plan_name'?: io.flow.shopify.external.v0.enums.ShopifyPlanName;
|
|
130
136
|
}
|
|
131
137
|
|
|
132
138
|
interface ShopifyMarketsShopSummary {
|
|
@@ -32,7 +32,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
|
|
|
32
32
|
type ShopifyOrderValueType = 'string' | 'integer';
|
|
33
33
|
type ShopifyTaxExemptions = 'EXEMPT_ALL' | 'CA_STATUS_CARD_EXEMPTION' | 'CA_DIPLOMAT_EXEMPTION' | 'CA_BC_RESELLER_EXEMPTION' | 'CA_MB_RESELLER_EXEMPTION' | 'CA_SK_RESELLER_EXEMPTION' | 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_BC_SUB_CONTRACTOR_EXEMPTION' | 'CA_SK_SUB_CONTRACTOR_EXEMPTION' | 'CA_BC_CONTRACTOR_EXEMPTION' | 'CA_SK_CONTRACTOR_EXEMPTION' | 'CA_ON_PURCHASE_EXEMPTION' | 'CA_MB_FARMER_EXEMPTION' | 'CA_NS_FARMER_EXEMPTION' | 'CA_SK_FARMER_EXEMPTION';
|
|
34
34
|
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
35
|
-
type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update' | 'bulk_operations/finish';
|
|
35
|
+
type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update' | 'bulk_operations/finish' | 'shop/update';
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
declare namespace io.flow.shopify.markets.v0.models {
|
|
@@ -201,7 +201,7 @@ declare namespace io.flow.v0.enums {
|
|
|
201
201
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
202
202
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
203
203
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
204
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
204
|
+
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'carrier_fee' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
205
205
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
206
206
|
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion';
|
|
207
207
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
@@ -2589,6 +2589,7 @@ declare namespace io.flow.v0.models {
|
|
|
2589
2589
|
|
|
2590
2590
|
interface DeactivationPutForm {
|
|
2591
2591
|
readonly 'reason': string;
|
|
2592
|
+
readonly 'deactivate_at'?: string;
|
|
2592
2593
|
}
|
|
2593
2594
|
|
|
2594
2595
|
interface DeadWeight {
|
|
@@ -5174,6 +5175,7 @@ declare namespace io.flow.v0.models {
|
|
|
5174
5175
|
interface MerchantDeactivated {
|
|
5175
5176
|
readonly 'discriminator': 'merchant_deactivated';
|
|
5176
5177
|
readonly 'reason': string;
|
|
5178
|
+
readonly 'deactivate_at'?: string;
|
|
5177
5179
|
}
|
|
5178
5180
|
|
|
5179
5181
|
interface MerchantDisabled {
|
|
@@ -6517,6 +6519,7 @@ declare namespace io.flow.v0.models {
|
|
|
6517
6519
|
readonly 'currency': string;
|
|
6518
6520
|
readonly 'base_amount'?: number;
|
|
6519
6521
|
readonly 'base_currency'?: string;
|
|
6522
|
+
readonly 'reference'?: string;
|
|
6520
6523
|
}
|
|
6521
6524
|
|
|
6522
6525
|
interface PaymentAuthorizationStatus {
|
|
@@ -6530,6 +6533,7 @@ declare namespace io.flow.v0.models {
|
|
|
6530
6533
|
readonly 'currency': string;
|
|
6531
6534
|
readonly 'base_amount'?: number;
|
|
6532
6535
|
readonly 'base_currency'?: string;
|
|
6536
|
+
readonly 'reference'?: string;
|
|
6533
6537
|
readonly 'created_at': string;
|
|
6534
6538
|
readonly 'updated_at': string;
|
|
6535
6539
|
readonly 'status': io.flow.v0.models.PaymentCaptureStatus;
|
|
@@ -6538,6 +6542,7 @@ declare namespace io.flow.v0.models {
|
|
|
6538
6542
|
interface PaymentCaptureForm {
|
|
6539
6543
|
readonly 'amount'?: number;
|
|
6540
6544
|
readonly 'currency'?: string;
|
|
6545
|
+
readonly 'reference'?: string;
|
|
6541
6546
|
readonly 'attributes'?: Record<string, string>;
|
|
6542
6547
|
}
|
|
6543
6548
|
|
|
@@ -6686,6 +6691,7 @@ declare namespace io.flow.v0.models {
|
|
|
6686
6691
|
readonly 'device_fingerprint_details': io.flow.v0.unions.DeviceFingerprintDetails;
|
|
6687
6692
|
readonly 'cvv'?: string;
|
|
6688
6693
|
readonly 'stored_details_card'?: io.flow.v0.unions.PaymentMethodStoredDetailsCard;
|
|
6694
|
+
readonly 'reference'?: string;
|
|
6689
6695
|
}
|
|
6690
6696
|
|
|
6691
6697
|
interface PaymentMethodDataAuthorizeGooglepay {
|
|
@@ -6721,42 +6727,43 @@ declare namespace io.flow.v0.models {
|
|
|
6721
6727
|
|
|
6722
6728
|
interface PaymentMethodDataInitAfterpay {
|
|
6723
6729
|
readonly 'type': 'init_afterpay';
|
|
6724
|
-
readonly '
|
|
6730
|
+
readonly 'reference'?: string;
|
|
6725
6731
|
}
|
|
6726
6732
|
|
|
6727
6733
|
interface PaymentMethodDataInitApplepay {
|
|
6728
6734
|
readonly 'type': 'init_applepay';
|
|
6729
|
-
readonly '
|
|
6735
|
+
readonly 'reference'?: string;
|
|
6730
6736
|
}
|
|
6731
6737
|
|
|
6732
6738
|
interface PaymentMethodDataInitBancontact {
|
|
6733
6739
|
readonly 'type': 'init_bancontact';
|
|
6734
|
-
readonly '
|
|
6740
|
+
readonly 'reference'?: string;
|
|
6735
6741
|
}
|
|
6736
6742
|
|
|
6737
6743
|
interface PaymentMethodDataInitGooglepay {
|
|
6738
6744
|
readonly 'type': 'init_googlepay';
|
|
6739
|
-
readonly '
|
|
6745
|
+
readonly 'reference'?: string;
|
|
6740
6746
|
}
|
|
6741
6747
|
|
|
6742
6748
|
interface PaymentMethodDataInitIdeal {
|
|
6743
6749
|
readonly 'type': 'init_ideal';
|
|
6744
6750
|
readonly 'issuer'?: string;
|
|
6751
|
+
readonly 'reference'?: string;
|
|
6745
6752
|
}
|
|
6746
6753
|
|
|
6747
6754
|
interface PaymentMethodDataInitKlarna {
|
|
6748
6755
|
readonly 'type': 'init_klarna';
|
|
6749
|
-
readonly '
|
|
6756
|
+
readonly 'reference'?: string;
|
|
6750
6757
|
}
|
|
6751
6758
|
|
|
6752
6759
|
interface PaymentMethodDataInitPaypal {
|
|
6753
6760
|
readonly 'type': 'init_paypal';
|
|
6754
|
-
readonly '
|
|
6761
|
+
readonly 'reference'?: string;
|
|
6755
6762
|
}
|
|
6756
6763
|
|
|
6757
6764
|
interface PaymentMethodDataInitSofort {
|
|
6758
6765
|
readonly 'type': 'init_sofort';
|
|
6759
|
-
readonly '
|
|
6766
|
+
readonly 'reference'?: string;
|
|
6760
6767
|
}
|
|
6761
6768
|
|
|
6762
6769
|
interface PaymentMethodDataOptionLogoSvg {
|
|
@@ -6876,7 +6883,7 @@ declare namespace io.flow.v0.models {
|
|
|
6876
6883
|
}
|
|
6877
6884
|
|
|
6878
6885
|
interface PaymentOrderDetailsLineItem {
|
|
6879
|
-
readonly 'id'
|
|
6886
|
+
readonly 'id'?: string;
|
|
6880
6887
|
readonly 'description': string;
|
|
6881
6888
|
readonly 'quantity': number;
|
|
6882
6889
|
readonly 'amount': number;
|
|
@@ -6964,6 +6971,7 @@ declare namespace io.flow.v0.models {
|
|
|
6964
6971
|
readonly 'currency': string;
|
|
6965
6972
|
readonly 'base_amount'?: number;
|
|
6966
6973
|
readonly 'base_currency'?: string;
|
|
6974
|
+
readonly 'reference'?: string;
|
|
6967
6975
|
readonly 'created_at': string;
|
|
6968
6976
|
readonly 'updated_at': string;
|
|
6969
6977
|
readonly 'status': io.flow.v0.models.PaymentRefundStatus;
|
|
@@ -6972,6 +6980,7 @@ declare namespace io.flow.v0.models {
|
|
|
6972
6980
|
interface PaymentRefundForm {
|
|
6973
6981
|
readonly 'amount'?: number;
|
|
6974
6982
|
readonly 'currency'?: string;
|
|
6983
|
+
readonly 'reference'?: string;
|
|
6975
6984
|
}
|
|
6976
6985
|
|
|
6977
6986
|
interface PaymentRefundStatus {
|
|
@@ -7079,6 +7088,7 @@ declare namespace io.flow.v0.models {
|
|
|
7079
7088
|
readonly 'currency': string;
|
|
7080
7089
|
readonly 'base_amount'?: number;
|
|
7081
7090
|
readonly 'base_currency'?: string;
|
|
7091
|
+
readonly 'reference'?: string;
|
|
7082
7092
|
readonly 'created_at': string;
|
|
7083
7093
|
readonly 'updated_at': string;
|
|
7084
7094
|
readonly 'status': io.flow.v0.models.PaymentReversalStatus;
|
|
@@ -7087,6 +7097,7 @@ declare namespace io.flow.v0.models {
|
|
|
7087
7097
|
interface PaymentReversalForm {
|
|
7088
7098
|
readonly 'amount'?: number;
|
|
7089
7099
|
readonly 'currency'?: string;
|
|
7100
|
+
readonly 'reference'?: string;
|
|
7090
7101
|
}
|
|
7091
7102
|
|
|
7092
7103
|
interface PaymentReversalStatus {
|
|
@@ -7535,7 +7546,7 @@ declare namespace io.flow.v0.models {
|
|
|
7535
7546
|
readonly 'event_id': string;
|
|
7536
7547
|
readonly 'timestamp': string;
|
|
7537
7548
|
readonly 'organization': string;
|
|
7538
|
-
readonly '
|
|
7549
|
+
readonly 'id': string;
|
|
7539
7550
|
}
|
|
7540
7551
|
|
|
7541
7552
|
interface ProductRestrictionResultUpserted {
|
|
@@ -10074,11 +10085,18 @@ declare namespace io.flow.v0.models {
|
|
|
10074
10085
|
readonly 'carrier_id': string;
|
|
10075
10086
|
readonly 'carrier_tracking_number': string;
|
|
10076
10087
|
readonly 'revenue_share_percentage': number;
|
|
10077
|
-
readonly 'outbound'?: io.flow.v0.models.
|
|
10088
|
+
readonly 'outbound'?: io.flow.v0.models.TransactionMetadataOutboundTransaction;
|
|
10078
10089
|
}
|
|
10079
10090
|
|
|
10080
|
-
interface
|
|
10081
|
-
readonly '
|
|
10091
|
+
interface TransactionMetadataCarrierFee {
|
|
10092
|
+
readonly 'discriminator': 'carrier_fee';
|
|
10093
|
+
readonly 'outbound': io.flow.v0.models.TransactionMetadataOutboundTransaction;
|
|
10094
|
+
readonly 'estimate': io.flow.v0.models.TransactionMetadataCarrierFeeData;
|
|
10095
|
+
readonly 'actual': io.flow.v0.models.TransactionMetadataCarrierFeeData;
|
|
10096
|
+
}
|
|
10097
|
+
|
|
10098
|
+
interface TransactionMetadataCarrierFeeData {
|
|
10099
|
+
readonly 'surcharges': io.flow.v0.models.TrueupLabelSurcharge[];
|
|
10082
10100
|
}
|
|
10083
10101
|
|
|
10084
10102
|
interface TransactionMetadataChannel {
|
|
@@ -10108,6 +10126,15 @@ declare namespace io.flow.v0.models {
|
|
|
10108
10126
|
readonly 'id': string;
|
|
10109
10127
|
}
|
|
10110
10128
|
|
|
10129
|
+
interface TransactionMetadataOutboundTransaction {
|
|
10130
|
+
readonly 'transaction_id': string;
|
|
10131
|
+
}
|
|
10132
|
+
|
|
10133
|
+
interface TransactionMetadataPaymentTransaction {
|
|
10134
|
+
readonly 'discriminator': 'payment_transaction';
|
|
10135
|
+
readonly 'key'?: string;
|
|
10136
|
+
}
|
|
10137
|
+
|
|
10111
10138
|
interface TransactionMetadataShippingLabel {
|
|
10112
10139
|
readonly 'discriminator': 'shipping_label';
|
|
10113
10140
|
readonly 'request_method'?: io.flow.v0.enums.LabelRequestMethod;
|
|
@@ -10287,11 +10314,6 @@ declare namespace io.flow.v0.models {
|
|
|
10287
10314
|
readonly 'virtual_card_capture': io.flow.v0.models.VirtualCardCapture;
|
|
10288
10315
|
}
|
|
10289
10316
|
|
|
10290
|
-
interface VirtualCardForm {
|
|
10291
|
-
readonly 'limit': io.flow.v0.models.Money;
|
|
10292
|
-
readonly 'attributes'?: Record<string, string>;
|
|
10293
|
-
}
|
|
10294
|
-
|
|
10295
10317
|
interface VirtualCardReference {
|
|
10296
10318
|
readonly 'id': string;
|
|
10297
10319
|
}
|
|
@@ -10526,5 +10548,5 @@ declare namespace io.flow.v0.unions {
|
|
|
10526
10548
|
type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
|
|
10527
10549
|
type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
|
|
10528
10550
|
type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
|
|
10529
|
-
type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataCarrierCharge | io.flow.v0.models.TransactionMetadataManual);
|
|
10551
|
+
type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataCarrierCharge | io.flow.v0.models.TransactionMetadataCarrierFee | io.flow.v0.models.TransactionMetadataManual | io.flow.v0.models.TransactionMetadataPaymentTransaction);
|
|
10530
10552
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.225",
|
|
4
4
|
"description": "Global TypeScript typings for Flow Commerce API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"generate": "apibuilder update && node scripts/generate-index.js"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "237a816e178ccd4501b30aaf454fb6a93392afd9"
|
|
18
18
|
}
|