@google-shopping/lfp 0.4.0 → 0.5.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 +15 -0
- package/README.md +12 -11
- package/build/protos/google/shopping/merchant/lfp/v1beta/lfpmerchantstate.proto +201 -0
- package/build/protos/protos.d.ts +663 -2
- package/build/protos/protos.js +2109 -173
- package/build/protos/protos.json +261 -16
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -7
- package/build/src/index.js.map +1 -1
- package/build/src/v1beta/gapic_metadata.json +24 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/index.js.map +1 -1
- package/build/src/v1beta/lfp_inventory_service_client.d.ts +24 -0
- package/build/src/v1beta/lfp_inventory_service_client.js +37 -1
- package/build/src/v1beta/lfp_inventory_service_client.js.map +1 -1
- package/build/src/v1beta/lfp_inventory_service_proto_list.json +1 -0
- package/build/src/v1beta/lfp_merchant_state_service_client.d.ts +273 -0
- package/build/src/v1beta/lfp_merchant_state_service_client.js +517 -0
- package/build/src/v1beta/lfp_merchant_state_service_client.js.map +1 -0
- package/build/src/v1beta/lfp_merchant_state_service_client_config.json +43 -0
- package/build/src/v1beta/lfp_merchant_state_service_proto_list.json +7 -0
- package/build/src/v1beta/lfp_sale_service_client.d.ts +24 -0
- package/build/src/v1beta/lfp_sale_service_client.js +37 -1
- package/build/src/v1beta/lfp_sale_service_client.js.map +1 -1
- package/build/src/v1beta/lfp_sale_service_proto_list.json +1 -0
- package/build/src/v1beta/lfp_store_service_client.d.ts +24 -0
- package/build/src/v1beta/lfp_store_service_client.js +52 -6
- package/build/src/v1beta/lfp_store_service_client.js.map +1 -1
- package/build/src/v1beta/lfp_store_service_proto_list.json +1 -0
- package/package.json +2 -2
package/build/protos/protos.d.ts
CHANGED
@@ -367,6 +367,658 @@ export namespace google {
|
|
367
367
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
368
368
|
}
|
369
369
|
|
370
|
+
/** Represents a LfpMerchantStateService */
|
371
|
+
class LfpMerchantStateService extends $protobuf.rpc.Service {
|
372
|
+
|
373
|
+
/**
|
374
|
+
* Constructs a new LfpMerchantStateService service.
|
375
|
+
* @param rpcImpl RPC implementation
|
376
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
377
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
378
|
+
*/
|
379
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
380
|
+
|
381
|
+
/**
|
382
|
+
* Creates new LfpMerchantStateService service using the specified rpc implementation.
|
383
|
+
* @param rpcImpl RPC implementation
|
384
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
385
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
386
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
387
|
+
*/
|
388
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): LfpMerchantStateService;
|
389
|
+
|
390
|
+
/**
|
391
|
+
* Calls GetLfpMerchantState.
|
392
|
+
* @param request GetLfpMerchantStateRequest message or plain object
|
393
|
+
* @param callback Node-style callback called with the error, if any, and LfpMerchantState
|
394
|
+
*/
|
395
|
+
public getLfpMerchantState(request: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest, callback: google.shopping.merchant.lfp.v1beta.LfpMerchantStateService.GetLfpMerchantStateCallback): void;
|
396
|
+
|
397
|
+
/**
|
398
|
+
* Calls GetLfpMerchantState.
|
399
|
+
* @param request GetLfpMerchantStateRequest message or plain object
|
400
|
+
* @returns Promise
|
401
|
+
*/
|
402
|
+
public getLfpMerchantState(request: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest): Promise<google.shopping.merchant.lfp.v1beta.LfpMerchantState>;
|
403
|
+
}
|
404
|
+
|
405
|
+
namespace LfpMerchantStateService {
|
406
|
+
|
407
|
+
/**
|
408
|
+
* Callback as used by {@link google.shopping.merchant.lfp.v1beta.LfpMerchantStateService|getLfpMerchantState}.
|
409
|
+
* @param error Error, if any
|
410
|
+
* @param [response] LfpMerchantState
|
411
|
+
*/
|
412
|
+
type GetLfpMerchantStateCallback = (error: (Error|null), response?: google.shopping.merchant.lfp.v1beta.LfpMerchantState) => void;
|
413
|
+
}
|
414
|
+
|
415
|
+
/** Properties of a LfpMerchantState. */
|
416
|
+
interface ILfpMerchantState {
|
417
|
+
|
418
|
+
/** LfpMerchantState name */
|
419
|
+
name?: (string|null);
|
420
|
+
|
421
|
+
/** LfpMerchantState linkedGbps */
|
422
|
+
linkedGbps?: (number|Long|string|null);
|
423
|
+
|
424
|
+
/** LfpMerchantState storeStates */
|
425
|
+
storeStates?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState[]|null);
|
426
|
+
|
427
|
+
/** LfpMerchantState inventoryStats */
|
428
|
+
inventoryStats?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats|null);
|
429
|
+
|
430
|
+
/** LfpMerchantState countrySettings */
|
431
|
+
countrySettings?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings[]|null);
|
432
|
+
}
|
433
|
+
|
434
|
+
/** Represents a LfpMerchantState. */
|
435
|
+
class LfpMerchantState implements ILfpMerchantState {
|
436
|
+
|
437
|
+
/**
|
438
|
+
* Constructs a new LfpMerchantState.
|
439
|
+
* @param [properties] Properties to set
|
440
|
+
*/
|
441
|
+
constructor(properties?: google.shopping.merchant.lfp.v1beta.ILfpMerchantState);
|
442
|
+
|
443
|
+
/** LfpMerchantState name. */
|
444
|
+
public name: string;
|
445
|
+
|
446
|
+
/** LfpMerchantState linkedGbps. */
|
447
|
+
public linkedGbps: (number|Long|string);
|
448
|
+
|
449
|
+
/** LfpMerchantState storeStates. */
|
450
|
+
public storeStates: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState[];
|
451
|
+
|
452
|
+
/** LfpMerchantState inventoryStats. */
|
453
|
+
public inventoryStats?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats|null);
|
454
|
+
|
455
|
+
/** LfpMerchantState countrySettings. */
|
456
|
+
public countrySettings: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings[];
|
457
|
+
|
458
|
+
/**
|
459
|
+
* Creates a new LfpMerchantState instance using the specified properties.
|
460
|
+
* @param [properties] Properties to set
|
461
|
+
* @returns LfpMerchantState instance
|
462
|
+
*/
|
463
|
+
public static create(properties?: google.shopping.merchant.lfp.v1beta.ILfpMerchantState): google.shopping.merchant.lfp.v1beta.LfpMerchantState;
|
464
|
+
|
465
|
+
/**
|
466
|
+
* Encodes the specified LfpMerchantState message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.verify|verify} messages.
|
467
|
+
* @param message LfpMerchantState message or plain object to encode
|
468
|
+
* @param [writer] Writer to encode to
|
469
|
+
* @returns Writer
|
470
|
+
*/
|
471
|
+
public static encode(message: google.shopping.merchant.lfp.v1beta.ILfpMerchantState, writer?: $protobuf.Writer): $protobuf.Writer;
|
472
|
+
|
473
|
+
/**
|
474
|
+
* Encodes the specified LfpMerchantState message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.verify|verify} messages.
|
475
|
+
* @param message LfpMerchantState message or plain object to encode
|
476
|
+
* @param [writer] Writer to encode to
|
477
|
+
* @returns Writer
|
478
|
+
*/
|
479
|
+
public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.ILfpMerchantState, writer?: $protobuf.Writer): $protobuf.Writer;
|
480
|
+
|
481
|
+
/**
|
482
|
+
* Decodes a LfpMerchantState message from the specified reader or buffer.
|
483
|
+
* @param reader Reader or buffer to decode from
|
484
|
+
* @param [length] Message length if known beforehand
|
485
|
+
* @returns LfpMerchantState
|
486
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
487
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
488
|
+
*/
|
489
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.LfpMerchantState;
|
490
|
+
|
491
|
+
/**
|
492
|
+
* Decodes a LfpMerchantState message from the specified reader or buffer, length delimited.
|
493
|
+
* @param reader Reader or buffer to decode from
|
494
|
+
* @returns LfpMerchantState
|
495
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
496
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
497
|
+
*/
|
498
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.LfpMerchantState;
|
499
|
+
|
500
|
+
/**
|
501
|
+
* Verifies a LfpMerchantState message.
|
502
|
+
* @param message Plain object to verify
|
503
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
504
|
+
*/
|
505
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
506
|
+
|
507
|
+
/**
|
508
|
+
* Creates a LfpMerchantState message from a plain object. Also converts values to their respective internal types.
|
509
|
+
* @param object Plain object
|
510
|
+
* @returns LfpMerchantState
|
511
|
+
*/
|
512
|
+
public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.LfpMerchantState;
|
513
|
+
|
514
|
+
/**
|
515
|
+
* Creates a plain object from a LfpMerchantState message. Also converts values to other types if specified.
|
516
|
+
* @param message LfpMerchantState
|
517
|
+
* @param [options] Conversion options
|
518
|
+
* @returns Plain object
|
519
|
+
*/
|
520
|
+
public static toObject(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
521
|
+
|
522
|
+
/**
|
523
|
+
* Converts this LfpMerchantState to JSON.
|
524
|
+
* @returns JSON object
|
525
|
+
*/
|
526
|
+
public toJSON(): { [k: string]: any };
|
527
|
+
|
528
|
+
/**
|
529
|
+
* Gets the default type url for LfpMerchantState
|
530
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
531
|
+
* @returns The default type url
|
532
|
+
*/
|
533
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
534
|
+
}
|
535
|
+
|
536
|
+
namespace LfpMerchantState {
|
537
|
+
|
538
|
+
/** Properties of a LfpStoreState. */
|
539
|
+
interface ILfpStoreState {
|
540
|
+
|
541
|
+
/** LfpStoreState storeCode */
|
542
|
+
storeCode?: (string|null);
|
543
|
+
|
544
|
+
/** LfpStoreState matchingState */
|
545
|
+
matchingState?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState|null);
|
546
|
+
|
547
|
+
/** LfpStoreState matchingStateHint */
|
548
|
+
matchingStateHint?: (string|null);
|
549
|
+
}
|
550
|
+
|
551
|
+
/** Represents a LfpStoreState. */
|
552
|
+
class LfpStoreState implements ILfpStoreState {
|
553
|
+
|
554
|
+
/**
|
555
|
+
* Constructs a new LfpStoreState.
|
556
|
+
* @param [properties] Properties to set
|
557
|
+
*/
|
558
|
+
constructor(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState);
|
559
|
+
|
560
|
+
/** LfpStoreState storeCode. */
|
561
|
+
public storeCode: string;
|
562
|
+
|
563
|
+
/** LfpStoreState matchingState. */
|
564
|
+
public matchingState: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState);
|
565
|
+
|
566
|
+
/** LfpStoreState matchingStateHint. */
|
567
|
+
public matchingStateHint: string;
|
568
|
+
|
569
|
+
/**
|
570
|
+
* Creates a new LfpStoreState instance using the specified properties.
|
571
|
+
* @param [properties] Properties to set
|
572
|
+
* @returns LfpStoreState instance
|
573
|
+
*/
|
574
|
+
public static create(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState): google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState;
|
575
|
+
|
576
|
+
/**
|
577
|
+
* Encodes the specified LfpStoreState message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.verify|verify} messages.
|
578
|
+
* @param message LfpStoreState message or plain object to encode
|
579
|
+
* @param [writer] Writer to encode to
|
580
|
+
* @returns Writer
|
581
|
+
*/
|
582
|
+
public static encode(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState, writer?: $protobuf.Writer): $protobuf.Writer;
|
583
|
+
|
584
|
+
/**
|
585
|
+
* Encodes the specified LfpStoreState message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.verify|verify} messages.
|
586
|
+
* @param message LfpStoreState message or plain object to encode
|
587
|
+
* @param [writer] Writer to encode to
|
588
|
+
* @returns Writer
|
589
|
+
*/
|
590
|
+
public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ILfpStoreState, writer?: $protobuf.Writer): $protobuf.Writer;
|
591
|
+
|
592
|
+
/**
|
593
|
+
* Decodes a LfpStoreState message from the specified reader or buffer.
|
594
|
+
* @param reader Reader or buffer to decode from
|
595
|
+
* @param [length] Message length if known beforehand
|
596
|
+
* @returns LfpStoreState
|
597
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
598
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
599
|
+
*/
|
600
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState;
|
601
|
+
|
602
|
+
/**
|
603
|
+
* Decodes a LfpStoreState message from the specified reader or buffer, length delimited.
|
604
|
+
* @param reader Reader or buffer to decode from
|
605
|
+
* @returns LfpStoreState
|
606
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
607
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
608
|
+
*/
|
609
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState;
|
610
|
+
|
611
|
+
/**
|
612
|
+
* Verifies a LfpStoreState message.
|
613
|
+
* @param message Plain object to verify
|
614
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
615
|
+
*/
|
616
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
617
|
+
|
618
|
+
/**
|
619
|
+
* Creates a LfpStoreState message from a plain object. Also converts values to their respective internal types.
|
620
|
+
* @param object Plain object
|
621
|
+
* @returns LfpStoreState
|
622
|
+
*/
|
623
|
+
public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState;
|
624
|
+
|
625
|
+
/**
|
626
|
+
* Creates a plain object from a LfpStoreState message. Also converts values to other types if specified.
|
627
|
+
* @param message LfpStoreState
|
628
|
+
* @param [options] Conversion options
|
629
|
+
* @returns Plain object
|
630
|
+
*/
|
631
|
+
public static toObject(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
632
|
+
|
633
|
+
/**
|
634
|
+
* Converts this LfpStoreState to JSON.
|
635
|
+
* @returns JSON object
|
636
|
+
*/
|
637
|
+
public toJSON(): { [k: string]: any };
|
638
|
+
|
639
|
+
/**
|
640
|
+
* Gets the default type url for LfpStoreState
|
641
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
642
|
+
* @returns The default type url
|
643
|
+
*/
|
644
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
645
|
+
}
|
646
|
+
|
647
|
+
namespace LfpStoreState {
|
648
|
+
|
649
|
+
/** StoreMatchingState enum. */
|
650
|
+
enum StoreMatchingState {
|
651
|
+
STORE_MATCHING_STATE_UNSPECIFIED = 0,
|
652
|
+
STORE_MATCHING_STATE_MATCHED = 1,
|
653
|
+
STORE_MATCHING_STATE_FAILED = 2
|
654
|
+
}
|
655
|
+
}
|
656
|
+
|
657
|
+
/** Properties of an InventoryStats. */
|
658
|
+
interface IInventoryStats {
|
659
|
+
|
660
|
+
/** InventoryStats submittedEntries */
|
661
|
+
submittedEntries?: (number|Long|string|null);
|
662
|
+
|
663
|
+
/** InventoryStats submittedInStockEntries */
|
664
|
+
submittedInStockEntries?: (number|Long|string|null);
|
665
|
+
|
666
|
+
/** InventoryStats unsubmittedEntries */
|
667
|
+
unsubmittedEntries?: (number|Long|string|null);
|
668
|
+
|
669
|
+
/** InventoryStats submittedProducts */
|
670
|
+
submittedProducts?: (number|Long|string|null);
|
671
|
+
}
|
672
|
+
|
673
|
+
/** Represents an InventoryStats. */
|
674
|
+
class InventoryStats implements IInventoryStats {
|
675
|
+
|
676
|
+
/**
|
677
|
+
* Constructs a new InventoryStats.
|
678
|
+
* @param [properties] Properties to set
|
679
|
+
*/
|
680
|
+
constructor(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats);
|
681
|
+
|
682
|
+
/** InventoryStats submittedEntries. */
|
683
|
+
public submittedEntries: (number|Long|string);
|
684
|
+
|
685
|
+
/** InventoryStats submittedInStockEntries. */
|
686
|
+
public submittedInStockEntries: (number|Long|string);
|
687
|
+
|
688
|
+
/** InventoryStats unsubmittedEntries. */
|
689
|
+
public unsubmittedEntries: (number|Long|string);
|
690
|
+
|
691
|
+
/** InventoryStats submittedProducts. */
|
692
|
+
public submittedProducts: (number|Long|string);
|
693
|
+
|
694
|
+
/**
|
695
|
+
* Creates a new InventoryStats instance using the specified properties.
|
696
|
+
* @param [properties] Properties to set
|
697
|
+
* @returns InventoryStats instance
|
698
|
+
*/
|
699
|
+
public static create(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats): google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats;
|
700
|
+
|
701
|
+
/**
|
702
|
+
* Encodes the specified InventoryStats message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats.verify|verify} messages.
|
703
|
+
* @param message InventoryStats message or plain object to encode
|
704
|
+
* @param [writer] Writer to encode to
|
705
|
+
* @returns Writer
|
706
|
+
*/
|
707
|
+
public static encode(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats, writer?: $protobuf.Writer): $protobuf.Writer;
|
708
|
+
|
709
|
+
/**
|
710
|
+
* Encodes the specified InventoryStats message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats.verify|verify} messages.
|
711
|
+
* @param message InventoryStats message or plain object to encode
|
712
|
+
* @param [writer] Writer to encode to
|
713
|
+
* @returns Writer
|
714
|
+
*/
|
715
|
+
public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.IInventoryStats, writer?: $protobuf.Writer): $protobuf.Writer;
|
716
|
+
|
717
|
+
/**
|
718
|
+
* Decodes an InventoryStats message from the specified reader or buffer.
|
719
|
+
* @param reader Reader or buffer to decode from
|
720
|
+
* @param [length] Message length if known beforehand
|
721
|
+
* @returns InventoryStats
|
722
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
723
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
724
|
+
*/
|
725
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats;
|
726
|
+
|
727
|
+
/**
|
728
|
+
* Decodes an InventoryStats message from the specified reader or buffer, length delimited.
|
729
|
+
* @param reader Reader or buffer to decode from
|
730
|
+
* @returns InventoryStats
|
731
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
732
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
733
|
+
*/
|
734
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats;
|
735
|
+
|
736
|
+
/**
|
737
|
+
* Verifies an InventoryStats message.
|
738
|
+
* @param message Plain object to verify
|
739
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
740
|
+
*/
|
741
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
742
|
+
|
743
|
+
/**
|
744
|
+
* Creates an InventoryStats message from a plain object. Also converts values to their respective internal types.
|
745
|
+
* @param object Plain object
|
746
|
+
* @returns InventoryStats
|
747
|
+
*/
|
748
|
+
public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats;
|
749
|
+
|
750
|
+
/**
|
751
|
+
* Creates a plain object from an InventoryStats message. Also converts values to other types if specified.
|
752
|
+
* @param message InventoryStats
|
753
|
+
* @param [options] Conversion options
|
754
|
+
* @returns Plain object
|
755
|
+
*/
|
756
|
+
public static toObject(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
757
|
+
|
758
|
+
/**
|
759
|
+
* Converts this InventoryStats to JSON.
|
760
|
+
* @returns JSON object
|
761
|
+
*/
|
762
|
+
public toJSON(): { [k: string]: any };
|
763
|
+
|
764
|
+
/**
|
765
|
+
* Gets the default type url for InventoryStats
|
766
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
767
|
+
* @returns The default type url
|
768
|
+
*/
|
769
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
770
|
+
}
|
771
|
+
|
772
|
+
/** Properties of a CountrySettings. */
|
773
|
+
interface ICountrySettings {
|
774
|
+
|
775
|
+
/** CountrySettings regionCode */
|
776
|
+
regionCode?: (string|null);
|
777
|
+
|
778
|
+
/** CountrySettings freeLocalListingsEnabled */
|
779
|
+
freeLocalListingsEnabled?: (boolean|null);
|
780
|
+
|
781
|
+
/** CountrySettings localInventoryAdsEnabled */
|
782
|
+
localInventoryAdsEnabled?: (boolean|null);
|
783
|
+
|
784
|
+
/** CountrySettings inventoryVerificationState */
|
785
|
+
inventoryVerificationState?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|null);
|
786
|
+
|
787
|
+
/** CountrySettings productPageType */
|
788
|
+
productPageType?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType|null);
|
789
|
+
|
790
|
+
/** CountrySettings instockServingVerificationState */
|
791
|
+
instockServingVerificationState?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|null);
|
792
|
+
|
793
|
+
/** CountrySettings pickupServingVerificationState */
|
794
|
+
pickupServingVerificationState?: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|null);
|
795
|
+
}
|
796
|
+
|
797
|
+
/** Represents a CountrySettings. */
|
798
|
+
class CountrySettings implements ICountrySettings {
|
799
|
+
|
800
|
+
/**
|
801
|
+
* Constructs a new CountrySettings.
|
802
|
+
* @param [properties] Properties to set
|
803
|
+
*/
|
804
|
+
constructor(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings);
|
805
|
+
|
806
|
+
/** CountrySettings regionCode. */
|
807
|
+
public regionCode: string;
|
808
|
+
|
809
|
+
/** CountrySettings freeLocalListingsEnabled. */
|
810
|
+
public freeLocalListingsEnabled: boolean;
|
811
|
+
|
812
|
+
/** CountrySettings localInventoryAdsEnabled. */
|
813
|
+
public localInventoryAdsEnabled: boolean;
|
814
|
+
|
815
|
+
/** CountrySettings inventoryVerificationState. */
|
816
|
+
public inventoryVerificationState: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState);
|
817
|
+
|
818
|
+
/** CountrySettings productPageType. */
|
819
|
+
public productPageType: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType);
|
820
|
+
|
821
|
+
/** CountrySettings instockServingVerificationState. */
|
822
|
+
public instockServingVerificationState: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState);
|
823
|
+
|
824
|
+
/** CountrySettings pickupServingVerificationState. */
|
825
|
+
public pickupServingVerificationState: (google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState|keyof typeof google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState);
|
826
|
+
|
827
|
+
/**
|
828
|
+
* Creates a new CountrySettings instance using the specified properties.
|
829
|
+
* @param [properties] Properties to set
|
830
|
+
* @returns CountrySettings instance
|
831
|
+
*/
|
832
|
+
public static create(properties?: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings): google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings;
|
833
|
+
|
834
|
+
/**
|
835
|
+
* Encodes the specified CountrySettings message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.verify|verify} messages.
|
836
|
+
* @param message CountrySettings message or plain object to encode
|
837
|
+
* @param [writer] Writer to encode to
|
838
|
+
* @returns Writer
|
839
|
+
*/
|
840
|
+
public static encode(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
841
|
+
|
842
|
+
/**
|
843
|
+
* Encodes the specified CountrySettings message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.verify|verify} messages.
|
844
|
+
* @param message CountrySettings message or plain object to encode
|
845
|
+
* @param [writer] Writer to encode to
|
846
|
+
* @returns Writer
|
847
|
+
*/
|
848
|
+
public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.ICountrySettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
849
|
+
|
850
|
+
/**
|
851
|
+
* Decodes a CountrySettings message from the specified reader or buffer.
|
852
|
+
* @param reader Reader or buffer to decode from
|
853
|
+
* @param [length] Message length if known beforehand
|
854
|
+
* @returns CountrySettings
|
855
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
856
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
857
|
+
*/
|
858
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings;
|
859
|
+
|
860
|
+
/**
|
861
|
+
* Decodes a CountrySettings message from the specified reader or buffer, length delimited.
|
862
|
+
* @param reader Reader or buffer to decode from
|
863
|
+
* @returns CountrySettings
|
864
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
865
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
866
|
+
*/
|
867
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings;
|
868
|
+
|
869
|
+
/**
|
870
|
+
* Verifies a CountrySettings message.
|
871
|
+
* @param message Plain object to verify
|
872
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
873
|
+
*/
|
874
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
875
|
+
|
876
|
+
/**
|
877
|
+
* Creates a CountrySettings message from a plain object. Also converts values to their respective internal types.
|
878
|
+
* @param object Plain object
|
879
|
+
* @returns CountrySettings
|
880
|
+
*/
|
881
|
+
public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings;
|
882
|
+
|
883
|
+
/**
|
884
|
+
* Creates a plain object from a CountrySettings message. Also converts values to other types if specified.
|
885
|
+
* @param message CountrySettings
|
886
|
+
* @param [options] Conversion options
|
887
|
+
* @returns Plain object
|
888
|
+
*/
|
889
|
+
public static toObject(message: google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
890
|
+
|
891
|
+
/**
|
892
|
+
* Converts this CountrySettings to JSON.
|
893
|
+
* @returns JSON object
|
894
|
+
*/
|
895
|
+
public toJSON(): { [k: string]: any };
|
896
|
+
|
897
|
+
/**
|
898
|
+
* Gets the default type url for CountrySettings
|
899
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
900
|
+
* @returns The default type url
|
901
|
+
*/
|
902
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
903
|
+
}
|
904
|
+
|
905
|
+
namespace CountrySettings {
|
906
|
+
|
907
|
+
/** VerificationState enum. */
|
908
|
+
enum VerificationState {
|
909
|
+
VERIFICATION_STATE_UNSPECIFIED = 0,
|
910
|
+
VERIFICATION_STATE_NOT_APPROVED = 1,
|
911
|
+
VERIFICATION_STATE_IN_PROGRESS = 2,
|
912
|
+
VERIFICATION_STATE_APPROVED = 3
|
913
|
+
}
|
914
|
+
|
915
|
+
/** ProductPageType enum. */
|
916
|
+
enum ProductPageType {
|
917
|
+
PRODUCT_PAGE_TYPE_UNSPECIFIED = 0,
|
918
|
+
GOOGLE_HOSTED = 1,
|
919
|
+
MERCHANT_HOSTED = 2,
|
920
|
+
MERCHANT_HOSTED_STORE_SPECIFIC = 3
|
921
|
+
}
|
922
|
+
}
|
923
|
+
}
|
924
|
+
|
925
|
+
/** Properties of a GetLfpMerchantStateRequest. */
|
926
|
+
interface IGetLfpMerchantStateRequest {
|
927
|
+
|
928
|
+
/** GetLfpMerchantStateRequest name */
|
929
|
+
name?: (string|null);
|
930
|
+
}
|
931
|
+
|
932
|
+
/** Represents a GetLfpMerchantStateRequest. */
|
933
|
+
class GetLfpMerchantStateRequest implements IGetLfpMerchantStateRequest {
|
934
|
+
|
935
|
+
/**
|
936
|
+
* Constructs a new GetLfpMerchantStateRequest.
|
937
|
+
* @param [properties] Properties to set
|
938
|
+
*/
|
939
|
+
constructor(properties?: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest);
|
940
|
+
|
941
|
+
/** GetLfpMerchantStateRequest name. */
|
942
|
+
public name: string;
|
943
|
+
|
944
|
+
/**
|
945
|
+
* Creates a new GetLfpMerchantStateRequest instance using the specified properties.
|
946
|
+
* @param [properties] Properties to set
|
947
|
+
* @returns GetLfpMerchantStateRequest instance
|
948
|
+
*/
|
949
|
+
public static create(properties?: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest): google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest;
|
950
|
+
|
951
|
+
/**
|
952
|
+
* Encodes the specified GetLfpMerchantStateRequest message. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest.verify|verify} messages.
|
953
|
+
* @param message GetLfpMerchantStateRequest message or plain object to encode
|
954
|
+
* @param [writer] Writer to encode to
|
955
|
+
* @returns Writer
|
956
|
+
*/
|
957
|
+
public static encode(message: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
958
|
+
|
959
|
+
/**
|
960
|
+
* Encodes the specified GetLfpMerchantStateRequest message, length delimited. Does not implicitly {@link google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest.verify|verify} messages.
|
961
|
+
* @param message GetLfpMerchantStateRequest message or plain object to encode
|
962
|
+
* @param [writer] Writer to encode to
|
963
|
+
* @returns Writer
|
964
|
+
*/
|
965
|
+
public static encodeDelimited(message: google.shopping.merchant.lfp.v1beta.IGetLfpMerchantStateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
966
|
+
|
967
|
+
/**
|
968
|
+
* Decodes a GetLfpMerchantStateRequest message from the specified reader or buffer.
|
969
|
+
* @param reader Reader or buffer to decode from
|
970
|
+
* @param [length] Message length if known beforehand
|
971
|
+
* @returns GetLfpMerchantStateRequest
|
972
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
973
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
974
|
+
*/
|
975
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest;
|
976
|
+
|
977
|
+
/**
|
978
|
+
* Decodes a GetLfpMerchantStateRequest message from the specified reader or buffer, length delimited.
|
979
|
+
* @param reader Reader or buffer to decode from
|
980
|
+
* @returns GetLfpMerchantStateRequest
|
981
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
982
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
983
|
+
*/
|
984
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest;
|
985
|
+
|
986
|
+
/**
|
987
|
+
* Verifies a GetLfpMerchantStateRequest message.
|
988
|
+
* @param message Plain object to verify
|
989
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
990
|
+
*/
|
991
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
992
|
+
|
993
|
+
/**
|
994
|
+
* Creates a GetLfpMerchantStateRequest message from a plain object. Also converts values to their respective internal types.
|
995
|
+
* @param object Plain object
|
996
|
+
* @returns GetLfpMerchantStateRequest
|
997
|
+
*/
|
998
|
+
public static fromObject(object: { [k: string]: any }): google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest;
|
999
|
+
|
1000
|
+
/**
|
1001
|
+
* Creates a plain object from a GetLfpMerchantStateRequest message. Also converts values to other types if specified.
|
1002
|
+
* @param message GetLfpMerchantStateRequest
|
1003
|
+
* @param [options] Conversion options
|
1004
|
+
* @returns Plain object
|
1005
|
+
*/
|
1006
|
+
public static toObject(message: google.shopping.merchant.lfp.v1beta.GetLfpMerchantStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1007
|
+
|
1008
|
+
/**
|
1009
|
+
* Converts this GetLfpMerchantStateRequest to JSON.
|
1010
|
+
* @returns JSON object
|
1011
|
+
*/
|
1012
|
+
public toJSON(): { [k: string]: any };
|
1013
|
+
|
1014
|
+
/**
|
1015
|
+
* Gets the default type url for GetLfpMerchantStateRequest
|
1016
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1017
|
+
* @returns The default type url
|
1018
|
+
*/
|
1019
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
1020
|
+
}
|
1021
|
+
|
370
1022
|
/** Represents a LfpSaleService */
|
371
1023
|
class LfpSaleService extends $protobuf.rpc.Service {
|
372
1024
|
|
@@ -2811,6 +3463,9 @@ export namespace google {
|
|
2811
3463
|
|
2812
3464
|
/** Publishing protoReferenceDocumentationUri */
|
2813
3465
|
protoReferenceDocumentationUri?: (string|null);
|
3466
|
+
|
3467
|
+
/** Publishing restReferenceDocumentationUri */
|
3468
|
+
restReferenceDocumentationUri?: (string|null);
|
2814
3469
|
}
|
2815
3470
|
|
2816
3471
|
/** Represents a Publishing. */
|
@@ -2852,6 +3507,9 @@ export namespace google {
|
|
2852
3507
|
/** Publishing protoReferenceDocumentationUri. */
|
2853
3508
|
public protoReferenceDocumentationUri: string;
|
2854
3509
|
|
3510
|
+
/** Publishing restReferenceDocumentationUri. */
|
3511
|
+
public restReferenceDocumentationUri: string;
|
3512
|
+
|
2855
3513
|
/**
|
2856
3514
|
* Creates a new Publishing instance using the specified properties.
|
2857
3515
|
* @param [properties] Properties to set
|
@@ -7181,6 +7839,9 @@ export namespace google {
|
|
7181
7839
|
|
7182
7840
|
/** ServiceOptions .google.api.oauthScopes */
|
7183
7841
|
".google.api.oauthScopes"?: (string|null);
|
7842
|
+
|
7843
|
+
/** ServiceOptions .google.api.apiVersion */
|
7844
|
+
".google.api.apiVersion"?: (string|null);
|
7184
7845
|
}
|
7185
7846
|
|
7186
7847
|
/** Represents a ServiceOptions. */
|
@@ -7429,7 +8090,7 @@ export namespace google {
|
|
7429
8090
|
doubleValue?: (number|null);
|
7430
8091
|
|
7431
8092
|
/** UninterpretedOption stringValue */
|
7432
|
-
stringValue?: (Uint8Array|string|null);
|
8093
|
+
stringValue?: (Uint8Array|Buffer|string|null);
|
7433
8094
|
|
7434
8095
|
/** UninterpretedOption aggregateValue */
|
7435
8096
|
aggregateValue?: (string|null);
|
@@ -7460,7 +8121,7 @@ export namespace google {
|
|
7460
8121
|
public doubleValue: number;
|
7461
8122
|
|
7462
8123
|
/** UninterpretedOption stringValue. */
|
7463
|
-
public stringValue: (Uint8Array|string);
|
8124
|
+
public stringValue: (Uint8Array|Buffer|string);
|
7464
8125
|
|
7465
8126
|
/** UninterpretedOption aggregateValue. */
|
7466
8127
|
public aggregateValue: string;
|