From d40c2ba5678d1cb9347a57fc346f967b5b697032 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 29 Oct 2024 07:08:43 +0000 Subject: [PATCH] feat(content): update the api #### content:v2.1 The following keys were deleted: - resources.settlementreports.methods.get (Total Keys: 14) - resources.settlementreports.methods.list (Total Keys: 20) - resources.settlementtransactions.methods.list (Total Keys: 22) - schemas.SettlementReport (Total Keys: 11) - schemas.SettlementTransaction (Total Keys: 28) - schemas.SettlementreportsListResponse (Total Keys: 6) - schemas.SettlementtransactionsListResponse (Total Keys: 6) --- docs/dyn/content_v2_1.conversionsources.html | 2 +- docs/dyn/content_v2_1.html | 10 - .../documents/content.v2.1.json | 330 +----------------- 3 files changed, 5 insertions(+), 337 deletions(-) diff --git a/docs/dyn/content_v2_1.conversionsources.html b/docs/dyn/content_v2_1.conversionsources.html index c53522a7585..0713f4470db 100644 --- a/docs/dyn/content_v2_1.conversionsources.html +++ b/docs/dyn/content_v2_1.conversionsources.html @@ -374,7 +374,7 @@

Method Details

"state": "A String", # Output only. Current state of this conversion source. Can't be edited through the API. } - updateMask: string, Required. List of fields being updated. + updateMask: string, Optional. List of fields being updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/docs/dyn/content_v2_1.html b/docs/dyn/content_v2_1.html index b46a46c40a7..1ca023310be 100644 --- a/docs/dyn/content_v2_1.html +++ b/docs/dyn/content_v2_1.html @@ -214,16 +214,6 @@

Instance Methods

Returns the returnpolicyonline Resource.

-

- settlementreports() -

-

Returns the settlementreports Resource.

- -

- settlementtransactions() -

-

Returns the settlementtransactions Resource.

-

shippingsettings()

diff --git a/googleapiclient/discovery_cache/documents/content.v2.1.json b/googleapiclient/discovery_cache/documents/content.v2.1.json index 61e5bc68132..540731b84a6 100644 --- a/googleapiclient/discovery_cache/documents/content.v2.1.json +++ b/googleapiclient/discovery_cache/documents/content.v2.1.json @@ -1457,7 +1457,7 @@ "type": "string" }, "updateMask": { -"description": "Required. List of fields being updated.", +"description": "Optional. List of fields being updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4313,141 +4313,6 @@ } } }, -"settlementreports": { -"methods": { -"get": { -"description": "Retrieves a settlement report from your Merchant Center account.", -"flatPath": "{merchantId}/settlementreports/{settlementId}", -"httpMethod": "GET", -"id": "content.settlementreports.get", -"parameterOrder": [ -"merchantId", -"settlementId" -], -"parameters": { -"merchantId": { -"description": "The Merchant Center account of the settlement report.", -"format": "uint64", -"location": "path", -"required": true, -"type": "string" -}, -"settlementId": { -"description": "The Google-provided ID of the settlement.", -"location": "path", -"required": true, -"type": "string" -} -}, -"path": "{merchantId}/settlementreports/{settlementId}", -"response": { -"$ref": "SettlementReport" -}, -"scopes": [ -"https://www.googleapis.com/auth/content" -] -}, -"list": { -"description": "Retrieves a list of settlement reports from your Merchant Center account.", -"flatPath": "{merchantId}/settlementreports", -"httpMethod": "GET", -"id": "content.settlementreports.list", -"parameterOrder": [ -"merchantId" -], -"parameters": { -"maxResults": { -"description": "The maximum number of settlements to return in the response, used for paging. The default value is 200 returns per page, and the maximum allowed value is 5000 returns per page.", -"format": "uint32", -"location": "query", -"type": "integer" -}, -"merchantId": { -"description": "The Merchant Center account to list settlements for.", -"format": "uint64", -"location": "path", -"required": true, -"type": "string" -}, -"pageToken": { -"description": "The token returned by the previous request.", -"location": "query", -"type": "string" -}, -"transferEndDate": { -"description": "Obtains settlements which have transactions before this date (inclusively), in ISO 8601 format.", -"location": "query", -"type": "string" -}, -"transferStartDate": { -"description": "Obtains settlements which have transactions after this date (inclusively), in ISO 8601 format.", -"location": "query", -"type": "string" -} -}, -"path": "{merchantId}/settlementreports", -"response": { -"$ref": "SettlementreportsListResponse" -}, -"scopes": [ -"https://www.googleapis.com/auth/content" -] -} -} -}, -"settlementtransactions": { -"methods": { -"list": { -"description": "Retrieves a list of transactions for the settlement.", -"flatPath": "{merchantId}/settlementreports/{settlementId}/transactions", -"httpMethod": "GET", -"id": "content.settlementtransactions.list", -"parameterOrder": [ -"merchantId", -"settlementId" -], -"parameters": { -"maxResults": { -"description": "The maximum number of transactions to return in the response, used for paging. The default value is 200 transactions per page, and the maximum allowed value is 5000 transactions per page.", -"format": "uint32", -"location": "query", -"type": "integer" -}, -"merchantId": { -"description": "The Merchant Center account to list transactions for.", -"format": "uint64", -"location": "path", -"required": true, -"type": "string" -}, -"pageToken": { -"description": "The token returned by the previous request.", -"location": "query", -"type": "string" -}, -"settlementId": { -"description": "The Google-provided ID of the settlement.", -"location": "path", -"required": true, -"type": "string" -}, -"transactionIds": { -"description": "The list of transactions to return. If not set, all transactions will be returned.", -"location": "query", -"repeated": true, -"type": "string" -} -}, -"path": "{merchantId}/settlementreports/{settlementId}/transactions", -"response": { -"$ref": "SettlementtransactionsListResponse" -}, -"scopes": [ -"https://www.googleapis.com/auth/content" -] -} -} -}, "shippingsettings": { "methods": { "custombatch": { @@ -4705,7 +4570,7 @@ } } }, -"revision": "20240825", +"revision": "20241023", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -7926,7 +7791,7 @@ false "No issues available to review.", "Account will be automatically reviewed at the end of the grace period.", "Account is retired. Should not appear in MC.", -"Account was already reviewd." +"Account has already been reviewed. You can't request further reviews." ], "type": "string" }, @@ -13624,193 +13489,6 @@ false }, "type": "object" }, -"SettlementReport": { -"description": " Settlement reports detail order-level and item-level credits and debits between you and Google.", -"id": "SettlementReport", -"properties": { -"endDate": { -"description": "The end date on which all transactions are included in the report, in ISO 8601 format.", -"type": "string" -}, -"kind": { -"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementReport`\"", -"type": "string" -}, -"previousBalance": { -"$ref": "Price", -"description": "The residual amount from the previous invoice. This is set only if the previous invoices are not paid because of negative balance." -}, -"settlementId": { -"description": "The ID of the settlement report.", -"type": "string" -}, -"startDate": { -"description": "The start date on which all transactions are included in the report, in ISO 8601 format.", -"type": "string" -}, -"transferAmount": { -"$ref": "Price", -"description": "The money due to the merchant." -}, -"transferDate": { -"description": "Date on which transfer for this payment was initiated by Google, in ISO 8601 format.", -"type": "string" -}, -"transferIds": { -"description": "The list of bank identifiers used for the transfer. For example, Trace ID for Federal Automated Clearing House (ACH). This may also be known as the Wire ID.", -"items": { -"type": "string" -}, -"type": "array" -} -}, -"type": "object" -}, -"SettlementTransaction": { -"description": "Settlement transactions give a detailed breakdown of the settlement report.", -"id": "SettlementTransaction", -"properties": { -"amount": { -"$ref": "SettlementTransactionAmount", -"description": "The amount for the transaction." -}, -"identifiers": { -"$ref": "SettlementTransactionIdentifiers", -"description": "Identifiers of the transaction." -}, -"kind": { -"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementTransaction`\"", -"type": "string" -}, -"transaction": { -"$ref": "SettlementTransactionTransaction", -"description": "Details of the transaction." -} -}, -"type": "object" -}, -"SettlementTransactionAmount": { -"id": "SettlementTransactionAmount", -"properties": { -"commission": { -"$ref": "SettlementTransactionAmountCommission" -}, -"description": { -"description": "The description of the event. Acceptable values are: - \"`taxWithhold`\" - \"`principal`\" - \"`principalAdjustment`\" - \"`shippingFee`\" - \"`merchantRemittedSalesTax`\" - \"`googleRemittedSalesTax`\" - \"`merchantCoupon`\" - \"`merchantCouponTax`\" - \"`merchantRemittedDisposalTax`\" - \"`googleRemittedDisposalTax`\" - \"`merchantRemittedRedemptionFee`\" - \"`googleRemittedRedemptionFee`\" - \"`eeeEcoFee`\" - \"`furnitureEcoFee`\" - \"`copyPrivateFee`\" - \"`eeeEcoFeeCommission`\" - \"`furnitureEcoFeeCommission`\" - \"`copyPrivateFeeCommission`\" - \"`principalRefund`\" - \"`principalRefundTax`\" - \"`itemCommission`\" - \"`adjustmentCommission`\" - \"`shippingFeeCommission`\" - \"`commissionRefund`\" - \"`damaged`\" - \"`damagedOrDefectiveItem`\" - \"`expiredItem`\" - \"`faultyItem`\" - \"`incorrectItemReceived`\" - \"`itemMissing`\" - \"`qualityNotExpected`\" - \"`receivedTooLate`\" - \"`storePackageMissing`\" - \"`transitPackageMissing`\" - \"`unsuccessfulDeliveryUndeliverable`\" - \"`wrongChargeInStore`\" - \"`wrongItem`\" - \"`returns`\" - \"`undeliverable`\" - \"`issueRelatedRefundAndReplacementAmountDescription`\" - \"`refundFromMerchant`\" - \"`returnLabelShippingFee`\" - \"`lumpSumCorrection`\" - \"`pspFee`\" - \"`principalRefundDoesNotFit`\" - \"`principalRefundOrderedWrongItem`\" - \"`principalRefundQualityNotExpected`\" - \"`principalRefundBetterPriceFound`\" - \"`principalRefundNoLongerNeeded`\" - \"`principalRefundChangedMind`\" - \"`principalRefundReceivedTooLate`\" - \"`principalRefundIncorrectItemReceived`\" - \"`principalRefundDamagedOrDefectiveItem`\" - \"`principalRefundDidNotMatchDescription`\" - \"`principalRefundExpiredItem`\" ", -"type": "string" -}, -"transactionAmount": { -"$ref": "Price", -"description": "The amount that contributes to the line item price." -}, -"type": { -"description": "The type of the amount. Acceptable values are: - \"`itemPrice`\" - \"`orderPrice`\" - \"`refund`\" - \"`earlyRefund`\" - \"`courtesyRefund`\" - \"`returnRefund`\" - \"`returnLabelShippingFeeAmount`\" - \"`lumpSumCorrectionAmount`\" ", -"type": "string" -} -}, -"type": "object" -}, -"SettlementTransactionAmountCommission": { -"id": "SettlementTransactionAmountCommission", -"properties": { -"category": { -"description": "The category of the commission. Acceptable values are: - \"`animalsAndPetSupplies`\" - \"`dogCatFoodAndCatLitter`\" - \"`apparelAndAccessories`\" - \"`shoesHandbagsAndSunglasses`\" - \"`costumesAndAccessories`\" - \"`jewelry`\" - \"`watches`\" - \"`hobbiesArtsAndCrafts`\" - \"`homeAndGarden`\" - \"`entertainmentCollectibles`\" - \"`collectibleCoins`\" - \"`sportsCollectibles`\" - \"`sportingGoods`\" - \"`toysAndGames`\" - \"`musicalInstruments`\" - \"`giftCards`\" - \"`babyAndToddler`\" - \"`babyFoodWipesAndDiapers`\" - \"`businessAndIndustrial`\" - \"`camerasOpticsAndPhotography`\" - \"`consumerElectronics`\" - \"`electronicsAccessories`\" - \"`personalComputers`\" - \"`videoGameConsoles`\" - \"`foodAndGrocery`\" - \"`beverages`\" - \"`tobaccoProducts`\" - \"`furniture`\" - \"`hardware`\" - \"`buildingMaterials`\" - \"`tools`\" - \"`healthAndPersonalCare`\" - \"`beauty`\" - \"`householdSupplies`\" - \"`kitchenAndDining`\" - \"`majorAppliances`\" - \"`luggageAndBags`\" - \"`media`\" - \"`officeSupplies`\" - \"`softwareAndVideoGames`\" - \"`vehiclePartsAndAccessories`\" - \"`vehicleTiresAndWheels`\" - \"`vehicles`\" - \"`everythingElse`\" ", -"type": "string" -}, -"rate": { -"description": "Rate of the commission in percentage.", -"type": "string" -} -}, -"type": "object" -}, -"SettlementTransactionIdentifiers": { -"id": "SettlementTransactionIdentifiers", -"properties": { -"adjustmentId": { -"description": "The identifier of the adjustments, if it's available.", -"type": "string" -}, -"merchantOrderId": { -"description": "The merchant provided order ID.", -"type": "string" -}, -"orderItemId": { -"description": "The identifier of the item.", -"type": "string" -}, -"settlementEntryId": { -"description": "The unique ID of the settlement transaction entry.", -"type": "string" -}, -"shipmentIds": { -"description": "The shipment ids for the item.", -"items": { -"type": "string" -}, -"type": "array" -}, -"transactionId": { -"description": "The Google transaction ID.", -"type": "string" -} -}, -"type": "object" -}, -"SettlementTransactionTransaction": { -"id": "SettlementTransactionTransaction", -"properties": { -"postDate": { -"description": "The time on which the event occurred in ISO 8601 format.", -"type": "string" -}, -"type": { -"description": "The type of the transaction that occurred. Acceptable values are: - \"`order`\" - \"`reversal`\" - \"`orderRefund`\" - \"`reversalRefund`\" - \"`issueRelatedRefundAndReplacement`\" - \"`returnLabelShippingFeeTransaction`\" - \"`reversalIssueRelatedRefundAndReplacement`\" - \"`reversalReturnLabelShippingFeeTransaction`\" - \"`lumpSumCorrectionTransaction`\" ", -"type": "string" -} -}, -"type": "object" -}, -"SettlementreportsListResponse": { -"id": "SettlementreportsListResponse", -"properties": { -"kind": { -"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementreportsListResponse`\".", -"type": "string" -}, -"nextPageToken": { -"description": "The token for the retrieval of the next page of returns.", -"type": "string" -}, -"resources": { -"items": { -"$ref": "SettlementReport" -}, -"type": "array" -} -}, -"type": "object" -}, -"SettlementtransactionsListResponse": { -"id": "SettlementtransactionsListResponse", -"properties": { -"kind": { -"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#settlementtransactionsListResponse`\".", -"type": "string" -}, -"nextPageToken": { -"description": "The token for the retrieval of the next page of returns.", -"type": "string" -}, -"resources": { -"items": { -"$ref": "SettlementTransaction" -}, -"type": "array" -} -}, -"type": "object" -}, "ShippingSettings": { "description": "The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role.", "id": "ShippingSettings", @@ -14109,7 +13787,7 @@ false "No issues available to review.", "Account will be automatically reviewed at the end of the grace period.", "Account is retired. Should not appear in MC.", -"Account was already reviewd." +"Account has already been reviewed. You can't request further reviews." ], "type": "string" },