Socket
Socket
Sign inDemoInstall

@maxim_mazurok/gapi.client.content-v2.1

Package Overview
Dependencies
Maintainers
0
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.content-v2.1 - npm Package Compare versions

Comparing version 0.0.20240821 to 0.0.20240825

2

package.json
{
"name": "@maxim_mazurok/gapi.client.content-v2.1",
"version": "0.0.20240821",
"version": "0.0.20240825",
"description": "TypeScript typings for Content API for Shopping v2.1",

@@ -5,0 +5,0 @@ "repository": {

@@ -209,50 +209,2 @@ # TypeScript typings for Content API for Shopping v2.1

/*
Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, for example, when paused. This method is only available to selected merchants.
*/
await gapi.client.content.buyongoogleprograms.activate({
merchantId: 'merchantId',
regionCode: 'regionCode',
});
/*
Retrieves a status of the BoG program for your Merchant Center account.
*/
await gapi.client.content.buyongoogleprograms.get({
merchantId: 'merchantId',
regionCode: 'regionCode',
});
/*
Onboards the BoG program in your Merchant Center account. By using this method, you agree to the [Terms of Service](https://merchants.google.com/mc/termsofservice/transactions/US/latest). Calling this method is only possible if the authenticated account is the same as the merchant id in the request. Calling this method multiple times will only accept Terms of Service if the latest version is not currently signed.
*/
await gapi.client.content.buyongoogleprograms.onboard({
merchantId: 'merchantId',
regionCode: 'regionCode',
});
/*
Updates the status of the BoG program for your Merchant Center account.
*/
await gapi.client.content.buyongoogleprograms.patch({
merchantId: 'merchantId',
regionCode: 'regionCode',
});
/*
Pauses the BoG program in your Merchant Center account. This method is only available to selected merchants.
*/
await gapi.client.content.buyongoogleprograms.pause({
merchantId: 'merchantId',
regionCode: 'regionCode',
});
/*
Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. This method is only available to selected merchants.
*/
await gapi.client.content.buyongoogleprograms.requestreview({
merchantId: 'merchantId',
regionCode: 'regionCode',
});
/*
Uploads a collection to your Merchant Center account. If a collection with the same collectionId already exists, this method updates that entry. In each update, the collection is completely replaced by the fields in the body of the update request.

@@ -558,239 +510,2 @@ */

/*
Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.
*/
await gapi.client.content.orderinvoices.createchargeinvoice({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using `createChargeInvoice`. All amounts (except for the summary) are incremental with respect to the previous invoice.
*/
await gapi.client.content.orderinvoices.createrefundinvoice({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Retrieves a report for disbursements from your Merchant Center account.
*/
await gapi.client.content.orderreports.listdisbursements({
merchantId: 'merchantId',
});
/*
Retrieves a list of transactions for a disbursement from your Merchant Center account.
*/
await gapi.client.content.orderreports.listtransactions({
disbursementId: 'disbursementId',
merchantId: 'merchantId',
});
/*
Acks an order return in your Merchant Center account.
*/
await gapi.client.content.orderreturns.acknowledge({
merchantId: 'merchantId',
returnId: 'returnId',
});
/*
Create return in your Merchant Center account.
*/
await gapi.client.content.orderreturns.createorderreturn({
merchantId: 'merchantId',
});
/*
Retrieves an order return from your Merchant Center account.
*/
await gapi.client.content.orderreturns.get({
merchantId: 'merchantId',
returnId: 'returnId',
});
/*
Lists order returns in your Merchant Center account.
*/
await gapi.client.content.orderreturns.list({merchantId: 'merchantId'});
/*
Processes return in your Merchant Center account.
*/
await gapi.client.content.orderreturns.process({
merchantId: 'merchantId',
returnId: 'returnId',
});
/*
Marks an order as acknowledged.
*/
await gapi.client.content.orders.acknowledge({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Sandbox only. Moves a test order from state "`inProgress`" to state "`pendingShipment`".
*/
await gapi.client.content.orders.advancetestorder({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Cancels all line items in an order, making a full refund.
*/
await gapi.client.content.orders.cancel({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Cancels a line item, making a full refund.
*/
await gapi.client.content.orders.cancellineitem({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Sandbox only. Cancels a test order for customer-initiated cancellation.
*/
await gapi.client.content.orders.canceltestorderbycustomer({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Capture funds from the customer for the current order total. This method should be called after the merchant verifies that they are able and ready to start shipping the order. This method blocks until a response is received from the payment processsor. If this method succeeds, the merchant is guaranteed to receive funds for the order after shipment. If the request fails, it can be retried or the order may be cancelled. This method cannot be called after the entire order is already shipped. A rejected error code is returned when the payment service provider has declined the charge. This indicates a problem between the PSP and either the merchant's or customer's account. Sometimes this error will be resolved by the customer. We recommend retrying these errors once per day or cancelling the order with reason `failedToCaptureFunds` if the items cannot be held.
*/
await gapi.client.content.orders.captureOrder({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Sandbox only. Creates a test order.
*/
await gapi.client.content.orders.createtestorder({merchantId: 'merchantId'});
/*
Sandbox only. Creates a test return.
*/
await gapi.client.content.orders.createtestreturn({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Retrieves an order from your Merchant Center account.
*/
await gapi.client.content.orders.get({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Retrieves an order using merchant order ID.
*/
await gapi.client.content.orders.getbymerchantorderid({
merchantId: 'merchantId',
merchantOrderId: 'merchantOrderId',
});
/*
Sandbox only. Retrieves an order template that can be used to quickly create a new order in sandbox.
*/
await gapi.client.content.orders.gettestordertemplate({
merchantId: 'merchantId',
templateName: 'templateName',
});
/*
Deprecated. Notifies that item return and refund was handled directly by merchant outside of Google payments processing (for example, cash refund done in store). Note: We recommend calling the returnrefundlineitem method to refund in-store returns. We will issue the refund directly to the customer. This helps to prevent possible differences arising between merchant and Google transaction records. We also recommend having the point of sale system communicate with Google to ensure that customers do not receive a double refund by first refunding through Google then through an in-store return.
*/
await gapi.client.content.orders.instorerefundlineitem({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Lists the orders in your Merchant Center account.
*/
await gapi.client.content.orders.list({merchantId: 'merchantId'});
/*
Issues a partial or total refund for items and shipment.
*/
await gapi.client.content.orders.refunditem({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Issues a partial or total refund for an order.
*/
await gapi.client.content.orders.refundorder({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Rejects return on an line item.
*/
await gapi.client.content.orders.rejectreturnlineitem({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Returns and refunds a line item. Note that this method can only be called on fully shipped orders. The Orderreturns API is the preferred way to handle returns after you receive a return from a customer. You can use Orderreturns.list or Orderreturns.get to search for the return, and then use Orderreturns.processreturn to issue the refund. If the return cannot be found, then we recommend using this API to issue a refund.
*/
await gapi.client.content.orders.returnrefundlineitem({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Sets (or overrides if it already exists) merchant provided annotations in the form of key-value pairs. A common use case would be to supply us with additional structured information about a line item that cannot be provided through other methods. Submitted key-value pairs can be retrieved as part of the orders resource.
*/
await gapi.client.content.orders.setlineitemmetadata({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Marks line item(s) as shipped.
*/
await gapi.client.content.orders.shiplineitems({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Updates ship by and delivery by dates for a line item.
*/
await gapi.client.content.orders.updatelineitemshippingdetails({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Updates the merchant order ID for a given order.
*/
await gapi.client.content.orders.updatemerchantorderid({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Updates a shipment's status, carrier, and/or tracking ID.
*/
await gapi.client.content.orders.updateshipment({
merchantId: 'merchantId',
orderId: 'orderId',
});
/*
Creates new order tracking signal.

@@ -797,0 +512,0 @@ */

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc