@lansweeper/multitenant-api-grpc 0.4.74 → 0.4.75
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 +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_pb.d.ts +32 -50
- package/gen-proto/multitenant_pb.js +106 -250
- package/generated-go/multitenant.pb.go +86 -120
- package/package.json +2 -2
- package/proto/multitenant.proto +7 -10
|
@@ -5547,10 +5547,8 @@ type GetSitesOptions struct {
|
|
|
5547
5547
|
sizeCache protoimpl.SizeCache
|
|
5548
5548
|
unknownFields protoimpl.UnknownFields
|
|
5549
5549
|
|
|
5550
|
-
|
|
5551
|
-
Limit
|
|
5552
|
-
OrderBy *string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3,oneof" json:"order_by,omitempty"`
|
|
5553
|
-
OrderDirection *string `protobuf:"bytes,4,opt,name=order_direction,json=orderDirection,proto3,oneof" json:"order_direction,omitempty"`
|
|
5550
|
+
OffsetId *string `protobuf:"bytes,1,opt,name=offset_id,json=offsetId,proto3,oneof" json:"offset_id,omitempty"`
|
|
5551
|
+
Limit *int32 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
|
|
5554
5552
|
}
|
|
5555
5553
|
|
|
5556
5554
|
func (x *GetSitesOptions) Reset() {
|
|
@@ -5585,11 +5583,11 @@ func (*GetSitesOptions) Descriptor() ([]byte, []int) {
|
|
|
5585
5583
|
return file_multitenant_proto_rawDescGZIP(), []int{91}
|
|
5586
5584
|
}
|
|
5587
5585
|
|
|
5588
|
-
func (x *GetSitesOptions)
|
|
5589
|
-
if x != nil && x.
|
|
5590
|
-
return *x.
|
|
5586
|
+
func (x *GetSitesOptions) GetOffsetId() string {
|
|
5587
|
+
if x != nil && x.OffsetId != nil {
|
|
5588
|
+
return *x.OffsetId
|
|
5591
5589
|
}
|
|
5592
|
-
return
|
|
5590
|
+
return ""
|
|
5593
5591
|
}
|
|
5594
5592
|
|
|
5595
5593
|
func (x *GetSitesOptions) GetLimit() int32 {
|
|
@@ -5599,27 +5597,12 @@ func (x *GetSitesOptions) GetLimit() int32 {
|
|
|
5599
5597
|
return 0
|
|
5600
5598
|
}
|
|
5601
5599
|
|
|
5602
|
-
func (x *GetSitesOptions) GetOrderBy() string {
|
|
5603
|
-
if x != nil && x.OrderBy != nil {
|
|
5604
|
-
return *x.OrderBy
|
|
5605
|
-
}
|
|
5606
|
-
return ""
|
|
5607
|
-
}
|
|
5608
|
-
|
|
5609
|
-
func (x *GetSitesOptions) GetOrderDirection() string {
|
|
5610
|
-
if x != nil && x.OrderDirection != nil {
|
|
5611
|
-
return *x.OrderDirection
|
|
5612
|
-
}
|
|
5613
|
-
return ""
|
|
5614
|
-
}
|
|
5615
|
-
|
|
5616
5600
|
type GetSitesRequest struct {
|
|
5617
5601
|
state protoimpl.MessageState
|
|
5618
5602
|
sizeCache protoimpl.SizeCache
|
|
5619
5603
|
unknownFields protoimpl.UnknownFields
|
|
5620
5604
|
|
|
5621
|
-
|
|
5622
|
-
Options *GetSitesOptions `protobuf:"bytes,2,opt,name=options,proto3,oneof" json:"options,omitempty"`
|
|
5605
|
+
Options *GetSitesOptions `protobuf:"bytes,1,opt,name=options,proto3,oneof" json:"options,omitempty"`
|
|
5623
5606
|
}
|
|
5624
5607
|
|
|
5625
5608
|
func (x *GetSitesRequest) Reset() {
|
|
@@ -5654,13 +5637,6 @@ func (*GetSitesRequest) Descriptor() ([]byte, []int) {
|
|
|
5654
5637
|
return file_multitenant_proto_rawDescGZIP(), []int{92}
|
|
5655
5638
|
}
|
|
5656
5639
|
|
|
5657
|
-
func (x *GetSitesRequest) GetSearch() string {
|
|
5658
|
-
if x != nil && x.Search != nil {
|
|
5659
|
-
return *x.Search
|
|
5660
|
-
}
|
|
5661
|
-
return ""
|
|
5662
|
-
}
|
|
5663
|
-
|
|
5664
5640
|
func (x *GetSitesRequest) GetOptions() *GetSitesOptions {
|
|
5665
5641
|
if x != nil {
|
|
5666
5642
|
return x.Options
|
|
@@ -5668,7 +5644,7 @@ func (x *GetSitesRequest) GetOptions() *GetSitesOptions {
|
|
|
5668
5644
|
return nil
|
|
5669
5645
|
}
|
|
5670
5646
|
|
|
5671
|
-
type
|
|
5647
|
+
type SiteItemMetadata struct {
|
|
5672
5648
|
state protoimpl.MessageState
|
|
5673
5649
|
sizeCache protoimpl.SizeCache
|
|
5674
5650
|
unknownFields protoimpl.UnknownFields
|
|
@@ -5677,8 +5653,8 @@ type GetSitesItemsMetadata struct {
|
|
|
5677
5653
|
EnabledCustomFieldsFederation bool `protobuf:"varint,2,opt,name=enabled_custom_fields_federation,json=enabledCustomFieldsFederation,proto3" json:"enabled_custom_fields_federation,omitempty"`
|
|
5678
5654
|
}
|
|
5679
5655
|
|
|
5680
|
-
func (x *
|
|
5681
|
-
*x =
|
|
5656
|
+
func (x *SiteItemMetadata) Reset() {
|
|
5657
|
+
*x = SiteItemMetadata{}
|
|
5682
5658
|
if protoimpl.UnsafeEnabled {
|
|
5683
5659
|
mi := &file_multitenant_proto_msgTypes[93]
|
|
5684
5660
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -5686,13 +5662,13 @@ func (x *GetSitesItemsMetadata) Reset() {
|
|
|
5686
5662
|
}
|
|
5687
5663
|
}
|
|
5688
5664
|
|
|
5689
|
-
func (x *
|
|
5665
|
+
func (x *SiteItemMetadata) String() string {
|
|
5690
5666
|
return protoimpl.X.MessageStringOf(x)
|
|
5691
5667
|
}
|
|
5692
5668
|
|
|
5693
|
-
func (*
|
|
5669
|
+
func (*SiteItemMetadata) ProtoMessage() {}
|
|
5694
5670
|
|
|
5695
|
-
func (x *
|
|
5671
|
+
func (x *SiteItemMetadata) ProtoReflect() protoreflect.Message {
|
|
5696
5672
|
mi := &file_multitenant_proto_msgTypes[93]
|
|
5697
5673
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
5698
5674
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -5704,36 +5680,36 @@ func (x *GetSitesItemsMetadata) ProtoReflect() protoreflect.Message {
|
|
|
5704
5680
|
return mi.MessageOf(x)
|
|
5705
5681
|
}
|
|
5706
5682
|
|
|
5707
|
-
// Deprecated: Use
|
|
5708
|
-
func (*
|
|
5683
|
+
// Deprecated: Use SiteItemMetadata.ProtoReflect.Descriptor instead.
|
|
5684
|
+
func (*SiteItemMetadata) Descriptor() ([]byte, []int) {
|
|
5709
5685
|
return file_multitenant_proto_rawDescGZIP(), []int{93}
|
|
5710
5686
|
}
|
|
5711
5687
|
|
|
5712
|
-
func (x *
|
|
5688
|
+
func (x *SiteItemMetadata) GetEnabledMetadataFieldsFederation() bool {
|
|
5713
5689
|
if x != nil {
|
|
5714
5690
|
return x.EnabledMetadataFieldsFederation
|
|
5715
5691
|
}
|
|
5716
5692
|
return false
|
|
5717
5693
|
}
|
|
5718
5694
|
|
|
5719
|
-
func (x *
|
|
5695
|
+
func (x *SiteItemMetadata) GetEnabledCustomFieldsFederation() bool {
|
|
5720
5696
|
if x != nil {
|
|
5721
5697
|
return x.EnabledCustomFieldsFederation
|
|
5722
5698
|
}
|
|
5723
5699
|
return false
|
|
5724
5700
|
}
|
|
5725
5701
|
|
|
5726
|
-
type
|
|
5702
|
+
type SiteItem struct {
|
|
5727
5703
|
state protoimpl.MessageState
|
|
5728
5704
|
sizeCache protoimpl.SizeCache
|
|
5729
5705
|
unknownFields protoimpl.UnknownFields
|
|
5730
5706
|
|
|
5731
|
-
Id string
|
|
5732
|
-
Metadata *
|
|
5707
|
+
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
5708
|
+
Metadata *SiteItemMetadata `protobuf:"bytes,2,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
|
|
5733
5709
|
}
|
|
5734
5710
|
|
|
5735
|
-
func (x *
|
|
5736
|
-
*x =
|
|
5711
|
+
func (x *SiteItem) Reset() {
|
|
5712
|
+
*x = SiteItem{}
|
|
5737
5713
|
if protoimpl.UnsafeEnabled {
|
|
5738
5714
|
mi := &file_multitenant_proto_msgTypes[94]
|
|
5739
5715
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -5741,13 +5717,13 @@ func (x *GetSitesItems) Reset() {
|
|
|
5741
5717
|
}
|
|
5742
5718
|
}
|
|
5743
5719
|
|
|
5744
|
-
func (x *
|
|
5720
|
+
func (x *SiteItem) String() string {
|
|
5745
5721
|
return protoimpl.X.MessageStringOf(x)
|
|
5746
5722
|
}
|
|
5747
5723
|
|
|
5748
|
-
func (*
|
|
5724
|
+
func (*SiteItem) ProtoMessage() {}
|
|
5749
5725
|
|
|
5750
|
-
func (x *
|
|
5726
|
+
func (x *SiteItem) ProtoReflect() protoreflect.Message {
|
|
5751
5727
|
mi := &file_multitenant_proto_msgTypes[94]
|
|
5752
5728
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
5753
5729
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -5759,19 +5735,19 @@ func (x *GetSitesItems) ProtoReflect() protoreflect.Message {
|
|
|
5759
5735
|
return mi.MessageOf(x)
|
|
5760
5736
|
}
|
|
5761
5737
|
|
|
5762
|
-
// Deprecated: Use
|
|
5763
|
-
func (*
|
|
5738
|
+
// Deprecated: Use SiteItem.ProtoReflect.Descriptor instead.
|
|
5739
|
+
func (*SiteItem) Descriptor() ([]byte, []int) {
|
|
5764
5740
|
return file_multitenant_proto_rawDescGZIP(), []int{94}
|
|
5765
5741
|
}
|
|
5766
5742
|
|
|
5767
|
-
func (x *
|
|
5743
|
+
func (x *SiteItem) GetId() string {
|
|
5768
5744
|
if x != nil {
|
|
5769
5745
|
return x.Id
|
|
5770
5746
|
}
|
|
5771
5747
|
return ""
|
|
5772
5748
|
}
|
|
5773
5749
|
|
|
5774
|
-
func (x *
|
|
5750
|
+
func (x *SiteItem) GetMetadata() *SiteItemMetadata {
|
|
5775
5751
|
if x != nil {
|
|
5776
5752
|
return x.Metadata
|
|
5777
5753
|
}
|
|
@@ -5783,9 +5759,9 @@ type GetSitesPageInfo struct {
|
|
|
5783
5759
|
sizeCache protoimpl.SizeCache
|
|
5784
5760
|
unknownFields protoimpl.UnknownFields
|
|
5785
5761
|
|
|
5786
|
-
|
|
5787
|
-
Limit int32
|
|
5788
|
-
HasNextPage bool
|
|
5762
|
+
OffsetId string `protobuf:"bytes,1,opt,name=offset_id,json=offsetId,proto3" json:"offset_id,omitempty"`
|
|
5763
|
+
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
5764
|
+
HasNextPage bool `protobuf:"varint,3,opt,name=has_next_page,json=hasNextPage,proto3" json:"has_next_page,omitempty"`
|
|
5789
5765
|
}
|
|
5790
5766
|
|
|
5791
5767
|
func (x *GetSitesPageInfo) Reset() {
|
|
@@ -5820,11 +5796,11 @@ func (*GetSitesPageInfo) Descriptor() ([]byte, []int) {
|
|
|
5820
5796
|
return file_multitenant_proto_rawDescGZIP(), []int{95}
|
|
5821
5797
|
}
|
|
5822
5798
|
|
|
5823
|
-
func (x *GetSitesPageInfo)
|
|
5799
|
+
func (x *GetSitesPageInfo) GetOffsetId() string {
|
|
5824
5800
|
if x != nil {
|
|
5825
|
-
return x.
|
|
5801
|
+
return x.OffsetId
|
|
5826
5802
|
}
|
|
5827
|
-
return
|
|
5803
|
+
return ""
|
|
5828
5804
|
}
|
|
5829
5805
|
|
|
5830
5806
|
func (x *GetSitesPageInfo) GetLimit() int32 {
|
|
@@ -5847,7 +5823,7 @@ type GetSitesResponse struct {
|
|
|
5847
5823
|
unknownFields protoimpl.UnknownFields
|
|
5848
5824
|
|
|
5849
5825
|
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
5850
|
-
Items []*
|
|
5826
|
+
Items []*SiteItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
|
|
5851
5827
|
PageInfo *GetSitesPageInfo `protobuf:"bytes,3,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
|
|
5852
5828
|
}
|
|
5853
5829
|
|
|
@@ -5890,7 +5866,7 @@ func (x *GetSitesResponse) GetCount() int32 {
|
|
|
5890
5866
|
return 0
|
|
5891
5867
|
}
|
|
5892
5868
|
|
|
5893
|
-
func (x *GetSitesResponse) GetItems() []*
|
|
5869
|
+
func (x *GetSitesResponse) GetItems() []*SiteItem {
|
|
5894
5870
|
if x != nil {
|
|
5895
5871
|
return x.Items
|
|
5896
5872
|
}
|
|
@@ -8470,60 +8446,50 @@ var file_multitenant_proto_rawDesc = []byte{
|
|
|
8470
8446
|
0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53,
|
|
8471
8447
|
0x69, 0x74, 0x65, 0x48, 0x69, 0x65, 0x72, 0x61, 0x72, 0x63, 0x68, 0x79, 0x49, 0x64, 0x73, 0x50,
|
|
8472
8448
|
0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66,
|
|
8473
|
-
0x6f, 0x22,
|
|
8474
|
-
|
|
8475
|
-
0x01, 0x20, 0x01, 0x28,
|
|
8476
|
-
0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
|
|
8477
|
-
0x05, 0x48, 0x01, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01,
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
0x6e, 0x22,
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
0x01, 0x28,
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
0x0a,
|
|
8498
|
-
|
|
8499
|
-
0x74,
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
0x65, 0x6c, 0x64, 0x73, 0x5f, 0x66, 0x65, 0x64, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
8504
|
-
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x43, 0x75,
|
|
8505
|
-
0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x46, 0x65, 0x64, 0x65, 0x72, 0x61,
|
|
8506
|
-
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73,
|
|
8507
|
-
0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
8508
|
-
0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x51, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
|
8509
|
-
0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65,
|
|
8510
|
-
0x65, 0x70, 0x65, 0x72, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74,
|
|
8511
|
-
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x49, 0x74, 0x65, 0x6d,
|
|
8512
|
-
0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74,
|
|
8449
|
+
0x6f, 0x22, 0x66, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x4f, 0x70, 0x74,
|
|
8450
|
+
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x69,
|
|
8451
|
+
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
|
8452
|
+
0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
|
|
8453
|
+
0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01,
|
|
8454
|
+
0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x42,
|
|
8455
|
+
0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x68, 0x0a, 0x0f, 0x47, 0x65, 0x74,
|
|
8456
|
+
0x53, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x07,
|
|
8457
|
+
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e,
|
|
8458
|
+
0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69,
|
|
8459
|
+
0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74,
|
|
8460
|
+
0x65, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x70, 0x74,
|
|
8461
|
+
0x69, 0x6f, 0x6e, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6f, 0x70, 0x74, 0x69,
|
|
8462
|
+
0x6f, 0x6e, 0x73, 0x22, 0xa8, 0x01, 0x0a, 0x10, 0x53, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d,
|
|
8463
|
+
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4b, 0x0a, 0x22, 0x65, 0x6e, 0x61, 0x62,
|
|
8464
|
+
0x6c, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x69, 0x65,
|
|
8465
|
+
0x6c, 0x64, 0x73, 0x5f, 0x66, 0x65, 0x64, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
|
|
8466
|
+
0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x4d, 0x65, 0x74,
|
|
8467
|
+
0x61, 0x64, 0x61, 0x74, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x46, 0x65, 0x64, 0x65, 0x72,
|
|
8468
|
+
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x20, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
8469
|
+
0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x66,
|
|
8470
|
+
0x65, 0x64, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
8471
|
+
0x1d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69,
|
|
8472
|
+
0x65, 0x6c, 0x64, 0x73, 0x46, 0x65, 0x64, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75,
|
|
8473
|
+
0x0a, 0x08, 0x53, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
8474
|
+
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65,
|
|
8475
|
+
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6c,
|
|
8476
|
+
0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74,
|
|
8477
|
+
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65,
|
|
8478
|
+
0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74,
|
|
8513
8479
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74,
|
|
8514
|
-
0x61, 0x64, 0x61, 0x74, 0x61, 0x22,
|
|
8515
|
-
0x73, 0x50, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
|
|
8516
|
-
0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
8517
|
-
0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
|
|
8518
|
-
0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0d,
|
|
8519
|
-
0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20,
|
|
8520
|
-
0x68, 0x61, 0x73, 0x4e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65,
|
|
8521
|
-
0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73,
|
|
8522
|
-
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01,
|
|
8523
|
-
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
8524
|
-
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
8525
|
-
0x65, 0x72, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x65, 0x6e,
|
|
8526
|
-
|
|
8480
|
+
0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x69, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65,
|
|
8481
|
+
0x73, 0x50, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x66, 0x66,
|
|
8482
|
+
0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x66,
|
|
8483
|
+
0x66, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
|
|
8484
|
+
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0d,
|
|
8485
|
+
0x68, 0x61, 0x73, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20,
|
|
8486
|
+
0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73, 0x4e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65,
|
|
8487
|
+
0x22, 0xad, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73,
|
|
8488
|
+
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01,
|
|
8489
|
+
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x05, 0x69,
|
|
8490
|
+
0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6c, 0x61, 0x6e,
|
|
8491
|
+
0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x65, 0x6e,
|
|
8492
|
+
0x61, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52,
|
|
8527
8493
|
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x69,
|
|
8528
8494
|
0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6c, 0x61, 0x6e, 0x73,
|
|
8529
8495
|
0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x65, 0x6e, 0x61,
|
|
@@ -9317,8 +9283,8 @@ var file_multitenant_proto_goTypes = []any{
|
|
|
9317
9283
|
(*GetSiteHierarchyIdsResponse)(nil), // 95: lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse
|
|
9318
9284
|
(*GetSitesOptions)(nil), // 96: lansweeper.multitenant.v1.GetSitesOptions
|
|
9319
9285
|
(*GetSitesRequest)(nil), // 97: lansweeper.multitenant.v1.GetSitesRequest
|
|
9320
|
-
(*
|
|
9321
|
-
(*
|
|
9286
|
+
(*SiteItemMetadata)(nil), // 98: lansweeper.multitenant.v1.SiteItemMetadata
|
|
9287
|
+
(*SiteItem)(nil), // 99: lansweeper.multitenant.v1.SiteItem
|
|
9322
9288
|
(*GetSitesPageInfo)(nil), // 100: lansweeper.multitenant.v1.GetSitesPageInfo
|
|
9323
9289
|
(*GetSitesResponse)(nil), // 101: lansweeper.multitenant.v1.GetSitesResponse
|
|
9324
9290
|
(*MsmpPagination)(nil), // 102: lansweeper.multitenant.v1.MsmpPagination
|
|
@@ -9403,8 +9369,8 @@ var file_multitenant_proto_depIdxs = []int32{
|
|
|
9403
9369
|
93, // 43: lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.items:type_name -> lansweeper.multitenant.v1.SiteHierarchyIdsItem
|
|
9404
9370
|
94, // 44: lansweeper.multitenant.v1.GetSiteHierarchyIdsResponse.page_info:type_name -> lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo
|
|
9405
9371
|
96, // 45: lansweeper.multitenant.v1.GetSitesRequest.options:type_name -> lansweeper.multitenant.v1.GetSitesOptions
|
|
9406
|
-
98, // 46: lansweeper.multitenant.v1.
|
|
9407
|
-
99, // 47: lansweeper.multitenant.v1.GetSitesResponse.items:type_name -> lansweeper.multitenant.v1.
|
|
9372
|
+
98, // 46: lansweeper.multitenant.v1.SiteItem.metadata:type_name -> lansweeper.multitenant.v1.SiteItemMetadata
|
|
9373
|
+
99, // 47: lansweeper.multitenant.v1.GetSitesResponse.items:type_name -> lansweeper.multitenant.v1.SiteItem
|
|
9408
9374
|
100, // 48: lansweeper.multitenant.v1.GetSitesResponse.page_info:type_name -> lansweeper.multitenant.v1.GetSitesPageInfo
|
|
9409
9375
|
131, // 49: lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.msmp_pagination:type_name -> lansweeper.multitenant.v1.GetMsmpOrganizationListRequest.MsmpPaginationRequest
|
|
9410
9376
|
132, // 50: lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.organizations:type_name -> lansweeper.multitenant.v1.GetMsmpOrganizationListResponse.MsmpOrganization
|
|
@@ -10653,7 +10619,7 @@ func file_multitenant_proto_init() {
|
|
|
10653
10619
|
}
|
|
10654
10620
|
}
|
|
10655
10621
|
file_multitenant_proto_msgTypes[93].Exporter = func(v any, i int) any {
|
|
10656
|
-
switch v := v.(*
|
|
10622
|
+
switch v := v.(*SiteItemMetadata); i {
|
|
10657
10623
|
case 0:
|
|
10658
10624
|
return &v.state
|
|
10659
10625
|
case 1:
|
|
@@ -10665,7 +10631,7 @@ func file_multitenant_proto_init() {
|
|
|
10665
10631
|
}
|
|
10666
10632
|
}
|
|
10667
10633
|
file_multitenant_proto_msgTypes[94].Exporter = func(v any, i int) any {
|
|
10668
|
-
switch v := v.(*
|
|
10634
|
+
switch v := v.(*SiteItem); i {
|
|
10669
10635
|
case 0:
|
|
10670
10636
|
return &v.state
|
|
10671
10637
|
case 1:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/multitenant-api-grpc",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.75",
|
|
4
4
|
"description": "Multitenant grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"prepublishOnly": "cp -r ../../shared/limits ./proto"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "022c8e2acfc7252befce5cd70a4d11c81529ca95"
|
|
22
22
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -488,36 +488,33 @@ message GetSiteHierarchyIdsResponse {
|
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
message GetSitesOptions {
|
|
491
|
-
optional
|
|
491
|
+
optional string offset_id = 1;
|
|
492
492
|
optional int32 limit = 2;
|
|
493
|
-
optional string order_by = 3;
|
|
494
|
-
optional string order_direction = 4;
|
|
495
493
|
}
|
|
496
494
|
|
|
497
495
|
message GetSitesRequest {
|
|
498
|
-
optional
|
|
499
|
-
optional GetSitesOptions options = 2;
|
|
496
|
+
optional GetSitesOptions options = 1;
|
|
500
497
|
}
|
|
501
498
|
|
|
502
|
-
message
|
|
499
|
+
message SiteItemMetadata {
|
|
503
500
|
bool enabled_metadata_fields_federation = 1;
|
|
504
501
|
bool enabled_custom_fields_federation = 2;
|
|
505
502
|
}
|
|
506
503
|
|
|
507
|
-
message
|
|
504
|
+
message SiteItem {
|
|
508
505
|
string id = 1;
|
|
509
|
-
optional
|
|
506
|
+
optional SiteItemMetadata metadata = 2;
|
|
510
507
|
}
|
|
511
508
|
|
|
512
509
|
message GetSitesPageInfo{
|
|
513
|
-
|
|
510
|
+
string offset_id = 1;
|
|
514
511
|
int32 limit = 2;
|
|
515
512
|
bool has_next_page = 3;
|
|
516
513
|
}
|
|
517
514
|
|
|
518
515
|
message GetSitesResponse {
|
|
519
516
|
int32 count = 1;
|
|
520
|
-
repeated
|
|
517
|
+
repeated SiteItem items = 2;
|
|
521
518
|
GetSitesPageInfo page_info = 3;
|
|
522
519
|
}
|
|
523
520
|
|