@flowio/types 0.0.7 → 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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Flow Commerce
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -9365,7 +9365,7 @@ declare namespace io.flow.internal.v0.enums {
9365
9365
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance';
9366
9366
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
9367
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_organization_invalid';
9368
+ type CheckoutErrorCode = 'generic_error' | 'organization_invalid' | 'session_invalid' | 'session_organization_invalid';
9369
9369
  type CheckoutPromptBehavior = 'always' | 'incomplete';
9370
9370
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
9371
9371
  type ClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "0.0.7",
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",
@@ -26,5 +26,6 @@
26
26
  "devDependencies": {
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "^3.2.2"
29
- }
29
+ },
30
+ "gitHead": "4731329d1e6aebe4b1809de42315cefae2fc4391"
30
31
  }
@@ -11838,6 +11838,7 @@ namespace io.flow.internal.v0.enums {
11838
11838
  export type CheckoutErrorCode =
11839
11839
  | 'generic_error'
11840
11840
  | 'organization_invalid'
11841
+ | 'session_invalid'
11841
11842
  | 'session_organization_invalid';
11842
11843
  export type CheckoutPromptBehavior = 'always' | 'incomplete';
11843
11844
  export type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';