@google-shopping/reports 0.1.0 → 0.2.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.
- package/CHANGELOG.md +7 -0
- package/build/protos/protos.d.ts +253 -29
- package/build/protos/protos.js +965 -120
- package/build/protos/protos.json +83 -35
- package/build/src/index.js +1 -1
- package/build/src/v1beta/index.js +1 -1
- package/build/src/v1beta/report_service_client.d.ts +11 -2
- package/build/src/v1beta/report_service_client.js +37 -10
- package/build/src/v1beta/report_service_client.js.map +1 -1
- package/package.json +2 -2
package/build/protos/protos.json
CHANGED
@@ -2495,6 +2495,11 @@
|
|
2495
2495
|
"longRunning": {
|
2496
2496
|
"type": "LongRunning",
|
2497
2497
|
"id": 2
|
2498
|
+
},
|
2499
|
+
"autoPopulatedFields": {
|
2500
|
+
"rule": "repeated",
|
2501
|
+
"type": "string",
|
2502
|
+
"id": 3
|
2498
2503
|
}
|
2499
2504
|
},
|
2500
2505
|
"nested": {
|
@@ -2566,7 +2571,8 @@
|
|
2566
2571
|
"INPUT_ONLY": 4,
|
2567
2572
|
"IMMUTABLE": 5,
|
2568
2573
|
"UNORDERED_LIST": 6,
|
2569
|
-
"NON_EMPTY_DEFAULT": 7
|
2574
|
+
"NON_EMPTY_DEFAULT": 7,
|
2575
|
+
"IDENTIFIER": 8
|
2570
2576
|
}
|
2571
2577
|
}
|
2572
2578
|
}
|
@@ -2591,6 +2597,21 @@
|
|
2591
2597
|
}
|
2592
2598
|
}
|
2593
2599
|
},
|
2600
|
+
"Edition": {
|
2601
|
+
"values": {
|
2602
|
+
"EDITION_UNKNOWN": 0,
|
2603
|
+
"EDITION_PROTO2": 998,
|
2604
|
+
"EDITION_PROTO3": 999,
|
2605
|
+
"EDITION_2023": 1000,
|
2606
|
+
"EDITION_2024": 1001,
|
2607
|
+
"EDITION_1_TEST_ONLY": 1,
|
2608
|
+
"EDITION_2_TEST_ONLY": 2,
|
2609
|
+
"EDITION_99997_TEST_ONLY": 99997,
|
2610
|
+
"EDITION_99998_TEST_ONLY": 99998,
|
2611
|
+
"EDITION_99999_TEST_ONLY": 99999,
|
2612
|
+
"EDITION_MAX": 2147483647
|
2613
|
+
}
|
2614
|
+
},
|
2594
2615
|
"FileDescriptorProto": {
|
2595
2616
|
"fields": {
|
2596
2617
|
"name": {
|
@@ -2655,8 +2676,8 @@
|
|
2655
2676
|
"id": 12
|
2656
2677
|
},
|
2657
2678
|
"edition": {
|
2658
|
-
"type": "
|
2659
|
-
"id":
|
2679
|
+
"type": "Edition",
|
2680
|
+
"id": 14
|
2660
2681
|
}
|
2661
2682
|
}
|
2662
2683
|
},
|
@@ -2765,7 +2786,8 @@
|
|
2765
2786
|
"type": "VerificationState",
|
2766
2787
|
"id": 3,
|
2767
2788
|
"options": {
|
2768
|
-
"default": "UNVERIFIED"
|
2789
|
+
"default": "UNVERIFIED",
|
2790
|
+
"retention": "RETENTION_SOURCE"
|
2769
2791
|
}
|
2770
2792
|
}
|
2771
2793
|
},
|
@@ -2887,8 +2909,8 @@
|
|
2887
2909
|
"Label": {
|
2888
2910
|
"values": {
|
2889
2911
|
"LABEL_OPTIONAL": 1,
|
2890
|
-
"
|
2891
|
-
"
|
2912
|
+
"LABEL_REPEATED": 3,
|
2913
|
+
"LABEL_REQUIRED": 2
|
2892
2914
|
}
|
2893
2915
|
}
|
2894
2916
|
}
|
@@ -3076,13 +3098,6 @@
|
|
3076
3098
|
"default": false
|
3077
3099
|
}
|
3078
3100
|
},
|
3079
|
-
"phpGenericServices": {
|
3080
|
-
"type": "bool",
|
3081
|
-
"id": 42,
|
3082
|
-
"options": {
|
3083
|
-
"default": false
|
3084
|
-
}
|
3085
|
-
},
|
3086
3101
|
"deprecated": {
|
3087
3102
|
"type": "bool",
|
3088
3103
|
"id": 23,
|
@@ -3142,6 +3157,10 @@
|
|
3142
3157
|
]
|
3143
3158
|
],
|
3144
3159
|
"reserved": [
|
3160
|
+
[
|
3161
|
+
42,
|
3162
|
+
42
|
3163
|
+
],
|
3145
3164
|
[
|
3146
3165
|
38,
|
3147
3166
|
38
|
@@ -3367,8 +3386,8 @@
|
|
3367
3386
|
"EditionDefault": {
|
3368
3387
|
"fields": {
|
3369
3388
|
"edition": {
|
3370
|
-
"type": "
|
3371
|
-
"id":
|
3389
|
+
"type": "Edition",
|
3390
|
+
"id": 3
|
3372
3391
|
},
|
3373
3392
|
"value": {
|
3374
3393
|
"type": "string",
|
@@ -3598,7 +3617,7 @@
|
|
3598
3617
|
"options": {
|
3599
3618
|
"retention": "RETENTION_RUNTIME",
|
3600
3619
|
"targets": "TARGET_TYPE_FILE",
|
3601
|
-
"edition_defaults.edition": "
|
3620
|
+
"edition_defaults.edition": "EDITION_2023",
|
3602
3621
|
"edition_defaults.value": "EXPLICIT"
|
3603
3622
|
}
|
3604
3623
|
},
|
@@ -3608,7 +3627,7 @@
|
|
3608
3627
|
"options": {
|
3609
3628
|
"retention": "RETENTION_RUNTIME",
|
3610
3629
|
"targets": "TARGET_TYPE_FILE",
|
3611
|
-
"edition_defaults.edition": "
|
3630
|
+
"edition_defaults.edition": "EDITION_PROTO3",
|
3612
3631
|
"edition_defaults.value": "OPEN"
|
3613
3632
|
}
|
3614
3633
|
},
|
@@ -3618,18 +3637,18 @@
|
|
3618
3637
|
"options": {
|
3619
3638
|
"retention": "RETENTION_RUNTIME",
|
3620
3639
|
"targets": "TARGET_TYPE_FILE",
|
3621
|
-
"edition_defaults.edition": "
|
3640
|
+
"edition_defaults.edition": "EDITION_PROTO3",
|
3622
3641
|
"edition_defaults.value": "PACKED"
|
3623
3642
|
}
|
3624
3643
|
},
|
3625
|
-
"
|
3626
|
-
"type": "
|
3644
|
+
"utf8Validation": {
|
3645
|
+
"type": "Utf8Validation",
|
3627
3646
|
"id": 4,
|
3628
3647
|
"options": {
|
3629
3648
|
"retention": "RETENTION_RUNTIME",
|
3630
3649
|
"targets": "TARGET_TYPE_FILE",
|
3631
|
-
"edition_defaults.edition": "
|
3632
|
-
"edition_defaults.value": "
|
3650
|
+
"edition_defaults.edition": "EDITION_PROTO3",
|
3651
|
+
"edition_defaults.value": "VERIFY"
|
3633
3652
|
}
|
3634
3653
|
},
|
3635
3654
|
"messageEncoding": {
|
@@ -3638,7 +3657,7 @@
|
|
3638
3657
|
"options": {
|
3639
3658
|
"retention": "RETENTION_RUNTIME",
|
3640
3659
|
"targets": "TARGET_TYPE_FILE",
|
3641
|
-
"edition_defaults.edition": "
|
3660
|
+
"edition_defaults.edition": "EDITION_PROTO2",
|
3642
3661
|
"edition_defaults.value": "LENGTH_PREFIXED"
|
3643
3662
|
}
|
3644
3663
|
},
|
@@ -3648,16 +3667,9 @@
|
|
3648
3667
|
"options": {
|
3649
3668
|
"retention": "RETENTION_RUNTIME",
|
3650
3669
|
"targets": "TARGET_TYPE_FILE",
|
3651
|
-
"edition_defaults.edition": "
|
3670
|
+
"edition_defaults.edition": "EDITION_PROTO3",
|
3652
3671
|
"edition_defaults.value": "ALLOW"
|
3653
3672
|
}
|
3654
|
-
},
|
3655
|
-
"rawFeatures": {
|
3656
|
-
"type": "FeatureSet",
|
3657
|
-
"id": 999,
|
3658
|
-
"options": {
|
3659
|
-
"targets": "TARGET_TYPE_UNKNOWN"
|
3660
|
-
}
|
3661
3673
|
}
|
3662
3674
|
},
|
3663
3675
|
"extensions": [
|
@@ -3674,6 +3686,12 @@
|
|
3674
3686
|
9999
|
3675
3687
|
]
|
3676
3688
|
],
|
3689
|
+
"reserved": [
|
3690
|
+
[
|
3691
|
+
999,
|
3692
|
+
999
|
3693
|
+
]
|
3694
|
+
],
|
3677
3695
|
"nested": {
|
3678
3696
|
"FieldPresence": {
|
3679
3697
|
"values": {
|
@@ -3697,11 +3715,10 @@
|
|
3697
3715
|
"EXPANDED": 2
|
3698
3716
|
}
|
3699
3717
|
},
|
3700
|
-
"
|
3718
|
+
"Utf8Validation": {
|
3701
3719
|
"values": {
|
3702
|
-
"
|
3703
|
-
"
|
3704
|
-
"HINT": 2,
|
3720
|
+
"UTF8_VALIDATION_UNKNOWN": 0,
|
3721
|
+
"VERIFY": 2,
|
3705
3722
|
"NONE": 3
|
3706
3723
|
}
|
3707
3724
|
},
|
@@ -3721,6 +3738,37 @@
|
|
3721
3738
|
}
|
3722
3739
|
}
|
3723
3740
|
},
|
3741
|
+
"FeatureSetDefaults": {
|
3742
|
+
"fields": {
|
3743
|
+
"defaults": {
|
3744
|
+
"rule": "repeated",
|
3745
|
+
"type": "FeatureSetEditionDefault",
|
3746
|
+
"id": 1
|
3747
|
+
},
|
3748
|
+
"minimumEdition": {
|
3749
|
+
"type": "Edition",
|
3750
|
+
"id": 4
|
3751
|
+
},
|
3752
|
+
"maximumEdition": {
|
3753
|
+
"type": "Edition",
|
3754
|
+
"id": 5
|
3755
|
+
}
|
3756
|
+
},
|
3757
|
+
"nested": {
|
3758
|
+
"FeatureSetEditionDefault": {
|
3759
|
+
"fields": {
|
3760
|
+
"edition": {
|
3761
|
+
"type": "Edition",
|
3762
|
+
"id": 3
|
3763
|
+
},
|
3764
|
+
"features": {
|
3765
|
+
"type": "FeatureSet",
|
3766
|
+
"id": 2
|
3767
|
+
}
|
3768
|
+
}
|
3769
|
+
}
|
3770
|
+
}
|
3771
|
+
},
|
3724
3772
|
"SourceCodeInfo": {
|
3725
3773
|
"fields": {
|
3726
3774
|
"location": {
|
package/build/src/index.js
CHANGED
@@ -17,6 +17,8 @@ export declare class ReportServiceClient {
|
|
17
17
|
private _gaxGrpc;
|
18
18
|
private _protos;
|
19
19
|
private _defaults;
|
20
|
+
private _universeDomain;
|
21
|
+
private _servicePath;
|
20
22
|
auth: gax.GoogleAuth;
|
21
23
|
descriptors: Descriptors;
|
22
24
|
warn: (code: string, message: string, warnType?: string) => void;
|
@@ -82,15 +84,22 @@ export declare class ReportServiceClient {
|
|
82
84
|
}>;
|
83
85
|
/**
|
84
86
|
* The DNS address for this API service.
|
87
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
85
88
|
* @returns {string} The DNS address for this service.
|
86
89
|
*/
|
87
90
|
static get servicePath(): string;
|
88
91
|
/**
|
89
|
-
* The DNS address for this API service - same as servicePath
|
90
|
-
*
|
92
|
+
* The DNS address for this API service - same as servicePath.
|
93
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
91
94
|
* @returns {string} The DNS address for this service.
|
92
95
|
*/
|
93
96
|
static get apiEndpoint(): string;
|
97
|
+
/**
|
98
|
+
* The DNS address for this API service.
|
99
|
+
* @returns {string} The DNS address for this service.
|
100
|
+
*/
|
101
|
+
get apiEndpoint(): string;
|
102
|
+
get universeDomain(): string;
|
94
103
|
/**
|
95
104
|
* The port for this API service.
|
96
105
|
* @returns {number} The default port for this service.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
"use strict";
|
2
|
-
// Copyright
|
2
|
+
// Copyright 2024 Google LLC
|
3
3
|
//
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
// you may not use this file except in compliance with the License.
|
@@ -73,7 +73,7 @@ class ReportServiceClient {
|
|
73
73
|
* ```
|
74
74
|
*/
|
75
75
|
constructor(opts, gaxInstance) {
|
76
|
-
var _a, _b;
|
76
|
+
var _a, _b, _c, _d;
|
77
77
|
this._terminated = false;
|
78
78
|
this.descriptors = {
|
79
79
|
page: {},
|
@@ -83,16 +83,24 @@ class ReportServiceClient {
|
|
83
83
|
};
|
84
84
|
// Ensure that options include all the required fields.
|
85
85
|
const staticMembers = this.constructor;
|
86
|
-
|
86
|
+
if ((opts === null || opts === void 0 ? void 0 : opts.universe_domain) &&
|
87
|
+
(opts === null || opts === void 0 ? void 0 : opts.universeDomain) &&
|
88
|
+
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
89
|
+
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
90
|
+
}
|
91
|
+
this._universeDomain =
|
92
|
+
(_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : 'googleapis.com';
|
93
|
+
this._servicePath = 'merchantapi.' + this._universeDomain;
|
94
|
+
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
87
95
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
88
96
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
89
|
-
const clientConfig = (
|
90
|
-
const fallback = (
|
97
|
+
const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {};
|
98
|
+
const fallback = (_d = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _d !== void 0 ? _d : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
|
91
99
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
92
100
|
// Request numeric enum values if REST transport is used.
|
93
101
|
opts.numericEnums = true;
|
94
102
|
// If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
|
95
|
-
if (servicePath !==
|
103
|
+
if (servicePath !== this._servicePath && !('scopes' in opts)) {
|
96
104
|
opts['scopes'] = staticMembers.scopes;
|
97
105
|
}
|
98
106
|
// Load google-gax module synchronously if needed
|
@@ -110,9 +118,9 @@ class ReportServiceClient {
|
|
110
118
|
// Set useJWTAccessWithScope on the auth object.
|
111
119
|
this.auth.useJWTAccessWithScope = true;
|
112
120
|
// Set defaultServicePath on the auth object.
|
113
|
-
this.auth.defaultServicePath =
|
121
|
+
this.auth.defaultServicePath = this._servicePath;
|
114
122
|
// Set the default scopes in auth client if needed.
|
115
|
-
if (servicePath ===
|
123
|
+
if (servicePath === this._servicePath) {
|
116
124
|
this.auth.defaultScopes = staticMembers.scopes;
|
117
125
|
}
|
118
126
|
// Determine the client header string.
|
@@ -193,19 +201,38 @@ class ReportServiceClient {
|
|
193
201
|
}
|
194
202
|
/**
|
195
203
|
* The DNS address for this API service.
|
204
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
196
205
|
* @returns {string} The DNS address for this service.
|
197
206
|
*/
|
198
207
|
static get servicePath() {
|
208
|
+
if (typeof process !== undefined &&
|
209
|
+
typeof process.emitWarning === 'function') {
|
210
|
+
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
211
|
+
}
|
199
212
|
return 'merchantapi.googleapis.com';
|
200
213
|
}
|
201
214
|
/**
|
202
|
-
* The DNS address for this API service - same as servicePath
|
203
|
-
*
|
215
|
+
* The DNS address for this API service - same as servicePath.
|
216
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
204
217
|
* @returns {string} The DNS address for this service.
|
205
218
|
*/
|
206
219
|
static get apiEndpoint() {
|
220
|
+
if (typeof process !== undefined &&
|
221
|
+
typeof process.emitWarning === 'function') {
|
222
|
+
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
223
|
+
}
|
207
224
|
return 'merchantapi.googleapis.com';
|
208
225
|
}
|
226
|
+
/**
|
227
|
+
* The DNS address for this API service.
|
228
|
+
* @returns {string} The DNS address for this service.
|
229
|
+
*/
|
230
|
+
get apiEndpoint() {
|
231
|
+
return this._servicePath;
|
232
|
+
}
|
233
|
+
get universeDomain() {
|
234
|
+
return this._universeDomain;
|
235
|
+
}
|
209
236
|
/**
|
210
237
|
* The port for this API service.
|
211
238
|
* @returns {number} The default port for this service.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"report_service_client.js","sourceRoot":"","sources":["../../../src/v1beta/report_service_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAcrD,uDAAwD;
|
1
|
+
{"version":3,"file":"report_service_client.js","sourceRoot":"","sources":["../../../src/v1beta/report_service_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAcrD,uDAAwD;AAExD;;;;GAIG;AACH,mEAAmE;AACnE,MAAM,OAAO,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;AAEzD;;;;;GAKG;AACH,MAAa,mBAAmB;IAqB9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,YACE,IAAoB,EACpB,WAA8C;;QA7DxC,gBAAW,GAAG,KAAK,CAAC;QAU5B,gBAAW,GAAgB;YACzB,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,EAAE;YACV,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;SACb,CAAC;QAgDA,uDAAuD;QACvD,MAAM,aAAa,GAAG,IAAI,CAAC,WAAyC,CAAC;QACrE,IACE,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe;aACrB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,cAAc,CAAA;YACpB,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,OAAK,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,cAAc,CAAA,EAC9C,CAAC;YACD,MAAM,IAAI,KAAK,CACb,oEAAoE,CACrE,CAAC;QACJ,CAAC;QACD,IAAI,CAAC,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AC,aAAa,CAAC,QAAQ,CAAY,EACvC,OAAa,EACb,YAAY,CAC+D,CAAC;IAChF,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,IAAI,IAAI,CAAC,iBAAiB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YAChD,OAAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACxC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBACxB,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,CAAC,CAAC,CAAC;QACL,CAAC;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AA7iBD,kDA6iBC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@google-shopping/reports",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.2.0",
|
4
4
|
"description": "Merchant API client for Node.js",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -52,7 +52,7 @@
|
|
52
52
|
"@types/node": "^20.4.5",
|
53
53
|
"@types/sinon": "^17.0.0",
|
54
54
|
"c8": "^8.0.1",
|
55
|
-
"gapic-tools": "^0.
|
55
|
+
"gapic-tools": "^0.3.0",
|
56
56
|
"gts": "^5.0.0",
|
57
57
|
"jsdoc": "^4.0.0",
|
58
58
|
"jsdoc-fresh": "^3.0.0",
|