@scalekit-sdk/node 1.0.2 → 1.0.3

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 (32) hide show
  1. package/README.md +1 -1
  2. package/lib/core.js +1 -1
  3. package/lib/organization.d.ts +4 -4
  4. package/lib/organization.js +6 -7
  5. package/lib/organization.js.map +1 -1
  6. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +1 -1
  7. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +3 -3
  8. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +2 -2
  9. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -1
  10. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +19 -55
  11. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +26 -63
  12. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
  13. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +1 -1
  14. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +1 -1
  15. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +1 -1
  16. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +15 -19
  17. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +14 -18
  18. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +1 -1
  19. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +58 -24
  20. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +94 -32
  21. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
  22. package/package.json +1 -1
  23. package/src/core.ts +1 -1
  24. package/src/organization.ts +7 -7
  25. package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +1 -1
  26. package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +3 -3
  27. package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +33 -89
  28. package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +1 -1
  29. package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +1 -1
  30. package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +1 -1
  31. package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +15 -19
  32. package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +117 -43
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CreateOrganizationRequest, CreateOrganizationResponse, CustomerPortalLinkRequest, CustomerPortalLinksResponse, DeleteOrganizationRequest, GenerateCustomerPortalLinkResponse, GetOrganizationRequest, GetOrganizationResponse, ListOrganizationsRequest, ListOrganizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse } from "./organizations_pb.js";
6
+ import { CreateOrganizationRequest, CreateOrganizationResponse, DeleteOrganizationRequest, DeletePortalLinkRequest, GeneratePortalLinkRequest, GeneratePortalLinkResponse, GetOrganizationRequest, GetOrganizationResponse, GetPortalLinkRequest, GetPortalLinksResponse, ListOrganizationsRequest, ListOrganizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse } from "./organizations_pb.js";
7
7
  import { Empty, MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -24,8 +24,6 @@ export const OrganizationService = {
24
24
  kind: MethodKind.Unary,
25
25
  },
26
26
  /**
27
- * Update Organization description here
28
- *
29
27
  * @generated from rpc scalekit.v1.organizations.OrganizationService.UpdateOrganization
30
28
  */
31
29
  updateOrganization: {
@@ -35,8 +33,6 @@ export const OrganizationService = {
35
33
  kind: MethodKind.Unary,
36
34
  },
37
35
  /**
38
- * Get Organization Description here
39
- *
40
36
  * @generated from rpc scalekit.v1.organizations.OrganizationService.GetOrganization
41
37
  */
42
38
  getOrganization: {
@@ -68,30 +64,30 @@ export const OrganizationService = {
68
64
  /**
69
65
  * Generate Portal Link for Org
70
66
  *
71
- * @generated from rpc scalekit.v1.organizations.OrganizationService.GenerateCustomerPortalLink
67
+ * @generated from rpc scalekit.v1.organizations.OrganizationService.GeneratePortalLink
72
68
  */
73
- generateCustomerPortalLink: {
74
- name: "GenerateCustomerPortalLink",
75
- I: CustomerPortalLinkRequest,
76
- O: GenerateCustomerPortalLinkResponse,
69
+ generatePortalLink: {
70
+ name: "GeneratePortalLink",
71
+ I: GeneratePortalLinkRequest,
72
+ O: GeneratePortalLinkResponse,
77
73
  kind: MethodKind.Unary,
78
74
  },
79
75
  /**
80
- * @generated from rpc scalekit.v1.organizations.OrganizationService.DeleteCustomerPortalLink
76
+ * @generated from rpc scalekit.v1.organizations.OrganizationService.DeletePortalLink
81
77
  */
82
- deleteCustomerPortalLink: {
83
- name: "DeleteCustomerPortalLink",
84
- I: CustomerPortalLinkRequest,
78
+ deletePortalLink: {
79
+ name: "DeletePortalLink",
80
+ I: DeletePortalLinkRequest,
85
81
  O: Empty,
86
82
  kind: MethodKind.Unary,
87
83
  },
88
84
  /**
89
- * @generated from rpc scalekit.v1.organizations.OrganizationService.GetCustomerPortalLink
85
+ * @generated from rpc scalekit.v1.organizations.OrganizationService.GetPortalLinks
90
86
  */
91
- getCustomerPortalLink: {
92
- name: "GetCustomerPortalLink",
93
- I: CustomerPortalLinkRequest,
94
- O: CustomerPortalLinksResponse,
87
+ getPortalLinks: {
88
+ name: "GetPortalLinks",
89
+ I: GetPortalLinkRequest,
90
+ O: GetPortalLinksResponse,
95
91
  kind: MethodKind.Unary,
96
92
  },
97
93
  }
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v1.8.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v1.9.0 with parameter "target=ts"
2
2
  // @generated from file scalekit/v1/organizations/organizations.proto (package scalekit.v1.organizations, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -95,7 +95,7 @@ export class CreateOrganization extends Message<CreateOrganization> {
95
95
  displayName = "";
96
96
 
97
97
  /**
98
- * Optional regioncode
98
+ * Optional regioncode
99
99
  *
100
100
  * @generated from field: scalekit.v1.commons.RegionCode region_code = 5;
101
101
  */
@@ -109,7 +109,7 @@ export class CreateOrganization extends Message<CreateOrganization> {
109
109
  externalId?: string;
110
110
 
111
111
  /**
112
- * Key value pairs extension attributes.
112
+ * Key value pairs extension attributes.
113
113
  *
114
114
  * @generated from field: map<string, string> metadata = 7;
115
115
  */
@@ -151,14 +151,14 @@ export class CreateOrganization extends Message<CreateOrganization> {
151
151
  */
152
152
  export class Organization extends Message<Organization> {
153
153
  /**
154
- * Id
154
+ * Id
155
155
  *
156
156
  * @generated from field: string id = 1;
157
157
  */
158
158
  id = "";
159
159
 
160
160
  /**
161
- * Created Time
161
+ * Created Time
162
162
  *
163
163
  * @generated from field: google.protobuf.Timestamp create_time = 2;
164
164
  */
@@ -179,7 +179,7 @@ export class Organization extends Message<Organization> {
179
179
  displayName = "";
180
180
 
181
181
  /**
182
- * Optional regioncode
182
+ * Optional regioncode
183
183
  *
184
184
  * @generated from field: scalekit.v1.commons.RegionCode region_code = 5;
185
185
  */
@@ -193,7 +193,7 @@ export class Organization extends Message<Organization> {
193
193
  externalId?: string;
194
194
 
195
195
  /**
196
- * Key value pairs extension attributes.
196
+ * Key value pairs extension attributes.
197
197
  *
198
198
  * @generated from field: map<string, string> metadata = 7;
199
199
  */
@@ -613,39 +613,113 @@ export class DeleteOrganizationRequest extends Message<DeleteOrganizationRequest
613
613
  }
614
614
 
615
615
  /**
616
- * @generated from message scalekit.v1.organizations.CustomerPortalLinkRequest
616
+ * @generated from message scalekit.v1.organizations.GeneratePortalLinkRequest
617
617
  */
618
- export class CustomerPortalLinkRequest extends Message<CustomerPortalLinkRequest> {
618
+ export class GeneratePortalLinkRequest extends Message<GeneratePortalLinkRequest> {
619
619
  /**
620
620
  * @generated from field: string id = 1;
621
621
  */
622
622
  id = "";
623
623
 
624
- constructor(data?: PartialMessage<CustomerPortalLinkRequest>) {
624
+ constructor(data?: PartialMessage<GeneratePortalLinkRequest>) {
625
625
  super();
626
626
  proto3.util.initPartial(data, this);
627
627
  }
628
628
 
629
629
  static readonly runtime: typeof proto3 = proto3;
630
- static readonly typeName = "scalekit.v1.organizations.CustomerPortalLinkRequest";
630
+ static readonly typeName = "scalekit.v1.organizations.GeneratePortalLinkRequest";
631
631
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
632
632
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
633
633
  ]);
634
634
 
635
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CustomerPortalLinkRequest {
636
- return new CustomerPortalLinkRequest().fromBinary(bytes, options);
635
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneratePortalLinkRequest {
636
+ return new GeneratePortalLinkRequest().fromBinary(bytes, options);
637
637
  }
638
638
 
639
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CustomerPortalLinkRequest {
640
- return new CustomerPortalLinkRequest().fromJson(jsonValue, options);
639
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneratePortalLinkRequest {
640
+ return new GeneratePortalLinkRequest().fromJson(jsonValue, options);
641
641
  }
642
642
 
643
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CustomerPortalLinkRequest {
644
- return new CustomerPortalLinkRequest().fromJsonString(jsonString, options);
643
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneratePortalLinkRequest {
644
+ return new GeneratePortalLinkRequest().fromJsonString(jsonString, options);
645
645
  }
646
646
 
647
- static equals(a: CustomerPortalLinkRequest | PlainMessage<CustomerPortalLinkRequest> | undefined, b: CustomerPortalLinkRequest | PlainMessage<CustomerPortalLinkRequest> | undefined): boolean {
648
- return proto3.util.equals(CustomerPortalLinkRequest, a, b);
647
+ static equals(a: GeneratePortalLinkRequest | PlainMessage<GeneratePortalLinkRequest> | undefined, b: GeneratePortalLinkRequest | PlainMessage<GeneratePortalLinkRequest> | undefined): boolean {
648
+ return proto3.util.equals(GeneratePortalLinkRequest, a, b);
649
+ }
650
+ }
651
+
652
+ /**
653
+ * @generated from message scalekit.v1.organizations.GetPortalLinkRequest
654
+ */
655
+ export class GetPortalLinkRequest extends Message<GetPortalLinkRequest> {
656
+ /**
657
+ * @generated from field: string id = 1;
658
+ */
659
+ id = "";
660
+
661
+ constructor(data?: PartialMessage<GetPortalLinkRequest>) {
662
+ super();
663
+ proto3.util.initPartial(data, this);
664
+ }
665
+
666
+ static readonly runtime: typeof proto3 = proto3;
667
+ static readonly typeName = "scalekit.v1.organizations.GetPortalLinkRequest";
668
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
669
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
670
+ ]);
671
+
672
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPortalLinkRequest {
673
+ return new GetPortalLinkRequest().fromBinary(bytes, options);
674
+ }
675
+
676
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPortalLinkRequest {
677
+ return new GetPortalLinkRequest().fromJson(jsonValue, options);
678
+ }
679
+
680
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortalLinkRequest {
681
+ return new GetPortalLinkRequest().fromJsonString(jsonString, options);
682
+ }
683
+
684
+ static equals(a: GetPortalLinkRequest | PlainMessage<GetPortalLinkRequest> | undefined, b: GetPortalLinkRequest | PlainMessage<GetPortalLinkRequest> | undefined): boolean {
685
+ return proto3.util.equals(GetPortalLinkRequest, a, b);
686
+ }
687
+ }
688
+
689
+ /**
690
+ * @generated from message scalekit.v1.organizations.DeletePortalLinkRequest
691
+ */
692
+ export class DeletePortalLinkRequest extends Message<DeletePortalLinkRequest> {
693
+ /**
694
+ * @generated from field: string id = 1;
695
+ */
696
+ id = "";
697
+
698
+ constructor(data?: PartialMessage<DeletePortalLinkRequest>) {
699
+ super();
700
+ proto3.util.initPartial(data, this);
701
+ }
702
+
703
+ static readonly runtime: typeof proto3 = proto3;
704
+ static readonly typeName = "scalekit.v1.organizations.DeletePortalLinkRequest";
705
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
706
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
707
+ ]);
708
+
709
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePortalLinkRequest {
710
+ return new DeletePortalLinkRequest().fromBinary(bytes, options);
711
+ }
712
+
713
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePortalLinkRequest {
714
+ return new DeletePortalLinkRequest().fromJson(jsonValue, options);
715
+ }
716
+
717
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePortalLinkRequest {
718
+ return new DeletePortalLinkRequest().fromJsonString(jsonString, options);
719
+ }
720
+
721
+ static equals(a: DeletePortalLinkRequest | PlainMessage<DeletePortalLinkRequest> | undefined, b: DeletePortalLinkRequest | PlainMessage<DeletePortalLinkRequest> | undefined): boolean {
722
+ return proto3.util.equals(DeletePortalLinkRequest, a, b);
649
723
  }
650
724
  }
651
725
 
@@ -699,76 +773,76 @@ export class Link extends Message<Link> {
699
773
  }
700
774
 
701
775
  /**
702
- * @generated from message scalekit.v1.organizations.GenerateCustomerPortalLinkResponse
776
+ * @generated from message scalekit.v1.organizations.GeneratePortalLinkResponse
703
777
  */
704
- export class GenerateCustomerPortalLinkResponse extends Message<GenerateCustomerPortalLinkResponse> {
778
+ export class GeneratePortalLinkResponse extends Message<GeneratePortalLinkResponse> {
705
779
  /**
706
780
  * @generated from field: scalekit.v1.organizations.Link link = 1;
707
781
  */
708
782
  link?: Link;
709
783
 
710
- constructor(data?: PartialMessage<GenerateCustomerPortalLinkResponse>) {
784
+ constructor(data?: PartialMessage<GeneratePortalLinkResponse>) {
711
785
  super();
712
786
  proto3.util.initPartial(data, this);
713
787
  }
714
788
 
715
789
  static readonly runtime: typeof proto3 = proto3;
716
- static readonly typeName = "scalekit.v1.organizations.GenerateCustomerPortalLinkResponse";
790
+ static readonly typeName = "scalekit.v1.organizations.GeneratePortalLinkResponse";
717
791
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
718
792
  { no: 1, name: "link", kind: "message", T: Link },
719
793
  ]);
720
794
 
721
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateCustomerPortalLinkResponse {
722
- return new GenerateCustomerPortalLinkResponse().fromBinary(bytes, options);
795
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneratePortalLinkResponse {
796
+ return new GeneratePortalLinkResponse().fromBinary(bytes, options);
723
797
  }
724
798
 
725
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateCustomerPortalLinkResponse {
726
- return new GenerateCustomerPortalLinkResponse().fromJson(jsonValue, options);
799
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneratePortalLinkResponse {
800
+ return new GeneratePortalLinkResponse().fromJson(jsonValue, options);
727
801
  }
728
802
 
729
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateCustomerPortalLinkResponse {
730
- return new GenerateCustomerPortalLinkResponse().fromJsonString(jsonString, options);
803
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneratePortalLinkResponse {
804
+ return new GeneratePortalLinkResponse().fromJsonString(jsonString, options);
731
805
  }
732
806
 
733
- static equals(a: GenerateCustomerPortalLinkResponse | PlainMessage<GenerateCustomerPortalLinkResponse> | undefined, b: GenerateCustomerPortalLinkResponse | PlainMessage<GenerateCustomerPortalLinkResponse> | undefined): boolean {
734
- return proto3.util.equals(GenerateCustomerPortalLinkResponse, a, b);
807
+ static equals(a: GeneratePortalLinkResponse | PlainMessage<GeneratePortalLinkResponse> | undefined, b: GeneratePortalLinkResponse | PlainMessage<GeneratePortalLinkResponse> | undefined): boolean {
808
+ return proto3.util.equals(GeneratePortalLinkResponse, a, b);
735
809
  }
736
810
  }
737
811
 
738
812
  /**
739
- * @generated from message scalekit.v1.organizations.CustomerPortalLinksResponse
813
+ * @generated from message scalekit.v1.organizations.GetPortalLinksResponse
740
814
  */
741
- export class CustomerPortalLinksResponse extends Message<CustomerPortalLinksResponse> {
815
+ export class GetPortalLinksResponse extends Message<GetPortalLinksResponse> {
742
816
  /**
743
817
  * @generated from field: repeated scalekit.v1.organizations.Link links = 1;
744
818
  */
745
819
  links: Link[] = [];
746
820
 
747
- constructor(data?: PartialMessage<CustomerPortalLinksResponse>) {
821
+ constructor(data?: PartialMessage<GetPortalLinksResponse>) {
748
822
  super();
749
823
  proto3.util.initPartial(data, this);
750
824
  }
751
825
 
752
826
  static readonly runtime: typeof proto3 = proto3;
753
- static readonly typeName = "scalekit.v1.organizations.CustomerPortalLinksResponse";
827
+ static readonly typeName = "scalekit.v1.organizations.GetPortalLinksResponse";
754
828
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
755
829
  { no: 1, name: "links", kind: "message", T: Link, repeated: true },
756
830
  ]);
757
831
 
758
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CustomerPortalLinksResponse {
759
- return new CustomerPortalLinksResponse().fromBinary(bytes, options);
832
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPortalLinksResponse {
833
+ return new GetPortalLinksResponse().fromBinary(bytes, options);
760
834
  }
761
835
 
762
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CustomerPortalLinksResponse {
763
- return new CustomerPortalLinksResponse().fromJson(jsonValue, options);
836
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPortalLinksResponse {
837
+ return new GetPortalLinksResponse().fromJson(jsonValue, options);
764
838
  }
765
839
 
766
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CustomerPortalLinksResponse {
767
- return new CustomerPortalLinksResponse().fromJsonString(jsonString, options);
840
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPortalLinksResponse {
841
+ return new GetPortalLinksResponse().fromJsonString(jsonString, options);
768
842
  }
769
843
 
770
- static equals(a: CustomerPortalLinksResponse | PlainMessage<CustomerPortalLinksResponse> | undefined, b: CustomerPortalLinksResponse | PlainMessage<CustomerPortalLinksResponse> | undefined): boolean {
771
- return proto3.util.equals(CustomerPortalLinksResponse, a, b);
844
+ static equals(a: GetPortalLinksResponse | PlainMessage<GetPortalLinksResponse> | undefined, b: GetPortalLinksResponse | PlainMessage<GetPortalLinksResponse> | undefined): boolean {
845
+ return proto3.util.equals(GetPortalLinksResponse, a, b);
772
846
  }
773
847
  }
774
848