@scalekit-sdk/node 1.0.11 → 1.0.12

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.
@@ -1464,6 +1464,16 @@ export class ListConnection extends Message<ListConnection> {
1464
1464
  */
1465
1465
  uiButtonTitle = "";
1466
1466
 
1467
+ /**
1468
+ * @generated from field: repeated string domains = 8;
1469
+ */
1470
+ domains: string[] = [];
1471
+
1472
+ /**
1473
+ * @generated from field: string organization_name = 9;
1474
+ */
1475
+ organizationName = "";
1476
+
1467
1477
  constructor(data?: PartialMessage<ListConnection>) {
1468
1478
  super();
1469
1479
  proto3.util.initPartial(data, this);
@@ -1479,6 +1489,8 @@ export class ListConnection extends Message<ListConnection> {
1479
1489
  { no: 5, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1480
1490
  { no: 6, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1481
1491
  { no: 7, name: "ui_button_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1492
+ { no: 8, name: "domains", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1493
+ { no: 9, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1482
1494
  ]);
1483
1495
 
1484
1496
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnection {
@@ -1498,6 +1510,226 @@ export class ListConnection extends Message<ListConnection> {
1498
1510
  }
1499
1511
  }
1500
1512
 
1513
+ /**
1514
+ * @generated from message scalekit.v1.connections.ListOrganizationConnectionsRequest
1515
+ */
1516
+ export class ListOrganizationConnectionsRequest extends Message<ListOrganizationConnectionsRequest> {
1517
+ /**
1518
+ * @generated from field: uint32 page_size = 1;
1519
+ */
1520
+ pageSize = 0;
1521
+
1522
+ /**
1523
+ * @generated from field: string page_token = 2;
1524
+ */
1525
+ pageToken = "";
1526
+
1527
+ constructor(data?: PartialMessage<ListOrganizationConnectionsRequest>) {
1528
+ super();
1529
+ proto3.util.initPartial(data, this);
1530
+ }
1531
+
1532
+ static readonly runtime: typeof proto3 = proto3;
1533
+ static readonly typeName = "scalekit.v1.connections.ListOrganizationConnectionsRequest";
1534
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1535
+ { no: 1, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1536
+ { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1537
+ ]);
1538
+
1539
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationConnectionsRequest {
1540
+ return new ListOrganizationConnectionsRequest().fromBinary(bytes, options);
1541
+ }
1542
+
1543
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsRequest {
1544
+ return new ListOrganizationConnectionsRequest().fromJson(jsonValue, options);
1545
+ }
1546
+
1547
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsRequest {
1548
+ return new ListOrganizationConnectionsRequest().fromJsonString(jsonString, options);
1549
+ }
1550
+
1551
+ static equals(a: ListOrganizationConnectionsRequest | PlainMessage<ListOrganizationConnectionsRequest> | undefined, b: ListOrganizationConnectionsRequest | PlainMessage<ListOrganizationConnectionsRequest> | undefined): boolean {
1552
+ return proto3.util.equals(ListOrganizationConnectionsRequest, a, b);
1553
+ }
1554
+ }
1555
+
1556
+ /**
1557
+ * @generated from message scalekit.v1.connections.ListOrganizationConnectionsResponse
1558
+ */
1559
+ export class ListOrganizationConnectionsResponse extends Message<ListOrganizationConnectionsResponse> {
1560
+ /**
1561
+ * @generated from field: string next_page_token = 1;
1562
+ */
1563
+ nextPageToken = "";
1564
+
1565
+ /**
1566
+ * @generated from field: uint32 total_size = 2;
1567
+ */
1568
+ totalSize = 0;
1569
+
1570
+ /**
1571
+ * @generated from field: string prev_page_token = 3;
1572
+ */
1573
+ prevPageToken = "";
1574
+
1575
+ /**
1576
+ * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
1577
+ */
1578
+ connections: ListConnection[] = [];
1579
+
1580
+ constructor(data?: PartialMessage<ListOrganizationConnectionsResponse>) {
1581
+ super();
1582
+ proto3.util.initPartial(data, this);
1583
+ }
1584
+
1585
+ static readonly runtime: typeof proto3 = proto3;
1586
+ static readonly typeName = "scalekit.v1.connections.ListOrganizationConnectionsResponse";
1587
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1588
+ { no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1589
+ { no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1590
+ { no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1591
+ { no: 4, name: "connections", kind: "message", T: ListConnection, repeated: true },
1592
+ ]);
1593
+
1594
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationConnectionsResponse {
1595
+ return new ListOrganizationConnectionsResponse().fromBinary(bytes, options);
1596
+ }
1597
+
1598
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsResponse {
1599
+ return new ListOrganizationConnectionsResponse().fromJson(jsonValue, options);
1600
+ }
1601
+
1602
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationConnectionsResponse {
1603
+ return new ListOrganizationConnectionsResponse().fromJsonString(jsonString, options);
1604
+ }
1605
+
1606
+ static equals(a: ListOrganizationConnectionsResponse | PlainMessage<ListOrganizationConnectionsResponse> | undefined, b: ListOrganizationConnectionsResponse | PlainMessage<ListOrganizationConnectionsResponse> | undefined): boolean {
1607
+ return proto3.util.equals(ListOrganizationConnectionsResponse, a, b);
1608
+ }
1609
+ }
1610
+
1611
+ /**
1612
+ * @generated from message scalekit.v1.connections.SearchOrganizationConnectionsRequest
1613
+ */
1614
+ export class SearchOrganizationConnectionsRequest extends Message<SearchOrganizationConnectionsRequest> {
1615
+ /**
1616
+ * @generated from field: optional string query = 1;
1617
+ */
1618
+ query?: string;
1619
+
1620
+ /**
1621
+ * @generated from field: optional scalekit.v1.connections.ConnectionProvider provider = 2;
1622
+ */
1623
+ provider?: ConnectionProvider;
1624
+
1625
+ /**
1626
+ * @generated from field: optional scalekit.v1.connections.ConnectionStatus status = 3;
1627
+ */
1628
+ status?: ConnectionStatus;
1629
+
1630
+ /**
1631
+ * @generated from field: optional scalekit.v1.connections.ConnectionType connection_type = 4;
1632
+ */
1633
+ connectionType?: ConnectionType;
1634
+
1635
+ /**
1636
+ * @generated from field: uint32 page_size = 5;
1637
+ */
1638
+ pageSize = 0;
1639
+
1640
+ /**
1641
+ * @generated from field: string page_token = 6;
1642
+ */
1643
+ pageToken = "";
1644
+
1645
+ constructor(data?: PartialMessage<SearchOrganizationConnectionsRequest>) {
1646
+ super();
1647
+ proto3.util.initPartial(data, this);
1648
+ }
1649
+
1650
+ static readonly runtime: typeof proto3 = proto3;
1651
+ static readonly typeName = "scalekit.v1.connections.SearchOrganizationConnectionsRequest";
1652
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1653
+ { no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1654
+ { no: 2, name: "provider", kind: "enum", T: proto3.getEnumType(ConnectionProvider), opt: true },
1655
+ { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(ConnectionStatus), opt: true },
1656
+ { no: 4, name: "connection_type", kind: "enum", T: proto3.getEnumType(ConnectionType), opt: true },
1657
+ { no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1658
+ { no: 6, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1659
+ ]);
1660
+
1661
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationConnectionsRequest {
1662
+ return new SearchOrganizationConnectionsRequest().fromBinary(bytes, options);
1663
+ }
1664
+
1665
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsRequest {
1666
+ return new SearchOrganizationConnectionsRequest().fromJson(jsonValue, options);
1667
+ }
1668
+
1669
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsRequest {
1670
+ return new SearchOrganizationConnectionsRequest().fromJsonString(jsonString, options);
1671
+ }
1672
+
1673
+ static equals(a: SearchOrganizationConnectionsRequest | PlainMessage<SearchOrganizationConnectionsRequest> | undefined, b: SearchOrganizationConnectionsRequest | PlainMessage<SearchOrganizationConnectionsRequest> | undefined): boolean {
1674
+ return proto3.util.equals(SearchOrganizationConnectionsRequest, a, b);
1675
+ }
1676
+ }
1677
+
1678
+ /**
1679
+ * @generated from message scalekit.v1.connections.SearchOrganizationConnectionsResponse
1680
+ */
1681
+ export class SearchOrganizationConnectionsResponse extends Message<SearchOrganizationConnectionsResponse> {
1682
+ /**
1683
+ * @generated from field: string next_page_token = 1;
1684
+ */
1685
+ nextPageToken = "";
1686
+
1687
+ /**
1688
+ * @generated from field: uint32 total_size = 2;
1689
+ */
1690
+ totalSize = 0;
1691
+
1692
+ /**
1693
+ * @generated from field: string prev_page_token = 3;
1694
+ */
1695
+ prevPageToken = "";
1696
+
1697
+ /**
1698
+ * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 4;
1699
+ */
1700
+ connections: ListConnection[] = [];
1701
+
1702
+ constructor(data?: PartialMessage<SearchOrganizationConnectionsResponse>) {
1703
+ super();
1704
+ proto3.util.initPartial(data, this);
1705
+ }
1706
+
1707
+ static readonly runtime: typeof proto3 = proto3;
1708
+ static readonly typeName = "scalekit.v1.connections.SearchOrganizationConnectionsResponse";
1709
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1710
+ { no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1711
+ { no: 2, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1712
+ { no: 3, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1713
+ { no: 4, name: "connections", kind: "message", T: ListConnection, repeated: true },
1714
+ ]);
1715
+
1716
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationConnectionsResponse {
1717
+ return new SearchOrganizationConnectionsResponse().fromBinary(bytes, options);
1718
+ }
1719
+
1720
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsResponse {
1721
+ return new SearchOrganizationConnectionsResponse().fromJson(jsonValue, options);
1722
+ }
1723
+
1724
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationConnectionsResponse {
1725
+ return new SearchOrganizationConnectionsResponse().fromJsonString(jsonString, options);
1726
+ }
1727
+
1728
+ static equals(a: SearchOrganizationConnectionsResponse | PlainMessage<SearchOrganizationConnectionsResponse> | undefined, b: SearchOrganizationConnectionsResponse | PlainMessage<SearchOrganizationConnectionsResponse> | undefined): boolean {
1729
+ return proto3.util.equals(SearchOrganizationConnectionsResponse, a, b);
1730
+ }
1731
+ }
1732
+
1501
1733
  /**
1502
1734
  * @generated from message scalekit.v1.connections.ToggleEnvironmentConnectionRequest
1503
1735
  */