@flowio/types 0.0.6 → 0.0.8

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.
@@ -1771,8 +1771,8 @@ declare namespace io.flow.shopify.external.v0.models {
1771
1771
  }
1772
1772
  interface ShopifyInventoryItem {
1773
1773
  readonly id: number;
1774
- readonly sku: string;
1775
1774
  readonly tracked: boolean;
1775
+ readonly sku?: string;
1776
1776
  readonly cost?: string;
1777
1777
  readonly country_code_of_origin?: string;
1778
1778
  readonly created_at: string;
@@ -8572,7 +8572,7 @@ declare namespace io.flow.adyen.v0.enums {
8572
8572
  type Contract = 'RECURRING';
8573
8573
  type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE';
8574
8574
  type Operation = 'cancel' | 'capture' | 'refund';
8575
- type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay';
8575
+ type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
8576
8576
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending';
8577
8577
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
8578
8578
  }
@@ -8742,6 +8742,9 @@ declare namespace io.flow.customer.v0.models {
8742
8742
  readonly contact?: io.flow.common.v0.models.Contact;
8743
8743
  readonly address_preferences?: io.flow.customer.v0.models.CustomerAddressPreference[];
8744
8744
  }
8745
+ interface CustomerAddressBookForm {
8746
+ readonly contacts: io.flow.customer.v0.models.CustomerAddressBookContactForm[];
8747
+ }
8745
8748
  interface CustomerAddressPreference {
8746
8749
  readonly type: io.flow.customer.v0.enums.CustomerAddressType;
8747
8750
  }
@@ -8756,6 +8759,11 @@ declare namespace io.flow.customer.v0.models {
8756
8759
  readonly name?: io.flow.common.v0.models.Name;
8757
8760
  readonly phone?: string;
8758
8761
  }
8762
+ interface CustomerToken {
8763
+ readonly id: string;
8764
+ readonly customer: unknown;
8765
+ readonly token: string;
8766
+ }
8759
8767
  }
8760
8768
  declare namespace io.flow.customer.v0.unions { }
8761
8769
  declare namespace io.flow.currency.v0.enums {
@@ -9357,6 +9365,7 @@ declare namespace io.flow.internal.v0.enums {
9357
9365
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance';
9358
9366
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
9359
9367
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'price_book_items_import' | 'price_book_items_query_import';
9368
+ type CheckoutErrorCode = 'generic_error' | 'organization_invalid' | 'session_invalid' | 'session_organization_invalid';
9360
9369
  type CheckoutPromptBehavior = 'always' | 'incomplete';
9361
9370
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
9362
9371
  type ClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
@@ -10198,6 +10207,11 @@ declare namespace io.flow.internal.v0.models {
10198
10207
  readonly marketing: io.flow.internal.v0.models.CheckoutMarketingContent;
10199
10208
  readonly footer: io.flow.internal.v0.unions.ContentItem[];
10200
10209
  }
10210
+ interface CheckoutError {
10211
+ readonly code: io.flow.internal.v0.enums.CheckoutErrorCode;
10212
+ readonly messages: string[];
10213
+ readonly organization?: io.flow.common.v0.models.OrganizationReference;
10214
+ }
10201
10215
  interface CheckoutFinalizeOrderForm {
10202
10216
  readonly expected_order_summary: io.flow.internal.v0.models.ExpectedOrderSummary;
10203
10217
  readonly order_put_form: io.flow.experience.v0.models.OrderPutForm;
@@ -10244,7 +10258,7 @@ declare namespace io.flow.internal.v0.models {
10244
10258
  readonly action?: io.flow.payment.v0.unions.AuthorizationResultAction;
10245
10259
  }
10246
10260
  interface CheckoutSubmissionForm {
10247
- readonly authorization_form: io.flow.payment.v0.unions.AuthorizationForm;
10261
+ readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
10248
10262
  readonly installment_program_id?: string;
10249
10263
  readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
10250
10264
  readonly feature_keys?: string[];
@@ -12657,10 +12671,29 @@ declare namespace io.flow.internal.v0.models {
12657
12671
  readonly key: string;
12658
12672
  readonly country?: string;
12659
12673
  }
12674
+ interface SearchCustomerSummary {
12675
+ readonly name: io.flow.common.v0.models.Name;
12676
+ readonly email?: string;
12677
+ }
12678
+ interface SearchExperienceSummary {
12679
+ readonly key: string;
12680
+ readonly name: string;
12681
+ readonly status: io.flow.experience.v0.enums.ExperienceStatus;
12682
+ }
12660
12683
  interface SearchItemHs6Code {
12661
12684
  readonly item: io.flow.common.v0.models.CatalogItemSummary;
12662
12685
  readonly code?: string;
12663
12686
  }
12687
+ interface SearchItemSummary {
12688
+ readonly number: string;
12689
+ readonly name: string;
12690
+ }
12691
+ interface SearchOrderSummary {
12692
+ readonly number: string;
12693
+ readonly customer: io.flow.internal.v0.models.SearchCustomerSummary;
12694
+ readonly destination_country?: string;
12695
+ readonly submitted_at?: string;
12696
+ }
12664
12697
  interface SearchProviderExport {
12665
12698
  readonly name: string;
12666
12699
  }
@@ -13656,6 +13689,13 @@ declare namespace io.flow.internal.v0.unions {
13656
13689
  type Feed = {
13657
13690
  discriminator: 'catalog_feed';
13658
13691
  } & io.flow.internal.v0.models.CatalogFeed;
13692
+ type GlobalSearchResult = {
13693
+ discriminator: 'search_experience_summary';
13694
+ } & io.flow.internal.v0.models.SearchExperienceSummary | {
13695
+ discriminator: 'search_order_summary';
13696
+ } & io.flow.internal.v0.models.SearchOrderSummary | {
13697
+ discriminator: 'search_item_summary';
13698
+ } & io.flow.internal.v0.models.SearchItemSummary;
13659
13699
  type IndexTaskType = {
13660
13700
  discriminator: 'catalog_item_index_task';
13661
13701
  } & io.flow.internal.v0.models.CatalogItemIndexTask | {
@@ -13930,6 +13970,8 @@ export declare type CheckoutConfigurationUpserted = io.flow.internal.v0.models.C
13930
13970
  export declare type CheckoutContent = io.flow.internal.v0.models.CheckoutContent;
13931
13971
  export declare type CheckoutContentDetails = io.flow.internal.v0.models.CheckoutContentDetails;
13932
13972
  export declare type CheckoutContentSummary = io.flow.internal.v0.models.CheckoutContentSummary;
13973
+ export declare type CheckoutError = io.flow.internal.v0.models.CheckoutError;
13974
+ export declare type CheckoutErrorCode = io.flow.internal.v0.enums.CheckoutErrorCode;
13933
13975
  export declare type CheckoutFinalizeOrderForm = io.flow.internal.v0.models.CheckoutFinalizeOrderForm;
13934
13976
  export declare type CheckoutForm = io.flow.internal.v0.unions.CheckoutForm;
13935
13977
  export declare type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
@@ -14122,6 +14164,7 @@ export declare type GiftCard = io.flow.internal.v0.models.GiftCard;
14122
14164
  export declare type GiftCardAuthorizationError = io.flow.internal.v0.models.GiftCardAuthorizationError;
14123
14165
  export declare type GiftCardForm = io.flow.internal.v0.models.GiftCardForm;
14124
14166
  export declare type GiftCardProgram = io.flow.internal.v0.models.GiftCardProgram;
14167
+ export declare type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearchResult;
14125
14168
  export declare type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
14126
14169
  export declare type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
14127
14170
  export declare type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport;
@@ -14429,7 +14472,11 @@ export declare type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
14429
14472
  export declare type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
14430
14473
  export declare type Screen = io.flow.internal.v0.models.Screen;
14431
14474
  export declare type ScreenForm = io.flow.internal.v0.models.ScreenForm;
14475
+ export declare type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
14476
+ export declare type SearchExperienceSummary = io.flow.internal.v0.models.SearchExperienceSummary;
14432
14477
  export declare type SearchItemHs6Code = io.flow.internal.v0.models.SearchItemHs6Code;
14478
+ export declare type SearchItemSummary = io.flow.internal.v0.models.SearchItemSummary;
14479
+ export declare type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary;
14433
14480
  export declare type SearchProviderExport = io.flow.internal.v0.models.SearchProviderExport;
14434
14481
  export declare type Secret = io.flow.internal.v0.models.Secret;
14435
14482
  export declare type SecretConfig = io.flow.internal.v0.models.SecretConfig;
package/dist/api.d.ts CHANGED
@@ -513,8 +513,8 @@ declare namespace io.flow.shopify.external.v0.models {
513
513
  }
514
514
  interface ShopifyInventoryItem {
515
515
  readonly id: number;
516
- readonly sku: string;
517
516
  readonly tracked: boolean;
517
+ readonly sku?: string;
518
518
  readonly cost?: string;
519
519
  readonly country_code_of_origin?: string;
520
520
  readonly created_at: string;
@@ -2154,6 +2154,11 @@ declare namespace io.flow.v0.models {
2154
2154
  interface CustomerReference {
2155
2155
  readonly number: string;
2156
2156
  }
2157
+ interface CustomerToken {
2158
+ readonly id: string;
2159
+ readonly customer: io.flow.v0.models.CustomerReference;
2160
+ readonly token: string;
2161
+ }
2157
2162
  interface CustomerUpserted {
2158
2163
  readonly event_id: string;
2159
2164
  readonly timestamp: string;
@@ -2186,6 +2191,7 @@ declare namespace io.flow.v0.models {
2186
2191
  };
2187
2192
  readonly center?: string;
2188
2193
  readonly discount?: io.flow.v0.models.MoneyWithOptionalBase;
2194
+ readonly line_number?: number;
2189
2195
  }
2190
2196
  interface DeliveryOption {
2191
2197
  readonly id: string;
@@ -2199,6 +2205,9 @@ declare namespace io.flow.v0.models {
2199
2205
  readonly weight?: io.flow.v0.models.OptionWeightEstimates;
2200
2206
  readonly send_to?: io.flow.v0.models.ShippingAddress;
2201
2207
  readonly surcharge?: io.flow.v0.models.PriceWithBaseAndDetails;
2208
+ readonly merchant_of_record_override?: io.flow.v0.enums.OrderMerchantOfRecord;
2209
+ readonly prices?: io.flow.v0.models.OrderPriceDetail[];
2210
+ readonly total?: io.flow.v0.models.LocalizedTotal;
2202
2211
  }
2203
2212
  interface DeliveryOptionCostComponent {
2204
2213
  readonly key: io.flow.v0.enums.DeliveryOptionCostDetailComponentKey;
@@ -3355,6 +3364,7 @@ declare namespace io.flow.v0.models {
3355
3364
  interface ItemFormOverlay {
3356
3365
  readonly id: string;
3357
3366
  readonly number: string;
3367
+ readonly key: string;
3358
3368
  readonly position: number;
3359
3369
  readonly price?: io.flow.v0.models.Price;
3360
3370
  readonly categories?: string[];
@@ -4966,7 +4976,7 @@ declare namespace io.flow.v0.models {
4966
4976
  readonly number: string;
4967
4977
  readonly quantity: number;
4968
4978
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
4969
- readonly price?: io.flow.v0.models.MoneyWithBase;
4979
+ readonly price: io.flow.v0.models.MoneyWithBase;
4970
4980
  readonly attributes?: {
4971
4981
  [key: string]: string;
4972
4982
  };
@@ -5909,6 +5919,7 @@ declare namespace io.flow.v0.models {
5909
5919
  }
5910
5920
  interface ShopifyCartConversionFlowOrder {
5911
5921
  readonly order: io.flow.v0.models.Order;
5922
+ readonly errors?: io.flow.v0.models.OrderError[];
5912
5923
  }
5913
5924
  interface ShopifyCartConversionShopifyCart {
5914
5925
  readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
@@ -7662,6 +7673,7 @@ export declare type CustomerForm = io.flow.v0.models.CustomerForm;
7662
7673
  export declare type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
7663
7674
  export declare type CustomerPutForm = io.flow.v0.models.CustomerPutForm;
7664
7675
  export declare type CustomerReference = io.flow.v0.models.CustomerReference;
7676
+ export declare type CustomerToken = io.flow.v0.models.CustomerToken;
7665
7677
  export declare type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
7666
7678
  export declare type Cvv = io.flow.v0.models.Cvv;
7667
7679
  export declare type CvvCode = io.flow.v0.enums.CvvCode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
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",
@@ -27,5 +27,5 @@
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "^3.2.2"
29
29
  },
30
- "gitHead": "23a29ec1881b84b664f7674eb0faf15d5d493f33"
30
+ "gitHead": "4731329d1e6aebe4b1809de42315cefae2fc4391"
31
31
  }
@@ -2283,8 +2283,8 @@ namespace io.flow.shopify.external.v0.models {
2283
2283
 
2284
2284
  export interface ShopifyInventoryItem {
2285
2285
  readonly id: number;
2286
- readonly sku: string;
2287
2286
  readonly tracked: boolean;
2287
+ readonly sku?: string;
2288
2288
  readonly cost?: string;
2289
2289
  readonly country_code_of_origin?: string;
2290
2290
  readonly created_at: string;
@@ -10730,6 +10730,7 @@ namespace io.flow.adyen.v0.enums {
10730
10730
  | 'amex'
10731
10731
  | 'bankTransfer_IBAN'
10732
10732
  | 'bcmc'
10733
+ | 'cartebancaire'
10733
10734
  | 'cup'
10734
10735
  | 'diners'
10735
10736
  | 'directEbanking'
@@ -10756,7 +10757,8 @@ namespace io.flow.adyen.v0.enums {
10756
10757
  | 'trustpay'
10757
10758
  | 'unionpay'
10758
10759
  | 'visa'
10759
- | 'wechatpay';
10760
+ | 'wechatpay'
10761
+ | 'unknowncard';
10760
10762
  export type ResultCode =
10761
10763
  | 'Authorised'
10762
10764
  | 'Cancelled'
@@ -10959,6 +10961,10 @@ namespace io.flow.customer.v0.models {
10959
10961
  readonly address_preferences?: io.flow.customer.v0.models.CustomerAddressPreference[];
10960
10962
  }
10961
10963
 
10964
+ export interface CustomerAddressBookForm {
10965
+ readonly contacts: io.flow.customer.v0.models.CustomerAddressBookContactForm[];
10966
+ }
10967
+
10962
10968
  export interface CustomerAddressPreference {
10963
10969
  readonly type: io.flow.customer.v0.enums.CustomerAddressType;
10964
10970
  }
@@ -10975,6 +10981,12 @@ namespace io.flow.customer.v0.models {
10975
10981
  readonly name?: io.flow.common.v0.models.Name;
10976
10982
  readonly phone?: string;
10977
10983
  }
10984
+
10985
+ export interface CustomerToken {
10986
+ readonly id: string;
10987
+ readonly customer: unknown;
10988
+ readonly token: string;
10989
+ }
10978
10990
  }
10979
10991
 
10980
10992
  namespace io.flow.customer.v0.unions {}
@@ -11823,6 +11835,11 @@ namespace io.flow.internal.v0.enums {
11823
11835
  | 'item_form_overlays'
11824
11836
  | 'price_book_items_import'
11825
11837
  | 'price_book_items_query_import';
11838
+ export type CheckoutErrorCode =
11839
+ | 'generic_error'
11840
+ | 'organization_invalid'
11841
+ | 'session_invalid'
11842
+ | 'session_organization_invalid';
11826
11843
  export type CheckoutPromptBehavior = 'always' | 'incomplete';
11827
11844
  export type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
11828
11845
  export type ClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
@@ -13036,6 +13053,12 @@ namespace io.flow.internal.v0.models {
13036
13053
  readonly footer: io.flow.internal.v0.unions.ContentItem[];
13037
13054
  }
13038
13055
 
13056
+ export interface CheckoutError {
13057
+ readonly code: io.flow.internal.v0.enums.CheckoutErrorCode;
13058
+ readonly messages: string[];
13059
+ readonly organization?: io.flow.common.v0.models.OrganizationReference;
13060
+ }
13061
+
13039
13062
  export interface CheckoutFinalizeOrderForm {
13040
13063
  readonly expected_order_summary: io.flow.internal.v0.models.ExpectedOrderSummary;
13041
13064
  readonly order_put_form: io.flow.experience.v0.models.OrderPutForm;
@@ -13092,7 +13115,7 @@ namespace io.flow.internal.v0.models {
13092
13115
  }
13093
13116
 
13094
13117
  export interface CheckoutSubmissionForm {
13095
- readonly authorization_form: io.flow.payment.v0.unions.AuthorizationForm;
13118
+ readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
13096
13119
  readonly installment_program_id?: string;
13097
13120
  readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
13098
13121
  readonly feature_keys?: string[];
@@ -15896,11 +15919,34 @@ namespace io.flow.internal.v0.models {
15896
15919
  readonly country?: string;
15897
15920
  }
15898
15921
 
15922
+ export interface SearchCustomerSummary {
15923
+ readonly name: io.flow.common.v0.models.Name;
15924
+ readonly email?: string;
15925
+ }
15926
+
15927
+ export interface SearchExperienceSummary {
15928
+ readonly key: string;
15929
+ readonly name: string;
15930
+ readonly status: io.flow.experience.v0.enums.ExperienceStatus;
15931
+ }
15932
+
15899
15933
  export interface SearchItemHs6Code {
15900
15934
  readonly item: io.flow.common.v0.models.CatalogItemSummary;
15901
15935
  readonly code?: string;
15902
15936
  }
15903
15937
 
15938
+ export interface SearchItemSummary {
15939
+ readonly number: string;
15940
+ readonly name: string;
15941
+ }
15942
+
15943
+ export interface SearchOrderSummary {
15944
+ readonly number: string;
15945
+ readonly customer: io.flow.internal.v0.models.SearchCustomerSummary;
15946
+ readonly destination_country?: string;
15947
+ readonly submitted_at?: string;
15948
+ }
15949
+
15904
15950
  export interface SearchProviderExport {
15905
15951
  readonly name: string;
15906
15952
  }
@@ -17189,6 +17235,17 @@ namespace io.flow.internal.v0.unions {
17189
17235
  discriminator: 'catalog_feed';
17190
17236
  } & io.flow.internal.v0.models.CatalogFeed;
17191
17237
 
17238
+ export type GlobalSearchResult =
17239
+ | {
17240
+ discriminator: 'search_experience_summary';
17241
+ } & io.flow.internal.v0.models.SearchExperienceSummary
17242
+ | {
17243
+ discriminator: 'search_order_summary';
17244
+ } & io.flow.internal.v0.models.SearchOrderSummary
17245
+ | {
17246
+ discriminator: 'search_item_summary';
17247
+ } & io.flow.internal.v0.models.SearchItemSummary;
17248
+
17192
17249
  export type IndexTaskType =
17193
17250
  | {
17194
17251
  discriminator: 'catalog_item_index_task';
@@ -17538,6 +17595,8 @@ export type CheckoutConfigurationUpserted = io.flow.internal.v0.models.CheckoutC
17538
17595
  export type CheckoutContent = io.flow.internal.v0.models.CheckoutContent;
17539
17596
  export type CheckoutContentDetails = io.flow.internal.v0.models.CheckoutContentDetails;
17540
17597
  export type CheckoutContentSummary = io.flow.internal.v0.models.CheckoutContentSummary;
17598
+ export type CheckoutError = io.flow.internal.v0.models.CheckoutError;
17599
+ export type CheckoutErrorCode = io.flow.internal.v0.enums.CheckoutErrorCode;
17541
17600
  export type CheckoutFinalizeOrderForm = io.flow.internal.v0.models.CheckoutFinalizeOrderForm;
17542
17601
  export type CheckoutForm = io.flow.internal.v0.unions.CheckoutForm;
17543
17602
  export type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
@@ -17730,6 +17789,7 @@ export type GiftCard = io.flow.internal.v0.models.GiftCard;
17730
17789
  export type GiftCardAuthorizationError = io.flow.internal.v0.models.GiftCardAuthorizationError;
17731
17790
  export type GiftCardForm = io.flow.internal.v0.models.GiftCardForm;
17732
17791
  export type GiftCardProgram = io.flow.internal.v0.models.GiftCardProgram;
17792
+ export type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearchResult;
17733
17793
  export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
17734
17794
  export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
17735
17795
  export type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport;
@@ -18037,7 +18097,11 @@ export type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
18037
18097
  export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
18038
18098
  export type Screen = io.flow.internal.v0.models.Screen;
18039
18099
  export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
18100
+ export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
18101
+ export type SearchExperienceSummary = io.flow.internal.v0.models.SearchExperienceSummary;
18040
18102
  export type SearchItemHs6Code = io.flow.internal.v0.models.SearchItemHs6Code;
18103
+ export type SearchItemSummary = io.flow.internal.v0.models.SearchItemSummary;
18104
+ export type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary;
18041
18105
  export type SearchProviderExport = io.flow.internal.v0.models.SearchProviderExport;
18042
18106
  export type Secret = io.flow.internal.v0.models.Secret;
18043
18107
  export type SecretConfig = io.flow.internal.v0.models.SecretConfig;
package/src/api.ts CHANGED
@@ -684,8 +684,8 @@ namespace io.flow.shopify.external.v0.models {
684
684
 
685
685
  export interface ShopifyInventoryItem {
686
686
  readonly id: number;
687
- readonly sku: string;
688
687
  readonly tracked: boolean;
688
+ readonly sku?: string;
689
689
  readonly cost?: string;
690
690
  readonly country_code_of_origin?: string;
691
691
  readonly created_at: string;
@@ -3034,6 +3034,12 @@ namespace io.flow.v0.models {
3034
3034
  readonly number: string;
3035
3035
  }
3036
3036
 
3037
+ export interface CustomerToken {
3038
+ readonly id: string;
3039
+ readonly customer: io.flow.v0.models.CustomerReference;
3040
+ readonly token: string;
3041
+ }
3042
+
3037
3043
  export interface CustomerUpserted {
3038
3044
  readonly event_id: string;
3039
3045
  readonly timestamp: string;
@@ -3071,6 +3077,7 @@ namespace io.flow.v0.models {
3071
3077
  };
3072
3078
  readonly center?: string;
3073
3079
  readonly discount?: io.flow.v0.models.MoneyWithOptionalBase;
3080
+ readonly line_number?: number;
3074
3081
  }
3075
3082
 
3076
3083
  export interface DeliveryOption {
@@ -3085,6 +3092,9 @@ namespace io.flow.v0.models {
3085
3092
  readonly weight?: io.flow.v0.models.OptionWeightEstimates;
3086
3093
  readonly send_to?: io.flow.v0.models.ShippingAddress;
3087
3094
  readonly surcharge?: io.flow.v0.models.PriceWithBaseAndDetails;
3095
+ readonly merchant_of_record_override?: io.flow.v0.enums.OrderMerchantOfRecord;
3096
+ readonly prices?: io.flow.v0.models.OrderPriceDetail[];
3097
+ readonly total?: io.flow.v0.models.LocalizedTotal;
3088
3098
  }
3089
3099
 
3090
3100
  export interface DeliveryOptionCostComponent {
@@ -4443,6 +4453,7 @@ namespace io.flow.v0.models {
4443
4453
  export interface ItemFormOverlay {
4444
4454
  readonly id: string;
4445
4455
  readonly number: string;
4456
+ readonly key: string;
4446
4457
  readonly position: number;
4447
4458
  readonly price?: io.flow.v0.models.Price;
4448
4459
  readonly categories?: string[];
@@ -6304,7 +6315,7 @@ namespace io.flow.v0.models {
6304
6315
  readonly number: string;
6305
6316
  readonly quantity: number;
6306
6317
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
6307
- readonly price?: io.flow.v0.models.MoneyWithBase;
6318
+ readonly price: io.flow.v0.models.MoneyWithBase;
6308
6319
  readonly attributes?: {
6309
6320
  [key: string]: string;
6310
6321
  };
@@ -7393,6 +7404,7 @@ namespace io.flow.v0.models {
7393
7404
 
7394
7405
  export interface ShopifyCartConversionFlowOrder {
7395
7406
  readonly order: io.flow.v0.models.Order;
7407
+ readonly errors?: io.flow.v0.models.OrderError[];
7396
7408
  }
7397
7409
 
7398
7410
  export interface ShopifyCartConversionShopifyCart {
@@ -9646,6 +9658,7 @@ export type CustomerForm = io.flow.v0.models.CustomerForm;
9646
9658
  export type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
9647
9659
  export type CustomerPutForm = io.flow.v0.models.CustomerPutForm;
9648
9660
  export type CustomerReference = io.flow.v0.models.CustomerReference;
9661
+ export type CustomerToken = io.flow.v0.models.CustomerToken;
9649
9662
  export type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
9650
9663
  export type Cvv = io.flow.v0.models.Cvv;
9651
9664
  export type CvvCode = io.flow.v0.enums.CvvCode;