@flowio/api-internal-prop-types 9.24.95 → 9.24.96

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "9.24.95",
3
+ "version": "9.24.96",
4
4
  "description": "PropType validators that work with internal Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -30,5 +30,5 @@
30
30
  "peerDependencies": {
31
31
  "prop-types": "^15.7.0"
32
32
  },
33
- "gitHead": "25d6ba675365a3fb318abcc4bc935dd549089238"
33
+ "gitHead": "e2172791ebb0708545e2d68100656b52120f50e4"
34
34
  }
@@ -3061,7 +3061,7 @@ declare namespace io.flow.stripe.v0.models {
3061
3061
  readonly 'currency': string;
3062
3062
  readonly 'evidence': any/*object*/;
3063
3063
  readonly 'metadata': Record<string, string>;
3064
- readonly 'payment_intent': string;
3064
+ readonly 'payment_intent'?: string;
3065
3065
  readonly 'reason': io.flow.stripe.v0.enums.DisputeReason;
3066
3066
  readonly 'status': io.flow.stripe.v0.enums.DisputeStatus;
3067
3067
  readonly 'object': string;
@@ -3089,7 +3089,7 @@ declare namespace io.flow.stripe.v0.models {
3089
3089
 
3090
3090
  interface DisputePaymentMethodDetailsCard {
3091
3091
  readonly 'brand': string;
3092
- readonly 'case_type': io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
3092
+ readonly 'case_type'?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
3093
3093
  readonly 'network_reason_code'?: string;
3094
3094
  }
3095
3095
 
@@ -8301,6 +8301,8 @@ declare namespace io.flow.billing.reporting.v0.models {
8301
8301
  readonly 'combined_shipment'?: boolean;
8302
8302
  readonly 'order_cancelled'?: boolean;
8303
8303
  readonly 'lvg'?: boolean;
8304
+ readonly 'tax_inclusive'?: boolean;
8305
+ readonly 'duty_inclusive'?: boolean;
8304
8306
  }
8305
8307
 
8306
8308
  interface ReportingFx {
@@ -16233,7 +16235,7 @@ declare namespace io.flow.internal.v0.enums {
16233
16235
  type BankPaymentPromiseCompletedMethod = 'credit' | 'time';
16234
16236
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
16235
16237
  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';
16236
- type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_reconcile_payments_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_transactions_succeeded_then_failed_count' | 'capture_transactions_succeeded_then_failed_total' | 'capture_transactions_succeeded_then_failed_same_day_count' | 'capture_transactions_succeeded_then_failed_same_day_total' | 'capture_queued_count' | 'capture_transactions_total' | 'carrier_charge_transactions_count' | 'carrier_charge_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_to_labels_ratio' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_count_with_revenue_share' | 'billable_label_transactions_count_without_revenue_share' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_reconcile_payments_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_queued_count' | 'refund_transactions_total' | 'refund_transactions_succeeded_then_failed_count' | 'refund_transactions_succeeded_then_failed_total' | 'refund_transactions_succeeded_then_failed_same_day_count' | 'refund_transactions_succeeded_then_failed_same_day_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_to_labels_ratio' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'task_snooze_count' | 'task_snooze_ending_in_48_hours_count' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count' | 'percentage_billable_label_transactions_with_carrier_charge_10_days' | 'percentage_billable_label_transactions_with_carrier_charge_20_days' | 'percentage_billable_label_transactions_with_carrier_charge_30_days' | 'percentage_billable_label_transactions_with_carrier_charge_60_days' | 'percentage_billable_label_transactions_with_carrier_charge_90_days' | 'percentage_bank_account_inserts' | 'percentage_bank_account_updates' | 'percentage_bank_account_unique_updates' | 'percentage_bank_account_deletes' | 'negative_balance_number_accounts' | 'negative_balance_number_accounts_with_order_in_past_30_days' | 'negative_balance_number_accounts_without_order_in_past_30_days' | 'negative_balance_total' | 'negative_balance_total_with_order_in_past_30_days' | 'negative_balance_total_without_order_in_past_30_days' | 'negative_balance_single_account_max' | 'negative_balance_fee_total' | 'accounts_with_payment_holds_count' | 'accounts_with_payment_holds_pending_payment_promise_count' | 'accounts_with_payment_holds_pending_payment_promise_total' | 'accounts_with_final_statements_count' | 'accounts_with_final_statements_pending_transaction_count' | 'accounts_with_final_statements_pending_transaction_total' | 'edited_order_tax_amount_exceeding_transaction' | 'edited_order_duty_amount_exceeding_transaction';
16238
+ type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_reconcile_payments_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_transactions_succeeded_then_failed_count' | 'capture_transactions_succeeded_then_failed_total' | 'capture_transactions_succeeded_then_failed_same_day_count' | 'capture_transactions_succeeded_then_failed_same_day_total' | 'capture_queued_count' | 'capture_transactions_total' | 'carrier_charge_transactions_count' | 'carrier_charge_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_to_labels_ratio' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_count_with_revenue_share' | 'billable_label_transactions_count_without_revenue_share' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_reconcile_payments_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_queued_count' | 'refund_transactions_total' | 'refund_transactions_succeeded_then_failed_count' | 'refund_transactions_succeeded_then_failed_total' | 'refund_transactions_succeeded_then_failed_same_day_count' | 'refund_transactions_succeeded_then_failed_same_day_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_to_labels_ratio' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'task_snooze_count' | 'task_snooze_ending_in_48_hours_count' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count' | 'percentage_billable_label_transactions_with_carrier_charge_10_days' | 'percentage_billable_label_transactions_with_carrier_charge_20_days' | 'percentage_billable_label_transactions_with_carrier_charge_30_days' | 'percentage_billable_label_transactions_with_carrier_charge_60_days' | 'percentage_billable_label_transactions_with_carrier_charge_90_days' | 'percentage_bank_account_inserts' | 'percentage_bank_account_updates' | 'percentage_bank_account_unique_updates' | 'percentage_bank_account_deletes' | 'negative_balance_number_accounts' | 'negative_balance_number_accounts_with_order_in_past_30_days' | 'negative_balance_number_accounts_without_order_in_past_30_days' | 'negative_balance_number_active_accounts_with_balance_over_1000' | 'negative_balance_total' | 'negative_balance_total_with_order_in_past_30_days' | 'negative_balance_total_without_order_in_past_30_days' | 'negative_balance_single_account_max' | 'negative_balance_single_active_account_max' | 'negative_balance_fee_total' | 'accounts_with_payment_holds_count' | 'accounts_with_payment_holds_pending_payment_promise_count' | 'accounts_with_payment_holds_pending_payment_promise_total' | 'accounts_with_final_statements_count' | 'accounts_with_final_statements_pending_transaction_count' | 'accounts_with_final_statements_pending_transaction_total' | 'edited_order_tax_amount_exceeding_transaction' | 'edited_order_duty_amount_exceeding_transaction';
16237
16239
  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';
16238
16240
  type BillingTransactionStatus = 'pending_proof' | 'posted';
16239
16241
  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';
@@ -2690,6 +2690,8 @@ T['io.flow.billing.reporting.v0.models.reporting_fulfillment_is'] = PropTypes.ex
2690
2690
  combined_shipment: PropTypes.bool,
2691
2691
  order_cancelled: PropTypes.bool,
2692
2692
  lvg: PropTypes.bool,
2693
+ tax_inclusive: PropTypes.bool,
2694
+ duty_inclusive: PropTypes.bool,
2693
2695
  });
2694
2696
 
2695
2697
  T['io.flow.billing.reporting.v0.models.reporting_refund_reference'] = PropTypes.exact({
@@ -6566,7 +6568,7 @@ T['io.flow.stripe.v0.models.dispute_payment_method_details_klarna'] = PropTypes.
6566
6568
 
6567
6569
  T['io.flow.stripe.v0.models.dispute_payment_method_details_card'] = PropTypes.exact({
6568
6570
  brand: PropTypes.string.isRequired,
6569
- case_type: T['io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type'].isRequired,
6571
+ case_type: T['io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type'],
6570
6572
  network_reason_code: PropTypes.string,
6571
6573
  });
6572
6574
 
@@ -6618,7 +6620,7 @@ T['io.flow.stripe.v0.models.dispute'] = PropTypes.exact({
6618
6620
  currency: PropTypes.string.isRequired,
6619
6621
  evidence: PropTypes.object.isRequired,
6620
6622
  metadata: PropTypes.objectOf(PropTypes.string).isRequired,
6621
- payment_intent: PropTypes.string.isRequired,
6623
+ payment_intent: PropTypes.string,
6622
6624
  reason: T['io.flow.stripe.v0.enums.dispute_reason'].isRequired,
6623
6625
  status: T['io.flow.stripe.v0.enums.dispute_status'].isRequired,
6624
6626
  object: PropTypes.string.isRequired,
@@ -17070,10 +17072,12 @@ T['io.flow.internal.v0.enums.billing_metric_key'] = PropTypes.oneOf([
17070
17072
  'negative_balance_number_accounts',
17071
17073
  'negative_balance_number_accounts_with_order_in_past_30_days',
17072
17074
  'negative_balance_number_accounts_without_order_in_past_30_days',
17075
+ 'negative_balance_number_active_accounts_with_balance_over_1000',
17073
17076
  'negative_balance_total',
17074
17077
  'negative_balance_total_with_order_in_past_30_days',
17075
17078
  'negative_balance_total_without_order_in_past_30_days',
17076
17079
  'negative_balance_single_account_max',
17080
+ 'negative_balance_single_active_account_max',
17077
17081
  'negative_balance_fee_total',
17078
17082
  'accounts_with_payment_holds_count',
17079
17083
  'accounts_with_payment_holds_pending_payment_promise_count',