@maxim_mazurok/gapi.client.merchantapi-accounts_v1 0.0.20251110 → 0.0.20251112

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.
Files changed (2) hide show
  1. package/index.d.ts +82 -1
  2. 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=accounts_v1
12
- // Revision: 20251110
12
+ // Revision: 20251112
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -77,6 +77,12 @@ declare namespace gapi.client {
77
77
  /** The localized title of the issue. */
78
78
  title?: string;
79
79
  }
80
+ interface AccountLimit {
81
+ /** Identifier. The limit part of the name will be a combination of the type and the scope. For example: `accounts/123/limits/products~ADS_NON_EEA` Format: `accounts/{account}/limits/{limit}` */
82
+ name?: string;
83
+ /** The limit for products. */
84
+ products?: ProductLimit;
85
+ }
80
86
  interface AccountManagement {}
81
87
  interface AccountRelationship {
82
88
  /** Optional. An optional alias you can assign to this account relationship. This alias acts as a convenient identifier for your own reference and management. It must be unique among all your account relationships with the same provider. For example, you might use `account_id_alias` to assign a friendly name to this relationship for easier identification in your systems. */
@@ -497,6 +503,12 @@ declare namespace gapi.client {
497
503
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
498
504
  nextPageToken?: string;
499
505
  }
506
+ interface ListAccountLimitsResponse {
507
+ /** The limits for the given account. */
508
+ accountLimits?: AccountLimit[];
509
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
510
+ nextPageToken?: string;
511
+ }
500
512
  interface ListAccountRelationshipsResponse {
501
513
  /** The account relationships that match your filter. */
502
514
  accountRelationships?: AccountRelationship[];
@@ -712,6 +724,12 @@ declare namespace gapi.client {
712
724
  /** Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum) */
713
725
  reportingContext?: string;
714
726
  }
727
+ interface ProductLimit {
728
+ /** Required. The maximum number of products that are allowed in the account in the given scope. */
729
+ limit?: string;
730
+ /** Required. The scope of the product limit. */
731
+ scope?: string;
732
+ }
715
733
  interface ProductsManagement {}
716
734
  interface ProductStatusChangeMessage {
717
735
  /** The target account that owns the entity that changed. Format : `accounts/{merchant_id}` */
@@ -1971,6 +1989,68 @@ declare namespace gapi.client {
1971
1989
  uploadType?: string;
1972
1990
  }): Request<ListAccountIssuesResponse>;
1973
1991
  }
1992
+ interface LimitsResource {
1993
+ /** Retrieves an account limit. */
1994
+ get(request?: {
1995
+ /** V1 error format. */
1996
+ '$.xgafv'?: string;
1997
+ /** OAuth access token. */
1998
+ access_token?: string;
1999
+ /** Data format for response. */
2000
+ alt?: string;
2001
+ /** JSONP */
2002
+ callback?: string;
2003
+ /** Selector specifying which fields to include in a partial response. */
2004
+ fields?: string;
2005
+ /** 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. */
2006
+ key?: string;
2007
+ /** Required. The name of the limit to retrieve. Format: `accounts/{account}/limits/{limit}` For example: `accounts/123/limits/products~ADS_NON_EEA` */
2008
+ name: string;
2009
+ /** OAuth 2.0 token for the current user. */
2010
+ oauth_token?: string;
2011
+ /** Returns response with indentations and line breaks. */
2012
+ prettyPrint?: boolean;
2013
+ /** 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. */
2014
+ quotaUser?: string;
2015
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2016
+ upload_protocol?: string;
2017
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2018
+ uploadType?: string;
2019
+ }): Request<AccountLimit>;
2020
+ /** Lists the limits of an account. */
2021
+ list(request?: {
2022
+ /** V1 error format. */
2023
+ '$.xgafv'?: string;
2024
+ /** OAuth access token. */
2025
+ access_token?: string;
2026
+ /** Data format for response. */
2027
+ alt?: string;
2028
+ /** JSONP */
2029
+ callback?: string;
2030
+ /** Selector specifying which fields to include in a partial response. */
2031
+ fields?: string;
2032
+ /** Required. A filter on the limit `type` is required, for example, `type = "products"`. */
2033
+ filter?: string;
2034
+ /** 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. */
2035
+ key?: string;
2036
+ /** OAuth 2.0 token for the current user. */
2037
+ oauth_token?: string;
2038
+ /** Optional. The maximum number of limits to return. The service may return fewer than this value. If unspecified, at most 100 limits will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
2039
+ pageSize?: number;
2040
+ /** Optional. A page token, received from a previous `ListAccountLimits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLimits` must match the call that provided the page token. */
2041
+ pageToken?: string;
2042
+ /** Required. The parent account. Format: `accounts/{account}` */
2043
+ parent: string;
2044
+ /** Returns response with indentations and line breaks. */
2045
+ prettyPrint?: boolean;
2046
+ /** 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. */
2047
+ quotaUser?: string;
2048
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2049
+ upload_protocol?: string;
2050
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2051
+ uploadType?: string;
2052
+ }): Request<ListAccountLimitsResponse>;
2053
+ }
1974
2054
  interface LfpProvidersResource {
1975
2055
  /** Find the LFP provider candidates in a given country. */
1976
2056
  find(request?: {
@@ -4138,6 +4218,7 @@ declare namespace gapi.client {
4138
4218
  gbpAccounts: GbpAccountsResource;
4139
4219
  homepage: HomepageResource;
4140
4220
  issues: IssuesResource;
4221
+ limits: LimitsResource;
4141
4222
  omnichannelSettings: OmnichannelSettingsResource;
4142
4223
  onlineReturnPolicies: OnlineReturnPoliciesResource;
4143
4224
  programs: ProgramsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.merchantapi-accounts_v1",
3
- "version": "0.0.20251110",
3
+ "version": "0.0.20251112",
4
4
  "description": "TypeScript typings for Merchant API accounts_v1",
5
5
  "repository": {
6
6
  "type": "git",