@flowio/types 11.24.12 → 11.24.13

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.
@@ -7764,6 +7764,12 @@ declare namespace io.flow.token.v0.models {
7764
7764
  interface TokenPartnerReference {
7765
7765
  readonly id: string;
7766
7766
  }
7767
+ interface TokenRbacAuthenticationForm {
7768
+ readonly token: string;
7769
+ readonly method: string;
7770
+ readonly path_pattern: string;
7771
+ readonly path: string;
7772
+ }
7767
7773
  interface TokenValidation {
7768
7774
  readonly status: string;
7769
7775
  }
@@ -9881,6 +9887,7 @@ declare namespace io.flow.internal.v0.enums {
9881
9887
  type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'exempt';
9882
9888
  type ItemQuantityAction = 'fulfillment_ship' | 'fulfillment_cancel' | 'fulfillment_generate_label';
9883
9889
  type ItemType = 'standard' | 'multi_product';
9890
+ type KeywordType = 'positive' | 'negative';
9884
9891
  type LabelBillingStrategy = 'quote' | 'carrier';
9885
9892
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
9886
9893
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
@@ -16722,6 +16729,15 @@ declare namespace io.flow.internal.v0.models {
16722
16729
  readonly timestamp: string;
16723
16730
  readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
16724
16731
  }
16732
+ interface OrganizationCatalogRestrictionSummary {
16733
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
16734
+ readonly earliest_date: string;
16735
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
16736
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
16737
+ readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16738
+ readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16739
+ readonly total: number;
16740
+ }
16725
16741
  interface OrganizationCurrencySetting {
16726
16742
  readonly id: string;
16727
16743
  readonly organization: string;
@@ -16792,7 +16808,10 @@ declare namespace io.flow.internal.v0.models {
16792
16808
  interface OrganizationRestrictionSummary {
16793
16809
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
16794
16810
  readonly earliest_date: string;
16795
- readonly pending: io.flow.internal.v0.models.RestrictionPending[];
16811
+ readonly pending?: io.flow.internal.v0.models.RestrictionPending[];
16812
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
16813
+ readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16814
+ readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16796
16815
  readonly total: number;
16797
16816
  }
16798
16817
  interface OrganizationSettings {
@@ -17659,28 +17678,55 @@ declare namespace io.flow.internal.v0.models {
17659
17678
  readonly ignore_classification_status: boolean;
17660
17679
  readonly select_mismatching_item_types: boolean;
17661
17680
  }
17681
+ interface RestrictionCatalogItem {
17682
+ readonly id: string;
17683
+ readonly organization_id: string;
17684
+ readonly product_id: string;
17685
+ readonly name: string;
17686
+ readonly price: io.flow.common.v0.models.Price;
17687
+ readonly item_numbers: string[];
17688
+ readonly description: string;
17689
+ readonly categories: string[];
17690
+ readonly images: io.flow.catalog.v0.models.Image[];
17691
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
17692
+ readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[];
17693
+ readonly created_at: string;
17694
+ readonly updated_at: string;
17695
+ }
17662
17696
  interface RestrictionItem {
17663
17697
  readonly id: string;
17664
17698
  readonly organization_id: string;
17699
+ readonly catalog_item_id: string;
17665
17700
  readonly product_id: string;
17666
17701
  readonly name: string;
17702
+ readonly price: io.flow.common.v0.models.Price;
17667
17703
  readonly description: string;
17668
17704
  readonly categories: string[];
17669
17705
  readonly images: io.flow.catalog.v0.models.Image[];
17670
17706
  readonly thumbnails: io.flow.catalog.v0.models.Image[];
17671
17707
  readonly review: io.flow.internal.v0.models.RestrictionItemReview;
17708
+ readonly created_at: string;
17672
17709
  readonly updated_at: string;
17673
17710
  }
17674
17711
  interface RestrictionItemReview {
17712
+ readonly id: string;
17675
17713
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17676
17714
  readonly status: io.flow.internal.v0.enums.RestrictionStatus;
17677
17715
  readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
17678
17716
  readonly date?: string;
17717
+ readonly updated_by?: io.flow.common.v0.models.User;
17718
+ readonly created_at: string;
17719
+ readonly updated_at: string;
17679
17720
  }
17680
17721
  interface RestrictionItemReviewDecisionForm {
17681
17722
  readonly restriction_item_id: string;
17682
17723
  readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
17683
17724
  }
17725
+ interface RestrictionKeywordMetadata {
17726
+ readonly keyword: string;
17727
+ readonly type: io.flow.internal.v0.enums.KeywordType;
17728
+ readonly count: number;
17729
+ }
17684
17730
  interface RestrictionKeywords {
17685
17731
  readonly positive_keywords: string[];
17686
17732
  readonly negative_keywords: string[];
@@ -17706,11 +17752,19 @@ declare namespace io.flow.internal.v0.models {
17706
17752
  readonly positive_keywords: string[];
17707
17753
  readonly negative_keywords: string[];
17708
17754
  }
17755
+ interface RestrictionRuleMetadata {
17756
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17757
+ readonly count: number;
17758
+ }
17709
17759
  interface RestrictionRuleSummary {
17710
17760
  readonly id: string;
17711
17761
  readonly name: string;
17712
17762
  readonly description: string;
17713
17763
  }
17764
+ interface RestrictionStatusMetadata {
17765
+ readonly status?: io.flow.internal.v0.enums.RestrictionStatus;
17766
+ readonly count: number;
17767
+ }
17714
17768
  interface ResyncByDestinations {
17715
17769
  readonly destinations: io.flow.reference.v0.models.Country[];
17716
17770
  }
@@ -20409,6 +20463,7 @@ export declare type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
20409
20463
  export declare type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
20410
20464
  export declare type Key = io.flow.internal.v0.models.Key;
20411
20465
  export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
20466
+ export declare type KeywordType = io.flow.internal.v0.enums.KeywordType;
20412
20467
  export declare type KlarnaAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
20413
20468
  export declare type KlarnaPaymentMethodCategory = io.flow.internal.v0.models.KlarnaPaymentMethodCategory;
20414
20469
  export declare type LabProjectSettings = io.flow.internal.v0.models.LabProjectSettings;
@@ -20603,6 +20658,7 @@ export declare type OrganizationBooleanValue = io.flow.internal.v0.models.Organi
20603
20658
  export declare type OrganizationBooleanValueDeleted = io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
20604
20659
  export declare type OrganizationBooleanValueUpserted = io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
20605
20660
  export declare type OrganizationCapability = io.flow.internal.v0.enums.OrganizationCapability;
20661
+ export declare type OrganizationCatalogRestrictionSummary = io.flow.internal.v0.models.OrganizationCatalogRestrictionSummary;
20606
20662
  export declare type OrganizationCurrencySetting = io.flow.internal.v0.models.OrganizationCurrencySetting;
20607
20663
  export declare type OrganizationCurrencySettingDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingDeleted;
20608
20664
  export declare type OrganizationCurrencySettingForm = io.flow.internal.v0.models.OrganizationCurrencySettingForm;
@@ -20774,16 +20830,20 @@ export declare type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
20774
20830
  export declare type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
20775
20831
  export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
20776
20832
  export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
20833
+ export declare type RestrictionCatalogItem = io.flow.internal.v0.models.RestrictionCatalogItem;
20777
20834
  export declare type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
20778
20835
  export declare type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
20779
20836
  export declare type RestrictionItemReview = io.flow.internal.v0.models.RestrictionItemReview;
20780
20837
  export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
20838
+ export declare type RestrictionKeywordMetadata = io.flow.internal.v0.models.RestrictionKeywordMetadata;
20781
20839
  export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
20782
20840
  export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
20783
20841
  export declare type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
20784
20842
  export declare type RestrictionRuleForm = io.flow.internal.v0.models.RestrictionRuleForm;
20843
+ export declare type RestrictionRuleMetadata = io.flow.internal.v0.models.RestrictionRuleMetadata;
20785
20844
  export declare type RestrictionRuleSummary = io.flow.internal.v0.models.RestrictionRuleSummary;
20786
20845
  export declare type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
20846
+ export declare type RestrictionStatusMetadata = io.flow.internal.v0.models.RestrictionStatusMetadata;
20787
20847
  export declare type ResyncByDestinations = io.flow.internal.v0.models.ResyncByDestinations;
20788
20848
  export declare type ResyncByHs6Destinations = io.flow.internal.v0.models.ResyncByHs6Destinations;
20789
20849
  export declare type ResyncByHs6Origin = io.flow.internal.v0.models.ResyncByHs6Origin;
package/dist/api.d.ts CHANGED
@@ -2098,6 +2098,12 @@ declare namespace io.flow.token.v0.models {
2098
2098
  interface TokenPartnerReference {
2099
2099
  readonly id: string;
2100
2100
  }
2101
+ interface TokenRbacAuthenticationForm {
2102
+ readonly token: string;
2103
+ readonly method: string;
2104
+ readonly path_pattern: string;
2105
+ readonly path: string;
2106
+ }
2101
2107
  interface TokenValidation {
2102
2108
  readonly status: string;
2103
2109
  }
@@ -2238,7 +2244,7 @@ declare namespace io.flow.v0.enums {
2238
2244
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
2239
2245
  type EntityIdentifierType = 'ioss' | 'voec';
2240
2246
  type Environment = 'sandbox' | 'production';
2241
- type EventType = 'transaction_upserted' | 'transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
2247
+ type EventType = 'transaction_upserted' | 'transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
2242
2248
  type ExceptionType = 'open' | 'closed';
2243
2249
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
2244
2250
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -9454,6 +9460,20 @@ declare namespace io.flow.v0.models {
9454
9460
  readonly payout?: io.flow.v0.models.Payout;
9455
9461
  readonly attachments: io.flow.v0.models.Attachment[];
9456
9462
  }
9463
+ interface StatementDeleted {
9464
+ readonly discriminator: 'statement_deleted';
9465
+ readonly event_id: string;
9466
+ readonly timestamp: string;
9467
+ readonly organization: string;
9468
+ readonly statement: io.flow.v0.models.Statement;
9469
+ }
9470
+ interface StatementUpserted {
9471
+ readonly discriminator: 'statement_upserted';
9472
+ readonly event_id: string;
9473
+ readonly timestamp: string;
9474
+ readonly organization: string;
9475
+ readonly statement: io.flow.v0.models.Statement;
9476
+ }
9457
9477
  interface StreetAddress {
9458
9478
  readonly streets?: string[];
9459
9479
  readonly city?: string;
@@ -9895,6 +9915,12 @@ declare namespace io.flow.v0.models {
9895
9915
  interface TokenPartnerReference {
9896
9916
  readonly id: string;
9897
9917
  }
9918
+ interface TokenRbacAuthenticationForm {
9919
+ readonly token: string;
9920
+ readonly method: string;
9921
+ readonly path_pattern: string;
9922
+ readonly path: string;
9923
+ }
9898
9924
  interface TokenValidation {
9899
9925
  readonly status: string;
9900
9926
  }
@@ -10276,7 +10302,7 @@ declare namespace io.flow.v0.unions {
10276
10302
  type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
10277
10303
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
10278
10304
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
10279
- type Event = io.flow.v0.models.TransactionUpserted | io.flow.v0.models.TransactionDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
10305
+ type Event = io.flow.v0.models.TransactionUpserted | io.flow.v0.models.TransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
10280
10306
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
10281
10307
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
10282
10308
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -11740,6 +11766,8 @@ export declare type SolidusProductExportType = io.flow.v0.models.SolidusProductE
11740
11766
  export declare type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
11741
11767
  export declare type SortDirection = io.flow.v0.enums.SortDirection;
11742
11768
  export declare type Statement = io.flow.v0.models.Statement;
11769
+ export declare type StatementDeleted = io.flow.v0.models.StatementDeleted;
11770
+ export declare type StatementUpserted = io.flow.v0.models.StatementUpserted;
11743
11771
  export declare type Strategy = io.flow.v0.enums.Strategy;
11744
11772
  export declare type StreetAddress = io.flow.v0.models.StreetAddress;
11745
11773
  export declare type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
@@ -11836,6 +11864,7 @@ export declare type Timezone = io.flow.v0.models.Timezone;
11836
11864
  export declare type Token = io.flow.v0.unions.Token;
11837
11865
  export declare type TokenAuthenticationForm = io.flow.v0.models.TokenAuthenticationForm;
11838
11866
  export declare type TokenPartnerReference = io.flow.v0.models.TokenPartnerReference;
11867
+ export declare type TokenRbacAuthenticationForm = io.flow.v0.models.TokenRbacAuthenticationForm;
11839
11868
  export declare type TokenReference = io.flow.v0.unions.TokenReference;
11840
11869
  export declare type TokenType = io.flow.v0.enums.TokenType;
11841
11870
  export declare type TokenValidation = io.flow.v0.models.TokenValidation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.12",
3
+ "version": "11.24.13",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "56bd64341671c62c52f94f951b60e6a7e0aa1441"
28
+ "gitHead": "61a6018937ed427348e5383966560694bcf4635e"
29
29
  }
@@ -10202,6 +10202,13 @@ declare namespace io.flow.token.v0.models {
10202
10202
  readonly id: string;
10203
10203
  }
10204
10204
 
10205
+ interface TokenRbacAuthenticationForm {
10206
+ readonly token: string;
10207
+ readonly method: string;
10208
+ readonly path_pattern: string;
10209
+ readonly path: string;
10210
+ }
10211
+
10205
10212
  interface TokenValidation {
10206
10213
  readonly status: string;
10207
10214
  }
@@ -13393,6 +13400,7 @@ declare namespace io.flow.internal.v0.enums {
13393
13400
  | 'fulfillment_cancel'
13394
13401
  | 'fulfillment_generate_label';
13395
13402
  type ItemType = 'standard' | 'multi_product';
13403
+ type KeywordType = 'positive' | 'negative';
13396
13404
  type LabelBillingStrategy = 'quote' | 'carrier';
13397
13405
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
13398
13406
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
@@ -21591,6 +21599,16 @@ declare namespace io.flow.internal.v0.models {
21591
21599
  readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
21592
21600
  }
21593
21601
 
21602
+ interface OrganizationCatalogRestrictionSummary {
21603
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
21604
+ readonly earliest_date: string;
21605
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
21606
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
21607
+ readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21608
+ readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21609
+ readonly total: number;
21610
+ }
21611
+
21594
21612
  interface OrganizationCurrencySetting {
21595
21613
  readonly id: string;
21596
21614
  readonly organization: string;
@@ -21672,7 +21690,10 @@ declare namespace io.flow.internal.v0.models {
21672
21690
  interface OrganizationRestrictionSummary {
21673
21691
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21674
21692
  readonly earliest_date: string;
21675
- readonly pending: io.flow.internal.v0.models.RestrictionPending[];
21693
+ readonly pending?: io.flow.internal.v0.models.RestrictionPending[];
21694
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
21695
+ readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21696
+ readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21676
21697
  readonly total: number;
21677
21698
  }
21678
21699
 
@@ -22664,24 +22685,47 @@ declare namespace io.flow.internal.v0.models {
22664
22685
  readonly select_mismatching_item_types: boolean;
22665
22686
  }
22666
22687
 
22688
+ interface RestrictionCatalogItem {
22689
+ readonly id: string;
22690
+ readonly organization_id: string;
22691
+ readonly product_id: string;
22692
+ readonly name: string;
22693
+ readonly price: io.flow.common.v0.models.Price;
22694
+ readonly item_numbers: string[];
22695
+ readonly description: string;
22696
+ readonly categories: string[];
22697
+ readonly images: io.flow.catalog.v0.models.Image[];
22698
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
22699
+ readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[];
22700
+ readonly created_at: string;
22701
+ readonly updated_at: string;
22702
+ }
22703
+
22667
22704
  interface RestrictionItem {
22668
22705
  readonly id: string;
22669
22706
  readonly organization_id: string;
22707
+ readonly catalog_item_id: string;
22670
22708
  readonly product_id: string;
22671
22709
  readonly name: string;
22710
+ readonly price: io.flow.common.v0.models.Price;
22672
22711
  readonly description: string;
22673
22712
  readonly categories: string[];
22674
22713
  readonly images: io.flow.catalog.v0.models.Image[];
22675
22714
  readonly thumbnails: io.flow.catalog.v0.models.Image[];
22676
22715
  readonly review: io.flow.internal.v0.models.RestrictionItemReview;
22716
+ readonly created_at: string;
22677
22717
  readonly updated_at: string;
22678
22718
  }
22679
22719
 
22680
22720
  interface RestrictionItemReview {
22721
+ readonly id: string;
22681
22722
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22682
22723
  readonly status: io.flow.internal.v0.enums.RestrictionStatus;
22683
22724
  readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
22684
22725
  readonly date?: string;
22726
+ readonly updated_by?: io.flow.common.v0.models.User;
22727
+ readonly created_at: string;
22728
+ readonly updated_at: string;
22685
22729
  }
22686
22730
 
22687
22731
  interface RestrictionItemReviewDecisionForm {
@@ -22689,6 +22733,12 @@ declare namespace io.flow.internal.v0.models {
22689
22733
  readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
22690
22734
  }
22691
22735
 
22736
+ interface RestrictionKeywordMetadata {
22737
+ readonly keyword: string;
22738
+ readonly type: io.flow.internal.v0.enums.KeywordType;
22739
+ readonly count: number;
22740
+ }
22741
+
22692
22742
  interface RestrictionKeywords {
22693
22743
  readonly positive_keywords: string[];
22694
22744
  readonly negative_keywords: string[];
@@ -22718,12 +22768,22 @@ declare namespace io.flow.internal.v0.models {
22718
22768
  readonly negative_keywords: string[];
22719
22769
  }
22720
22770
 
22771
+ interface RestrictionRuleMetadata {
22772
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22773
+ readonly count: number;
22774
+ }
22775
+
22721
22776
  interface RestrictionRuleSummary {
22722
22777
  readonly id: string;
22723
22778
  readonly name: string;
22724
22779
  readonly description: string;
22725
22780
  }
22726
22781
 
22782
+ interface RestrictionStatusMetadata {
22783
+ readonly status?: io.flow.internal.v0.enums.RestrictionStatus;
22784
+ readonly count: number;
22785
+ }
22786
+
22727
22787
  interface ResyncByDestinations {
22728
22788
  readonly destinations: io.flow.reference.v0.models.Country[];
22729
22789
  }
@@ -27334,6 +27394,7 @@ export type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
27334
27394
  export type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
27335
27395
  export type Key = io.flow.internal.v0.models.Key;
27336
27396
  export type KeyReference = io.flow.internal.v0.models.KeyReference;
27397
+ export type KeywordType = io.flow.internal.v0.enums.KeywordType;
27337
27398
  export type KlarnaAuthorizationParameters =
27338
27399
  io.flow.internal.v0.models.KlarnaAuthorizationParameters;
27339
27400
  export type KlarnaPaymentMethodCategory =
@@ -27667,6 +27728,8 @@ export type OrganizationBooleanValueUpserted =
27667
27728
  io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
27668
27729
  export type OrganizationCapability =
27669
27730
  io.flow.internal.v0.enums.OrganizationCapability;
27731
+ export type OrganizationCatalogRestrictionSummary =
27732
+ io.flow.internal.v0.models.OrganizationCatalogRestrictionSummary;
27670
27733
  export type OrganizationCurrencySetting =
27671
27734
  io.flow.internal.v0.models.OrganizationCurrencySetting;
27672
27735
  export type OrganizationCurrencySettingDeleted =
@@ -27951,21 +28014,29 @@ export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
27951
28014
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
27952
28015
  export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
27953
28016
  export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
28017
+ export type RestrictionCatalogItem =
28018
+ io.flow.internal.v0.models.RestrictionCatalogItem;
27954
28019
  export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
27955
28020
  export type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
27956
28021
  export type RestrictionItemReview =
27957
28022
  io.flow.internal.v0.models.RestrictionItemReview;
27958
28023
  export type RestrictionItemReviewDecisionForm =
27959
28024
  io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
28025
+ export type RestrictionKeywordMetadata =
28026
+ io.flow.internal.v0.models.RestrictionKeywordMetadata;
27960
28027
  export type RestrictionKeywords =
27961
28028
  io.flow.internal.v0.models.RestrictionKeywords;
27962
28029
  export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
27963
28030
  export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
27964
28031
  export type RestrictionRuleForm =
27965
28032
  io.flow.internal.v0.models.RestrictionRuleForm;
28033
+ export type RestrictionRuleMetadata =
28034
+ io.flow.internal.v0.models.RestrictionRuleMetadata;
27966
28035
  export type RestrictionRuleSummary =
27967
28036
  io.flow.internal.v0.models.RestrictionRuleSummary;
27968
28037
  export type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
28038
+ export type RestrictionStatusMetadata =
28039
+ io.flow.internal.v0.models.RestrictionStatusMetadata;
27969
28040
  export type ResyncByDestinations =
27970
28041
  io.flow.internal.v0.models.ResyncByDestinations;
27971
28042
  export type ResyncByHs6Destinations =
package/src/api.ts CHANGED
@@ -2675,6 +2675,13 @@ declare namespace io.flow.token.v0.models {
2675
2675
  readonly id: string;
2676
2676
  }
2677
2677
 
2678
+ interface TokenRbacAuthenticationForm {
2679
+ readonly token: string;
2680
+ readonly method: string;
2681
+ readonly path_pattern: string;
2682
+ readonly path: string;
2683
+ }
2684
+
2678
2685
  interface TokenValidation {
2679
2686
  readonly status: string;
2680
2687
  }
@@ -3000,6 +3007,8 @@ declare namespace io.flow.v0.enums {
3000
3007
  type EventType =
3001
3008
  | 'transaction_upserted'
3002
3009
  | 'transaction_deleted'
3010
+ | 'statement_upserted'
3011
+ | 'statement_deleted'
3003
3012
  | 'attribute_upserted'
3004
3013
  | 'attribute_deleted'
3005
3014
  | 'attribute_upserted_v2'
@@ -11935,6 +11944,22 @@ declare namespace io.flow.v0.models {
11935
11944
  readonly attachments: io.flow.v0.models.Attachment[];
11936
11945
  }
11937
11946
 
11947
+ interface StatementDeleted {
11948
+ readonly discriminator: 'statement_deleted';
11949
+ readonly event_id: string;
11950
+ readonly timestamp: string;
11951
+ readonly organization: string;
11952
+ readonly statement: io.flow.v0.models.Statement;
11953
+ }
11954
+
11955
+ interface StatementUpserted {
11956
+ readonly discriminator: 'statement_upserted';
11957
+ readonly event_id: string;
11958
+ readonly timestamp: string;
11959
+ readonly organization: string;
11960
+ readonly statement: io.flow.v0.models.Statement;
11961
+ }
11962
+
11938
11963
  interface StreetAddress {
11939
11964
  readonly streets?: string[];
11940
11965
  readonly city?: string;
@@ -12448,6 +12473,13 @@ declare namespace io.flow.v0.models {
12448
12473
  readonly id: string;
12449
12474
  }
12450
12475
 
12476
+ interface TokenRbacAuthenticationForm {
12477
+ readonly token: string;
12478
+ readonly method: string;
12479
+ readonly path_pattern: string;
12480
+ readonly path: string;
12481
+ }
12482
+
12451
12483
  interface TokenValidation {
12452
12484
  readonly status: string;
12453
12485
  }
@@ -12955,6 +12987,8 @@ declare namespace io.flow.v0.unions {
12955
12987
  type Event =
12956
12988
  | io.flow.v0.models.TransactionUpserted
12957
12989
  | io.flow.v0.models.TransactionDeleted
12990
+ | io.flow.v0.models.StatementUpserted
12991
+ | io.flow.v0.models.StatementDeleted
12958
12992
  | io.flow.v0.models.AttributeUpserted
12959
12993
  | io.flow.v0.models.AttributeDeleted
12960
12994
  | io.flow.v0.models.AttributeUpsertedV2
@@ -15154,6 +15188,8 @@ export type SolidusVariantExportType =
15154
15188
  io.flow.v0.models.SolidusVariantExportType;
15155
15189
  export type SortDirection = io.flow.v0.enums.SortDirection;
15156
15190
  export type Statement = io.flow.v0.models.Statement;
15191
+ export type StatementDeleted = io.flow.v0.models.StatementDeleted;
15192
+ export type StatementUpserted = io.flow.v0.models.StatementUpserted;
15157
15193
  export type Strategy = io.flow.v0.enums.Strategy;
15158
15194
  export type StreetAddress = io.flow.v0.models.StreetAddress;
15159
15195
  export type StripeAuthenticationData =
@@ -15269,6 +15305,8 @@ export type Timezone = io.flow.v0.models.Timezone;
15269
15305
  export type Token = io.flow.v0.unions.Token;
15270
15306
  export type TokenAuthenticationForm = io.flow.v0.models.TokenAuthenticationForm;
15271
15307
  export type TokenPartnerReference = io.flow.v0.models.TokenPartnerReference;
15308
+ export type TokenRbacAuthenticationForm =
15309
+ io.flow.v0.models.TokenRbacAuthenticationForm;
15272
15310
  export type TokenReference = io.flow.v0.unions.TokenReference;
15273
15311
  export type TokenType = io.flow.v0.enums.TokenType;
15274
15312
  export type TokenValidation = io.flow.v0.models.TokenValidation;