@maxim_mazurok/gapi.client.content-v2.1 0.0.20251111 → 0.0.20251115

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 (3) hide show
  1. package/index.d.ts +1 -551
  2. package/package.json +1 -1
  3. package/readme.md +0 -62
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://shoppingcontent.googleapis.com/$discovery/rest?version=v2.1
12
- // Revision: 20251111
12
+ // Revision: 20251115
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -3028,130 +3028,6 @@ declare namespace gapi.client {
3028
3028
  /** The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested. */
3029
3029
  regionCode?: string;
3030
3030
  }
3031
- interface ReturnAddress {
3032
- /** Required. The address. */
3033
- address?: ReturnAddressAddress;
3034
- /** Required. The country of sale where the return address is applicable. */
3035
- country?: string;
3036
- /** Identifies what kind of resource this is. Value: the fixed string "`content#returnAddress`" */
3037
- kind?: string;
3038
- /** Required. The user-defined label of the return address. For the default address, use the label "default". */
3039
- label?: string;
3040
- /** Required. The merchant's contact phone number regarding the return. */
3041
- phoneNumber?: string;
3042
- /** Return address ID generated by Google. */
3043
- returnAddressId?: string;
3044
- }
3045
- interface ReturnAddressAddress {
3046
- /** CLDR country code (for example, "US"). */
3047
- country?: string;
3048
- /** City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs). */
3049
- locality?: string;
3050
- /** Postal code or ZIP (for example, "94043"). */
3051
- postalCode?: string;
3052
- /** Name of the recipient to address returns to. */
3053
- recipientName?: string;
3054
- /** Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). */
3055
- region?: string;
3056
- /** Street-level part of the address. May be up to two lines, each line specified as an array element. */
3057
- streetAddress?: string[];
3058
- }
3059
- interface ReturnaddressCustomBatchRequest {
3060
- /** The request entries to be processed in the batch. */
3061
- entries?: ReturnaddressCustomBatchRequestEntry[];
3062
- }
3063
- interface ReturnaddressCustomBatchRequestEntry {
3064
- /** An entry ID, unique within the batch request. */
3065
- batchId?: number;
3066
- /** The Merchant Center account ID. */
3067
- merchantId?: string;
3068
- /** Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`" - "`insert`" */
3069
- method?: string;
3070
- /** The return address to submit. This should be set only if the method is `insert`. */
3071
- returnAddress?: ReturnAddress;
3072
- /** The return address ID. This should be set only if the method is `delete` or `get`. */
3073
- returnAddressId?: string;
3074
- }
3075
- interface ReturnaddressCustomBatchResponse {
3076
- /** The result of the execution of the batch requests. */
3077
- entries?: ReturnaddressCustomBatchResponseEntry[];
3078
- /** Identifies what kind of resource this is. Value: the fixed string "`content#returnaddressCustomBatchResponse`". */
3079
- kind?: string;
3080
- }
3081
- interface ReturnaddressCustomBatchResponseEntry {
3082
- /** The ID of the request entry to which this entry responds. */
3083
- batchId?: number;
3084
- /** A list of errors defined if, and only if, the request failed. */
3085
- errors?: Errors;
3086
- /** Identifies what kind of resource this is. Value: the fixed string "`content#returnaddressCustomBatchResponseEntry`" */
3087
- kind?: string;
3088
- /** The retrieved return address. */
3089
- returnAddress?: ReturnAddress;
3090
- }
3091
- interface ReturnaddressListResponse {
3092
- /** Identifies what kind of resource this is. Value: the fixed string "`content#returnaddressListResponse`". */
3093
- kind?: string;
3094
- /** The token for the retrieval of the next page of addresses. */
3095
- nextPageToken?: string;
3096
- resources?: ReturnAddress[];
3097
- }
3098
- interface ReturnPolicy {
3099
- /** Required. The country of sale where the return policy is applicable. */
3100
- country?: string;
3101
- /** Identifies what kind of resource this is. Value: the fixed string "`content#returnPolicy`" */
3102
- kind?: string;
3103
- /** Required. The user-defined label of the return policy. For the default policy, use the label "default". */
3104
- label?: string;
3105
- /** Required. The name of the policy as shown in Merchant Center. */
3106
- name?: string;
3107
- /** Return reasons that will incur return fees. */
3108
- nonFreeReturnReasons?: string[];
3109
- /** Required. The policy. */
3110
- policy?: ReturnPolicyPolicy;
3111
- /** Return policy ID generated by Google. */
3112
- returnPolicyId?: string;
3113
- /** The return shipping fee that will apply to non free return reasons. */
3114
- returnShippingFee?: Price;
3115
- /** An optional list of seasonal overrides. */
3116
- seasonalOverrides?: ReturnPolicySeasonalOverride[];
3117
- }
3118
- interface ReturnpolicyCustomBatchRequest {
3119
- /** The request entries to be processed in the batch. */
3120
- entries?: ReturnpolicyCustomBatchRequestEntry[];
3121
- }
3122
- interface ReturnpolicyCustomBatchRequestEntry {
3123
- /** An entry ID, unique within the batch request. */
3124
- batchId?: number;
3125
- /** The Merchant Center account ID. */
3126
- merchantId?: string;
3127
- /** Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`" - "`insert`" */
3128
- method?: string;
3129
- /** The return policy to submit. This should be set only if the method is `insert`. */
3130
- returnPolicy?: ReturnPolicy;
3131
- /** The return policy ID. This should be set only if the method is `delete` or `get`. */
3132
- returnPolicyId?: string;
3133
- }
3134
- interface ReturnpolicyCustomBatchResponse {
3135
- /** The result of the execution of the batch requests. */
3136
- entries?: ReturnpolicyCustomBatchResponseEntry[];
3137
- /** Identifies what kind of resource this is. Value: the fixed string "`content#returnpolicyCustomBatchResponse`". */
3138
- kind?: string;
3139
- }
3140
- interface ReturnpolicyCustomBatchResponseEntry {
3141
- /** The ID of the request entry to which this entry responds. */
3142
- batchId?: number;
3143
- /** A list of errors defined if, and only if, the request failed. */
3144
- errors?: Errors;
3145
- /** Identifies what kind of resource this is. Value: the fixed string "`content#returnpolicyCustomBatchResponseEntry`" */
3146
- kind?: string;
3147
- /** The retrieved return policy. */
3148
- returnPolicy?: ReturnPolicy;
3149
- }
3150
- interface ReturnpolicyListResponse {
3151
- /** Identifies what kind of resource this is. Value: the fixed string "`content#returnpolicyListResponse`". */
3152
- kind?: string;
3153
- resources?: ReturnPolicy[];
3154
- }
3155
3031
  interface ReturnPolicyOnline {
3156
3032
  /** The countries of sale where the return policy is applicable. The values must be a valid 2 letter ISO 3166 code, e.g. "US". */
3157
3033
  countries?: string[];
@@ -3200,24 +3076,6 @@ declare namespace gapi.client {
3200
3076
  /** Type of return shipping fee. */
3201
3077
  type?: string;
3202
3078
  }
3203
- interface ReturnPolicyPolicy {
3204
- /** Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to "lastReturnDate". Use this for seasonal overrides only. */
3205
- lastReturnDate?: string;
3206
- /** The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to "numberOfDaysAfterDelivery". Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items. */
3207
- numberOfDays?: string;
3208
- /** Policy type. Use "lastReturnDate" for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`noReturns`" - "`numberOfDaysAfterDelivery`" */
3209
- type?: string;
3210
- }
3211
- interface ReturnPolicySeasonalOverride {
3212
- /** Required. Last day on which the override applies. In ISO 8601 format. */
3213
- endDate?: string;
3214
- /** Required. The name of the seasonal override as shown in Merchant Center. */
3215
- name?: string;
3216
- /** Required. The policy which is in effect during that time. */
3217
- policy?: ReturnPolicyPolicy;
3218
- /** Required. First day on which the override applies. In ISO 8601 format. */
3219
- startDate?: string;
3220
- }
3221
3079
  interface Row {
3222
3080
  /** The list of cells that constitute the row. Must have the same length as `columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional tables. Required. */
3223
3081
  cells?: Value[];
@@ -8504,410 +8362,6 @@ declare namespace gapi.client {
8504
8362
  body: SearchRequest,
8505
8363
  ): Request<SearchResponse>;
8506
8364
  }
8507
- interface ReturnaddressResource {
8508
- /** Batches multiple return address related calls in a single request. */
8509
- custombatch(request: {
8510
- /** V1 error format. */
8511
- '$.xgafv'?: string;
8512
- /** OAuth access token. */
8513
- access_token?: string;
8514
- /** Data format for response. */
8515
- alt?: string;
8516
- /** JSONP */
8517
- callback?: string;
8518
- /** Selector specifying which fields to include in a partial response. */
8519
- fields?: string;
8520
- /** 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. */
8521
- key?: string;
8522
- /** OAuth 2.0 token for the current user. */
8523
- oauth_token?: string;
8524
- /** Returns response with indentations and line breaks. */
8525
- prettyPrint?: boolean;
8526
- /** 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. */
8527
- quotaUser?: string;
8528
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8529
- upload_protocol?: string;
8530
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8531
- uploadType?: string;
8532
- /** Request body */
8533
- resource: ReturnaddressCustomBatchRequest;
8534
- }): Request<ReturnaddressCustomBatchResponse>;
8535
- custombatch(
8536
- request: {
8537
- /** V1 error format. */
8538
- '$.xgafv'?: string;
8539
- /** OAuth access token. */
8540
- access_token?: string;
8541
- /** Data format for response. */
8542
- alt?: string;
8543
- /** JSONP */
8544
- callback?: string;
8545
- /** Selector specifying which fields to include in a partial response. */
8546
- fields?: string;
8547
- /** 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. */
8548
- key?: string;
8549
- /** OAuth 2.0 token for the current user. */
8550
- oauth_token?: string;
8551
- /** Returns response with indentations and line breaks. */
8552
- prettyPrint?: boolean;
8553
- /** 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. */
8554
- quotaUser?: string;
8555
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8556
- upload_protocol?: string;
8557
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8558
- uploadType?: string;
8559
- },
8560
- body: ReturnaddressCustomBatchRequest,
8561
- ): Request<ReturnaddressCustomBatchResponse>;
8562
- /** Deletes a return address for the given Merchant Center account. */
8563
- delete(request?: {
8564
- /** V1 error format. */
8565
- '$.xgafv'?: string;
8566
- /** OAuth access token. */
8567
- access_token?: string;
8568
- /** Data format for response. */
8569
- alt?: string;
8570
- /** JSONP */
8571
- callback?: string;
8572
- /** Selector specifying which fields to include in a partial response. */
8573
- fields?: string;
8574
- /** 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. */
8575
- key?: string;
8576
- /** The Merchant Center account from which to delete the given return address. */
8577
- merchantId: string;
8578
- /** OAuth 2.0 token for the current user. */
8579
- oauth_token?: string;
8580
- /** Returns response with indentations and line breaks. */
8581
- prettyPrint?: boolean;
8582
- /** 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. */
8583
- quotaUser?: string;
8584
- /** Return address ID generated by Google. */
8585
- returnAddressId: string;
8586
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8587
- upload_protocol?: string;
8588
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8589
- uploadType?: string;
8590
- }): Request<void>;
8591
- /** Gets a return address of the Merchant Center account. */
8592
- get(request?: {
8593
- /** V1 error format. */
8594
- '$.xgafv'?: string;
8595
- /** OAuth access token. */
8596
- access_token?: string;
8597
- /** Data format for response. */
8598
- alt?: string;
8599
- /** JSONP */
8600
- callback?: string;
8601
- /** Selector specifying which fields to include in a partial response. */
8602
- fields?: string;
8603
- /** 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. */
8604
- key?: string;
8605
- /** The Merchant Center account to get a return address for. */
8606
- merchantId: string;
8607
- /** OAuth 2.0 token for the current user. */
8608
- oauth_token?: string;
8609
- /** Returns response with indentations and line breaks. */
8610
- prettyPrint?: boolean;
8611
- /** 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. */
8612
- quotaUser?: string;
8613
- /** Return address ID generated by Google. */
8614
- returnAddressId: string;
8615
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8616
- upload_protocol?: string;
8617
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8618
- uploadType?: string;
8619
- }): Request<ReturnAddress>;
8620
- /** Inserts a return address for the Merchant Center account. */
8621
- insert(request: {
8622
- /** V1 error format. */
8623
- '$.xgafv'?: string;
8624
- /** OAuth access token. */
8625
- access_token?: string;
8626
- /** Data format for response. */
8627
- alt?: string;
8628
- /** JSONP */
8629
- callback?: string;
8630
- /** Selector specifying which fields to include in a partial response. */
8631
- fields?: string;
8632
- /** 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. */
8633
- key?: string;
8634
- /** The Merchant Center account to insert a return address for. */
8635
- merchantId: string;
8636
- /** OAuth 2.0 token for the current user. */
8637
- oauth_token?: string;
8638
- /** Returns response with indentations and line breaks. */
8639
- prettyPrint?: boolean;
8640
- /** 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. */
8641
- quotaUser?: string;
8642
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8643
- upload_protocol?: string;
8644
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8645
- uploadType?: string;
8646
- /** Request body */
8647
- resource: ReturnAddress;
8648
- }): Request<ReturnAddress>;
8649
- insert(
8650
- request: {
8651
- /** V1 error format. */
8652
- '$.xgafv'?: string;
8653
- /** OAuth access token. */
8654
- access_token?: string;
8655
- /** Data format for response. */
8656
- alt?: string;
8657
- /** JSONP */
8658
- callback?: string;
8659
- /** Selector specifying which fields to include in a partial response. */
8660
- fields?: string;
8661
- /** 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. */
8662
- key?: string;
8663
- /** The Merchant Center account to insert a return address for. */
8664
- merchantId: string;
8665
- /** OAuth 2.0 token for the current user. */
8666
- oauth_token?: string;
8667
- /** Returns response with indentations and line breaks. */
8668
- prettyPrint?: boolean;
8669
- /** 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. */
8670
- quotaUser?: string;
8671
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8672
- upload_protocol?: string;
8673
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8674
- uploadType?: string;
8675
- },
8676
- body: ReturnAddress,
8677
- ): Request<ReturnAddress>;
8678
- /** Lists the return addresses of the Merchant Center account. */
8679
- list(request?: {
8680
- /** V1 error format. */
8681
- '$.xgafv'?: string;
8682
- /** OAuth access token. */
8683
- access_token?: string;
8684
- /** Data format for response. */
8685
- alt?: string;
8686
- /** JSONP */
8687
- callback?: string;
8688
- /** List only return addresses applicable to the given country of sale. When omitted, all return addresses are listed. */
8689
- country?: string;
8690
- /** Selector specifying which fields to include in a partial response. */
8691
- fields?: string;
8692
- /** 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. */
8693
- key?: string;
8694
- /** The maximum number of addresses in the response, used for paging. */
8695
- maxResults?: number;
8696
- /** The Merchant Center account to list return addresses for. */
8697
- merchantId: string;
8698
- /** OAuth 2.0 token for the current user. */
8699
- oauth_token?: string;
8700
- /** The token returned by the previous request. */
8701
- pageToken?: string;
8702
- /** Returns response with indentations and line breaks. */
8703
- prettyPrint?: boolean;
8704
- /** 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. */
8705
- quotaUser?: string;
8706
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8707
- upload_protocol?: string;
8708
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8709
- uploadType?: string;
8710
- }): Request<ReturnaddressListResponse>;
8711
- }
8712
- interface ReturnpolicyResource {
8713
- /** Batches multiple return policy related calls in a single request. */
8714
- custombatch(request: {
8715
- /** V1 error format. */
8716
- '$.xgafv'?: string;
8717
- /** OAuth access token. */
8718
- access_token?: string;
8719
- /** Data format for response. */
8720
- alt?: string;
8721
- /** JSONP */
8722
- callback?: string;
8723
- /** Selector specifying which fields to include in a partial response. */
8724
- fields?: string;
8725
- /** 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. */
8726
- key?: string;
8727
- /** OAuth 2.0 token for the current user. */
8728
- oauth_token?: string;
8729
- /** Returns response with indentations and line breaks. */
8730
- prettyPrint?: boolean;
8731
- /** 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. */
8732
- quotaUser?: string;
8733
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8734
- upload_protocol?: string;
8735
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8736
- uploadType?: string;
8737
- /** Request body */
8738
- resource: ReturnpolicyCustomBatchRequest;
8739
- }): Request<ReturnpolicyCustomBatchResponse>;
8740
- custombatch(
8741
- request: {
8742
- /** V1 error format. */
8743
- '$.xgafv'?: string;
8744
- /** OAuth access token. */
8745
- access_token?: string;
8746
- /** Data format for response. */
8747
- alt?: string;
8748
- /** JSONP */
8749
- callback?: string;
8750
- /** Selector specifying which fields to include in a partial response. */
8751
- fields?: string;
8752
- /** 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. */
8753
- key?: string;
8754
- /** OAuth 2.0 token for the current user. */
8755
- oauth_token?: string;
8756
- /** Returns response with indentations and line breaks. */
8757
- prettyPrint?: boolean;
8758
- /** 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. */
8759
- quotaUser?: string;
8760
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8761
- upload_protocol?: string;
8762
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8763
- uploadType?: string;
8764
- },
8765
- body: ReturnpolicyCustomBatchRequest,
8766
- ): Request<ReturnpolicyCustomBatchResponse>;
8767
- /** Deletes a return policy for the given Merchant Center account. */
8768
- delete(request?: {
8769
- /** V1 error format. */
8770
- '$.xgafv'?: string;
8771
- /** OAuth access token. */
8772
- access_token?: string;
8773
- /** Data format for response. */
8774
- alt?: string;
8775
- /** JSONP */
8776
- callback?: string;
8777
- /** Selector specifying which fields to include in a partial response. */
8778
- fields?: string;
8779
- /** 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. */
8780
- key?: string;
8781
- /** The Merchant Center account from which to delete the given return policy. */
8782
- merchantId: string;
8783
- /** OAuth 2.0 token for the current user. */
8784
- oauth_token?: string;
8785
- /** Returns response with indentations and line breaks. */
8786
- prettyPrint?: boolean;
8787
- /** 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. */
8788
- quotaUser?: string;
8789
- /** Return policy ID generated by Google. */
8790
- returnPolicyId: string;
8791
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8792
- upload_protocol?: string;
8793
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8794
- uploadType?: string;
8795
- }): Request<void>;
8796
- /** Gets a return policy of the Merchant Center account. */
8797
- get(request?: {
8798
- /** V1 error format. */
8799
- '$.xgafv'?: string;
8800
- /** OAuth access token. */
8801
- access_token?: string;
8802
- /** Data format for response. */
8803
- alt?: string;
8804
- /** JSONP */
8805
- callback?: string;
8806
- /** Selector specifying which fields to include in a partial response. */
8807
- fields?: string;
8808
- /** 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. */
8809
- key?: string;
8810
- /** The Merchant Center account to get a return policy for. */
8811
- merchantId: string;
8812
- /** OAuth 2.0 token for the current user. */
8813
- oauth_token?: string;
8814
- /** Returns response with indentations and line breaks. */
8815
- prettyPrint?: boolean;
8816
- /** 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. */
8817
- quotaUser?: string;
8818
- /** Return policy ID generated by Google. */
8819
- returnPolicyId: string;
8820
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8821
- upload_protocol?: string;
8822
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8823
- uploadType?: string;
8824
- }): Request<ReturnPolicy>;
8825
- /** Inserts a return policy for the Merchant Center account. */
8826
- insert(request: {
8827
- /** V1 error format. */
8828
- '$.xgafv'?: string;
8829
- /** OAuth access token. */
8830
- access_token?: string;
8831
- /** Data format for response. */
8832
- alt?: string;
8833
- /** JSONP */
8834
- callback?: string;
8835
- /** Selector specifying which fields to include in a partial response. */
8836
- fields?: string;
8837
- /** 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. */
8838
- key?: string;
8839
- /** The Merchant Center account to insert a return policy for. */
8840
- merchantId: string;
8841
- /** OAuth 2.0 token for the current user. */
8842
- oauth_token?: string;
8843
- /** Returns response with indentations and line breaks. */
8844
- prettyPrint?: boolean;
8845
- /** 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. */
8846
- quotaUser?: string;
8847
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8848
- upload_protocol?: string;
8849
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8850
- uploadType?: string;
8851
- /** Request body */
8852
- resource: ReturnPolicy;
8853
- }): Request<ReturnPolicy>;
8854
- insert(
8855
- request: {
8856
- /** V1 error format. */
8857
- '$.xgafv'?: string;
8858
- /** OAuth access token. */
8859
- access_token?: string;
8860
- /** Data format for response. */
8861
- alt?: string;
8862
- /** JSONP */
8863
- callback?: string;
8864
- /** Selector specifying which fields to include in a partial response. */
8865
- fields?: string;
8866
- /** 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. */
8867
- key?: string;
8868
- /** The Merchant Center account to insert a return policy for. */
8869
- merchantId: string;
8870
- /** OAuth 2.0 token for the current user. */
8871
- oauth_token?: string;
8872
- /** Returns response with indentations and line breaks. */
8873
- prettyPrint?: boolean;
8874
- /** 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. */
8875
- quotaUser?: string;
8876
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8877
- upload_protocol?: string;
8878
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8879
- uploadType?: string;
8880
- },
8881
- body: ReturnPolicy,
8882
- ): Request<ReturnPolicy>;
8883
- /** Lists the return policies of the Merchant Center account. */
8884
- list(request?: {
8885
- /** V1 error format. */
8886
- '$.xgafv'?: string;
8887
- /** OAuth access token. */
8888
- access_token?: string;
8889
- /** Data format for response. */
8890
- alt?: string;
8891
- /** JSONP */
8892
- callback?: string;
8893
- /** Selector specifying which fields to include in a partial response. */
8894
- fields?: string;
8895
- /** 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. */
8896
- key?: string;
8897
- /** The Merchant Center account to list return policies for. */
8898
- merchantId: string;
8899
- /** OAuth 2.0 token for the current user. */
8900
- oauth_token?: string;
8901
- /** Returns response with indentations and line breaks. */
8902
- prettyPrint?: boolean;
8903
- /** 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. */
8904
- quotaUser?: string;
8905
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8906
- upload_protocol?: string;
8907
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8908
- uploadType?: string;
8909
- }): Request<ReturnpolicyListResponse>;
8910
- }
8911
8365
  interface ReturnpolicyonlineResource {
8912
8366
  /** Creates a new return policy. */
8913
8367
  create(request: {
@@ -9512,10 +8966,6 @@ declare namespace gapi.client {
9512
8966
 
9513
8967
  const reports: ReportsResource;
9514
8968
 
9515
- const returnaddress: ReturnaddressResource;
9516
-
9517
- const returnpolicy: ReturnpolicyResource;
9518
-
9519
8969
  const returnpolicyonline: ReturnpolicyonlineResource;
9520
8970
 
9521
8971
  const shippingsettings: ShippingsettingsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.content-v2.1",
3
- "version": "0.0.20251111",
3
+ "version": "0.0.20251115",
4
4
  "description": "TypeScript typings for Content API for Shopping v2.1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -745,68 +745,6 @@ Retrieves merchant performance metrics matching the search query and optionally
745
745
  */
746
746
  await gapi.client.content.reports.search({merchantId: 'merchantId'});
747
747
 
748
- /*
749
- Batches multiple return address related calls in a single request.
750
- */
751
- await gapi.client.content.returnaddress.custombatch({});
752
-
753
- /*
754
- Deletes a return address for the given Merchant Center account.
755
- */
756
- await gapi.client.content.returnaddress.delete({
757
- merchantId: 'merchantId',
758
- returnAddressId: 'returnAddressId',
759
- });
760
-
761
- /*
762
- Gets a return address of the Merchant Center account.
763
- */
764
- await gapi.client.content.returnaddress.get({
765
- merchantId: 'merchantId',
766
- returnAddressId: 'returnAddressId',
767
- });
768
-
769
- /*
770
- Inserts a return address for the Merchant Center account.
771
- */
772
- await gapi.client.content.returnaddress.insert({merchantId: 'merchantId'});
773
-
774
- /*
775
- Lists the return addresses of the Merchant Center account.
776
- */
777
- await gapi.client.content.returnaddress.list({merchantId: 'merchantId'});
778
-
779
- /*
780
- Batches multiple return policy related calls in a single request.
781
- */
782
- await gapi.client.content.returnpolicy.custombatch({});
783
-
784
- /*
785
- Deletes a return policy for the given Merchant Center account.
786
- */
787
- await gapi.client.content.returnpolicy.delete({
788
- merchantId: 'merchantId',
789
- returnPolicyId: 'returnPolicyId',
790
- });
791
-
792
- /*
793
- Gets a return policy of the Merchant Center account.
794
- */
795
- await gapi.client.content.returnpolicy.get({
796
- merchantId: 'merchantId',
797
- returnPolicyId: 'returnPolicyId',
798
- });
799
-
800
- /*
801
- Inserts a return policy for the Merchant Center account.
802
- */
803
- await gapi.client.content.returnpolicy.insert({merchantId: 'merchantId'});
804
-
805
- /*
806
- Lists the return policies of the Merchant Center account.
807
- */
808
- await gapi.client.content.returnpolicy.list({merchantId: 'merchantId'});
809
-
810
748
  /*
811
749
  Creates a new return policy.
812
750
  */