@google-shopping/lfp 0.4.1 → 0.6.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.
Files changed (31) hide show
  1. package/README.md +3 -2
  2. package/build/protos/google/shopping/merchant/lfp/v1beta/lfpmerchantstate.proto +201 -0
  3. package/build/protos/protos.d.ts +663 -53
  4. package/build/protos/protos.js +2126 -275
  5. package/build/protos/protos.json +258 -16
  6. package/build/src/index.d.ts +4 -1
  7. package/build/src/index.js +4 -7
  8. package/build/src/index.js.map +1 -1
  9. package/build/src/v1beta/gapic_metadata.json +24 -0
  10. package/build/src/v1beta/index.d.ts +1 -0
  11. package/build/src/v1beta/index.js +3 -1
  12. package/build/src/v1beta/index.js.map +1 -1
  13. package/build/src/v1beta/lfp_inventory_service_client.d.ts +25 -1
  14. package/build/src/v1beta/lfp_inventory_service_client.js +67 -44
  15. package/build/src/v1beta/lfp_inventory_service_client.js.map +1 -1
  16. package/build/src/v1beta/lfp_inventory_service_proto_list.json +1 -0
  17. package/build/src/v1beta/lfp_merchant_state_service_client.d.ts +273 -0
  18. package/build/src/v1beta/lfp_merchant_state_service_client.js +505 -0
  19. package/build/src/v1beta/lfp_merchant_state_service_client.js.map +1 -0
  20. package/build/src/v1beta/lfp_merchant_state_service_client_config.json +43 -0
  21. package/build/src/v1beta/lfp_merchant_state_service_proto_list.json +7 -0
  22. package/build/src/v1beta/lfp_sale_service_client.d.ts +25 -1
  23. package/build/src/v1beta/lfp_sale_service_client.js +67 -44
  24. package/build/src/v1beta/lfp_sale_service_client.js.map +1 -1
  25. package/build/src/v1beta/lfp_sale_service_proto_list.json +1 -0
  26. package/build/src/v1beta/lfp_store_service_client.d.ts +62 -38
  27. package/build/src/v1beta/lfp_store_service_client.js +102 -88
  28. package/build/src/v1beta/lfp_store_service_client.js.map +1 -1
  29. package/build/src/v1beta/lfp_store_service_proto_list.json +1 -0
  30. package/package.json +4 -4
  31. package/CHANGELOG.md +0 -47
@@ -171,21 +171,6 @@ export namespace google {
171
171
  /** LfpInventory feedLabel. */
172
172
  public feedLabel?: (string|null);
173
173
 
174
- /** LfpInventory _gtin. */
175
- public _gtin?: "gtin";
176
-
177
- /** LfpInventory _quantity. */
178
- public _quantity?: "quantity";
179
-
180
- /** LfpInventory _pickupMethod. */
181
- public _pickupMethod?: "pickupMethod";
182
-
183
- /** LfpInventory _pickupSla. */
184
- public _pickupSla?: "pickupSla";
185
-
186
- /** LfpInventory _feedLabel. */
187
- public _feedLabel?: "feedLabel";
188
-
189
174
  /**
190
175
  * Creates a new LfpInventory instance using the specified properties.
191
176
  * @param [properties] Properties to set
@@ -367,6 +352,658 @@ export namespace google {
367
352
  public static getTypeUrl(typeUrlPrefix?: string): string;
368
353
  }
369
354
 
355
+ /** Represents a LfpMerchantStateService */
356
+ class LfpMerchantStateService extends $protobuf.rpc.Service {
357
+
358
+ /**
359
+ * Constructs a new LfpMerchantStateService service.
360
+ * @param rpcImpl RPC implementation
361
+ * @param [requestDelimited=false] Whether requests are length-delimited
362
+ * @param [responseDelimited=false] Whether responses are length-delimited
363
+ */
364
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
365
+
366
+ /**
367
+ * Creates new LfpMerchantStateService service using the specified rpc implementation.
368
+ * @param rpcImpl RPC implementation
369
+ * @param [requestDelimited=false] Whether requests are length-delimited
370
+ * @param [responseDelimited=false] Whether responses are length-delimited
371
+ * @returns RPC service. Useful where requests and/or responses are streamed.
372
+ */
373
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): LfpMerchantStateService;
374
+
375
+ /**
376
+ * Calls GetLfpMerchantState.
377
+ * @param request GetLfpMerchantStateRequest message or plain object
378
+ * @param callback Node-style callback called with the error, if any, and LfpMerchantState
379
+ */
380
+ public getLfpMerchantState(request: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest, callback: google.shopping.merchant.lfp.v1beta.LfpMerchantStateService.GetLfpMerchantStateCallback): void;
381
+
382
+ /**
383
+ * Calls GetLfpMerchantState.
384
+ * @param request GetLfpMerchantStateRequest message or plain object
385
+ * @returns Promise
386
+ */
387
+ public getLfpMerchantState(request: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest): Promise<google.shopping.merchant.lfp.v1beta.LfpMerchantState>;
388
+ }
389
+
390
+ namespace LfpMerchantStateService {
391
+
392
+ /**
393
+ * Callback as used by {@link google.shopping.merchant.lfp.v1beta.LfpMerchantStateService|getLfpMerchantState}.
394
+ * @param error Error, if any
395
+ * @param [response] LfpMerchantState
396
+ */
397
+ type GetLfpMerchantStateCallback = (error: (Error|null), response?: google.shopping.merchant.lfp.v1beta.LfpMerchantState) => void;
398
+ }
399
+
400
+ /** Properties of a LfpMerchantState. */
401
+ interface ILfpMerchantState {
402
+
403
+ /** LfpMerchantState name */
404
+ name?: (string|null);
405
+
406
+ /** LfpMerchantState linkedGbps */
407
+ linkedGbps?: (number|Long|string|null);
408
+
409
+ /** LfpMerchantState storeStates */
410
+ storeStates?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState[]|null);
411
+
412
+ /** LfpMerchantState inventoryStats */
413
+ inventoryStats?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats|null);
414
+
415
+ /** LfpMerchantState countrySettings */
416
+ countrySettings?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings[]|null);
417
+ }
418
+
419
+ /** Represents a LfpMerchantState. */
420
+ class LfpMerchantState implements ILfpMerchantState {
421
+
422
+ /**
423
+ * Constructs a new LfpMerchantState.
424
+ * @param [properties] Properties to set
425
+ */
426
+ constructor(properties?: google.shopping.merchant.lfp.v1beta.ILfpMerchantState);
427
+
428
+ /** LfpMerchantState name. */
429
+ public name: string;
430
+
431
+ /** LfpMerchantState linkedGbps. */
432
+ public linkedGbps: (number|Long|string);
433
+
434
+ /** LfpMerchantState storeStates. */
435
+ public storeStates: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState[];
436
+
437
+ /** LfpMerchantState inventoryStats. */
438
+ public inventoryStats?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats|null);
439
+
440
+ /** LfpMerchantState countrySettings. */
441
+ public countrySettings: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings[];
442
+
443
+ /**
444
+ * Creates a new LfpMerchantState instance using the specified properties.
445
+ * @param [properties] Properties to set
446
+ * @returns LfpMerchantState instance
447
+ */
448
+ public static create(properties?: google.shopping.merchant.lfp.v1beta.ILfpMerchantState): google.shopping.merchant.lfp.v1beta.LfpMerchantState;
449
+
450
+ /**
451
+ * Encodes the specified LfpMerchantState message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.verify|verify} messages.
452
+ * @param message LfpMerchantState message or plain object to encode
453
+ * @param [writer] Writer to encode to
454
+ * @returns Writer
455
+ */
456
+ public static encode(message: google.shopping.merchant.lfp.v1beta.ILfpMerchantState, writer?: $protobuf.Writer): $protobuf.Writer;
457
+
458
+ /**
459
+ * Encodes the specified LfpMerchantState message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.verify|verify} messages.
460
+ * @param message LfpMerchantState message or plain object to encode
461
+ * @param [writer] Writer to encode to
462
+ * @returns Writer
463
+ */
464
+ public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.ILfpMerchantState, writer?: $protobuf.Writer): $protobuf.Writer;
465
+
466
+ /**
467
+ * Decodes a LfpMerchantState message from the specified reader or buffer.
468
+ * @param reader Reader or buffer to decode from
469
+ * @param [length] Message length if known beforehand
470
+ * @returns LfpMerchantState
471
+ * @throws {Error} If the payload is not a reader or valid buffer
472
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
473
+ */
474
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.LfpMerchantState;
475
+
476
+ /**
477
+ * Decodes a LfpMerchantState message from the specified reader or buffer, length delimited.
478
+ * @param reader Reader or buffer to decode from
479
+ * @returns LfpMerchantState
480
+ * @throws {Error} If the payload is not a reader or valid buffer
481
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
482
+ */
483
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.LfpMerchantState;
484
+
485
+ /**
486
+ * Verifies a LfpMerchantState message.
487
+ * @param message Plain object to verify
488
+ * @returns `null` if valid, otherwise the reason why it is not
489
+ */
490
+ public static verify(message: { [k: string]: any }): (string|null);
491
+
492
+ /**
493
+ * Creates a LfpMerchantState message from a plain object. Also converts values to their respective internal types.
494
+ * @param object Plain object
495
+ * @returns LfpMerchantState
496
+ */
497
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.LfpMerchantState;
498
+
499
+ /**
500
+ * Creates a plain object from a LfpMerchantState message. Also converts values to other types if specified.
501
+ * @param message LfpMerchantState
502
+ * @param [options] Conversion options
503
+ * @returns Plain object
504
+ */
505
+ public static toObject(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState, options?: $protobuf.IConversionOptions): { [k: string]: any };
506
+
507
+ /**
508
+ * Converts this LfpMerchantState to JSON.
509
+ * @returns JSON object
510
+ */
511
+ public toJSON(): { [k: string]: any };
512
+
513
+ /**
514
+ * Gets the default type url for LfpMerchantState
515
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
516
+ * @returns The default type url
517
+ */
518
+ public static getTypeUrl(typeUrlPrefix?: string): string;
519
+ }
520
+
521
+ namespace LfpMerchantState {
522
+
523
+ /** Properties of a LfpStoreState. */
524
+ interface ILfpStoreState {
525
+
526
+ /** LfpStoreState storeCode */
527
+ storeCode?: (string|null);
528
+
529
+ /** LfpStoreState matchingState */
530
+ matchingState?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState|null);
531
+
532
+ /** LfpStoreState matchingStateHint */
533
+ matchingStateHint?: (string|null);
534
+ }
535
+
536
+ /** Represents a LfpStoreState. */
537
+ class LfpStoreState implements ILfpStoreState {
538
+
539
+ /**
540
+ * Constructs a new LfpStoreState.
541
+ * @param [properties] Properties to set
542
+ */
543
+ constructor(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState);
544
+
545
+ /** LfpStoreState storeCode. */
546
+ public storeCode: string;
547
+
548
+ /** LfpStoreState matchingState. */
549
+ public matchingState: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState);
550
+
551
+ /** LfpStoreState matchingStateHint. */
552
+ public matchingStateHint: string;
553
+
554
+ /**
555
+ * Creates a new LfpStoreState instance using the specified properties.
556
+ * @param [properties] Properties to set
557
+ * @returns LfpStoreState instance
558
+ */
559
+ public static create(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState): google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState;
560
+
561
+ /**
562
+ * Encodes the specified LfpStoreState message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.verify|verify} messages.
563
+ * @param message LfpStoreState message or plain object to encode
564
+ * @param [writer] Writer to encode to
565
+ * @returns Writer
566
+ */
567
+ public static encode(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState, writer?: $protobuf.Writer): $protobuf.Writer;
568
+
569
+ /**
570
+ * Encodes the specified LfpStoreState message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.verify|verify} messages.
571
+ * @param message LfpStoreState message or plain object to encode
572
+ * @param [writer] Writer to encode to
573
+ * @returns Writer
574
+ */
575
+ public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState, writer?: $protobuf.Writer): $protobuf.Writer;
576
+
577
+ /**
578
+ * Decodes a LfpStoreState message from the specified reader or buffer.
579
+ * @param reader Reader or buffer to decode from
580
+ * @param [length] Message length if known beforehand
581
+ * @returns LfpStoreState
582
+ * @throws {Error} If the payload is not a reader or valid buffer
583
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
584
+ */
585
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState;
586
+
587
+ /**
588
+ * Decodes a LfpStoreState message from the specified reader or buffer, length delimited.
589
+ * @param reader Reader or buffer to decode from
590
+ * @returns LfpStoreState
591
+ * @throws {Error} If the payload is not a reader or valid buffer
592
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
593
+ */
594
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState;
595
+
596
+ /**
597
+ * Verifies a LfpStoreState message.
598
+ * @param message Plain object to verify
599
+ * @returns `null` if valid, otherwise the reason why it is not
600
+ */
601
+ public static verify(message: { [k: string]: any }): (string|null);
602
+
603
+ /**
604
+ * Creates a LfpStoreState message from a plain object. Also converts values to their respective internal types.
605
+ * @param object Plain object
606
+ * @returns LfpStoreState
607
+ */
608
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState;
609
+
610
+ /**
611
+ * Creates a plain object from a LfpStoreState message. Also converts values to other types if specified.
612
+ * @param message LfpStoreState
613
+ * @param [options] Conversion options
614
+ * @returns Plain object
615
+ */
616
+ public static toObject(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState, options?: $protobuf.IConversionOptions): { [k: string]: any };
617
+
618
+ /**
619
+ * Converts this LfpStoreState to JSON.
620
+ * @returns JSON object
621
+ */
622
+ public toJSON(): { [k: string]: any };
623
+
624
+ /**
625
+ * Gets the default type url for LfpStoreState
626
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
627
+ * @returns The default type url
628
+ */
629
+ public static getTypeUrl(typeUrlPrefix?: string): string;
630
+ }
631
+
632
+ namespace LfpStoreState {
633
+
634
+ /** StoreMatchingState enum. */
635
+ enum StoreMatchingState {
636
+ STORE_MATCHING_STATE_UNSPECIFIED = 0,
637
+ STORE_MATCHING_STATE_MATCHED = 1,
638
+ STORE_MATCHING_STATE_FAILED = 2
639
+ }
640
+ }
641
+
642
+ /** Properties of an InventoryStats. */
643
+ interface IInventoryStats {
644
+
645
+ /** InventoryStats submittedEntries */
646
+ submittedEntries?: (number|Long|string|null);
647
+
648
+ /** InventoryStats submittedInStockEntries */
649
+ submittedInStockEntries?: (number|Long|string|null);
650
+
651
+ /** InventoryStats unsubmittedEntries */
652
+ unsubmittedEntries?: (number|Long|string|null);
653
+
654
+ /** InventoryStats submittedProducts */
655
+ submittedProducts?: (number|Long|string|null);
656
+ }
657
+
658
+ /** Represents an InventoryStats. */
659
+ class InventoryStats implements IInventoryStats {
660
+
661
+ /**
662
+ * Constructs a new InventoryStats.
663
+ * @param [properties] Properties to set
664
+ */
665
+ constructor(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats);
666
+
667
+ /** InventoryStats submittedEntries. */
668
+ public submittedEntries: (number|Long|string);
669
+
670
+ /** InventoryStats submittedInStockEntries. */
671
+ public submittedInStockEntries: (number|Long|string);
672
+
673
+ /** InventoryStats unsubmittedEntries. */
674
+ public unsubmittedEntries: (number|Long|string);
675
+
676
+ /** InventoryStats submittedProducts. */
677
+ public submittedProducts: (number|Long|string);
678
+
679
+ /**
680
+ * Creates a new InventoryStats instance using the specified properties.
681
+ * @param [properties] Properties to set
682
+ * @returns InventoryStats instance
683
+ */
684
+ public static create(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats): google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats;
685
+
686
+ /**
687
+ * Encodes the specified InventoryStats message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats.verify|verify} messages.
688
+ * @param message InventoryStats message or plain object to encode
689
+ * @param [writer] Writer to encode to
690
+ * @returns Writer
691
+ */
692
+ public static encode(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats, writer?: $protobuf.Writer): $protobuf.Writer;
693
+
694
+ /**
695
+ * Encodes the specified InventoryStats message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats.verify|verify} messages.
696
+ * @param message InventoryStats message or plain object to encode
697
+ * @param [writer] Writer to encode to
698
+ * @returns Writer
699
+ */
700
+ public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats, writer?: $protobuf.Writer): $protobuf.Writer;
701
+
702
+ /**
703
+ * Decodes an InventoryStats message from the specified reader or buffer.
704
+ * @param reader Reader or buffer to decode from
705
+ * @param [length] Message length if known beforehand
706
+ * @returns InventoryStats
707
+ * @throws {Error} If the payload is not a reader or valid buffer
708
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
709
+ */
710
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats;
711
+
712
+ /**
713
+ * Decodes an InventoryStats message from the specified reader or buffer, length delimited.
714
+ * @param reader Reader or buffer to decode from
715
+ * @returns InventoryStats
716
+ * @throws {Error} If the payload is not a reader or valid buffer
717
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
718
+ */
719
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats;
720
+
721
+ /**
722
+ * Verifies an InventoryStats message.
723
+ * @param message Plain object to verify
724
+ * @returns `null` if valid, otherwise the reason why it is not
725
+ */
726
+ public static verify(message: { [k: string]: any }): (string|null);
727
+
728
+ /**
729
+ * Creates an InventoryStats message from a plain object. Also converts values to their respective internal types.
730
+ * @param object Plain object
731
+ * @returns InventoryStats
732
+ */
733
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats;
734
+
735
+ /**
736
+ * Creates a plain object from an InventoryStats message. Also converts values to other types if specified.
737
+ * @param message InventoryStats
738
+ * @param [options] Conversion options
739
+ * @returns Plain object
740
+ */
741
+ public static toObject(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
742
+
743
+ /**
744
+ * Converts this InventoryStats to JSON.
745
+ * @returns JSON object
746
+ */
747
+ public toJSON(): { [k: string]: any };
748
+
749
+ /**
750
+ * Gets the default type url for InventoryStats
751
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
752
+ * @returns The default type url
753
+ */
754
+ public static getTypeUrl(typeUrlPrefix?: string): string;
755
+ }
756
+
757
+ /** Properties of a CountrySettings. */
758
+ interface ICountrySettings {
759
+
760
+ /** CountrySettings regionCode */
761
+ regionCode?: (string|null);
762
+
763
+ /** CountrySettings freeLocalListingsEnabled */
764
+ freeLocalListingsEnabled?: (boolean|null);
765
+
766
+ /** CountrySettings localInventoryAdsEnabled */
767
+ localInventoryAdsEnabled?: (boolean|null);
768
+
769
+ /** CountrySettings inventoryVerificationState */
770
+ inventoryVerificationState?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|null);
771
+
772
+ /** CountrySettings productPageType */
773
+ productPageType?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType|null);
774
+
775
+ /** CountrySettings instockServingVerificationState */
776
+ instockServingVerificationState?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|null);
777
+
778
+ /** CountrySettings pickupServingVerificationState */
779
+ pickupServingVerificationState?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|null);
780
+ }
781
+
782
+ /** Represents a CountrySettings. */
783
+ class CountrySettings implements ICountrySettings {
784
+
785
+ /**
786
+ * Constructs a new CountrySettings.
787
+ * @param [properties] Properties to set
788
+ */
789
+ constructor(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings);
790
+
791
+ /** CountrySettings regionCode. */
792
+ public regionCode: string;
793
+
794
+ /** CountrySettings freeLocalListingsEnabled. */
795
+ public freeLocalListingsEnabled: boolean;
796
+
797
+ /** CountrySettings localInventoryAdsEnabled. */
798
+ public localInventoryAdsEnabled: boolean;
799
+
800
+ /** CountrySettings inventoryVerificationState. */
801
+ public inventoryVerificationState: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState);
802
+
803
+ /** CountrySettings productPageType. */
804
+ public productPageType: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType);
805
+
806
+ /** CountrySettings instockServingVerificationState. */
807
+ public instockServingVerificationState: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState);
808
+
809
+ /** CountrySettings pickupServingVerificationState. */
810
+ public pickupServingVerificationState: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState);
811
+
812
+ /**
813
+ * Creates a new CountrySettings instance using the specified properties.
814
+ * @param [properties] Properties to set
815
+ * @returns CountrySettings instance
816
+ */
817
+ public static create(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings): google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings;
818
+
819
+ /**
820
+ * Encodes the specified CountrySettings message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.verify|verify} messages.
821
+ * @param message CountrySettings message or plain object to encode
822
+ * @param [writer] Writer to encode to
823
+ * @returns Writer
824
+ */
825
+ public static encode(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings, writer?: $protobuf.Writer): $protobuf.Writer;
826
+
827
+ /**
828
+ * Encodes the specified CountrySettings message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.verify|verify} messages.
829
+ * @param message CountrySettings message or plain object to encode
830
+ * @param [writer] Writer to encode to
831
+ * @returns Writer
832
+ */
833
+ public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings, writer?: $protobuf.Writer): $protobuf.Writer;
834
+
835
+ /**
836
+ * Decodes a CountrySettings message from the specified reader or buffer.
837
+ * @param reader Reader or buffer to decode from
838
+ * @param [length] Message length if known beforehand
839
+ * @returns CountrySettings
840
+ * @throws {Error} If the payload is not a reader or valid buffer
841
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
842
+ */
843
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings;
844
+
845
+ /**
846
+ * Decodes a CountrySettings message from the specified reader or buffer, length delimited.
847
+ * @param reader Reader or buffer to decode from
848
+ * @returns CountrySettings
849
+ * @throws {Error} If the payload is not a reader or valid buffer
850
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
851
+ */
852
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings;
853
+
854
+ /**
855
+ * Verifies a CountrySettings message.
856
+ * @param message Plain object to verify
857
+ * @returns `null` if valid, otherwise the reason why it is not
858
+ */
859
+ public static verify(message: { [k: string]: any }): (string|null);
860
+
861
+ /**
862
+ * Creates a CountrySettings message from a plain object. Also converts values to their respective internal types.
863
+ * @param object Plain object
864
+ * @returns CountrySettings
865
+ */
866
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings;
867
+
868
+ /**
869
+ * Creates a plain object from a CountrySettings message. Also converts values to other types if specified.
870
+ * @param message CountrySettings
871
+ * @param [options] Conversion options
872
+ * @returns Plain object
873
+ */
874
+ public static toObject(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
875
+
876
+ /**
877
+ * Converts this CountrySettings to JSON.
878
+ * @returns JSON object
879
+ */
880
+ public toJSON(): { [k: string]: any };
881
+
882
+ /**
883
+ * Gets the default type url for CountrySettings
884
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
885
+ * @returns The default type url
886
+ */
887
+ public static getTypeUrl(typeUrlPrefix?: string): string;
888
+ }
889
+
890
+ namespace CountrySettings {
891
+
892
+ /** VerificationState enum. */
893
+ enum VerificationState {
894
+ VERIFICATION_STATE_UNSPECIFIED = 0,
895
+ VERIFICATION_STATE_NOT_APPROVED = 1,
896
+ VERIFICATION_STATE_IN_PROGRESS = 2,
897
+ VERIFICATION_STATE_APPROVED = 3
898
+ }
899
+
900
+ /** ProductPageType enum. */
901
+ enum ProductPageType {
902
+ PRODUCT_PAGE_TYPE_UNSPECIFIED = 0,
903
+ GOOGLE_HOSTED = 1,
904
+ MERCHANT_HOSTED = 2,
905
+ MERCHANT_HOSTED_STORE_SPECIFIC = 3
906
+ }
907
+ }
908
+ }
909
+
910
+ /** Properties of a GetLfpMerchantStateRequest. */
911
+ interface IGetLfpMerchantStateRequest {
912
+
913
+ /** GetLfpMerchantStateRequest name */
914
+ name?: (string|null);
915
+ }
916
+
917
+ /** Represents a GetLfpMerchantStateRequest. */
918
+ class GetLfpMerchantStateRequest implements IGetLfpMerchantStateRequest {
919
+
920
+ /**
921
+ * Constructs a new GetLfpMerchantStateRequest.
922
+ * @param [properties] Properties to set
923
+ */
924
+ constructor(properties?: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest);
925
+
926
+ /** GetLfpMerchantStateRequest name. */
927
+ public name: string;
928
+
929
+ /**
930
+ * Creates a new GetLfpMerchantStateRequest instance using the specified properties.
931
+ * @param [properties] Properties to set
932
+ * @returns GetLfpMerchantStateRequest instance
933
+ */
934
+ public static create(properties?: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest): google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest;
935
+
936
+ /**
937
+ * Encodes the specified GetLfpMerchantStateRequest message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest.verify|verify} messages.
938
+ * @param message GetLfpMerchantStateRequest message or plain object to encode
939
+ * @param [writer] Writer to encode to
940
+ * @returns Writer
941
+ */
942
+ public static encode(message: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
943
+
944
+ /**
945
+ * Encodes the specified GetLfpMerchantStateRequest message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest.verify|verify} messages.
946
+ * @param message GetLfpMerchantStateRequest message or plain object to encode
947
+ * @param [writer] Writer to encode to
948
+ * @returns Writer
949
+ */
950
+ public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
951
+
952
+ /**
953
+ * Decodes a GetLfpMerchantStateRequest message from the specified reader or buffer.
954
+ * @param reader Reader or buffer to decode from
955
+ * @param [length] Message length if known beforehand
956
+ * @returns GetLfpMerchantStateRequest
957
+ * @throws {Error} If the payload is not a reader or valid buffer
958
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
959
+ */
960
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest;
961
+
962
+ /**
963
+ * Decodes a GetLfpMerchantStateRequest message from the specified reader or buffer, length delimited.
964
+ * @param reader Reader or buffer to decode from
965
+ * @returns GetLfpMerchantStateRequest
966
+ * @throws {Error} If the payload is not a reader or valid buffer
967
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
968
+ */
969
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest;
970
+
971
+ /**
972
+ * Verifies a GetLfpMerchantStateRequest message.
973
+ * @param message Plain object to verify
974
+ * @returns `null` if valid, otherwise the reason why it is not
975
+ */
976
+ public static verify(message: { [k: string]: any }): (string|null);
977
+
978
+ /**
979
+ * Creates a GetLfpMerchantStateRequest message from a plain object. Also converts values to their respective internal types.
980
+ * @param object Plain object
981
+ * @returns GetLfpMerchantStateRequest
982
+ */
983
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest;
984
+
985
+ /**
986
+ * Creates a plain object from a GetLfpMerchantStateRequest message. Also converts values to other types if specified.
987
+ * @param message GetLfpMerchantStateRequest
988
+ * @param [options] Conversion options
989
+ * @returns Plain object
990
+ */
991
+ public static toObject(message: google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
992
+
993
+ /**
994
+ * Converts this GetLfpMerchantStateRequest to JSON.
995
+ * @returns JSON object
996
+ */
997
+ public toJSON(): { [k: string]: any };
998
+
999
+ /**
1000
+ * Gets the default type url for GetLfpMerchantStateRequest
1001
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1002
+ * @returns The default type url
1003
+ */
1004
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1005
+ }
1006
+
370
1007
  /** Represents a LfpSaleService */
371
1008
  class LfpSaleService extends $protobuf.rpc.Service {
372
1009
 
@@ -497,12 +1134,6 @@ export namespace google {
497
1134
  /** LfpSale feedLabel. */
498
1135
  public feedLabel?: (string|null);
499
1136
 
500
- /** LfpSale _uid. */
501
- public _uid?: "uid";
502
-
503
- /** LfpSale _feedLabel. */
504
- public _feedLabel?: "feedLabel";
505
-
506
1137
  /**
507
1138
  * Creates a new LfpSale instance using the specified properties.
508
1139
  * @param [properties] Properties to set
@@ -871,21 +1502,6 @@ export namespace google {
871
1502
  /** LfpStore matchingStateHint. */
872
1503
  public matchingStateHint?: (string|null);
873
1504
 
874
- /** LfpStore _storeName. */
875
- public _storeName?: "storeName";
876
-
877
- /** LfpStore _phoneNumber. */
878
- public _phoneNumber?: "phoneNumber";
879
-
880
- /** LfpStore _websiteUri. */
881
- public _websiteUri?: "websiteUri";
882
-
883
- /** LfpStore _placeId. */
884
- public _placeId?: "placeId";
885
-
886
- /** LfpStore _matchingStateHint. */
887
- public _matchingStateHint?: "matchingStateHint";
888
-
889
1505
  /**
890
1506
  * Creates a new LfpStore instance using the specified properties.
891
1507
  * @param [properties] Properties to set
@@ -1520,9 +2136,6 @@ export namespace google {
1520
2136
  /** Weight unit. */
1521
2137
  public unit: (google.shopping.type.Weight.WeightUnit|keyof typeof google.shopping.type.Weight.WeightUnit);
1522
2138
 
1523
- /** Weight _amountMicros. */
1524
- public _amountMicros?: "amountMicros";
1525
-
1526
2139
  /**
1527
2140
  * Creates a new Weight instance using the specified properties.
1528
2141
  * @param [properties] Properties to set
@@ -1636,12 +2249,6 @@ export namespace google {
1636
2249
  /** Price currencyCode. */
1637
2250
  public currencyCode?: (string|null);
1638
2251
 
1639
- /** Price _amountMicros. */
1640
- public _amountMicros?: "amountMicros";
1641
-
1642
- /** Price _currencyCode. */
1643
- public _currencyCode?: "currencyCode";
1644
-
1645
2252
  /**
1646
2253
  * Creates a new Price instance using the specified properties.
1647
2254
  * @param [properties] Properties to set
@@ -1751,12 +2358,6 @@ export namespace google {
1751
2358
  /** CustomAttribute groupValues. */
1752
2359
  public groupValues: google.shopping.type.ICustomAttribute[];
1753
2360
 
1754
- /** CustomAttribute _name. */
1755
- public _name?: "name";
1756
-
1757
- /** CustomAttribute _value. */
1758
- public _value?: "value";
1759
-
1760
2361
  /**
1761
2362
  * Creates a new CustomAttribute instance using the specified properties.
1762
2363
  * @param [properties] Properties to set
@@ -2811,6 +3412,9 @@ export namespace google {
2811
3412
 
2812
3413
  /** Publishing protoReferenceDocumentationUri */
2813
3414
  protoReferenceDocumentationUri?: (string|null);
3415
+
3416
+ /** Publishing restReferenceDocumentationUri */
3417
+ restReferenceDocumentationUri?: (string|null);
2814
3418
  }
2815
3419
 
2816
3420
  /** Represents a Publishing. */
@@ -2852,6 +3456,9 @@ export namespace google {
2852
3456
  /** Publishing protoReferenceDocumentationUri. */
2853
3457
  public protoReferenceDocumentationUri: string;
2854
3458
 
3459
+ /** Publishing restReferenceDocumentationUri. */
3460
+ public restReferenceDocumentationUri: string;
3461
+
2855
3462
  /**
2856
3463
  * Creates a new Publishing instance using the specified properties.
2857
3464
  * @param [properties] Properties to set
@@ -7181,6 +7788,9 @@ export namespace google {
7181
7788
 
7182
7789
  /** ServiceOptions .google.api.oauthScopes */
7183
7790
  ".google.api.oauthScopes"?: (string|null);
7791
+
7792
+ /** ServiceOptions .google.api.apiVersion */
7793
+ ".google.api.apiVersion"?: (string|null);
7184
7794
  }
7185
7795
 
7186
7796
  /** Represents a ServiceOptions. */
@@ -7429,7 +8039,7 @@ export namespace google {
7429
8039
  doubleValue?: (number|null);
7430
8040
 
7431
8041
  /** UninterpretedOption stringValue */
7432
- stringValue?: (Uint8Array|string|null);
8042
+ stringValue?: (Uint8Array|Buffer|string|null);
7433
8043
 
7434
8044
  /** UninterpretedOption aggregateValue */
7435
8045
  aggregateValue?: (string|null);
@@ -7460,7 +8070,7 @@ export namespace google {
7460
8070
  public doubleValue: number;
7461
8071
 
7462
8072
  /** UninterpretedOption stringValue. */
7463
- public stringValue: (Uint8Array|string);
8073
+ public stringValue: (Uint8Array|Buffer|string);
7464
8074
 
7465
8075
  /** UninterpretedOption aggregateValue. */
7466
8076
  public aggregateValue: string;