@flowio/types 0.0.3 → 0.0.4

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.
@@ -5668,6 +5668,11 @@ declare namespace io.flow.experience.internal.v0.models {
5668
5668
  readonly input_specification?: io.flow.common.v0.models.InputFormSpecification;
5669
5669
  readonly cards: io.flow.experience.internal.v0.models.GiftCard[];
5670
5670
  }
5671
+ interface InternalOrder {
5672
+ readonly order: io.flow.experience.v0.models.Order;
5673
+ readonly session?: unknown;
5674
+ readonly rates: io.flow.currency.internal.v0.models.RateDataV3[];
5675
+ }
5671
5676
  interface ItemFilterResponse {
5672
5677
  readonly filter: string;
5673
5678
  readonly responses: io.flow.experience.internal.v0.models.ItemFilterValueResponse[];
@@ -10674,7 +10679,9 @@ declare namespace io.flow.internal.v0.models {
10674
10679
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
10675
10680
  readonly customer?: io.flow.customer.v0.models.Customer;
10676
10681
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
10677
- readonly payment_sources: unknown[];
10682
+ readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
10683
+ readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
10684
+ readonly payment: io.flow.internal.v0.models.CheckoutPayment;
10678
10685
  }
10679
10686
  interface CheckoutBehavior {
10680
10687
  readonly shipping_address: io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
@@ -10800,10 +10807,19 @@ declare namespace io.flow.internal.v0.models {
10800
10807
  readonly order_number: string;
10801
10808
  readonly feature_keys?: string[];
10802
10809
  }
10810
+ interface CheckoutPayment {
10811
+ readonly sources: unknown[];
10812
+ readonly public_key: io.flow.payment.v0.models.PublicKey;
10813
+ readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
10814
+ readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
10815
+ }
10803
10816
  interface CheckoutPaymentContent {
10804
10817
  readonly default: io.flow.internal.v0.models.ApmContent;
10805
10818
  readonly paypal?: io.flow.internal.v0.models.ApmContent;
10806
10819
  }
10820
+ interface CheckoutReferenceForm {
10821
+ readonly order_number: string;
10822
+ }
10807
10823
  interface CheckoutSettings {
10808
10824
  readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
10809
10825
  readonly session_persistence_attribute_keys?: string[];
@@ -12516,6 +12532,7 @@ declare namespace io.flow.internal.v0.models {
12516
12532
  readonly country: string;
12517
12533
  readonly currency: string;
12518
12534
  readonly language: string;
12535
+ readonly url: string;
12519
12536
  }
12520
12537
  interface MarketingGatewayFilterSummary {
12521
12538
  readonly id: string;
@@ -14690,8 +14707,10 @@ export declare type CheckoutForm = io.flow.internal.v0.unions.CheckoutForm;
14690
14707
  export declare type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
14691
14708
  export declare type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrderForm;
14692
14709
  export declare type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
14710
+ export declare type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
14693
14711
  export declare type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
14694
14712
  export declare type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
14713
+ export declare type CheckoutReferenceForm = io.flow.internal.v0.models.CheckoutReferenceForm;
14695
14714
  export declare type CheckoutSettings = io.flow.internal.v0.models.CheckoutSettings;
14696
14715
  export declare type CheckoutShippingMethodPromptBehavior = io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
14697
14716
  export declare type CheckoutSourceOrderForm = io.flow.internal.v0.models.CheckoutSourceOrderForm;
package/dist/api.d.ts CHANGED
@@ -1391,7 +1391,14 @@ declare namespace io.flow.v0.models {
1391
1391
  readonly lead_days?: io.flow.v0.models.NumberRange;
1392
1392
  }
1393
1393
  interface AvalaraTaxCsvSetting {
1394
- readonly schedule: string;
1394
+ readonly schedule: {
1395
+ discriminator: 'repeat_daily';
1396
+ } & io.flow.v0.models.RepeatDaily | {
1397
+ discriminator: 'repeat_weekly';
1398
+ } & io.flow.v0.models.RepeatWeekly | {
1399
+ discriminator: 'repeat_monthly';
1400
+ } & io.flow.v0.models.RepeatMonthly;
1401
+ readonly timezone: string;
1395
1402
  readonly email_recipients?: string[];
1396
1403
  }
1397
1404
  interface AvalaraTaxSetting {
@@ -1900,6 +1907,9 @@ declare namespace io.flow.v0.models {
1900
1907
  readonly organization: string;
1901
1908
  readonly checkout_optin_responses: io.flow.v0.models.CheckoutOptinResponses;
1902
1909
  }
1910
+ interface CheckoutReference {
1911
+ readonly id: string;
1912
+ }
1903
1913
  interface CheckoutSettings {
1904
1914
  readonly configuration: io.flow.v0.models.ExperienceConfigurationReference;
1905
1915
  }
@@ -1911,6 +1921,7 @@ declare namespace io.flow.v0.models {
1911
1921
  readonly expires_at: string;
1912
1922
  readonly session?: io.flow.v0.models.SessionReference;
1913
1923
  readonly customer?: io.flow.v0.models.CustomerReference;
1924
+ readonly checkout?: io.flow.v0.models.CheckoutReference;
1914
1925
  }
1915
1926
  interface CheckoutTokenOrderForm {
1916
1927
  readonly order_form: io.flow.v0.models.OrderForm;
@@ -8063,6 +8074,7 @@ export declare type CheckoutItemContentAttribute = io.flow.v0.models.CheckoutIte
8063
8074
  export declare type CheckoutOptinResponses = io.flow.v0.models.CheckoutOptinResponses;
8064
8075
  export declare type CheckoutOptinResponsesDeleted = io.flow.v0.models.CheckoutOptinResponsesDeleted;
8065
8076
  export declare type CheckoutOptinResponsesUpserted = io.flow.v0.models.CheckoutOptinResponsesUpserted;
8077
+ export declare type CheckoutReference = io.flow.v0.models.CheckoutReference;
8066
8078
  export declare type CheckoutSettings = io.flow.v0.models.CheckoutSettings;
8067
8079
  export declare type CheckoutToken = io.flow.v0.models.CheckoutToken;
8068
8080
  export declare type CheckoutTokenForm = io.flow.v0.unions.CheckoutTokenForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
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",
@@ -7117,6 +7117,12 @@ namespace io.flow.experience.internal.v0.models {
7117
7117
  readonly cards: io.flow.experience.internal.v0.models.GiftCard[];
7118
7118
  }
7119
7119
 
7120
+ export interface InternalOrder {
7121
+ readonly order: io.flow.experience.v0.models.Order;
7122
+ readonly session?: unknown;
7123
+ readonly rates: io.flow.currency.internal.v0.models.RateDataV3[];
7124
+ }
7125
+
7120
7126
  export interface ItemFilterResponse {
7121
7127
  readonly filter: string;
7122
7128
  readonly responses: io.flow.experience.internal.v0.models.ItemFilterValueResponse[];
@@ -13774,7 +13780,9 @@ namespace io.flow.internal.v0.models {
13774
13780
  readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
13775
13781
  readonly customer?: io.flow.customer.v0.models.Customer;
13776
13782
  readonly address_book?: io.flow.customer.v0.models.CustomerAddressBook;
13777
- readonly payment_sources: unknown[];
13783
+ readonly gift_card_program?: io.flow.experience.internal.v0.models.GiftCardProgram;
13784
+ readonly loyalty_program?: io.flow.experience.internal.v0.models.LoyaltyProgram;
13785
+ readonly payment: io.flow.internal.v0.models.CheckoutPayment;
13778
13786
  }
13779
13787
 
13780
13788
  export interface CheckoutBehavior {
@@ -13935,11 +13943,22 @@ namespace io.flow.internal.v0.models {
13935
13943
  readonly feature_keys?: string[];
13936
13944
  }
13937
13945
 
13946
+ export interface CheckoutPayment {
13947
+ readonly sources: unknown[];
13948
+ readonly public_key: io.flow.payment.v0.models.PublicKey;
13949
+ readonly method_types: io.flow.reference.v0.enums.PaymentMethodType[];
13950
+ readonly method_rules: io.flow.experience.v0.models.PaymentMethodRule[];
13951
+ }
13952
+
13938
13953
  export interface CheckoutPaymentContent {
13939
13954
  readonly default: io.flow.internal.v0.models.ApmContent;
13940
13955
  readonly paypal?: io.flow.internal.v0.models.ApmContent;
13941
13956
  }
13942
13957
 
13958
+ export interface CheckoutReferenceForm {
13959
+ readonly order_number: string;
13960
+ }
13961
+
13943
13962
  export interface CheckoutSettings {
13944
13963
  readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
13945
13964
  readonly session_persistence_attribute_keys?: string[];
@@ -15976,6 +15995,7 @@ namespace io.flow.internal.v0.models {
15976
15995
  readonly country: string;
15977
15996
  readonly currency: string;
15978
15997
  readonly language: string;
15998
+ readonly url: string;
15979
15999
  }
15980
16000
 
15981
16001
  export interface MarketingGatewayFilterSummary {
@@ -18668,8 +18688,10 @@ export type CheckoutForm = io.flow.internal.v0.unions.CheckoutForm;
18668
18688
  export type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarketingContent;
18669
18689
  export type CheckoutOrderForm = io.flow.internal.v0.models.CheckoutOrderForm;
18670
18690
  export type CheckoutOrderNumberForm = io.flow.internal.v0.models.CheckoutOrderNumberForm;
18691
+ export type CheckoutPayment = io.flow.internal.v0.models.CheckoutPayment;
18671
18692
  export type CheckoutPaymentContent = io.flow.internal.v0.models.CheckoutPaymentContent;
18672
18693
  export type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior;
18694
+ export type CheckoutReferenceForm = io.flow.internal.v0.models.CheckoutReferenceForm;
18673
18695
  export type CheckoutSettings = io.flow.internal.v0.models.CheckoutSettings;
18674
18696
  export type CheckoutShippingMethodPromptBehavior = io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
18675
18697
  export type CheckoutSourceOrderForm = io.flow.internal.v0.models.CheckoutSourceOrderForm;
package/src/api.ts CHANGED
@@ -2180,7 +2180,17 @@ namespace io.flow.v0.models {
2180
2180
  }
2181
2181
 
2182
2182
  export interface AvalaraTaxCsvSetting {
2183
- readonly schedule: string;
2183
+ readonly schedule:
2184
+ | {
2185
+ discriminator: 'repeat_daily';
2186
+ } & io.flow.v0.models.RepeatDaily
2187
+ | {
2188
+ discriminator: 'repeat_weekly';
2189
+ } & io.flow.v0.models.RepeatWeekly
2190
+ | {
2191
+ discriminator: 'repeat_monthly';
2192
+ } & io.flow.v0.models.RepeatMonthly;
2193
+ readonly timezone: string;
2184
2194
  readonly email_recipients?: string[];
2185
2195
  }
2186
2196
 
@@ -2770,6 +2780,10 @@ namespace io.flow.v0.models {
2770
2780
  readonly checkout_optin_responses: io.flow.v0.models.CheckoutOptinResponses;
2771
2781
  }
2772
2782
 
2783
+ export interface CheckoutReference {
2784
+ readonly id: string;
2785
+ }
2786
+
2773
2787
  export interface CheckoutSettings {
2774
2788
  readonly configuration: io.flow.v0.models.ExperienceConfigurationReference;
2775
2789
  }
@@ -2782,6 +2796,7 @@ namespace io.flow.v0.models {
2782
2796
  readonly expires_at: string;
2783
2797
  readonly session?: io.flow.v0.models.SessionReference;
2784
2798
  readonly customer?: io.flow.v0.models.CustomerReference;
2799
+ readonly checkout?: io.flow.v0.models.CheckoutReference;
2785
2800
  }
2786
2801
 
2787
2802
  export interface CheckoutTokenOrderForm {
@@ -10276,6 +10291,7 @@ export type CheckoutItemContentAttribute = io.flow.v0.models.CheckoutItemContent
10276
10291
  export type CheckoutOptinResponses = io.flow.v0.models.CheckoutOptinResponses;
10277
10292
  export type CheckoutOptinResponsesDeleted = io.flow.v0.models.CheckoutOptinResponsesDeleted;
10278
10293
  export type CheckoutOptinResponsesUpserted = io.flow.v0.models.CheckoutOptinResponsesUpserted;
10294
+ export type CheckoutReference = io.flow.v0.models.CheckoutReference;
10279
10295
  export type CheckoutSettings = io.flow.v0.models.CheckoutSettings;
10280
10296
  export type CheckoutToken = io.flow.v0.models.CheckoutToken;
10281
10297
  export type CheckoutTokenForm = io.flow.v0.unions.CheckoutTokenForm;