vendor: update all dependencies
* Update all dependencies * Remove all `[[constraint]]` from Gopkg.toml * Add in the minimum number of `[[override]]` to build * Remove go get of github.com/inconshreveable/mousetrap as it is vendored * Update docs with new policy on constraints
This commit is contained in:
+47
-7
@@ -15,7 +15,7 @@
|
||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/shopping-content",
|
||||
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/QMVTzP4sO9_JHyigCiKlZqLj3Hc\"",
|
||||
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/LI6UdBai7-kwhskTkR_vgy6vg2U\"",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
@@ -60,12 +60,12 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"quotaUser": {
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
|
||||
"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"userIp": {
|
||||
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
|
||||
"description": "Deprecated. Please use quotaUser instead.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -792,7 +792,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180205",
|
||||
"revision": "20180410",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Error": {
|
||||
@@ -1011,16 +1011,38 @@
|
||||
"id": "OrderCustomer",
|
||||
"properties": {
|
||||
"email": {
|
||||
"description": "Email address of the customer.",
|
||||
"description": "Email address that should be used for order related communications. In certain cases this might not be a real users email, but a proxy email.",
|
||||
"type": "string"
|
||||
},
|
||||
"explicitMarketingPreference": {
|
||||
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow.",
|
||||
"description": "Deprecated. Please use marketingRightsInfo instead.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"fullName": {
|
||||
"description": "Full name of the customer.",
|
||||
"type": "string"
|
||||
},
|
||||
"marketingRightsInfo": {
|
||||
"$ref": "OrderCustomerMarketingRightsInfo",
|
||||
"description": "Customer's marketing preferences."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OrderCustomerMarketingRightsInfo": {
|
||||
"id": "OrderCustomerMarketingRightsInfo",
|
||||
"properties": {
|
||||
"explicitMarketingPreference": {
|
||||
"description": "Last known user selection regarding marketing preferences. In certain cases this selection might not be known, so this field would be empty.",
|
||||
"type": "string"
|
||||
},
|
||||
"lastUpdatedTimestamp": {
|
||||
"description": "Timestamp when last time marketing preference was updated. Could be empty, if user wasn't offered a selection yet.",
|
||||
"type": "string"
|
||||
},
|
||||
"marketingEmailAddress": {
|
||||
"description": "Email address that can be used for marketing purposes. This field is only filled when explicitMarketingPreference is equal to 'granted'.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -2749,12 +2771,30 @@
|
||||
"type": "string"
|
||||
},
|
||||
"explicitMarketingPreference": {
|
||||
"description": "If set, this indicates the user explicitly chose to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the checkout flow. Optional.",
|
||||
"description": "Deprecated. Please use marketingRightsInfo instead.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"fullName": {
|
||||
"description": "Full name of the customer.",
|
||||
"type": "string"
|
||||
},
|
||||
"marketingRightsInfo": {
|
||||
"$ref": "TestOrderCustomerMarketingRightsInfo",
|
||||
"description": "Customer's marketing preferences."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"TestOrderCustomerMarketingRightsInfo": {
|
||||
"id": "TestOrderCustomerMarketingRightsInfo",
|
||||
"properties": {
|
||||
"explicitMarketingPreference": {
|
||||
"description": "Last know user use selection regards marketing preferences. In certain cases selection might not be known, so this field would be empty.",
|
||||
"type": "string"
|
||||
},
|
||||
"lastUpdatedTimestamp": {
|
||||
"description": "Timestamp when last time marketing preference was updated. Could be empty, if user wasn't offered a selection yet.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
||||
+88
-11
@@ -343,19 +343,21 @@ func (s *OrderCancellation) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
type OrderCustomer struct {
|
||||
// Email: Email address of the customer.
|
||||
// Email: Email address that should be used for order related
|
||||
// communications. In certain cases this might not be a real users
|
||||
// email, but a proxy email.
|
||||
Email string `json:"email,omitempty"`
|
||||
|
||||
// ExplicitMarketingPreference: If set, this indicates the user
|
||||
// explicitly chose to opt in or out of providing marketing rights to
|
||||
// the merchant. If unset, this indicates the user has already made this
|
||||
// choice in a previous purchase, and was thus not shown the marketing
|
||||
// right opt in/out checkbox during the checkout flow.
|
||||
// ExplicitMarketingPreference: Deprecated. Please use
|
||||
// marketingRightsInfo instead.
|
||||
ExplicitMarketingPreference bool `json:"explicitMarketingPreference,omitempty"`
|
||||
|
||||
// FullName: Full name of the customer.
|
||||
FullName string `json:"fullName,omitempty"`
|
||||
|
||||
// MarketingRightsInfo: Customer's marketing preferences.
|
||||
MarketingRightsInfo *OrderCustomerMarketingRightsInfo `json:"marketingRightsInfo,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Email") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -379,6 +381,46 @@ func (s *OrderCustomer) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type OrderCustomerMarketingRightsInfo struct {
|
||||
// ExplicitMarketingPreference: Last known user selection regarding
|
||||
// marketing preferences. In certain cases this selection might not be
|
||||
// known, so this field would be empty.
|
||||
ExplicitMarketingPreference string `json:"explicitMarketingPreference,omitempty"`
|
||||
|
||||
// LastUpdatedTimestamp: Timestamp when last time marketing preference
|
||||
// was updated. Could be empty, if user wasn't offered a selection yet.
|
||||
LastUpdatedTimestamp string `json:"lastUpdatedTimestamp,omitempty"`
|
||||
|
||||
// MarketingEmailAddress: Email address that can be used for marketing
|
||||
// purposes. This field is only filled when explicitMarketingPreference
|
||||
// is equal to 'granted'.
|
||||
MarketingEmailAddress string `json:"marketingEmailAddress,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "ExplicitMarketingPreference") to unconditionally include in API
|
||||
// requests. By default, fields with empty values are omitted from API
|
||||
// requests. However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g.
|
||||
// "ExplicitMarketingPreference") to include in API requests with the
|
||||
// JSON null value. By default, fields with empty values are omitted
|
||||
// from API requests. However, any field with an empty value appearing
|
||||
// in NullFields will be sent to the server as null. It is an error if a
|
||||
// field in this list has a non-empty value. This may be used to include
|
||||
// null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OrderCustomerMarketingRightsInfo) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod OrderCustomerMarketingRightsInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type OrderDeliveryDetails struct {
|
||||
// Address: The delivery address
|
||||
Address *OrderAddress `json:"address,omitempty"`
|
||||
@@ -3075,16 +3117,16 @@ type TestOrderCustomer struct {
|
||||
// Email: Email address of the customer.
|
||||
Email string `json:"email,omitempty"`
|
||||
|
||||
// ExplicitMarketingPreference: If set, this indicates the user
|
||||
// explicitly chose to opt in or out of providing marketing rights to
|
||||
// the merchant. If unset, this indicates the user has already made this
|
||||
// choice in a previous purchase, and was thus not shown the marketing
|
||||
// right opt in/out checkbox during the checkout flow. Optional.
|
||||
// ExplicitMarketingPreference: Deprecated. Please use
|
||||
// marketingRightsInfo instead.
|
||||
ExplicitMarketingPreference bool `json:"explicitMarketingPreference,omitempty"`
|
||||
|
||||
// FullName: Full name of the customer.
|
||||
FullName string `json:"fullName,omitempty"`
|
||||
|
||||
// MarketingRightsInfo: Customer's marketing preferences.
|
||||
MarketingRightsInfo *TestOrderCustomerMarketingRightsInfo `json:"marketingRightsInfo,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Email") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -3108,6 +3150,41 @@ func (s *TestOrderCustomer) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type TestOrderCustomerMarketingRightsInfo struct {
|
||||
// ExplicitMarketingPreference: Last know user use selection regards
|
||||
// marketing preferences. In certain cases selection might not be known,
|
||||
// so this field would be empty.
|
||||
ExplicitMarketingPreference string `json:"explicitMarketingPreference,omitempty"`
|
||||
|
||||
// LastUpdatedTimestamp: Timestamp when last time marketing preference
|
||||
// was updated. Could be empty, if user wasn't offered a selection yet.
|
||||
LastUpdatedTimestamp string `json:"lastUpdatedTimestamp,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "ExplicitMarketingPreference") to unconditionally include in API
|
||||
// requests. By default, fields with empty values are omitted from API
|
||||
// requests. However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g.
|
||||
// "ExplicitMarketingPreference") to include in API requests with the
|
||||
// JSON null value. By default, fields with empty values are omitted
|
||||
// from API requests. However, any field with an empty value appearing
|
||||
// in NullFields will be sent to the server as null. It is an error if a
|
||||
// field in this list has a non-empty value. This may be used to include
|
||||
// null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *TestOrderCustomerMarketingRightsInfo) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod TestOrderCustomerMarketingRightsInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type TestOrderLineItem struct {
|
||||
// Product: Product data from the time of the order placement.
|
||||
Product *TestOrderLineItemProduct `json:"product,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user