@maxim_mazurok/gapi.client.merchantapi-notifications_v1beta 0.1.20260701 → 0.1.20260712
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +5 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://merchantapi.googleapis.com/$discovery/rest?version=notifications_v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260712
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -43,7 +43,7 @@ declare namespace gapi.client {
|
|
|
43
43
|
allManagedAccounts?: boolean;
|
|
44
44
|
/** URL to be used to push the notification to the merchant. */
|
|
45
45
|
callBackUri?: string;
|
|
46
|
-
/** Output only. The `name` of the notification configuration. Generated by the
|
|
46
|
+
/** Output only. The `name` of the notification configuration. Generated by the Merchant API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}` */
|
|
47
47
|
name?: string;
|
|
48
48
|
/** The event that the merchant wants to be notified about. */
|
|
49
49
|
registeredEvent?:
|
|
@@ -102,7 +102,7 @@ declare namespace gapi.client {
|
|
|
102
102
|
resourceType?: 'RESOURCE_UNSPECIFIED' | 'PRODUCT' | 'ACCOUNT_SERVICE';
|
|
103
103
|
}
|
|
104
104
|
interface NotificationsubscriptionsResource {
|
|
105
|
-
/** Creates a notification subscription for a business. For standalone or
|
|
105
|
+
/** Creates a notification subscription for a business. For standalone or sub-accounts, the business can create a subscription for self. For advanced accounts, the business can create a subscription for all managed accounts or for a specific subaccount. See [Decode notifications](/merchant/api/guides/accounts/notifications#decode_notifications) for information on how to decode the notification payload and how to interpret its contents. We will allow the following types of notification subscriptions to exist together (per business as a subscriber per event type): 1. Subscription for all managed accounts + subscription for self. 2. Multiple "partial" subscriptions for managed accounts + subscription for self. we will not allow (per business as a subscriber per event type): 1. Multiple self subscriptions. 2. Multiple "all managed accounts" subscriptions. 3. "All managed accounts" subscription and partial subscriptions at the same time. 4. Multiple partial subscriptions for the same target account. */
|
|
106
106
|
create(request: {
|
|
107
107
|
/** V1 error format. */
|
|
108
108
|
'$.xgafv'?: '1' | '2';
|
|
@@ -259,7 +259,7 @@ declare namespace gapi.client {
|
|
|
259
259
|
fields?: string;
|
|
260
260
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
261
261
|
key?: string;
|
|
262
|
-
/** Output only. The `name` of the notification configuration. Generated by the
|
|
262
|
+
/** Output only. The `name` of the notification configuration. Generated by the Merchant API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}` */
|
|
263
263
|
name: string;
|
|
264
264
|
/** OAuth 2.0 token for the current user. */
|
|
265
265
|
oauth_token?: string;
|
|
@@ -290,7 +290,7 @@ declare namespace gapi.client {
|
|
|
290
290
|
fields?: string;
|
|
291
291
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
292
292
|
key?: string;
|
|
293
|
-
/** Output only. The `name` of the notification configuration. Generated by the
|
|
293
|
+
/** Output only. The `name` of the notification configuration. Generated by the Merchant API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}` */
|
|
294
294
|
name: string;
|
|
295
295
|
/** OAuth 2.0 token for the current user. */
|
|
296
296
|
oauth_token?: string;
|
package/package.json
CHANGED