@flowio/api-types 0.0.210 → 0.0.212

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.
@@ -357,10 +357,18 @@ declare namespace io.flow.billing.csv.v0.models {
357
357
  interface BillingCsvTransactionMetadata {
358
358
  readonly 'channel'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
359
359
  readonly 'shipping_label'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
360
+ readonly 'shipping_label_revenue_share'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
360
361
  readonly 'trueup'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
362
+ readonly 'carrier_charge'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierCharge;
361
363
  readonly 'manual'?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
362
364
  }
363
365
 
366
+ interface BillingCsvTransactionMetadataCarrierCharge {
367
+ readonly 'reason': io.flow.trueup.v0.enums.CarrierChargeReason;
368
+ readonly 'carrier_id': string;
369
+ readonly 'carrier_tracking_number': string;
370
+ }
371
+
364
372
  interface BillingCsvTransactionMetadataChannel {
365
373
  readonly 'method': string;
366
374
  readonly 'card'?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
@@ -375,6 +383,12 @@ declare namespace io.flow.billing.csv.v0.models {
375
383
  readonly 'request_method'?: io.flow.label.v0.enums.LabelRequestMethod;
376
384
  }
377
385
 
386
+ interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
387
+ readonly 'label_id': string;
388
+ readonly 'base_amount'?: number;
389
+ readonly 'percentage'?: number;
390
+ }
391
+
378
392
  interface BillingCsvTransactionMetadataTrueup {
379
393
  readonly 'original': io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
380
394
  }
@@ -4,10 +4,11 @@ declare namespace io.flow.billing.internal.v0.enums {
4
4
  type AdjustmentTransactionType = 'adjustment' | 'reversal';
5
5
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
6
6
  type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
7
- type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'all';
7
+ type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'carrier_charge' | 'all';
8
8
  type BillingStatementBatchFileKey = 'summary';
9
9
  type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
10
- type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'reversal' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label' | 'order' | 'channel_billed' | 'tax' | 'duty' | 'trueup';
10
+ type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'reversal' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label' | 'order' | 'channel_billed' | 'tax' | 'duty' | 'trueup' | 'carrier_charge';
11
+ type CarrierChargeTransactionType = 'adjustment' | 'reversal' | 'charge';
11
12
  type ChannelBilledTransactionType = 'adjustment' | 'reversal' | 'channel_initiated';
12
13
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
13
14
  type DisputeTransactionType = 'adjustment' | 'dispute';
@@ -20,7 +21,7 @@ declare namespace io.flow.billing.internal.v0.enums {
20
21
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
21
22
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
22
23
  type ProcessingTransactionType = 'adjustment' | 'reversal' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
23
- type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
24
+ type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'return_refund' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'refund_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
24
25
  type ResponsibleParty = 'flow' | 'organization';
25
26
  type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
26
27
  type SubscriptionFrequency = 'yearly' | 'monthly';
@@ -315,6 +316,7 @@ declare namespace io.flow.billing.internal.v0.models {
315
316
  readonly 'tax': io.flow.common.v0.models.Price;
316
317
  readonly 'duty': io.flow.common.v0.models.Price;
317
318
  readonly 'trueup': io.flow.common.v0.models.Price;
319
+ readonly 'carrier_charge': io.flow.common.v0.models.Price;
318
320
  readonly 'ending_balance': io.flow.common.v0.models.Price;
319
321
  }
320
322
 
@@ -329,6 +331,19 @@ declare namespace io.flow.billing.internal.v0.models {
329
331
  readonly 'statement'?: io.flow.billing.internal.v0.models.BillingStatementReference;
330
332
  }
331
333
 
334
+ interface CarrierChargeTransaction {
335
+ readonly 'discriminator': 'carrier_charge_transaction';
336
+ readonly 'order': io.flow.billing.internal.v0.models.BillingOrderTransactionOrderReference;
337
+ readonly 'id': string;
338
+ readonly 'type': io.flow.billing.internal.v0.enums.BillingTransactionType;
339
+ readonly 'status': io.flow.billing.internal.v0.enums.BillingTransactionStatus;
340
+ readonly 'posted_at'?: string;
341
+ readonly 'value': io.flow.common.v0.models.Price;
342
+ readonly 'description': string;
343
+ readonly 'statement'?: io.flow.billing.internal.v0.models.BillingStatementReference;
344
+ readonly 'created_at': string;
345
+ }
346
+
332
347
  interface ChannelAccount {
333
348
  readonly 'channel': io.flow.common.v0.models.ChannelReference;
334
349
  readonly 'id': string;
@@ -1035,5 +1050,5 @@ declare namespace io.flow.billing.internal.v0.unions {
1035
1050
  type PlatformFee = (io.flow.billing.internal.v0.models.PlatformFeePause | io.flow.billing.internal.v0.models.PlatformFeeFlat | io.flow.billing.internal.v0.models.PlatformFeePercentage | io.flow.billing.internal.v0.models.PlatformFeeDisabled);
1036
1051
  type ProofOfPosting = (io.flow.billing.internal.v0.models.ProofOfPostingFulfilled | io.flow.billing.internal.v0.models.ProofOfPostingExternallyFulfilled | io.flow.billing.internal.v0.models.ProofOfPostingShippingNotification | io.flow.billing.internal.v0.models.ProofOfPostingOrderCancellation | io.flow.billing.internal.v0.models.ProofOfPostingOrderCombinedShipment);
1037
1052
  type SpotRateMetadata = (io.flow.billing.internal.v0.models.SpotRateMetadataIdentity | io.flow.billing.internal.v0.models.SpotRateMetadataRate);
1038
- type Transaction = (io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction | io.flow.billing.internal.v0.models.DisputeTransaction | io.flow.billing.internal.v0.models.ChannelTransaction | io.flow.billing.internal.v0.models.LabelTransaction | io.flow.billing.internal.v0.models.OrderTransaction | io.flow.billing.internal.v0.models.ChannelBilledTransaction | io.flow.billing.internal.v0.models.TaxTransaction | io.flow.billing.internal.v0.models.DutyTransaction | io.flow.billing.internal.v0.models.TrueupTransaction);
1053
+ type Transaction = (io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction | io.flow.billing.internal.v0.models.DisputeTransaction | io.flow.billing.internal.v0.models.ChannelTransaction | io.flow.billing.internal.v0.models.LabelTransaction | io.flow.billing.internal.v0.models.OrderTransaction | io.flow.billing.internal.v0.models.ChannelBilledTransaction | io.flow.billing.internal.v0.models.TaxTransaction | io.flow.billing.internal.v0.models.DutyTransaction | io.flow.billing.internal.v0.models.TrueupTransaction | io.flow.billing.internal.v0.models.CarrierChargeTransaction);
1039
1054
  }
@@ -1,294 +1,36 @@
1
- declare namespace io.flow.billing.reporting.csv.v0.enums {
2
- type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none';
3
- }
4
-
5
1
  declare namespace io.flow.billing.reporting.csv.v0.models {
6
- interface FulfillmentShopperBreakdown {
7
- readonly 'shipping': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8
- readonly 'fees': io.flow.billing.reporting.csv.v0.models.ReportingShopperFees;
9
- readonly 'product': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10
- readonly 'subtotal': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
11
- readonly 'tax': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
12
- readonly 'duty': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
13
- readonly 'discount': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
14
- readonly 'total': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
15
- }
16
-
17
- interface MarkedAsFinal {
18
- readonly 'products': boolean;
19
- readonly 'shipping': boolean;
20
- }
21
-
22
- interface RefundRecord {
23
- readonly 'billing_entity': string;
24
- readonly 'order_id': string;
25
- readonly 'order_refund_id': string;
26
- readonly 'refund_created_at_date': string;
27
- readonly 'reconciliation_date': string;
28
- readonly 'reconciliation_month': number;
29
- readonly 'reconciliation_year': number;
30
- readonly 'order_created_at_date': string;
31
- readonly 'order_status': string;
32
- readonly 'b2b_sale': boolean;
33
- readonly 'a_zero_vat_product_exists': boolean;
34
- readonly 'payment_merchant_reference'?: string;
35
- readonly 'merchant_reference'?: string;
36
- readonly 'merchant_id': string;
37
- readonly 'merchant_name': string;
38
- readonly 'destination_country': string;
39
- readonly 'shopper_country_is_eu': boolean;
40
- readonly 'order_refund_reason_name': string;
41
- readonly 'order_refund_status_name': string;
42
- readonly 'original_ccy': string;
43
- readonly 'transaction_ccy': string;
44
- readonly 'total_refund_amount_exc_vat_in_transaction_ccy'?: number;
45
- readonly 'refund_vat_in_transaction_ccy'?: number;
46
- readonly 'total_refund_amount_inc_vat_in_transaction_ccy'?: number;
47
- readonly 'merchant_total_products_refund_amount_exc_vat_in_original_ccy': number;
48
- readonly 'merchant_shipping_refund_amount_exc_vat_in_transaction_ccy'?: number;
49
- readonly 'merchant_shipping_refund_amount_exc_vat_in_original_ccy': number;
50
- readonly 'total_refund_amount_exc_tax_collected_in_shopper_ccy'?: number;
51
- readonly 'tax_collected_amount_in_shopper_ccy': number;
52
- readonly 'total_refund_amount_inc_tax_collected_in_shopper_ccy'?: number;
53
- readonly 'payment_gateway': string;
54
- readonly 'min_product_customer_vat_rate'?: number;
55
- readonly 'is_virtual_order': boolean;
56
- readonly 'is_mixed_virtual_order': boolean;
57
- readonly 'total_refund_amount_exc_tax_collected_in_usd': number;
58
- readonly 'tax_collected_amount_in_usd': number;
59
- readonly 'total_refund_amount_inc_tax_collected_in_usd': number;
60
- readonly 'total_refund_amount_exc_tax_collected_in_eur': number;
61
- readonly 'tax_collected_amount_in_eur': number;
62
- readonly 'total_refund_amount_inc_tax_collected_in_eur': number;
63
- readonly 'is_wyol_order': boolean;
64
- readonly 'is_duties_guaranteed': boolean;
65
- readonly 'invoice_id'?: string;
66
- readonly 'total_refund_amount_exc_vat_in_entity_ccy': number;
67
- readonly 'refund_vat_in_entity_ccy': number;
68
- readonly 'total_refund_amount_inc_vat_in_entity_ccy': number;
69
- readonly 'merchant_total_products_refund_amount_exc_vat_in_entity_ccy': number;
70
- readonly 'merchant_shipping_refund_amount_exc_vat_in_entity_ccy': number;
71
- readonly 'merchant_duties_and_taxes_refund_amount_in_entity_ccy': number;
72
- readonly 'merchant_service_gesture_amount_exc_vat_in_entity_ccy': number;
73
- readonly 'customer_prepaid_refund_amount_exc_vat_in_entity_ccy': number;
74
- readonly 'total_refund_amount_exc_tax_collected_in_entity_ccy': number;
75
- readonly 'tax_collected_amount_in_entity_ccy': number;
76
- readonly 'total_refund_amount_inc_tax_collected_in_entity_ccy': number;
77
- readonly 'conversion_rate_transaction_to_entity_ccy': number;
78
- readonly 'merchant_order_id': string;
79
- readonly 'transaction_date': string;
80
- readonly 'debug_console_order_link': string;
81
- }
82
-
83
- interface ReportingAuthorizationReference {
84
- readonly 'id': string;
85
- }
86
-
87
- interface ReportingBusiness {
88
- readonly 'vat_registration_number': string;
89
- readonly 'name'?: string;
90
- }
91
-
92
- interface ReportingConversionRates {
93
- readonly 'merchant': number;
94
- readonly 'entity': number;
95
- readonly 'usd': number;
96
- readonly 'eur': number;
97
- }
98
-
99
- interface ReportingCountry {
100
- readonly 'code': string;
101
- readonly 'is_eu': boolean;
102
- }
103
-
104
- interface ReportingCurrencies {
105
- readonly 'transaction': string;
106
- readonly 'merchant': string;
107
- readonly 'entity': string;
108
- }
109
-
110
- interface ReportingDebug {
111
- readonly 'console_order_link': string;
112
- readonly 'allocation_order_totals_delta'?: number;
113
- readonly 'allocation_order_item_discount_delta'?: number;
114
- readonly 'missing_item_subsidies'?: io.flow.billing.reporting.csv.v0.models.ReportingDebugMissingSubsidies;
115
- readonly 'missing_shipping_subsidies'?: io.flow.billing.reporting.csv.v0.models.ReportingDebugMissingSubsidies;
116
- }
117
-
118
- interface ReportingDebugMissingSubsidies {
119
- readonly 'price'?: boolean;
120
- readonly 'tax'?: boolean;
121
- readonly 'duty'?: boolean;
122
- }
123
-
124
- interface ReportingDestination {
125
- readonly 'country': io.flow.billing.reporting.csv.v0.models.ReportingCountry;
126
- readonly 'province'?: io.flow.billing.reporting.csv.v0.models.ReportingProvince;
127
- }
128
-
129
- interface ReportingEntity {
130
- readonly 'id': string;
131
- }
132
-
133
2
  interface ReportingFulfillment {
134
3
  readonly 'id': string;
135
4
  readonly 'sequence_number': number;
136
5
  readonly 'fulfilled_at': string;
137
6
  readonly 'completes_order': boolean;
138
- readonly 'payment': io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentPayment;
139
- readonly 'value': io.flow.billing.reporting.csv.v0.models.FulfillmentShopperBreakdown;
140
- readonly 'dispatch_country'?: io.flow.billing.reporting.csv.v0.models.ReportingCountry;
141
- readonly 'destination': io.flow.billing.reporting.csv.v0.models.ReportingDestination;
7
+ readonly 'payment': io.flow.billing.reporting.v0.models.ReportingPayment;
8
+ readonly 'value': io.flow.billing.reporting.v0.models.FulfillmentShopperBreakdown;
9
+ readonly 'dispatch_country'?: io.flow.billing.reporting.v0.models.ReportingCountry;
10
+ readonly 'destination': io.flow.billing.reporting.v0.models.ReportingDestination;
142
11
  readonly 'carrier'?: string;
143
- readonly 'is': io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentIs;
144
- readonly 'has': io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentHas;
145
- readonly 'fx': io.flow.billing.reporting.csv.v0.models.ReportingFx;
146
- readonly 'business'?: io.flow.billing.reporting.csv.v0.models.ReportingBusiness;
147
- }
148
-
149
- interface ReportingFulfillmentHas {
150
- readonly 'zero_vat_product': boolean;
151
- }
152
-
153
- interface ReportingFulfillmentIs {
154
- readonly 'replacement': boolean;
155
- readonly 'virtual': io.flow.billing.reporting.csv.v0.enums.ReportingFulfillmentIsVirtual;
156
- readonly 'duties_guaranteed': boolean;
157
- readonly 'wyol': boolean;
158
- readonly 'b2b': boolean;
159
- readonly 'domestic': boolean;
160
- }
161
-
162
- interface ReportingFulfillmentPayment {
163
- readonly 'metadata'?: io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentPaymentMetadata;
164
- readonly 'psp': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
165
- readonly 'credit': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
166
- readonly 'total': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
167
- }
168
-
169
- interface ReportingFulfillmentPaymentMetadata {
170
- readonly 'gateway': io.flow.payment.internal.v0.enums.Processor;
171
- readonly 'method': string;
172
- readonly 'psp_reference'?: string;
173
- readonly 'authorization'?: io.flow.billing.reporting.csv.v0.models.ReportingAuthorizationReference;
174
- readonly 'settlement_date': string;
175
- readonly 'additional_authorizations'?: io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentPaymentMetadataAdditionalAuthorizations;
176
- }
177
-
178
- interface ReportingFulfillmentPaymentMetadataAdditionalAuthorizations {
179
- readonly 'ids': string;
180
- }
181
-
182
- interface ReportingFx {
183
- readonly 'shipping': io.flow.billing.reporting.csv.v0.models.ReportingUsd;
184
- readonly 'fees': io.flow.billing.reporting.csv.v0.models.ReportingUsd;
185
- readonly 'product': io.flow.billing.reporting.csv.v0.models.ReportingUsd;
186
- readonly 'tax': io.flow.billing.reporting.csv.v0.models.ReportingUsd;
187
- readonly 'duty': io.flow.billing.reporting.csv.v0.models.ReportingUsd;
188
- readonly 'total': io.flow.billing.reporting.csv.v0.models.ReportingUsd;
189
- }
190
-
191
- interface ReportingMerchantFees {
192
- readonly 'duty_guarantee': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
193
- readonly 'mor': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
194
- readonly 'fraud': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
195
- readonly 'fx': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
196
- readonly 'processing': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
197
- readonly 'rate_lock': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
198
- readonly 'transfer': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
199
- }
200
-
201
- interface ReportingMerchantSubsidies {
202
- readonly 'shipping': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
203
- readonly 'tax': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
204
- readonly 'duty': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
205
- readonly 'ccf': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
206
- }
207
-
208
- interface ReportingMerchantTransactions {
209
- readonly 'adjustment': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
210
- readonly 'reversal': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
211
- readonly 'tax': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
212
- readonly 'duty': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
213
- readonly 'freight': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
214
- }
215
-
216
- interface ReportingMonetaryValue {
217
- readonly 'transaction': number;
218
- readonly 'merchant': number;
219
- readonly 'entity': number;
220
- readonly 'usd': number;
221
- readonly 'eur': number;
222
- }
223
-
224
- interface ReportingOrderSummary {
225
- readonly 'id': string;
226
- readonly 'number': string;
227
- readonly 'submitted_at': string;
228
- }
229
-
230
- interface ReportingOrganizationSummary {
231
- readonly 'id': string;
232
- readonly 'name': string;
233
- }
234
-
235
- interface ReportingProvince {
236
- readonly 'code'?: string;
237
- readonly 'name': string;
238
- }
239
-
240
- interface ReportingReconciliation {
241
- readonly 'date': string;
242
- readonly 'month': number;
243
- readonly 'year': number;
244
- }
245
-
246
- interface ReportingShopperFees {
247
- readonly 'fuel': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
248
- readonly 'remote_area': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
249
- readonly 'oversize': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
250
- readonly 'ccf': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
251
- readonly 'emergency': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
252
- readonly 'peak': io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
253
- }
254
-
255
- interface ReportingUsd {
256
- readonly 'usd': number;
257
- }
258
-
259
- interface ReportingVatRemittance {
260
- readonly 'currency': string;
261
- readonly 'rate': io.flow.billing.reporting.csv.v0.models.ReportingVatRemittanceRate;
262
- }
263
-
264
- interface ReportingVatRemittanceRate {
265
- readonly 'entity': number;
266
- }
267
-
268
- interface ReportingVendor {
269
- readonly 'id': string;
12
+ readonly 'is': io.flow.billing.reporting.v0.models.ReportingFulfillmentIs;
13
+ readonly 'has': io.flow.billing.reporting.v0.models.ReportingFulfillmentHas;
14
+ readonly 'fx': io.flow.billing.reporting.v0.models.ReportingFx;
15
+ readonly 'business'?: io.flow.billing.reporting.v0.models.ReportingBusiness;
270
16
  }
271
17
 
272
18
  interface SalesRecord {
273
19
  readonly 'id': string;
274
- readonly 'parent'?: io.flow.billing.reporting.csv.v0.models.SalesRecordReference;
275
- readonly 'merchant': io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
276
- readonly 'order': io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
277
- readonly 'entity': io.flow.billing.reporting.csv.v0.models.ReportingEntity;
278
- readonly 'vendor': io.flow.billing.reporting.csv.v0.models.ReportingVendor;
279
- readonly 'currencies': io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
280
- readonly 'conversion_rate': io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
20
+ readonly 'parent'?: io.flow.billing.reporting.v0.models.RecordReference;
21
+ readonly 'merchant': io.flow.billing.reporting.v0.models.ReportingOrganizationSummary;
22
+ readonly 'order': io.flow.billing.reporting.v0.models.ReportingOrderSummary;
23
+ readonly 'entity': io.flow.billing.reporting.v0.models.ReportingEntity;
24
+ readonly 'vendor': io.flow.billing.reporting.v0.models.ReportingVendor;
25
+ readonly 'currencies': io.flow.billing.reporting.v0.models.ReportingCurrencies;
26
+ readonly 'conversion_rate': io.flow.billing.reporting.v0.models.ReportingConversionRates;
27
+ readonly 'reconciliation': io.flow.billing.reporting.v0.models.ReportingReconciliation;
28
+ readonly 'merchant_subsidies': io.flow.billing.reporting.v0.models.ReportingMerchantSubsidies;
29
+ readonly 'merchant_fees': io.flow.billing.reporting.v0.models.ReportingMerchantFees;
30
+ readonly 'merchant_transactions': io.flow.billing.reporting.v0.models.ReportingMerchantTransactions;
31
+ readonly 'debug': io.flow.billing.reporting.v0.models.ReportingDebug;
281
32
  readonly 'fulfillment': io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
282
- readonly 'reconciliation': io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
283
- readonly 'marked_as_final': io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
284
- readonly 'merchant_subsidies': io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
285
- readonly 'merchant_fees': io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
286
- readonly 'merchant_transactions': io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
287
- readonly 'vat_remittance': io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
288
- readonly 'debug': io.flow.billing.reporting.csv.v0.models.ReportingDebug;
289
- }
290
-
291
- interface SalesRecordReference {
292
- readonly 'id': string;
33
+ readonly 'vat_remittance': io.flow.billing.reporting.v0.models.ReportingVatRemittance;
34
+ readonly 'marked_as_final': io.flow.billing.reporting.v0.models.MarkedAsFinal;
293
35
  }
294
36
  }