@googleapis/merchantapi 4.1.0 → 6.0.1
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 +34 -0
- package/accounts_v1beta.ts +1693 -565
- package/build/accounts_v1beta.d.ts +535 -168
- package/build/accounts_v1beta.js +309 -30
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +28 -25
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +19 -19
- package/build/datasources_v1beta.js.map +1 -1
- package/build/index.d.ts +11 -1
- package/build/index.js +7 -1
- package/build/index.js.map +1 -1
- package/build/inventories_v1beta.d.ts +14 -14
- package/build/inventories_v1beta.js.map +1 -1
- package/build/issueresolution_v1beta.d.ts +661 -0
- package/build/issueresolution_v1beta.js +148 -0
- package/build/issueresolution_v1beta.js.map +1 -0
- package/build/lfp_v1beta.d.ts +134 -13
- package/build/lfp_v1beta.js +39 -0
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +11 -11
- package/build/notifications_v1beta.js.map +1 -1
- package/build/ordertracking_v1beta.d.ts +385 -0
- package/build/ordertracking_v1beta.js +91 -0
- package/build/ordertracking_v1beta.js.map +1 -0
- package/build/products_v1beta.d.ts +45 -24
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +7 -7
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +3 -3
- package/build/reports_v1beta.d.ts +4 -4
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +17 -17
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +50 -32
- package/datasources_v1beta.ts +45 -27
- package/index.ts +24 -1
- package/inventories_v1beta.ts +32 -23
- package/issueresolution_v1beta.ts +962 -0
- package/lfp_v1beta.ts +241 -20
- package/notifications_v1beta.ts +27 -20
- package/ordertracking_v1beta.ts +525 -0
- package/package.json +2 -2
- package/products_v1beta.ts +63 -30
- package/promotions_v1beta.ts +17 -11
- package/quota_v1beta.ts +5 -5
- package/reports_v1beta.ts +8 -5
- package/reviews_v1beta.ts +45 -27
package/conversions_v1beta.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -129,9 +129,12 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
129
129
|
*/
|
|
130
130
|
export interface Schema$AttributionSettings {
|
|
131
131
|
/**
|
|
132
|
-
* Required. Lookback
|
|
132
|
+
* Required. Lookback window (in days) used for attribution in this source. Supported values are `7`, `30` & `40`.
|
|
133
133
|
*/
|
|
134
134
|
attributionLookbackWindowDays?: number | null;
|
|
135
|
+
/**
|
|
136
|
+
* Required. Attribution model.
|
|
137
|
+
*/
|
|
135
138
|
attributionModel?: string | null;
|
|
136
139
|
/**
|
|
137
140
|
* Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard "purchase" type will be automatically created if this list is empty at creation time.
|
|
@@ -159,7 +162,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
159
162
|
*/
|
|
160
163
|
merchantCenterDestination?: Schema$MerchantCenterDestination;
|
|
161
164
|
/**
|
|
162
|
-
* Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4\}
|
|
165
|
+
* Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: `[a-z]{4\}:.+` The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: * `galk`: For GoogleAnalyticsLink sources. * `mcdn`: For MerchantCenterDestination sources.
|
|
163
166
|
*/
|
|
164
167
|
name?: string | null;
|
|
165
168
|
/**
|
|
@@ -168,7 +171,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
168
171
|
state?: string | null;
|
|
169
172
|
}
|
|
170
173
|
/**
|
|
171
|
-
* Message representing
|
|
174
|
+
* Message representing the type of a conversion event.
|
|
172
175
|
*/
|
|
173
176
|
export interface Schema$ConversionType {
|
|
174
177
|
/**
|
|
@@ -219,7 +222,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
219
222
|
*/
|
|
220
223
|
export interface Schema$MerchantCenterDestination {
|
|
221
224
|
/**
|
|
222
|
-
* Required. Attribution settings
|
|
225
|
+
* Required. Attribution settings used for the Merchant Center Destination.
|
|
223
226
|
*/
|
|
224
227
|
attributionSettings?: Schema$AttributionSettings;
|
|
225
228
|
/**
|
|
@@ -231,7 +234,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
231
234
|
*/
|
|
232
235
|
destination?: string | null;
|
|
233
236
|
/**
|
|
234
|
-
* Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI.
|
|
237
|
+
* Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. The maximum length is 64 characters.
|
|
235
238
|
*/
|
|
236
239
|
displayName?: string | null;
|
|
237
240
|
}
|
|
@@ -330,11 +333,11 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
330
333
|
create(
|
|
331
334
|
params: Params$Resource$Accounts$Conversionsources$Create,
|
|
332
335
|
options: StreamMethodOptions
|
|
333
|
-
):
|
|
336
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
334
337
|
create(
|
|
335
338
|
params?: Params$Resource$Accounts$Conversionsources$Create,
|
|
336
339
|
options?: MethodOptions
|
|
337
|
-
):
|
|
340
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ConversionSource>>;
|
|
338
341
|
create(
|
|
339
342
|
params: Params$Resource$Accounts$Conversionsources$Create,
|
|
340
343
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -363,7 +366,10 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
363
366
|
callback?:
|
|
364
367
|
| BodyResponseCallback<Schema$ConversionSource>
|
|
365
368
|
| BodyResponseCallback<Readable>
|
|
366
|
-
):
|
|
369
|
+
):
|
|
370
|
+
| void
|
|
371
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ConversionSource>>
|
|
372
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
367
373
|
let params = (paramsOrCallback ||
|
|
368
374
|
{}) as Params$Resource$Accounts$Conversionsources$Create;
|
|
369
375
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -417,11 +423,11 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
417
423
|
delete(
|
|
418
424
|
params: Params$Resource$Accounts$Conversionsources$Delete,
|
|
419
425
|
options: StreamMethodOptions
|
|
420
|
-
):
|
|
426
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
421
427
|
delete(
|
|
422
428
|
params?: Params$Resource$Accounts$Conversionsources$Delete,
|
|
423
429
|
options?: MethodOptions
|
|
424
|
-
):
|
|
430
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
425
431
|
delete(
|
|
426
432
|
params: Params$Resource$Accounts$Conversionsources$Delete,
|
|
427
433
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -450,7 +456,10 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
450
456
|
callback?:
|
|
451
457
|
| BodyResponseCallback<Schema$Empty>
|
|
452
458
|
| BodyResponseCallback<Readable>
|
|
453
|
-
):
|
|
459
|
+
):
|
|
460
|
+
| void
|
|
461
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
462
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
454
463
|
let params = (paramsOrCallback ||
|
|
455
464
|
{}) as Params$Resource$Accounts$Conversionsources$Delete;
|
|
456
465
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -505,11 +514,11 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
505
514
|
get(
|
|
506
515
|
params: Params$Resource$Accounts$Conversionsources$Get,
|
|
507
516
|
options: StreamMethodOptions
|
|
508
|
-
):
|
|
517
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
509
518
|
get(
|
|
510
519
|
params?: Params$Resource$Accounts$Conversionsources$Get,
|
|
511
520
|
options?: MethodOptions
|
|
512
|
-
):
|
|
521
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ConversionSource>>;
|
|
513
522
|
get(
|
|
514
523
|
params: Params$Resource$Accounts$Conversionsources$Get,
|
|
515
524
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -538,7 +547,10 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
538
547
|
callback?:
|
|
539
548
|
| BodyResponseCallback<Schema$ConversionSource>
|
|
540
549
|
| BodyResponseCallback<Readable>
|
|
541
|
-
):
|
|
550
|
+
):
|
|
551
|
+
| void
|
|
552
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ConversionSource>>
|
|
553
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
542
554
|
let params = (paramsOrCallback ||
|
|
543
555
|
{}) as Params$Resource$Accounts$Conversionsources$Get;
|
|
544
556
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -593,11 +605,11 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
593
605
|
list(
|
|
594
606
|
params: Params$Resource$Accounts$Conversionsources$List,
|
|
595
607
|
options: StreamMethodOptions
|
|
596
|
-
):
|
|
608
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
597
609
|
list(
|
|
598
610
|
params?: Params$Resource$Accounts$Conversionsources$List,
|
|
599
611
|
options?: MethodOptions
|
|
600
|
-
):
|
|
612
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListConversionSourcesResponse>>;
|
|
601
613
|
list(
|
|
602
614
|
params: Params$Resource$Accounts$Conversionsources$List,
|
|
603
615
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -632,8 +644,8 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
632
644
|
| BodyResponseCallback<Readable>
|
|
633
645
|
):
|
|
634
646
|
| void
|
|
635
|
-
|
|
|
636
|
-
|
|
|
647
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListConversionSourcesResponse>>
|
|
648
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
637
649
|
let params = (paramsOrCallback ||
|
|
638
650
|
{}) as Params$Resource$Accounts$Conversionsources$List;
|
|
639
651
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -689,11 +701,11 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
689
701
|
patch(
|
|
690
702
|
params: Params$Resource$Accounts$Conversionsources$Patch,
|
|
691
703
|
options: StreamMethodOptions
|
|
692
|
-
):
|
|
704
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
693
705
|
patch(
|
|
694
706
|
params?: Params$Resource$Accounts$Conversionsources$Patch,
|
|
695
707
|
options?: MethodOptions
|
|
696
|
-
):
|
|
708
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ConversionSource>>;
|
|
697
709
|
patch(
|
|
698
710
|
params: Params$Resource$Accounts$Conversionsources$Patch,
|
|
699
711
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -722,7 +734,10 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
722
734
|
callback?:
|
|
723
735
|
| BodyResponseCallback<Schema$ConversionSource>
|
|
724
736
|
| BodyResponseCallback<Readable>
|
|
725
|
-
):
|
|
737
|
+
):
|
|
738
|
+
| void
|
|
739
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ConversionSource>>
|
|
740
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
726
741
|
let params = (paramsOrCallback ||
|
|
727
742
|
{}) as Params$Resource$Accounts$Conversionsources$Patch;
|
|
728
743
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -777,11 +792,11 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
777
792
|
undelete(
|
|
778
793
|
params: Params$Resource$Accounts$Conversionsources$Undelete,
|
|
779
794
|
options: StreamMethodOptions
|
|
780
|
-
):
|
|
795
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
781
796
|
undelete(
|
|
782
797
|
params?: Params$Resource$Accounts$Conversionsources$Undelete,
|
|
783
798
|
options?: MethodOptions
|
|
784
|
-
):
|
|
799
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ConversionSource>>;
|
|
785
800
|
undelete(
|
|
786
801
|
params: Params$Resource$Accounts$Conversionsources$Undelete,
|
|
787
802
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -810,7 +825,10 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
810
825
|
callback?:
|
|
811
826
|
| BodyResponseCallback<Schema$ConversionSource>
|
|
812
827
|
| BodyResponseCallback<Readable>
|
|
813
|
-
):
|
|
828
|
+
):
|
|
829
|
+
| void
|
|
830
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ConversionSource>>
|
|
831
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
814
832
|
let params = (paramsOrCallback ||
|
|
815
833
|
{}) as Params$Resource$Accounts$Conversionsources$Undelete;
|
|
816
834
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -858,7 +876,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
858
876
|
export interface Params$Resource$Accounts$Conversionsources$Create
|
|
859
877
|
extends StandardParameters {
|
|
860
878
|
/**
|
|
861
|
-
* Required. The merchant account that will own the new conversion source. Format: accounts/{account\}
|
|
879
|
+
* Required. The merchant account that will own the new conversion source. Format: `accounts/{account\}`
|
|
862
880
|
*/
|
|
863
881
|
parent?: string;
|
|
864
882
|
|
|
@@ -870,14 +888,14 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
870
888
|
export interface Params$Resource$Accounts$Conversionsources$Delete
|
|
871
889
|
extends StandardParameters {
|
|
872
890
|
/**
|
|
873
|
-
* Required. The name of the conversion source to be deleted. Format: accounts/{account\}/conversionSources/{conversion_source\}
|
|
891
|
+
* Required. The name of the conversion source to be deleted. Format: `accounts/{account\}/conversionSources/{conversion_source\}`
|
|
874
892
|
*/
|
|
875
893
|
name?: string;
|
|
876
894
|
}
|
|
877
895
|
export interface Params$Resource$Accounts$Conversionsources$Get
|
|
878
896
|
extends StandardParameters {
|
|
879
897
|
/**
|
|
880
|
-
* Required. The name of the conversion source to be fetched. Format: accounts/{account\}/conversionSources/{conversion_source\}
|
|
898
|
+
* Required. The name of the conversion source to be fetched. Format: `accounts/{account\}/conversionSources/{conversion_source\}`
|
|
881
899
|
*/
|
|
882
900
|
name?: string;
|
|
883
901
|
}
|
|
@@ -892,18 +910,18 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
892
910
|
*/
|
|
893
911
|
pageToken?: string;
|
|
894
912
|
/**
|
|
895
|
-
* Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account\}
|
|
913
|
+
* Required. The merchant account who owns the collection of conversion sources. Format: `accounts/{account\}`
|
|
896
914
|
*/
|
|
897
915
|
parent?: string;
|
|
898
916
|
/**
|
|
899
|
-
* Optional. Show deleted (archived)
|
|
917
|
+
* Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned.
|
|
900
918
|
*/
|
|
901
919
|
showDeleted?: boolean;
|
|
902
920
|
}
|
|
903
921
|
export interface Params$Resource$Accounts$Conversionsources$Patch
|
|
904
922
|
extends StandardParameters {
|
|
905
923
|
/**
|
|
906
|
-
* Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4\}
|
|
924
|
+
* Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: `[a-z]{4\}:.+` The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: * `galk`: For GoogleAnalyticsLink sources. * `mcdn`: For MerchantCenterDestination sources.
|
|
907
925
|
*/
|
|
908
926
|
name?: string;
|
|
909
927
|
/**
|
|
@@ -919,7 +937,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
919
937
|
export interface Params$Resource$Accounts$Conversionsources$Undelete
|
|
920
938
|
extends StandardParameters {
|
|
921
939
|
/**
|
|
922
|
-
* Required. The name of the conversion source to be undeleted. Format: accounts/{account\}/conversionSources/{conversion_source\}
|
|
940
|
+
* Required. The name of the conversion source to be undeleted. Format: `accounts/{account\}/conversionSources/{conversion_source\}`
|
|
923
941
|
*/
|
|
924
942
|
name?: string;
|
|
925
943
|
|
package/datasources_v1beta.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -125,7 +125,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* The [data source](
|
|
128
|
+
* The [data source](/merchant/api/guides/data-sources/overview) for the Merchant Center account.
|
|
129
129
|
*/
|
|
130
130
|
export interface Schema$DataSource {
|
|
131
131
|
/**
|
|
@@ -153,7 +153,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
153
153
|
*/
|
|
154
154
|
merchantReviewDataSource?: Schema$MerchantReviewDataSource;
|
|
155
155
|
/**
|
|
156
|
-
* Identifier. The name of the data source. Format: `
|
|
156
|
+
* Required. Identifier. The name of the data source. Format: `accounts/{account\}/dataSources/{datasource\}`
|
|
157
157
|
*/
|
|
158
158
|
name?: string | null;
|
|
159
159
|
/**
|
|
@@ -558,7 +558,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
|
-
* Creates the new data source configuration for the given account.
|
|
561
|
+
* Creates the new data source configuration for the given account. This method always creates a new data source.
|
|
562
562
|
*
|
|
563
563
|
* @param params - Parameters for request
|
|
564
564
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -568,11 +568,11 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
568
568
|
create(
|
|
569
569
|
params: Params$Resource$Accounts$Datasources$Create,
|
|
570
570
|
options: StreamMethodOptions
|
|
571
|
-
):
|
|
571
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
572
572
|
create(
|
|
573
573
|
params?: Params$Resource$Accounts$Datasources$Create,
|
|
574
574
|
options?: MethodOptions
|
|
575
|
-
):
|
|
575
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$DataSource>>;
|
|
576
576
|
create(
|
|
577
577
|
params: Params$Resource$Accounts$Datasources$Create,
|
|
578
578
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -601,7 +601,10 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
601
601
|
callback?:
|
|
602
602
|
| BodyResponseCallback<Schema$DataSource>
|
|
603
603
|
| BodyResponseCallback<Readable>
|
|
604
|
-
):
|
|
604
|
+
):
|
|
605
|
+
| void
|
|
606
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$DataSource>>
|
|
607
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
605
608
|
let params = (paramsOrCallback ||
|
|
606
609
|
{}) as Params$Resource$Accounts$Datasources$Create;
|
|
607
610
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -655,11 +658,11 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
655
658
|
delete(
|
|
656
659
|
params: Params$Resource$Accounts$Datasources$Delete,
|
|
657
660
|
options: StreamMethodOptions
|
|
658
|
-
):
|
|
661
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
659
662
|
delete(
|
|
660
663
|
params?: Params$Resource$Accounts$Datasources$Delete,
|
|
661
664
|
options?: MethodOptions
|
|
662
|
-
):
|
|
665
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
663
666
|
delete(
|
|
664
667
|
params: Params$Resource$Accounts$Datasources$Delete,
|
|
665
668
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -688,7 +691,10 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
688
691
|
callback?:
|
|
689
692
|
| BodyResponseCallback<Schema$Empty>
|
|
690
693
|
| BodyResponseCallback<Readable>
|
|
691
|
-
):
|
|
694
|
+
):
|
|
695
|
+
| void
|
|
696
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
697
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
692
698
|
let params = (paramsOrCallback ||
|
|
693
699
|
{}) as Params$Resource$Accounts$Datasources$Delete;
|
|
694
700
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -743,11 +749,11 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
743
749
|
fetch(
|
|
744
750
|
params: Params$Resource$Accounts$Datasources$Fetch,
|
|
745
751
|
options: StreamMethodOptions
|
|
746
|
-
):
|
|
752
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
747
753
|
fetch(
|
|
748
754
|
params?: Params$Resource$Accounts$Datasources$Fetch,
|
|
749
755
|
options?: MethodOptions
|
|
750
|
-
):
|
|
756
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
751
757
|
fetch(
|
|
752
758
|
params: Params$Resource$Accounts$Datasources$Fetch,
|
|
753
759
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -776,7 +782,10 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
776
782
|
callback?:
|
|
777
783
|
| BodyResponseCallback<Schema$Empty>
|
|
778
784
|
| BodyResponseCallback<Readable>
|
|
779
|
-
):
|
|
785
|
+
):
|
|
786
|
+
| void
|
|
787
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
788
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
780
789
|
let params = (paramsOrCallback ||
|
|
781
790
|
{}) as Params$Resource$Accounts$Datasources$Fetch;
|
|
782
791
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -831,11 +840,11 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
831
840
|
get(
|
|
832
841
|
params: Params$Resource$Accounts$Datasources$Get,
|
|
833
842
|
options: StreamMethodOptions
|
|
834
|
-
):
|
|
843
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
835
844
|
get(
|
|
836
845
|
params?: Params$Resource$Accounts$Datasources$Get,
|
|
837
846
|
options?: MethodOptions
|
|
838
|
-
):
|
|
847
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$DataSource>>;
|
|
839
848
|
get(
|
|
840
849
|
params: Params$Resource$Accounts$Datasources$Get,
|
|
841
850
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -864,7 +873,10 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
864
873
|
callback?:
|
|
865
874
|
| BodyResponseCallback<Schema$DataSource>
|
|
866
875
|
| BodyResponseCallback<Readable>
|
|
867
|
-
):
|
|
876
|
+
):
|
|
877
|
+
| void
|
|
878
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$DataSource>>
|
|
879
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
868
880
|
let params = (paramsOrCallback ||
|
|
869
881
|
{}) as Params$Resource$Accounts$Datasources$Get;
|
|
870
882
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -919,11 +931,11 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
919
931
|
list(
|
|
920
932
|
params: Params$Resource$Accounts$Datasources$List,
|
|
921
933
|
options: StreamMethodOptions
|
|
922
|
-
):
|
|
934
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
923
935
|
list(
|
|
924
936
|
params?: Params$Resource$Accounts$Datasources$List,
|
|
925
937
|
options?: MethodOptions
|
|
926
|
-
):
|
|
938
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListDataSourcesResponse>>;
|
|
927
939
|
list(
|
|
928
940
|
params: Params$Resource$Accounts$Datasources$List,
|
|
929
941
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -956,8 +968,8 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
956
968
|
| BodyResponseCallback<Readable>
|
|
957
969
|
):
|
|
958
970
|
| void
|
|
959
|
-
|
|
|
960
|
-
|
|
|
971
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListDataSourcesResponse>>
|
|
972
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
961
973
|
let params = (paramsOrCallback ||
|
|
962
974
|
{}) as Params$Resource$Accounts$Datasources$List;
|
|
963
975
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1011,11 +1023,11 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
1011
1023
|
patch(
|
|
1012
1024
|
params: Params$Resource$Accounts$Datasources$Patch,
|
|
1013
1025
|
options: StreamMethodOptions
|
|
1014
|
-
):
|
|
1026
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1015
1027
|
patch(
|
|
1016
1028
|
params?: Params$Resource$Accounts$Datasources$Patch,
|
|
1017
1029
|
options?: MethodOptions
|
|
1018
|
-
):
|
|
1030
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$DataSource>>;
|
|
1019
1031
|
patch(
|
|
1020
1032
|
params: Params$Resource$Accounts$Datasources$Patch,
|
|
1021
1033
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1044,7 +1056,10 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
1044
1056
|
callback?:
|
|
1045
1057
|
| BodyResponseCallback<Schema$DataSource>
|
|
1046
1058
|
| BodyResponseCallback<Readable>
|
|
1047
|
-
):
|
|
1059
|
+
):
|
|
1060
|
+
| void
|
|
1061
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$DataSource>>
|
|
1062
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1048
1063
|
let params = (paramsOrCallback ||
|
|
1049
1064
|
{}) as Params$Resource$Accounts$Datasources$Patch;
|
|
1050
1065
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -1145,7 +1160,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
1145
1160
|
export interface Params$Resource$Accounts$Datasources$Patch
|
|
1146
1161
|
extends StandardParameters {
|
|
1147
1162
|
/**
|
|
1148
|
-
* Identifier. The name of the data source. Format: `
|
|
1163
|
+
* Required. Identifier. The name of the data source. Format: `accounts/{account\}/dataSources/{datasource\}`
|
|
1149
1164
|
*/
|
|
1150
1165
|
name?: string;
|
|
1151
1166
|
/**
|
|
@@ -1176,11 +1191,11 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
1176
1191
|
get(
|
|
1177
1192
|
params: Params$Resource$Accounts$Datasources$Fileuploads$Get,
|
|
1178
1193
|
options: StreamMethodOptions
|
|
1179
|
-
):
|
|
1194
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
1180
1195
|
get(
|
|
1181
1196
|
params?: Params$Resource$Accounts$Datasources$Fileuploads$Get,
|
|
1182
1197
|
options?: MethodOptions
|
|
1183
|
-
):
|
|
1198
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$FileUpload>>;
|
|
1184
1199
|
get(
|
|
1185
1200
|
params: Params$Resource$Accounts$Datasources$Fileuploads$Get,
|
|
1186
1201
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -1209,7 +1224,10 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
1209
1224
|
callback?:
|
|
1210
1225
|
| BodyResponseCallback<Schema$FileUpload>
|
|
1211
1226
|
| BodyResponseCallback<Readable>
|
|
1212
|
-
):
|
|
1227
|
+
):
|
|
1228
|
+
| void
|
|
1229
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$FileUpload>>
|
|
1230
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
1213
1231
|
let params = (paramsOrCallback ||
|
|
1214
1232
|
{}) as Params$Resource$Accounts$Datasources$Fileuploads$Get;
|
|
1215
1233
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
package/index.ts
CHANGED
|
@@ -18,8 +18,10 @@ import {merchantapi_accounts_v1beta} from './accounts_v1beta';
|
|
|
18
18
|
import {merchantapi_conversions_v1beta} from './conversions_v1beta';
|
|
19
19
|
import {merchantapi_datasources_v1beta} from './datasources_v1beta';
|
|
20
20
|
import {merchantapi_inventories_v1beta} from './inventories_v1beta';
|
|
21
|
+
import {merchantapi_issueresolution_v1beta} from './issueresolution_v1beta';
|
|
21
22
|
import {merchantapi_lfp_v1beta} from './lfp_v1beta';
|
|
22
23
|
import {merchantapi_notifications_v1beta} from './notifications_v1beta';
|
|
24
|
+
import {merchantapi_ordertracking_v1beta} from './ordertracking_v1beta';
|
|
23
25
|
import {merchantapi_products_v1beta} from './products_v1beta';
|
|
24
26
|
import {merchantapi_promotions_v1beta} from './promotions_v1beta';
|
|
25
27
|
import {merchantapi_quota_v1beta} from './quota_v1beta';
|
|
@@ -31,8 +33,10 @@ export const VERSIONS = {
|
|
|
31
33
|
conversions_v1beta: merchantapi_conversions_v1beta.Merchantapi,
|
|
32
34
|
datasources_v1beta: merchantapi_datasources_v1beta.Merchantapi,
|
|
33
35
|
inventories_v1beta: merchantapi_inventories_v1beta.Merchantapi,
|
|
36
|
+
issueresolution_v1beta: merchantapi_issueresolution_v1beta.Merchantapi,
|
|
34
37
|
lfp_v1beta: merchantapi_lfp_v1beta.Merchantapi,
|
|
35
38
|
notifications_v1beta: merchantapi_notifications_v1beta.Merchantapi,
|
|
39
|
+
ordertracking_v1beta: merchantapi_ordertracking_v1beta.Merchantapi,
|
|
36
40
|
products_v1beta: merchantapi_products_v1beta.Merchantapi,
|
|
37
41
|
promotions_v1beta: merchantapi_promotions_v1beta.Merchantapi,
|
|
38
42
|
quota_v1beta: merchantapi_quota_v1beta.Merchantapi,
|
|
@@ -64,6 +68,12 @@ export function merchantapi(
|
|
|
64
68
|
export function merchantapi(
|
|
65
69
|
options: merchantapi_inventories_v1beta.Options
|
|
66
70
|
): merchantapi_inventories_v1beta.Merchantapi;
|
|
71
|
+
export function merchantapi(
|
|
72
|
+
version: 'issueresolution_v1beta'
|
|
73
|
+
): merchantapi_issueresolution_v1beta.Merchantapi;
|
|
74
|
+
export function merchantapi(
|
|
75
|
+
options: merchantapi_issueresolution_v1beta.Options
|
|
76
|
+
): merchantapi_issueresolution_v1beta.Merchantapi;
|
|
67
77
|
export function merchantapi(
|
|
68
78
|
version: 'lfp_v1beta'
|
|
69
79
|
): merchantapi_lfp_v1beta.Merchantapi;
|
|
@@ -76,6 +86,12 @@ export function merchantapi(
|
|
|
76
86
|
export function merchantapi(
|
|
77
87
|
options: merchantapi_notifications_v1beta.Options
|
|
78
88
|
): merchantapi_notifications_v1beta.Merchantapi;
|
|
89
|
+
export function merchantapi(
|
|
90
|
+
version: 'ordertracking_v1beta'
|
|
91
|
+
): merchantapi_ordertracking_v1beta.Merchantapi;
|
|
92
|
+
export function merchantapi(
|
|
93
|
+
options: merchantapi_ordertracking_v1beta.Options
|
|
94
|
+
): merchantapi_ordertracking_v1beta.Merchantapi;
|
|
79
95
|
export function merchantapi(
|
|
80
96
|
version: 'products_v1beta'
|
|
81
97
|
): merchantapi_products_v1beta.Merchantapi;
|
|
@@ -112,8 +128,10 @@ export function merchantapi<
|
|
|
112
128
|
| merchantapi_conversions_v1beta.Merchantapi
|
|
113
129
|
| merchantapi_datasources_v1beta.Merchantapi
|
|
114
130
|
| merchantapi_inventories_v1beta.Merchantapi
|
|
131
|
+
| merchantapi_issueresolution_v1beta.Merchantapi
|
|
115
132
|
| merchantapi_lfp_v1beta.Merchantapi
|
|
116
133
|
| merchantapi_notifications_v1beta.Merchantapi
|
|
134
|
+
| merchantapi_ordertracking_v1beta.Merchantapi
|
|
117
135
|
| merchantapi_products_v1beta.Merchantapi
|
|
118
136
|
| merchantapi_promotions_v1beta.Merchantapi
|
|
119
137
|
| merchantapi_quota_v1beta.Merchantapi
|
|
@@ -130,10 +148,14 @@ export function merchantapi<
|
|
|
130
148
|
| merchantapi_datasources_v1beta.Options
|
|
131
149
|
| 'inventories_v1beta'
|
|
132
150
|
| merchantapi_inventories_v1beta.Options
|
|
151
|
+
| 'issueresolution_v1beta'
|
|
152
|
+
| merchantapi_issueresolution_v1beta.Options
|
|
133
153
|
| 'lfp_v1beta'
|
|
134
154
|
| merchantapi_lfp_v1beta.Options
|
|
135
155
|
| 'notifications_v1beta'
|
|
136
156
|
| merchantapi_notifications_v1beta.Options
|
|
157
|
+
| 'ordertracking_v1beta'
|
|
158
|
+
| merchantapi_ordertracking_v1beta.Options
|
|
137
159
|
| 'products_v1beta'
|
|
138
160
|
| merchantapi_products_v1beta.Options
|
|
139
161
|
| 'promotions_v1beta'
|
|
@@ -154,8 +176,10 @@ export {merchantapi_accounts_v1beta};
|
|
|
154
176
|
export {merchantapi_conversions_v1beta};
|
|
155
177
|
export {merchantapi_datasources_v1beta};
|
|
156
178
|
export {merchantapi_inventories_v1beta};
|
|
179
|
+
export {merchantapi_issueresolution_v1beta};
|
|
157
180
|
export {merchantapi_lfp_v1beta};
|
|
158
181
|
export {merchantapi_notifications_v1beta};
|
|
182
|
+
export {merchantapi_ordertracking_v1beta};
|
|
159
183
|
export {merchantapi_products_v1beta};
|
|
160
184
|
export {merchantapi_promotions_v1beta};
|
|
161
185
|
export {merchantapi_quota_v1beta};
|
|
@@ -167,7 +191,6 @@ export {
|
|
|
167
191
|
APIRequestContext,
|
|
168
192
|
GoogleConfigurable,
|
|
169
193
|
StreamMethodOptions,
|
|
170
|
-
GaxiosPromise,
|
|
171
194
|
MethodOptions,
|
|
172
195
|
BodyResponseCallback,
|
|
173
196
|
} from 'googleapis-common';
|