@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20250415 → 0.0.20250419

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 +11 -7
  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_v1beta
12
- // Revision: 20250415
12
+ // Revision: 20250419
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -36,6 +36,10 @@ declare namespace gapi.client {
36
36
  /** When set, it states that the accepted `TermsOfService` is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required `TermsOfService` is found in the `Required` message. */
37
37
  validUntil?: Date;
38
38
  }
39
+ interface AcceptTermsOfServiceResponse {
40
+ /** The agreement state after accepting the ToS. */
41
+ termsOfServiceAgreementState?: TermsOfServiceAgreementState;
42
+ }
39
43
  interface Account {
40
44
  /** Output only. The ID of the account. */
41
45
  accountId?: string;
@@ -49,7 +53,7 @@ declare namespace gapi.client {
49
53
  name?: string;
50
54
  /** Output only. Whether this is a test account. */
51
55
  testAccount?: boolean;
52
- /** Required. The time zone of the account. On writes, `time_zone` sets both the `reporting_time_zone` and the `display_time_zone`. For reads, `time_zone` always returns the `display_time_zone`. If `display_time_zone` doesn't exist for your account, `time_zone` is empty. */
56
+ /** Required. The time zone of the account. On writes, `time_zone` sets both the `reporting_time_zone` and the `display_time_zone`. For reads, `time_zone` always returns the `display_time_zone`. If `display_time_zone` doesn't exist for your account, `time_zone` is empty. The `version` field is not supported, won't be set in responses and will be silently ignored if specified in requests. */
53
57
  timeZone?: TimeZone;
54
58
  }
55
59
  interface AccountAggregation {}
@@ -591,7 +595,7 @@ declare namespace gapi.client {
591
595
  interface Service {
592
596
  /** Required. A boolean exposing the active status of the shipping service. */
593
597
  active?: boolean;
594
- /** The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. */
598
+ /** Required. The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. */
595
599
  currencyCode?: string;
596
600
  /** Required. The CLDR territory code of the countries to which the service applies. */
597
601
  deliveryCountries?: string[];
@@ -1945,7 +1949,7 @@ declare namespace gapi.client {
1945
1949
  key?: string;
1946
1950
  /** OAuth 2.0 token for the current user. */
1947
1951
  oauth_token?: string;
1948
- /** Required. The account where this product will be inserted. Format: accounts/{account} */
1952
+ /** Required. The account for which this shipping setting will be inserted. If you are using an advanced account, you must specify the unique identifier of the sub-account for which you want to insert the shipping setting. Format: `accounts/{ACCOUNT_ID}` */
1949
1953
  parent: string;
1950
1954
  /** Returns response with indentations and line breaks. */
1951
1955
  prettyPrint?: boolean;
@@ -1974,7 +1978,7 @@ declare namespace gapi.client {
1974
1978
  key?: string;
1975
1979
  /** OAuth 2.0 token for the current user. */
1976
1980
  oauth_token?: string;
1977
- /** Required. The account where this product will be inserted. Format: accounts/{account} */
1981
+ /** Required. The account for which this shipping setting will be inserted. If you are using an advanced account, you must specify the unique identifier of the sub-account for which you want to insert the shipping setting. Format: `accounts/{ACCOUNT_ID}` */
1978
1982
  parent: string;
1979
1983
  /** Returns response with indentations and line breaks. */
1980
1984
  prettyPrint?: boolean;
@@ -2419,7 +2423,7 @@ declare namespace gapi.client {
2419
2423
  pageToken?: string;
2420
2424
  /** Returns response with indentations and line breaks. */
2421
2425
  prettyPrint?: boolean;
2422
- /** Required. The aggregation service provider. Format: `providers/{providerId}` */
2426
+ /** Required. The aggregation service provider. Format: `accounts/{providerId}` */
2423
2427
  provider: string;
2424
2428
  /** 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. */
2425
2429
  quotaUser?: string;
@@ -2535,7 +2539,7 @@ declare namespace gapi.client {
2535
2539
  upload_protocol?: string;
2536
2540
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2537
2541
  uploadType?: string;
2538
- }): Request<{}>;
2542
+ }): Request<AcceptTermsOfServiceResponse>;
2539
2543
  /** Retrieves the `TermsOfService` associated with the provided version. */
2540
2544
  get(request?: {
2541
2545
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta",
3
- "version": "0.0.20250415",
3
+ "version": "0.0.20250419",
4
4
  "description": "TypeScript typings for Merchant API accounts_v1beta",
5
5
  "repository": {
6
6
  "type": "git",