@sentio/api 1.0.3-rc.52 → 1.0.3-rc.54
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/dist/src/types.gen.d.ts +126 -1
- package/package.json +1 -1
- package/src/types.gen.ts +126 -1
package/dist/src/types.gen.d.ts
CHANGED
|
@@ -395,7 +395,7 @@ export declare namespace analytic_service {
|
|
|
395
395
|
queueLength?: number;
|
|
396
396
|
computeStats?: common.ComputeStats;
|
|
397
397
|
};
|
|
398
|
-
type ExecuteEngine = '
|
|
398
|
+
type ExecuteEngine = 'ULTRA' | 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
399
399
|
type ExecutionInfo = {
|
|
400
400
|
queryId?: string;
|
|
401
401
|
executionId?: string;
|
|
@@ -1593,10 +1593,135 @@ export declare namespace google {
|
|
|
1593
1593
|
data?: string;
|
|
1594
1594
|
extensions?: Array<ProtobufAny>;
|
|
1595
1595
|
};
|
|
1596
|
+
/**
|
|
1597
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
1598
|
+
* URL that describes the type of the serialized message.
|
|
1599
|
+
*
|
|
1600
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
1601
|
+
* of utility functions or additional generated methods of the Any type.
|
|
1602
|
+
*
|
|
1603
|
+
* Example 1: Pack and unpack a message in C++.
|
|
1604
|
+
*
|
|
1605
|
+
* Foo foo = ...;
|
|
1606
|
+
* Any any;
|
|
1607
|
+
* any.PackFrom(foo);
|
|
1608
|
+
* ...
|
|
1609
|
+
* if (any.UnpackTo(&foo)) {
|
|
1610
|
+
* ...
|
|
1611
|
+
* }
|
|
1612
|
+
*
|
|
1613
|
+
* Example 2: Pack and unpack a message in Java.
|
|
1614
|
+
*
|
|
1615
|
+
* Foo foo = ...;
|
|
1616
|
+
* Any any = Any.pack(foo);
|
|
1617
|
+
* ...
|
|
1618
|
+
* if (any.is(Foo.class)) {
|
|
1619
|
+
* foo = any.unpack(Foo.class);
|
|
1620
|
+
* }
|
|
1621
|
+
* // or ...
|
|
1622
|
+
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
1623
|
+
* foo = any.unpack(Foo.getDefaultInstance());
|
|
1624
|
+
* }
|
|
1625
|
+
*
|
|
1626
|
+
* Example 3: Pack and unpack a message in Python.
|
|
1627
|
+
*
|
|
1628
|
+
* foo = Foo(...)
|
|
1629
|
+
* any = Any()
|
|
1630
|
+
* any.Pack(foo)
|
|
1631
|
+
* ...
|
|
1632
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
1633
|
+
* any.Unpack(foo)
|
|
1634
|
+
* ...
|
|
1635
|
+
*
|
|
1636
|
+
* Example 4: Pack and unpack a message in Go
|
|
1637
|
+
*
|
|
1638
|
+
* foo := &pb.Foo{...}
|
|
1639
|
+
* any, err := anypb.New(foo)
|
|
1640
|
+
* if err != nil {
|
|
1641
|
+
* ...
|
|
1642
|
+
* }
|
|
1643
|
+
* ...
|
|
1644
|
+
* foo := &pb.Foo{}
|
|
1645
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
1646
|
+
* ...
|
|
1647
|
+
* }
|
|
1648
|
+
*
|
|
1649
|
+
* The pack methods provided by protobuf library will by default use
|
|
1650
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
1651
|
+
* methods only use the fully qualified type name after the last '/'
|
|
1652
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
1653
|
+
* name "y.z".
|
|
1654
|
+
*
|
|
1655
|
+
* JSON
|
|
1656
|
+
* ====
|
|
1657
|
+
* The JSON representation of an `Any` value uses the regular
|
|
1658
|
+
* representation of the deserialized, embedded message, with an
|
|
1659
|
+
* additional field `@type` which contains the type URL. Example:
|
|
1660
|
+
*
|
|
1661
|
+
* package google.profile;
|
|
1662
|
+
* message Person {
|
|
1663
|
+
* string first_name = 1;
|
|
1664
|
+
* string last_name = 2;
|
|
1665
|
+
* }
|
|
1666
|
+
*
|
|
1667
|
+
* {
|
|
1668
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
1669
|
+
* "firstName": <string>,
|
|
1670
|
+
* "lastName": <string>
|
|
1671
|
+
* }
|
|
1672
|
+
*
|
|
1673
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
1674
|
+
* representation, that representation will be embedded adding a field
|
|
1675
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
1676
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
1677
|
+
*
|
|
1678
|
+
* {
|
|
1679
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
1680
|
+
* "value": "1.212s"
|
|
1681
|
+
* }
|
|
1682
|
+
*/
|
|
1596
1683
|
type ProtobufAny = {
|
|
1684
|
+
/**
|
|
1685
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
1686
|
+
* protocol buffer message. This string must contain at least
|
|
1687
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
1688
|
+
* the fully qualified name of the type (as in
|
|
1689
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
1690
|
+
* (e.g., leading "." is not accepted).
|
|
1691
|
+
*
|
|
1692
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
1693
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
1694
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
1695
|
+
* server that maps type URLs to message definitions as follows:
|
|
1696
|
+
*
|
|
1697
|
+
* * If no scheme is provided, `https` is assumed.
|
|
1698
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
1699
|
+
* value in binary format, or produce an error.
|
|
1700
|
+
* * Applications are allowed to cache lookup results based on the
|
|
1701
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
1702
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
1703
|
+
* on changes to types. (Use versioned type names to manage
|
|
1704
|
+
* breaking changes.)
|
|
1705
|
+
*
|
|
1706
|
+
* Note: this functionality is not currently available in the official
|
|
1707
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
1708
|
+
* type.googleapis.com. As of May 2023, there are no widely used type server
|
|
1709
|
+
* implementations and no plans to implement one.
|
|
1710
|
+
*
|
|
1711
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
1712
|
+
* used with implementation specific semantics.
|
|
1713
|
+
*/
|
|
1597
1714
|
'@type'?: string;
|
|
1598
1715
|
[key: string]: unknown | string | undefined;
|
|
1599
1716
|
};
|
|
1717
|
+
/**
|
|
1718
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
1719
|
+
* `Value` type union.
|
|
1720
|
+
*
|
|
1721
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
1722
|
+
*
|
|
1723
|
+
* - NULL_VALUE: Null value.
|
|
1724
|
+
*/
|
|
1600
1725
|
type ProtobufNullValue = 'NULL_VALUE';
|
|
1601
1726
|
type GetCallTraceOnForkBundleData = {
|
|
1602
1727
|
body?: never;
|
package/package.json
CHANGED
package/src/types.gen.ts
CHANGED
|
@@ -399,7 +399,7 @@ export namespace analytic_service {
|
|
|
399
399
|
queueLength?: number;
|
|
400
400
|
computeStats?: common.ComputeStats;
|
|
401
401
|
};
|
|
402
|
-
export type ExecuteEngine = '
|
|
402
|
+
export type ExecuteEngine = 'ULTRA' | 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
403
403
|
export type ExecutionInfo = {
|
|
404
404
|
queryId?: string;
|
|
405
405
|
executionId?: string;
|
|
@@ -1600,10 +1600,135 @@ export namespace google {
|
|
|
1600
1600
|
data?: string;
|
|
1601
1601
|
extensions?: Array<ProtobufAny>;
|
|
1602
1602
|
};
|
|
1603
|
+
/**
|
|
1604
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
1605
|
+
* URL that describes the type of the serialized message.
|
|
1606
|
+
*
|
|
1607
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
1608
|
+
* of utility functions or additional generated methods of the Any type.
|
|
1609
|
+
*
|
|
1610
|
+
* Example 1: Pack and unpack a message in C++.
|
|
1611
|
+
*
|
|
1612
|
+
* Foo foo = ...;
|
|
1613
|
+
* Any any;
|
|
1614
|
+
* any.PackFrom(foo);
|
|
1615
|
+
* ...
|
|
1616
|
+
* if (any.UnpackTo(&foo)) {
|
|
1617
|
+
* ...
|
|
1618
|
+
* }
|
|
1619
|
+
*
|
|
1620
|
+
* Example 2: Pack and unpack a message in Java.
|
|
1621
|
+
*
|
|
1622
|
+
* Foo foo = ...;
|
|
1623
|
+
* Any any = Any.pack(foo);
|
|
1624
|
+
* ...
|
|
1625
|
+
* if (any.is(Foo.class)) {
|
|
1626
|
+
* foo = any.unpack(Foo.class);
|
|
1627
|
+
* }
|
|
1628
|
+
* // or ...
|
|
1629
|
+
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
1630
|
+
* foo = any.unpack(Foo.getDefaultInstance());
|
|
1631
|
+
* }
|
|
1632
|
+
*
|
|
1633
|
+
* Example 3: Pack and unpack a message in Python.
|
|
1634
|
+
*
|
|
1635
|
+
* foo = Foo(...)
|
|
1636
|
+
* any = Any()
|
|
1637
|
+
* any.Pack(foo)
|
|
1638
|
+
* ...
|
|
1639
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
1640
|
+
* any.Unpack(foo)
|
|
1641
|
+
* ...
|
|
1642
|
+
*
|
|
1643
|
+
* Example 4: Pack and unpack a message in Go
|
|
1644
|
+
*
|
|
1645
|
+
* foo := &pb.Foo{...}
|
|
1646
|
+
* any, err := anypb.New(foo)
|
|
1647
|
+
* if err != nil {
|
|
1648
|
+
* ...
|
|
1649
|
+
* }
|
|
1650
|
+
* ...
|
|
1651
|
+
* foo := &pb.Foo{}
|
|
1652
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
1653
|
+
* ...
|
|
1654
|
+
* }
|
|
1655
|
+
*
|
|
1656
|
+
* The pack methods provided by protobuf library will by default use
|
|
1657
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
1658
|
+
* methods only use the fully qualified type name after the last '/'
|
|
1659
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
1660
|
+
* name "y.z".
|
|
1661
|
+
*
|
|
1662
|
+
* JSON
|
|
1663
|
+
* ====
|
|
1664
|
+
* The JSON representation of an `Any` value uses the regular
|
|
1665
|
+
* representation of the deserialized, embedded message, with an
|
|
1666
|
+
* additional field `@type` which contains the type URL. Example:
|
|
1667
|
+
*
|
|
1668
|
+
* package google.profile;
|
|
1669
|
+
* message Person {
|
|
1670
|
+
* string first_name = 1;
|
|
1671
|
+
* string last_name = 2;
|
|
1672
|
+
* }
|
|
1673
|
+
*
|
|
1674
|
+
* {
|
|
1675
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
1676
|
+
* "firstName": <string>,
|
|
1677
|
+
* "lastName": <string>
|
|
1678
|
+
* }
|
|
1679
|
+
*
|
|
1680
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
1681
|
+
* representation, that representation will be embedded adding a field
|
|
1682
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
1683
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
1684
|
+
*
|
|
1685
|
+
* {
|
|
1686
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
1687
|
+
* "value": "1.212s"
|
|
1688
|
+
* }
|
|
1689
|
+
*/
|
|
1603
1690
|
export type ProtobufAny = {
|
|
1691
|
+
/**
|
|
1692
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
1693
|
+
* protocol buffer message. This string must contain at least
|
|
1694
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
1695
|
+
* the fully qualified name of the type (as in
|
|
1696
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
1697
|
+
* (e.g., leading "." is not accepted).
|
|
1698
|
+
*
|
|
1699
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
1700
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
1701
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
1702
|
+
* server that maps type URLs to message definitions as follows:
|
|
1703
|
+
*
|
|
1704
|
+
* * If no scheme is provided, `https` is assumed.
|
|
1705
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
1706
|
+
* value in binary format, or produce an error.
|
|
1707
|
+
* * Applications are allowed to cache lookup results based on the
|
|
1708
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
1709
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
1710
|
+
* on changes to types. (Use versioned type names to manage
|
|
1711
|
+
* breaking changes.)
|
|
1712
|
+
*
|
|
1713
|
+
* Note: this functionality is not currently available in the official
|
|
1714
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
1715
|
+
* type.googleapis.com. As of May 2023, there are no widely used type server
|
|
1716
|
+
* implementations and no plans to implement one.
|
|
1717
|
+
*
|
|
1718
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
1719
|
+
* used with implementation specific semantics.
|
|
1720
|
+
*/
|
|
1604
1721
|
'@type'?: string;
|
|
1605
1722
|
[key: string]: unknown | string | undefined;
|
|
1606
1723
|
};
|
|
1724
|
+
/**
|
|
1725
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
1726
|
+
* `Value` type union.
|
|
1727
|
+
*
|
|
1728
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
1729
|
+
*
|
|
1730
|
+
* - NULL_VALUE: Null value.
|
|
1731
|
+
*/
|
|
1607
1732
|
export type ProtobufNullValue = 'NULL_VALUE';
|
|
1608
1733
|
export type GetCallTraceOnForkBundleData = {
|
|
1609
1734
|
body?: never;
|