@flowio/types 9.1.3 → 9.1.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.
@@ -10169,10 +10169,12 @@ declare namespace io.flow.internal.v0.enums {
10169
10169
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
10170
10170
  type ChargebackPaymentStatus = 'captured' | 'refunded';
10171
10171
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
10172
+ type CheckoutAssetType = 'stylesheet' | 'javascript';
10172
10173
  type CheckoutErrorCode = 'generic_error' | 'order_identifier_invalid' | 'url_invalid' | 'organization_invalid' | 'session_invalid' | 'session_missing' | 'session_organization_invalid' | 'country_invalid' | 'currency_invalid' | 'language_invalid' | 'checkout_invalid';
10173
10174
  type CheckoutPromptBehavior = 'always' | 'incomplete';
10174
10175
  type CheckoutRedirectMethod = 'get' | 'post';
10175
10176
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
10177
+ type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
10176
10178
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
10177
10179
  type ContentStatus = 'draft' | 'live' | 'archived';
10178
10180
  type ContentType = 'text' | 'html';
@@ -11079,6 +11081,10 @@ declare namespace io.flow.internal.v0.models {
11079
11081
  readonly trackers: io.flow.internal.v0.unions.Tracker[];
11080
11082
  readonly use_base_currency: boolean;
11081
11083
  }
11084
+ interface CheckoutAsset {
11085
+ readonly url: string;
11086
+ readonly type: io.flow.internal.v0.enums.CheckoutAssetType;
11087
+ }
11082
11088
  interface CheckoutBehavior {
11083
11089
  readonly shipping_address: io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
11084
11090
  readonly shipping_method: io.flow.internal.v0.models.CheckoutBehaviorShippingMethod;
@@ -11131,6 +11137,12 @@ declare namespace io.flow.internal.v0.models {
11131
11137
  readonly organization: string;
11132
11138
  readonly checkout_configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
11133
11139
  }
11140
+ interface CheckoutConfigurationForm {
11141
+ readonly behavior: io.flow.internal.v0.models.CheckoutBehavior;
11142
+ readonly settings: io.flow.internal.v0.models.CheckoutSettings;
11143
+ readonly analytics?: io.flow.internal.v0.models.CheckoutAnalytics;
11144
+ readonly domain?: string;
11145
+ }
11134
11146
  interface CheckoutConfigurationReference {
11135
11147
  readonly id: string;
11136
11148
  }
@@ -11234,6 +11246,9 @@ declare namespace io.flow.internal.v0.models {
11234
11246
  interface CheckoutSettings {
11235
11247
  readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
11236
11248
  readonly session_persistence_attribute_keys?: string[];
11249
+ readonly locales?: string[];
11250
+ readonly urls?: io.flow.internal.v0.models.CheckoutUrl[];
11251
+ readonly assets?: io.flow.internal.v0.models.CheckoutAsset[];
11237
11252
  }
11238
11253
  interface CheckoutSourceOrderForm {
11239
11254
  readonly source_order_number: string;
@@ -11259,6 +11274,10 @@ declare namespace io.flow.internal.v0.models {
11259
11274
  readonly authorization_form?: io.flow.payment.v0.unions.AuthorizationForm;
11260
11275
  readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
11261
11276
  }
11277
+ interface CheckoutUrl {
11278
+ readonly url: string;
11279
+ readonly type: io.flow.internal.v0.enums.CheckoutUrlType;
11280
+ }
11262
11281
  interface Cipher {
11263
11282
  readonly id: string;
11264
11283
  readonly attributes: Record<string, string>;
@@ -13801,6 +13820,7 @@ declare namespace io.flow.internal.v0.models {
13801
13820
  readonly initial_customs_description?: string;
13802
13821
  readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
13803
13822
  readonly model_version: string;
13823
+ readonly user_id: string;
13804
13824
  }
13805
13825
  interface ProductClassificationJudgementForm {
13806
13826
  readonly organization_id: string;
@@ -15064,6 +15084,8 @@ export declare type ChargebackVersion = io.flow.internal.v0.models.ChargebackVer
15064
15084
  export declare type Checkbox = io.flow.internal.v0.models.Checkbox;
15065
15085
  export declare type Checkout = io.flow.internal.v0.models.Checkout;
15066
15086
  export declare type CheckoutAnalytics = io.flow.internal.v0.models.CheckoutAnalytics;
15087
+ export declare type CheckoutAsset = io.flow.internal.v0.models.CheckoutAsset;
15088
+ export declare type CheckoutAssetType = io.flow.internal.v0.enums.CheckoutAssetType;
15067
15089
  export declare type CheckoutBehavior = io.flow.internal.v0.models.CheckoutBehavior;
15068
15090
  export declare type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfo;
15069
15091
  export declare type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
@@ -15073,6 +15095,7 @@ export declare type CheckoutBundle = io.flow.internal.v0.models.CheckoutBundle;
15073
15095
  export declare type CheckoutBundleMetadata = io.flow.internal.v0.models.CheckoutBundleMetadata;
15074
15096
  export declare type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration;
15075
15097
  export declare type CheckoutConfigurationDeleted = io.flow.internal.v0.models.CheckoutConfigurationDeleted;
15098
+ export declare type CheckoutConfigurationForm = io.flow.internal.v0.models.CheckoutConfigurationForm;
15076
15099
  export declare type CheckoutConfigurationReference = io.flow.internal.v0.models.CheckoutConfigurationReference;
15077
15100
  export declare type CheckoutConfigurationUpserted = io.flow.internal.v0.models.CheckoutConfigurationUpserted;
15078
15101
  export declare type CheckoutContent = io.flow.internal.v0.models.CheckoutContent;
@@ -15103,6 +15126,8 @@ export declare type CheckoutSubmitOrderBundle = io.flow.internal.v0.models.Check
15103
15126
  export declare type CheckoutSubmitOrderBundles = io.flow.internal.v0.unions.CheckoutSubmitOrderBundles;
15104
15127
  export declare type CheckoutSubmitOrderForm = io.flow.internal.v0.models.CheckoutSubmitOrderForm;
15105
15128
  export declare type CheckoutSubmitOrderForms = io.flow.internal.v0.unions.CheckoutSubmitOrderForms;
15129
+ export declare type CheckoutUrl = io.flow.internal.v0.models.CheckoutUrl;
15130
+ export declare type CheckoutUrlType = io.flow.internal.v0.enums.CheckoutUrlType;
15106
15131
  export declare type Cipher = io.flow.internal.v0.models.Cipher;
15107
15132
  export declare type CipherForm = io.flow.internal.v0.models.CipherForm;
15108
15133
  export declare type CipherReference = io.flow.internal.v0.models.CipherReference;
package/dist/api.d.ts CHANGED
@@ -1413,6 +1413,7 @@ declare namespace io.flow.v0.models {
1413
1413
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
1414
1414
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
1415
1415
  readonly attributes: Record<string, string>;
1416
+ readonly estimated_delivery_date?: string;
1416
1417
  }
1417
1418
  interface B2BInvoiceDeleted {
1418
1419
  readonly discriminator: 'b2b_invoice_deleted';
@@ -1981,6 +1982,7 @@ declare namespace io.flow.v0.models {
1981
1982
  readonly attributes: Record<string, string>;
1982
1983
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
1983
1984
  readonly customer_type?: io.flow.v0.enums.ConsumerInvoiceCustomerType;
1985
+ readonly estimated_delivery_date?: string;
1984
1986
  }
1985
1987
  interface ConsumerInvoiceCenterReference {
1986
1988
  readonly id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "9.1.3",
3
+ "version": "9.1.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",
@@ -27,5 +27,5 @@
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "^3.6.3"
29
29
  },
30
- "gitHead": "30131101753d93459ca9ba8c259c95a06aa11698"
30
+ "gitHead": "f22b9ea4992185276b64e61d9fbb8bace1acf1bc"
31
31
  }
@@ -12813,6 +12813,7 @@ declare namespace io.flow.internal.v0.enums {
12813
12813
  | 'price_book_items_query_import';
12814
12814
  type ChargebackPaymentStatus = 'captured' | 'refunded';
12815
12815
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
12816
+ type CheckoutAssetType = 'stylesheet' | 'javascript';
12816
12817
  type CheckoutErrorCode =
12817
12818
  | 'generic_error'
12818
12819
  | 'order_identifier_invalid'
@@ -12828,6 +12829,10 @@ declare namespace io.flow.internal.v0.enums {
12828
12829
  type CheckoutPromptBehavior = 'always' | 'incomplete';
12829
12830
  type CheckoutRedirectMethod = 'get' | 'post';
12830
12831
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
12832
+ type CheckoutUrlType =
12833
+ | 'continue_shopping'
12834
+ | 'confirmation'
12835
+ | 'invalid_checkout';
12831
12836
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
12832
12837
  type ContentStatus = 'draft' | 'live' | 'archived';
12833
12838
  type ContentType = 'text' | 'html';
@@ -14110,6 +14115,11 @@ declare namespace io.flow.internal.v0.models {
14110
14115
  readonly use_base_currency: boolean;
14111
14116
  }
14112
14117
 
14118
+ interface CheckoutAsset {
14119
+ readonly url: string;
14120
+ readonly type: io.flow.internal.v0.enums.CheckoutAssetType;
14121
+ }
14122
+
14113
14123
  interface CheckoutBehavior {
14114
14124
  readonly shipping_address: io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
14115
14125
  readonly shipping_method: io.flow.internal.v0.models.CheckoutBehaviorShippingMethod;
@@ -14171,6 +14181,13 @@ declare namespace io.flow.internal.v0.models {
14171
14181
  readonly checkout_configuration: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
14172
14182
  }
14173
14183
 
14184
+ interface CheckoutConfigurationForm {
14185
+ readonly behavior: io.flow.internal.v0.models.CheckoutBehavior;
14186
+ readonly settings: io.flow.internal.v0.models.CheckoutSettings;
14187
+ readonly analytics?: io.flow.internal.v0.models.CheckoutAnalytics;
14188
+ readonly domain?: string;
14189
+ }
14190
+
14174
14191
  interface CheckoutConfigurationReference {
14175
14192
  readonly id: string;
14176
14193
  }
@@ -14291,6 +14308,9 @@ declare namespace io.flow.internal.v0.models {
14291
14308
  interface CheckoutSettings {
14292
14309
  readonly session_persistence_timeout?: io.flow.common.v0.models.Duration;
14293
14310
  readonly session_persistence_attribute_keys?: string[];
14311
+ readonly locales?: string[];
14312
+ readonly urls?: io.flow.internal.v0.models.CheckoutUrl[];
14313
+ readonly assets?: io.flow.internal.v0.models.CheckoutAsset[];
14294
14314
  }
14295
14315
 
14296
14316
  interface CheckoutSourceOrderForm {
@@ -14322,6 +14342,11 @@ declare namespace io.flow.internal.v0.models {
14322
14342
  readonly expected_order_summary?: io.flow.internal.v0.models.ExpectedOrderSummary;
14323
14343
  }
14324
14344
 
14345
+ interface CheckoutUrl {
14346
+ readonly url: string;
14347
+ readonly type: io.flow.internal.v0.enums.CheckoutUrlType;
14348
+ }
14349
+
14325
14350
  interface Cipher {
14326
14351
  readonly id: string;
14327
14352
  readonly attributes: Record<string, string>;
@@ -17290,6 +17315,7 @@ declare namespace io.flow.internal.v0.models {
17290
17315
  readonly initial_customs_description?: string;
17291
17316
  readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
17292
17317
  readonly model_version: string;
17318
+ readonly user_id: string;
17293
17319
  }
17294
17320
 
17295
17321
  interface ProductClassificationJudgementForm {
@@ -18991,6 +19017,8 @@ export type ChargebackVersion = io.flow.internal.v0.models.ChargebackVersion;
18991
19017
  export type Checkbox = io.flow.internal.v0.models.Checkbox;
18992
19018
  export type Checkout = io.flow.internal.v0.models.Checkout;
18993
19019
  export type CheckoutAnalytics = io.flow.internal.v0.models.CheckoutAnalytics;
19020
+ export type CheckoutAsset = io.flow.internal.v0.models.CheckoutAsset;
19021
+ export type CheckoutAssetType = io.flow.internal.v0.enums.CheckoutAssetType;
18994
19022
  export type CheckoutBehavior = io.flow.internal.v0.models.CheckoutBehavior;
18995
19023
  export type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfo;
18996
19024
  export type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
@@ -19000,6 +19028,7 @@ export type CheckoutBundle = io.flow.internal.v0.models.CheckoutBundle;
19000
19028
  export type CheckoutBundleMetadata = io.flow.internal.v0.models.CheckoutBundleMetadata;
19001
19029
  export type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration;
19002
19030
  export type CheckoutConfigurationDeleted = io.flow.internal.v0.models.CheckoutConfigurationDeleted;
19031
+ export type CheckoutConfigurationForm = io.flow.internal.v0.models.CheckoutConfigurationForm;
19003
19032
  export type CheckoutConfigurationReference = io.flow.internal.v0.models.CheckoutConfigurationReference;
19004
19033
  export type CheckoutConfigurationUpserted = io.flow.internal.v0.models.CheckoutConfigurationUpserted;
19005
19034
  export type CheckoutContent = io.flow.internal.v0.models.CheckoutContent;
@@ -19030,6 +19059,8 @@ export type CheckoutSubmitOrderBundle = io.flow.internal.v0.models.CheckoutSubmi
19030
19059
  export type CheckoutSubmitOrderBundles = io.flow.internal.v0.unions.CheckoutSubmitOrderBundles;
19031
19060
  export type CheckoutSubmitOrderForm = io.flow.internal.v0.models.CheckoutSubmitOrderForm;
19032
19061
  export type CheckoutSubmitOrderForms = io.flow.internal.v0.unions.CheckoutSubmitOrderForms;
19062
+ export type CheckoutUrl = io.flow.internal.v0.models.CheckoutUrl;
19063
+ export type CheckoutUrlType = io.flow.internal.v0.enums.CheckoutUrlType;
19033
19064
  export type Cipher = io.flow.internal.v0.models.Cipher;
19034
19065
  export type CipherForm = io.flow.internal.v0.models.CipherForm;
19035
19066
  export type CipherReference = io.flow.internal.v0.models.CipherReference;
package/src/api.ts CHANGED
@@ -2132,6 +2132,7 @@ declare namespace io.flow.v0.models {
2132
2132
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2133
2133
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2134
2134
  readonly attributes: Record<string, string>;
2135
+ readonly estimated_delivery_date?: string;
2135
2136
  }
2136
2137
 
2137
2138
  interface B2BInvoiceDeleted {
@@ -2783,6 +2784,7 @@ declare namespace io.flow.v0.models {
2783
2784
  readonly attributes: Record<string, string>;
2784
2785
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
2785
2786
  readonly customer_type?: io.flow.v0.enums.ConsumerInvoiceCustomerType;
2787
+ readonly estimated_delivery_date?: string;
2786
2788
  }
2787
2789
 
2788
2790
  interface ConsumerInvoiceCenterReference {