multiwoven-integrations 0.1.60 → 0.1.61
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5efde87ecb1cfd15171d17bdc92a3248e9ab7b5400542c7e8650e1e3eac2651
|
4
|
+
data.tar.gz: ad8179cddd26bd47638e4f9b117a99fe762aae1c3772439622962f6a4c8741a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f989346268782ec65ce95c33a299755bda4b947fab7fa845c10223856e982742f9940ba9c9ea5d2fb71f2bfdf5f7d6f0e98a8f729c93d17922d363dbf14c04ac
|
7
|
+
data.tar.gz: 8ecc6a3bfeaa2d9c62bdd58305715672ceede40a75b12fb003a50a4928c5e76522fa2c371a6cbe105053df2a3dbb240cab5a03c22a45b81a419b0d811ef948af
|
data/lib/multiwoven/integrations/destination/salesforce_consumer_goods_cloud/schema_helper.rb
CHANGED
@@ -62,12 +62,12 @@ module Multiwoven
|
|
62
62
|
when "picklist", "multipicklist", "Picklist (Multi-select)"
|
63
63
|
if sf_field[:picklistValues] && sf_field["nillable"]
|
64
64
|
enum_values = sf_field[:picklistValues].map { |val| val["value"] }
|
65
|
-
{ "type": %w[
|
65
|
+
{ "type": %w[string null], "items": { "type": "string" }, "enum": enum_values }
|
66
66
|
elsif sf_field[:picklistValues]
|
67
67
|
enum_values = sf_field[:picklistValues].map { |val| val["value"] }
|
68
|
-
{ "type": "
|
68
|
+
{ "type": "string", "items": { "type": "string" }, "enum": enum_values }
|
69
69
|
else
|
70
|
-
{ "type": "
|
70
|
+
{ "type": "string", "items": { "type": "string" } }
|
71
71
|
end
|
72
72
|
when "reference", "Reference (Lookup & Master-Detail)"
|
73
73
|
if sf_field["nillable"]
|
@@ -62,12 +62,12 @@ module Multiwoven
|
|
62
62
|
when "picklist", "multipicklist", "Picklist (Multi-select)"
|
63
63
|
if sf_field[:picklistValues] && sf_field["nillable"]
|
64
64
|
enum_values = sf_field[:picklistValues].map { |val| val["value"] }
|
65
|
-
{ "type": %w[
|
65
|
+
{ "type": %w[string null], "items": { "type": "string" }, "enum": enum_values }
|
66
66
|
elsif sf_field[:picklistValues]
|
67
67
|
enum_values = sf_field[:picklistValues].map { |val| val["value"] }
|
68
|
-
{ "type": "
|
68
|
+
{ "type": "string", "items": { "type": "string" }, "enum": enum_values }
|
69
69
|
else
|
70
|
-
{ "type": "
|
70
|
+
{ "type": "string", "items": { "type": "string" } }
|
71
71
|
end
|
72
72
|
when "reference", "Reference (Lookup & Master-Detail)"
|
73
73
|
if sf_field["nillable"]
|