Update dependenciess
Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
parent
9d0f13c4c0
commit
946c8399e2
2985 changed files with 1008107 additions and 118934 deletions
134
vendor/google.golang.org/api/content/v2sandbox/content-api.json
generated
vendored
134
vendor/google.golang.org/api/content/v2sandbox/content-api.json
generated
vendored
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/QmLvLWNsI9BfMK5wWeN2hMPf260\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/iAmRSwOzrdbZR2Jaj_q1_TiSXuk\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "content:v2sandbox",
|
||||
"name": "content",
|
||||
"canonicalName": "Shopping Content",
|
||||
"version": "v2sandbox",
|
||||
"revision": "20170928",
|
||||
"revision": "20171124",
|
||||
"title": "Content API for Shopping",
|
||||
"description": "Manages product items, inventory, and Merchant Center accounts for Google Shopping.",
|
||||
"ownerDomain": "google.com",
|
||||
|
@ -332,10 +332,6 @@
|
|||
"$ref": "OrderCancellation"
|
||||
}
|
||||
},
|
||||
"channelType": {
|
||||
"type": "string",
|
||||
"description": "The channel type of the order: \"purchaseOnGoogle\" or \"googleExpress\"."
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The id of the line item."
|
||||
|
@ -744,7 +740,7 @@
|
|||
"properties": {
|
||||
"carrier": {
|
||||
"type": "string",
|
||||
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"united parcel service\" \n- \"usps\" \n- \"united states postal service\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"on trac\" \n- \"ontrac\" \n- \"on-trac\" \n- \"on_trac\" \n- \"delvic\" \n- \"dynamex\" \n- \"lasership\" \n- \"smartpost\" \n- \"fedex smartpost\" \n- \"mpx\" \n- \"uds\" \n- \"united delivery service\""
|
||||
"description": "The carrier handling the shipment.\n\nAcceptable values are: \n- \"gsx\" \n- \"ups\" \n- \"usps\" \n- \"fedex\" \n- \"dhl\" \n- \"ecourier\" \n- \"cxt\" \n- \"google\" \n- \"ontrac\" \n- \"emsy\" \n- \"ont\" \n- \"deliv\" \n- \"dynamex\" \n- \"lasership\" \n- \"mpx\" \n- \"uds\""
|
||||
},
|
||||
"creationDate": {
|
||||
"type": "string",
|
||||
|
@ -781,7 +777,11 @@
|
|||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The id of the line item that is shipped."
|
||||
"description": "The id of the line item that is shipped. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to ship. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
|
@ -834,14 +834,26 @@
|
|||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to cancellation amount in amountPretax."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to cancel."
|
||||
"description": "The ID of the line item to cancel. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
"description": "The quantity to cancel.",
|
||||
|
@ -1025,9 +1037,21 @@
|
|||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "Amount to refund for the cancelation. Optional. If not set, Google will calculate the default based on the price and tax of the items involved. The amount must not be larger than the net amount left on the order."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to cancellation amount in amountPretax."
|
||||
},
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to cancel."
|
||||
"description": "The ID of the line item to cancel. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to cancel. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
|
@ -1052,6 +1076,14 @@
|
|||
"$ref": "Price",
|
||||
"description": "The amount that is refunded."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded. Either amount or amountPretax and amountTax should be filled."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to refund amount in amountPretax."
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"description": "The reason for the refund."
|
||||
|
@ -1068,7 +1100,11 @@
|
|||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to return."
|
||||
"description": "The ID of the line item to return. Either lineItemId or productId is required."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
|
@ -1267,6 +1303,14 @@
|
|||
"$ref": "Price",
|
||||
"description": "The amount that is refunded."
|
||||
},
|
||||
"amountPretax": {
|
||||
"$ref": "Price",
|
||||
"description": "The amount that is refunded. Either amount or amountPretax and amountTax should be filled."
|
||||
},
|
||||
"amountTax": {
|
||||
"$ref": "Price",
|
||||
"description": "Tax amount that correspond to refund amount in amountPretax."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
|
@ -1302,12 +1346,16 @@
|
|||
"properties": {
|
||||
"lineItemId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the line item to return."
|
||||
"description": "The ID of the line item to return. Either lineItemId or productId is required."
|
||||
},
|
||||
"operationId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the operation. Unique across all operations for a given order."
|
||||
},
|
||||
"productId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the product to return. This is the REST ID used in the products service. Either lineItemId or productId is required."
|
||||
},
|
||||
"quantity": {
|
||||
"type": "integer",
|
||||
"description": "The quantity to return.",
|
||||
|
@ -1503,6 +1551,10 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"notificationMode": {
|
||||
"type": "string",
|
||||
"description": "Determines if test order must be pulled by merchant or pushed to merchant via push integration."
|
||||
},
|
||||
"paymentMethod": {
|
||||
"$ref": "TestOrderPaymentMethod",
|
||||
"description": "The details of the payment method."
|
||||
|
@ -1764,11 +1816,11 @@
|
|||
"id": "content.orders.acknowledge",
|
||||
"path": "{merchantId}/orders/{orderId}/acknowledge",
|
||||
"httpMethod": "POST",
|
||||
"description": "Marks an order as acknowledged. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Marks an order as acknowledged.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -1798,11 +1850,11 @@
|
|||
"id": "content.orders.advancetestorder",
|
||||
"path": "{merchantId}/testorders/{orderId}/advance",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\". This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Moves a test order from state \"inProgress\" to state \"pendingShipment\".",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -1829,11 +1881,11 @@
|
|||
"id": "content.orders.cancel",
|
||||
"path": "{merchantId}/orders/{orderId}/cancel",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels all line items in an order, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels all line items in an order, making a full refund.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -1863,11 +1915,11 @@
|
|||
"id": "content.orders.cancellineitem",
|
||||
"path": "{merchantId}/orders/{orderId}/cancelLineItem",
|
||||
"httpMethod": "POST",
|
||||
"description": "Cancels a line item, making a full refund. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Cancels a line item, making a full refund.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -1897,11 +1949,11 @@
|
|||
"id": "content.orders.createtestorder",
|
||||
"path": "{merchantId}/testorders",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sandbox only. Creates a test order. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Creates a test order.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that should manage the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -1924,7 +1976,7 @@
|
|||
"id": "content.orders.custombatch",
|
||||
"path": "orders/batch",
|
||||
"httpMethod": "POST",
|
||||
"description": "Retrieves or modifies multiple orders in a single request. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves or modifies multiple orders in a single request.",
|
||||
"request": {
|
||||
"$ref": "OrdersCustomBatchRequest"
|
||||
},
|
||||
|
@ -1939,11 +1991,11 @@
|
|||
"id": "content.orders.get",
|
||||
"path": "{merchantId}/orders/{orderId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves an order from your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves an order from your Merchant Center account.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -1970,11 +2022,11 @@
|
|||
"id": "content.orders.getbymerchantorderid",
|
||||
"path": "{merchantId}/ordersbymerchantid/{merchantOrderId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Retrieves an order using merchant order id. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Retrieves an order using merchant order id.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -2001,11 +2053,11 @@
|
|||
"id": "content.orders.gettestordertemplate",
|
||||
"path": "{merchantId}/testordertemplates/{templateName}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that should manage the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -2044,7 +2096,7 @@
|
|||
"id": "content.orders.list",
|
||||
"path": "{merchantId}/orders",
|
||||
"httpMethod": "GET",
|
||||
"description": "Lists the orders in your Merchant Center account. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Lists the orders in your Merchant Center account.",
|
||||
"parameters": {
|
||||
"acknowledged": {
|
||||
"type": "boolean",
|
||||
|
@ -2059,7 +2111,7 @@
|
|||
},
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -2139,11 +2191,11 @@
|
|||
"id": "content.orders.refund",
|
||||
"path": "{merchantId}/orders/{orderId}/refund",
|
||||
"httpMethod": "POST",
|
||||
"description": "Refund a portion of the order, up to the full amount paid. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Refund a portion of the order, up to the full amount paid.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -2173,11 +2225,11 @@
|
|||
"id": "content.orders.returnlineitem",
|
||||
"path": "{merchantId}/orders/{orderId}/returnLineItem",
|
||||
"httpMethod": "POST",
|
||||
"description": "Returns a line item. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Returns a line item.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -2207,11 +2259,11 @@
|
|||
"id": "content.orders.shiplineitems",
|
||||
"path": "{merchantId}/orders/{orderId}/shipLineItems",
|
||||
"httpMethod": "POST",
|
||||
"description": "Marks line item(s) as shipped. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Marks line item(s) as shipped.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -2241,11 +2293,11 @@
|
|||
"id": "content.orders.updatemerchantorderid",
|
||||
"path": "{merchantId}/orders/{orderId}/updateMerchantOrderId",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates the merchant order ID for a given order. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Updates the merchant order ID for a given order.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
@ -2275,11 +2327,11 @@
|
|||
"id": "content.orders.updateshipment",
|
||||
"path": "{merchantId}/orders/{orderId}/updateShipment",
|
||||
"httpMethod": "POST",
|
||||
"description": "Updates a shipment's status, carrier, and/or tracking ID. This method can only be called for non-multi-client accounts.",
|
||||
"description": "Updates a shipment's status, carrier, and/or tracking ID.",
|
||||
"parameters": {
|
||||
"merchantId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the managing account.",
|
||||
"description": "The ID of the account that manages the order. This cannot be a multi-client account.",
|
||||
"required": true,
|
||||
"format": "uint64",
|
||||
"location": "path"
|
||||
|
|
452
vendor/google.golang.org/api/content/v2sandbox/content-gen.go
generated
vendored
452
vendor/google.golang.org/api/content/v2sandbox/content-gen.go
generated
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue