@google-shopping/reviews 0.3.0 → 0.4.0

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.
@@ -1,7 +1,4 @@
1
1
  {
2
- "options": {
3
- "syntax": "proto3"
4
- },
5
2
  "nested": {
6
3
  "google": {
7
4
  "nested": {
@@ -1548,6 +1545,11 @@
1548
1545
  "id": 1050,
1549
1546
  "extend": "google.protobuf.ServiceOptions"
1550
1547
  },
1548
+ "apiVersion": {
1549
+ "type": "string",
1550
+ "id": 525000001,
1551
+ "extend": "google.protobuf.ServiceOptions"
1552
+ },
1551
1553
  "CommonLanguageSettings": {
1552
1554
  "fields": {
1553
1555
  "referenceDocsUri": {
@@ -1656,6 +1658,10 @@
1656
1658
  "protoReferenceDocumentationUri": {
1657
1659
  "type": "string",
1658
1660
  "id": 110
1661
+ },
1662
+ "restReferenceDocumentationUri": {
1663
+ "type": "string",
1664
+ "id": 111
1659
1665
  }
1660
1666
  }
1661
1667
  },
@@ -1831,7 +1837,10 @@
1831
1837
  "rule": "repeated",
1832
1838
  "type": "google.api.FieldBehavior",
1833
1839
  "id": 1052,
1834
- "extend": "google.protobuf.FieldOptions"
1840
+ "extend": "google.protobuf.FieldOptions",
1841
+ "options": {
1842
+ "packed": false
1843
+ }
1835
1844
  },
1836
1845
  "FieldBehavior": {
1837
1846
  "values": {
@@ -1937,6 +1946,7 @@
1937
1946
  },
1938
1947
  "nested": {
1939
1948
  "FileDescriptorSet": {
1949
+ "edition": "proto2",
1940
1950
  "fields": {
1941
1951
  "file": {
1942
1952
  "rule": "repeated",
@@ -1946,6 +1956,7 @@
1946
1956
  }
1947
1957
  },
1948
1958
  "Edition": {
1959
+ "edition": "proto2",
1949
1960
  "values": {
1950
1961
  "EDITION_UNKNOWN": 0,
1951
1962
  "EDITION_PROTO2": 998,
@@ -1961,6 +1972,7 @@
1961
1972
  }
1962
1973
  },
1963
1974
  "FileDescriptorProto": {
1975
+ "edition": "proto2",
1964
1976
  "fields": {
1965
1977
  "name": {
1966
1978
  "type": "string",
@@ -1978,18 +1990,12 @@
1978
1990
  "publicDependency": {
1979
1991
  "rule": "repeated",
1980
1992
  "type": "int32",
1981
- "id": 10,
1982
- "options": {
1983
- "packed": false
1984
- }
1993
+ "id": 10
1985
1994
  },
1986
1995
  "weakDependency": {
1987
1996
  "rule": "repeated",
1988
1997
  "type": "int32",
1989
- "id": 11,
1990
- "options": {
1991
- "packed": false
1992
- }
1998
+ "id": 11
1993
1999
  },
1994
2000
  "messageType": {
1995
2001
  "rule": "repeated",
@@ -2030,6 +2036,7 @@
2030
2036
  }
2031
2037
  },
2032
2038
  "DescriptorProto": {
2039
+ "edition": "proto2",
2033
2040
  "fields": {
2034
2041
  "name": {
2035
2042
  "type": "string",
@@ -2112,6 +2119,7 @@
2112
2119
  }
2113
2120
  },
2114
2121
  "ExtensionRangeOptions": {
2122
+ "edition": "proto2",
2115
2123
  "fields": {
2116
2124
  "uninterpretedOption": {
2117
2125
  "rule": "repeated",
@@ -2185,6 +2193,7 @@
2185
2193
  }
2186
2194
  },
2187
2195
  "FieldDescriptorProto": {
2196
+ "edition": "proto2",
2188
2197
  "fields": {
2189
2198
  "name": {
2190
2199
  "type": "string",
@@ -2264,6 +2273,7 @@
2264
2273
  }
2265
2274
  },
2266
2275
  "OneofDescriptorProto": {
2276
+ "edition": "proto2",
2267
2277
  "fields": {
2268
2278
  "name": {
2269
2279
  "type": "string",
@@ -2276,6 +2286,7 @@
2276
2286
  }
2277
2287
  },
2278
2288
  "EnumDescriptorProto": {
2289
+ "edition": "proto2",
2279
2290
  "fields": {
2280
2291
  "name": {
2281
2292
  "type": "string",
@@ -2317,6 +2328,7 @@
2317
2328
  }
2318
2329
  },
2319
2330
  "EnumValueDescriptorProto": {
2331
+ "edition": "proto2",
2320
2332
  "fields": {
2321
2333
  "name": {
2322
2334
  "type": "string",
@@ -2333,6 +2345,7 @@
2333
2345
  }
2334
2346
  },
2335
2347
  "ServiceDescriptorProto": {
2348
+ "edition": "proto2",
2336
2349
  "fields": {
2337
2350
  "name": {
2338
2351
  "type": "string",
@@ -2350,6 +2363,7 @@
2350
2363
  }
2351
2364
  },
2352
2365
  "MethodDescriptorProto": {
2366
+ "edition": "proto2",
2353
2367
  "fields": {
2354
2368
  "name": {
2355
2369
  "type": "string",
@@ -2384,6 +2398,7 @@
2384
2398
  }
2385
2399
  },
2386
2400
  "FileOptions": {
2401
+ "edition": "proto2",
2387
2402
  "fields": {
2388
2403
  "javaPackage": {
2389
2404
  "type": "string",
@@ -2525,6 +2540,7 @@
2525
2540
  }
2526
2541
  },
2527
2542
  "MessageOptions": {
2543
+ "edition": "proto2",
2528
2544
  "fields": {
2529
2545
  "messageSetWireFormat": {
2530
2546
  "type": "bool",
@@ -2598,6 +2614,7 @@
2598
2614
  ]
2599
2615
  },
2600
2616
  "FieldOptions": {
2617
+ "edition": "proto2",
2601
2618
  "fields": {
2602
2619
  "ctype": {
2603
2620
  "type": "CType",
@@ -2659,10 +2676,7 @@
2659
2676
  "targets": {
2660
2677
  "rule": "repeated",
2661
2678
  "type": "OptionTargetType",
2662
- "id": 19,
2663
- "options": {
2664
- "packed": false
2665
- }
2679
+ "id": 19
2666
2680
  },
2667
2681
  "editionDefaults": {
2668
2682
  "rule": "repeated",
@@ -2746,6 +2760,7 @@
2746
2760
  }
2747
2761
  },
2748
2762
  "OneofOptions": {
2763
+ "edition": "proto2",
2749
2764
  "fields": {
2750
2765
  "features": {
2751
2766
  "type": "FeatureSet",
@@ -2765,6 +2780,7 @@
2765
2780
  ]
2766
2781
  },
2767
2782
  "EnumOptions": {
2783
+ "edition": "proto2",
2768
2784
  "fields": {
2769
2785
  "allowAlias": {
2770
2786
  "type": "bool",
@@ -2808,6 +2824,7 @@
2808
2824
  ]
2809
2825
  },
2810
2826
  "EnumValueOptions": {
2827
+ "edition": "proto2",
2811
2828
  "fields": {
2812
2829
  "deprecated": {
2813
2830
  "type": "bool",
@@ -2841,6 +2858,7 @@
2841
2858
  ]
2842
2859
  },
2843
2860
  "ServiceOptions": {
2861
+ "edition": "proto2",
2844
2862
  "fields": {
2845
2863
  "features": {
2846
2864
  "type": "FeatureSet",
@@ -2867,6 +2885,7 @@
2867
2885
  ]
2868
2886
  },
2869
2887
  "MethodOptions": {
2888
+ "edition": "proto2",
2870
2889
  "fields": {
2871
2890
  "deprecated": {
2872
2891
  "type": "bool",
@@ -2909,6 +2928,7 @@
2909
2928
  }
2910
2929
  },
2911
2930
  "UninterpretedOption": {
2931
+ "edition": "proto2",
2912
2932
  "fields": {
2913
2933
  "name": {
2914
2934
  "rule": "repeated",
@@ -2958,6 +2978,7 @@
2958
2978
  }
2959
2979
  },
2960
2980
  "FeatureSet": {
2981
+ "edition": "proto2",
2961
2982
  "fields": {
2962
2983
  "fieldPresence": {
2963
2984
  "type": "FieldPresence",
@@ -3029,9 +3050,21 @@
3029
3050
  1001,
3030
3051
  1001
3031
3052
  ],
3053
+ [
3054
+ 1002,
3055
+ 1002
3056
+ ],
3057
+ [
3058
+ 9990,
3059
+ 9990
3060
+ ],
3032
3061
  [
3033
3062
  9995,
3034
3063
  9999
3064
+ ],
3065
+ [
3066
+ 10000,
3067
+ 10000
3035
3068
  ]
3036
3069
  ],
3037
3070
  "reserved": [
@@ -3087,6 +3120,7 @@
3087
3120
  }
3088
3121
  },
3089
3122
  "FeatureSetDefaults": {
3123
+ "edition": "proto2",
3090
3124
  "fields": {
3091
3125
  "defaults": {
3092
3126
  "rule": "repeated",
@@ -3118,6 +3152,7 @@
3118
3152
  }
3119
3153
  },
3120
3154
  "SourceCodeInfo": {
3155
+ "edition": "proto2",
3121
3156
  "fields": {
3122
3157
  "location": {
3123
3158
  "rule": "repeated",
@@ -3131,12 +3166,18 @@
3131
3166
  "path": {
3132
3167
  "rule": "repeated",
3133
3168
  "type": "int32",
3134
- "id": 1
3169
+ "id": 1,
3170
+ "options": {
3171
+ "packed": true
3172
+ }
3135
3173
  },
3136
3174
  "span": {
3137
3175
  "rule": "repeated",
3138
3176
  "type": "int32",
3139
- "id": 2
3177
+ "id": 2,
3178
+ "options": {
3179
+ "packed": true
3180
+ }
3140
3181
  },
3141
3182
  "leadingComments": {
3142
3183
  "type": "string",
@@ -3156,6 +3197,7 @@
3156
3197
  }
3157
3198
  },
3158
3199
  "GeneratedCodeInfo": {
3200
+ "edition": "proto2",
3159
3201
  "fields": {
3160
3202
  "annotation": {
3161
3203
  "rule": "repeated",
@@ -3169,7 +3211,10 @@
3169
3211
  "path": {
3170
3212
  "rule": "repeated",
3171
3213
  "type": "int32",
3172
- "id": 1
3214
+ "id": 1,
3215
+ "options": {
3216
+ "packed": true
3217
+ }
3173
3218
  },
3174
3219
  "sourceFile": {
3175
3220
  "type": "string",
@@ -134,7 +134,7 @@ export declare class MerchantReviewsServiceClient {
134
134
  */
135
135
  getMerchantReview(request?: protos.google.shopping.merchant.reviews.v1beta.IGetMerchantReviewRequest, options?: CallOptions): Promise<[
136
136
  protos.google.shopping.merchant.reviews.v1beta.IMerchantReview,
137
- (protos.google.shopping.merchant.reviews.v1beta.IGetMerchantReviewRequest | undefined),
137
+ protos.google.shopping.merchant.reviews.v1beta.IGetMerchantReviewRequest | undefined,
138
138
  {} | undefined
139
139
  ]>;
140
140
  getMerchantReview(request: protos.google.shopping.merchant.reviews.v1beta.IGetMerchantReviewRequest, options: CallOptions, callback: Callback<protos.google.shopping.merchant.reviews.v1beta.IMerchantReview, protos.google.shopping.merchant.reviews.v1beta.IGetMerchantReviewRequest | null | undefined, {} | null | undefined>): void;
@@ -166,7 +166,7 @@ export declare class MerchantReviewsServiceClient {
166
166
  */
167
167
  insertMerchantReview(request?: protos.google.shopping.merchant.reviews.v1beta.IInsertMerchantReviewRequest, options?: CallOptions): Promise<[
168
168
  protos.google.shopping.merchant.reviews.v1beta.IMerchantReview,
169
- (protos.google.shopping.merchant.reviews.v1beta.IInsertMerchantReviewRequest | undefined),
169
+ protos.google.shopping.merchant.reviews.v1beta.IInsertMerchantReviewRequest | undefined,
170
170
  {} | undefined
171
171
  ]>;
172
172
  insertMerchantReview(request: protos.google.shopping.merchant.reviews.v1beta.IInsertMerchantReviewRequest, options: CallOptions, callback: Callback<protos.google.shopping.merchant.reviews.v1beta.IMerchantReview, protos.google.shopping.merchant.reviews.v1beta.IInsertMerchantReviewRequest | null | undefined, {} | null | undefined>): void;
@@ -190,42 +190,42 @@ export declare class MerchantReviewsServiceClient {
190
190
  */
191
191
  deleteMerchantReview(request?: protos.google.shopping.merchant.reviews.v1beta.IDeleteMerchantReviewRequest, options?: CallOptions): Promise<[
192
192
  protos.google.protobuf.IEmpty,
193
- (protos.google.shopping.merchant.reviews.v1beta.IDeleteMerchantReviewRequest | undefined),
193
+ protos.google.shopping.merchant.reviews.v1beta.IDeleteMerchantReviewRequest | undefined,
194
194
  {} | undefined
195
195
  ]>;
196
196
  deleteMerchantReview(request: protos.google.shopping.merchant.reviews.v1beta.IDeleteMerchantReviewRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.shopping.merchant.reviews.v1beta.IDeleteMerchantReviewRequest | null | undefined, {} | null | undefined>): void;
197
197
  deleteMerchantReview(request: protos.google.shopping.merchant.reviews.v1beta.IDeleteMerchantReviewRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.shopping.merchant.reviews.v1beta.IDeleteMerchantReviewRequest | null | undefined, {} | null | undefined>): void;
198
198
  /**
199
- * Lists merchant reviews.
200
- *
201
- * @param {Object} request
202
- * The request object that will be sent.
203
- * @param {string} request.parent
204
- * Required. The account to list merchant reviews for.
205
- * Format: accounts/{account}
206
- * @param {number} [request.pageSize]
207
- * Optional. The maximum number of merchant reviews to return. The service can
208
- * return fewer than this value. The maximum value is 1000; values above 1000
209
- * are coerced to 1000. If unspecified, the maximum number of reviews is
210
- * returned.
211
- * @param {string} [request.pageToken]
212
- * Optional. A page token, received from a previous `ListMerchantReviews`
213
- * call. Provide this to retrieve the subsequent page.
214
- *
215
- * When paginating, all other parameters provided to `ListMerchantReviews`
216
- * must match the call that provided the page token.
217
- * @param {object} [options]
218
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
219
- * @returns {Promise} - The promise which resolves to an array.
220
- * The first element of the array is Array of {@link protos.google.shopping.merchant.reviews.v1beta.MerchantReview|MerchantReview}.
221
- * The client library will perform auto-pagination by default: it will call the API as many
222
- * times as needed and will merge results from all the pages into this array.
223
- * Note that it can affect your quota.
224
- * We recommend using `listMerchantReviewsAsync()`
225
- * method described below for async iteration which you can stop as needed.
226
- * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
227
- * for more details and examples.
228
- */
199
+ * Lists merchant reviews.
200
+ *
201
+ * @param {Object} request
202
+ * The request object that will be sent.
203
+ * @param {string} request.parent
204
+ * Required. The account to list merchant reviews for.
205
+ * Format: accounts/{account}
206
+ * @param {number} [request.pageSize]
207
+ * Optional. The maximum number of merchant reviews to return. The service can
208
+ * return fewer than this value. The maximum value is 1000; values above 1000
209
+ * are coerced to 1000. If unspecified, the maximum number of reviews is
210
+ * returned.
211
+ * @param {string} [request.pageToken]
212
+ * Optional. A page token, received from a previous `ListMerchantReviews`
213
+ * call. Provide this to retrieve the subsequent page.
214
+ *
215
+ * When paginating, all other parameters provided to `ListMerchantReviews`
216
+ * must match the call that provided the page token.
217
+ * @param {object} [options]
218
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
219
+ * @returns {Promise} - The promise which resolves to an array.
220
+ * The first element of the array is Array of {@link protos.google.shopping.merchant.reviews.v1beta.MerchantReview|MerchantReview}.
221
+ * The client library will perform auto-pagination by default: it will call the API as many
222
+ * times as needed and will merge results from all the pages into this array.
223
+ * Note that it can affect your quota.
224
+ * We recommend using `listMerchantReviewsAsync()`
225
+ * method described below for async iteration which you can stop as needed.
226
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
227
+ * for more details and examples.
228
+ */
229
229
  listMerchantReviews(request?: protos.google.shopping.merchant.reviews.v1beta.IListMerchantReviewsRequest, options?: CallOptions): Promise<[
230
230
  protos.google.shopping.merchant.reviews.v1beta.IMerchantReview[],
231
231
  protos.google.shopping.merchant.reviews.v1beta.IListMerchantReviewsRequest | null,