flowcommerce 0.2.25 → 0.2.26
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.
- checksums.yaml +4 -4
- data/lib/flow_commerce/flow_api_v0_client.rb +25 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcc3fccb36a9d73b02f71550de27865b8d78e9c0
|
|
4
|
+
data.tar.gz: 7e2a857d32f7ebc89a125cc61e235454a4559533
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54b3102861e08ccddb7127e84e84dbce960c499b4c4757c2273fe7d7208f72e496b2f1b999ae85b237356b838b838bd109ae0e9250e0d825605538a7036a658e
|
|
7
|
+
data.tar.gz: c6457ce962f3a27aa16037a19039a6442d1ef431e854d8a7a26298da4883b02dfdcb57cac1b450fd084f733a38d011908ff2ef8afafbc3ae5ef675917f3a2f54
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Generated by API Builder - https://www.apibuilder.io
|
|
2
|
-
# Service version: 0.3.
|
|
3
|
-
# apibuilder:0.12.
|
|
2
|
+
# Service version: 0.3.65
|
|
3
|
+
# apibuilder:0.12.61 https://app.apibuilder.io/flow/api/0.3.66/ruby_client
|
|
4
4
|
|
|
5
5
|
require 'cgi'
|
|
6
6
|
require 'net/http'
|
|
@@ -25,8 +25,8 @@ module Io
|
|
|
25
25
|
|
|
26
26
|
BASE_URL = 'https://api.flow.io' unless defined?(Constants::BASE_URL)
|
|
27
27
|
NAMESPACE = 'io.flow.v0' unless defined?(Constants::NAMESPACE)
|
|
28
|
-
USER_AGENT = 'apibuilder:0.12.
|
|
29
|
-
VERSION = '0.3.
|
|
28
|
+
USER_AGENT = 'apibuilder:0.12.61 https://app.apibuilder.io/flow/api/0.3.66/ruby_client' unless defined?(Constants::USER_AGENT)
|
|
29
|
+
VERSION = '0.3.65' unless defined?(Constants::VERSION)
|
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
|
31
31
|
|
|
32
32
|
end
|
|
@@ -6961,7 +6961,12 @@ module Io
|
|
|
6961
6961
|
end
|
|
6962
6962
|
|
|
6963
6963
|
def AttributeDataType.ALL
|
|
6964
|
-
@@all ||= [AttributeDataType.decimal, AttributeDataType.string]
|
|
6964
|
+
@@all ||= [AttributeDataType.boolean, AttributeDataType.decimal, AttributeDataType.string]
|
|
6965
|
+
end
|
|
6966
|
+
|
|
6967
|
+
# Boolean true/false data type
|
|
6968
|
+
def AttributeDataType.boolean
|
|
6969
|
+
@@_boolean ||= AttributeDataType.new('boolean')
|
|
6965
6970
|
end
|
|
6966
6971
|
|
|
6967
6972
|
# Decimal datatype without size or precision restrictions. Commonly used for
|
|
@@ -7006,7 +7011,7 @@ module Io
|
|
|
7006
7011
|
end
|
|
7007
7012
|
|
|
7008
7013
|
def AttributeIntent.ALL
|
|
7009
|
-
@@all ||= [AttributeIntent.brand, AttributeIntent.fulfillment_method, AttributeIntent.price, AttributeIntent.taxability]
|
|
7014
|
+
@@all ||= [AttributeIntent.brand, AttributeIntent.fulfillment_method, AttributeIntent.hazardous, AttributeIntent.price, AttributeIntent.taxability]
|
|
7010
7015
|
end
|
|
7011
7016
|
|
|
7012
7017
|
# Attributes with this data type imply that this is the brand name of the item
|
|
@@ -7021,6 +7026,12 @@ module Io
|
|
|
7021
7026
|
@@_fulfillment_method ||= AttributeIntent.new('fulfillment_method')
|
|
7022
7027
|
end
|
|
7023
7028
|
|
|
7029
|
+
# Attributes with this data type imply whether this item may contain hazardous
|
|
7030
|
+
# materials.
|
|
7031
|
+
def AttributeIntent.hazardous
|
|
7032
|
+
@@_hazardous ||= AttributeIntent.new('hazardous')
|
|
7033
|
+
end
|
|
7034
|
+
|
|
7024
7035
|
# Attributes with this data type are inferred to be prices in the organization's
|
|
7025
7036
|
# base currency and will be localized based on each Experience's pricing policy.
|
|
7026
7037
|
def AttributeIntent.price
|
|
@@ -8783,7 +8794,7 @@ module Io
|
|
|
8783
8794
|
end
|
|
8784
8795
|
|
|
8785
8796
|
def ImportType.ALL
|
|
8786
|
-
@@all ||= [ImportType.harmonization_codes, ImportType.catalog_items]
|
|
8797
|
+
@@all ||= [ImportType.harmonization_codes, ImportType.harmonization_phrase_suggestion_request, ImportType.catalog_items]
|
|
8787
8798
|
end
|
|
8788
8799
|
|
|
8789
8800
|
# Provides upload of HS-6 and HS-10 codes for the items in a catalog
|
|
@@ -8791,6 +8802,13 @@ module Io
|
|
|
8791
8802
|
@@_harmonization_codes ||= ImportType.new('harmonization_codes')
|
|
8792
8803
|
end
|
|
8793
8804
|
|
|
8805
|
+
# Request for gophrase suggestions to harmonize items. Request (CSV) must
|
|
8806
|
+
# include name, material, description columns. Response (CSV) will include up to
|
|
8807
|
+
# 5 suggested 3CE phrases
|
|
8808
|
+
def ImportType.harmonization_phrase_suggestion_request
|
|
8809
|
+
@@_harmonization_phrase_suggestion_request ||= ImportType.new('harmonization_phrase_suggestion_request')
|
|
8810
|
+
end
|
|
8811
|
+
|
|
8794
8812
|
# Provides bulk upsert of items into an organization's catalog.
|
|
8795
8813
|
def ImportType.catalog_items
|
|
8796
8814
|
@@_catalog_items ||= ImportType.new('catalog_items')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flowcommerce
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Flow Commerce, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|