@sentio/api 1.0.2-rc.12 → 1.0.2-rc.13

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 (49) hide show
  1. package/dist/src/apis/DataApi.d.ts +40 -40
  2. package/dist/src/apis/DataApi.js +94 -94
  3. package/dist/src/apis/DataApi.js.map +1 -1
  4. package/dist/src/models/AnalyticServiceSQLQuery.d.ts +13 -0
  5. package/dist/src/models/AnalyticServiceSQLQuery.js +5 -0
  6. package/dist/src/models/AnalyticServiceSQLQuery.js.map +1 -1
  7. package/dist/src/models/CommonBigDecimal.d.ts +38 -0
  8. package/dist/src/models/CommonBigDecimal.js +42 -0
  9. package/dist/src/models/CommonBigDecimal.js.map +1 -0
  10. package/dist/src/models/CommonBigInteger.d.ts +37 -0
  11. package/dist/src/models/CommonBigInteger.js +41 -0
  12. package/dist/src/models/CommonBigInteger.js.map +1 -0
  13. package/dist/src/models/CommonRichStruct.d.ts +34 -0
  14. package/dist/src/models/CommonRichStruct.js +41 -0
  15. package/dist/src/models/CommonRichStruct.js.map +1 -0
  16. package/dist/src/models/CommonRichValue.d.ts +96 -0
  17. package/dist/src/models/CommonRichValue.js +64 -0
  18. package/dist/src/models/CommonRichValue.js.map +1 -0
  19. package/dist/src/models/CommonRichValueList.d.ts +32 -0
  20. package/dist/src/models/CommonRichValueList.js +40 -0
  21. package/dist/src/models/CommonRichValueList.js.map +1 -0
  22. package/dist/src/models/CommonRichValueNullValue.d.ts +23 -0
  23. package/dist/src/models/CommonRichValueNullValue.js +33 -0
  24. package/dist/src/models/CommonRichValueNullValue.js.map +1 -0
  25. package/dist/src/models/CommonSelectorOperatorType.d.ts +1 -2
  26. package/dist/src/models/CommonSelectorOperatorType.js +1 -2
  27. package/dist/src/models/CommonSelectorOperatorType.js.map +1 -1
  28. package/dist/src/models/CommonUserInfo.d.ts +1 -1
  29. package/dist/src/models/GoogleApiHttpBody.d.ts +3 -46
  30. package/dist/src/models/GoogleApiHttpBody.js.map +1 -1
  31. package/dist/src/models/GoogleProtobufNullValue.d.ts +1 -1
  32. package/dist/src/models/GoogleProtobufNullValue.js +1 -1
  33. package/dist/src/models/index.d.ts +6 -0
  34. package/dist/src/models/index.js +6 -0
  35. package/dist/src/models/index.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/apis/DataApi.ts +138 -138
  38. package/src/models/AnalyticServiceSQLQuery.ts +23 -0
  39. package/src/models/CommonBigDecimal.ts +75 -0
  40. package/src/models/CommonBigInteger.ts +68 -0
  41. package/src/models/CommonRichStruct.ts +67 -0
  42. package/src/models/CommonRichValue.ts +171 -0
  43. package/src/models/CommonRichValueList.ts +67 -0
  44. package/src/models/CommonRichValueNullValue.ts +41 -0
  45. package/src/models/CommonSelectorOperatorType.ts +1 -2
  46. package/src/models/CommonUserInfo.ts +1 -1
  47. package/src/models/GoogleApiHttpBody.ts +3 -46
  48. package/src/models/GoogleProtobufNullValue.ts +1 -1
  49. package/src/models/index.ts +6 -0
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sentio API
5
+ * Sentio Open API for query data
6
+ *
7
+ * The version of the OpenAPI document: version not set
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { CommonRichValue } from './CommonRichValue.js';
17
+ import {
18
+ CommonRichValueFromJSON,
19
+ CommonRichValueFromJSONTyped,
20
+ CommonRichValueToJSON,
21
+ } from './CommonRichValue.js';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface CommonRichStruct
27
+ */
28
+ export interface CommonRichStruct {
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: CommonRichValue; }}
32
+ * @memberof CommonRichStruct
33
+ */
34
+ fields?: { [key: string]: CommonRichValue; };
35
+ }
36
+
37
+ /**
38
+ * Check if a given object implements the CommonRichStruct interface.
39
+ */
40
+ export function instanceOfCommonRichStruct(value: object): boolean {
41
+ return true;
42
+ }
43
+
44
+ export function CommonRichStructFromJSON(json: any): CommonRichStruct {
45
+ return CommonRichStructFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function CommonRichStructFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonRichStruct {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'fields': json['fields'] == null ? undefined : (mapValues(json['fields'], CommonRichValueFromJSON)),
55
+ };
56
+ }
57
+
58
+ export function CommonRichStructToJSON(value?: CommonRichStruct | null): any {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+
64
+ 'fields': value['fields'] == null ? undefined : (mapValues(value['fields'], CommonRichValueToJSON)),
65
+ };
66
+ }
67
+
@@ -0,0 +1,171 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sentio API
5
+ * Sentio Open API for query data
6
+ *
7
+ * The version of the OpenAPI document: version not set
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { CommonBigDecimal } from './CommonBigDecimal.js';
17
+ import {
18
+ CommonBigDecimalFromJSON,
19
+ CommonBigDecimalFromJSONTyped,
20
+ CommonBigDecimalToJSON,
21
+ } from './CommonBigDecimal.js';
22
+ import type { CommonBigInteger } from './CommonBigInteger.js';
23
+ import {
24
+ CommonBigIntegerFromJSON,
25
+ CommonBigIntegerFromJSONTyped,
26
+ CommonBigIntegerToJSON,
27
+ } from './CommonBigInteger.js';
28
+ import type { CommonRichStruct } from './CommonRichStruct.js';
29
+ import {
30
+ CommonRichStructFromJSON,
31
+ CommonRichStructFromJSONTyped,
32
+ CommonRichStructToJSON,
33
+ } from './CommonRichStruct.js';
34
+ import type { CommonRichValueList } from './CommonRichValueList.js';
35
+ import {
36
+ CommonRichValueListFromJSON,
37
+ CommonRichValueListFromJSONTyped,
38
+ CommonRichValueListToJSON,
39
+ } from './CommonRichValueList.js';
40
+ import type { CommonRichValueNullValue } from './CommonRichValueNullValue.js';
41
+ import {
42
+ CommonRichValueNullValueFromJSON,
43
+ CommonRichValueNullValueFromJSONTyped,
44
+ CommonRichValueNullValueToJSON,
45
+ } from './CommonRichValueNullValue.js';
46
+
47
+ /**
48
+ *
49
+ * @export
50
+ * @interface CommonRichValue
51
+ */
52
+ export interface CommonRichValue {
53
+ /**
54
+ *
55
+ * @type {CommonRichValueNullValue}
56
+ * @memberof CommonRichValue
57
+ */
58
+ nullValue?: CommonRichValueNullValue;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof CommonRichValue
63
+ */
64
+ intValue?: number;
65
+ /**
66
+ *
67
+ * @type {number}
68
+ * @memberof CommonRichValue
69
+ */
70
+ floatValue?: number;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof CommonRichValue
75
+ */
76
+ bytesValue?: string;
77
+ /**
78
+ *
79
+ * @type {boolean}
80
+ * @memberof CommonRichValue
81
+ */
82
+ boolValue?: boolean;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof CommonRichValue
87
+ */
88
+ stringValue?: string;
89
+ /**
90
+ *
91
+ * @type {Date}
92
+ * @memberof CommonRichValue
93
+ */
94
+ timestampValue?: Date;
95
+ /**
96
+ *
97
+ * @type {CommonBigInteger}
98
+ * @memberof CommonRichValue
99
+ */
100
+ bigintValue?: CommonBigInteger;
101
+ /**
102
+ *
103
+ * @type {CommonBigDecimal}
104
+ * @memberof CommonRichValue
105
+ */
106
+ bigdecimalValue?: CommonBigDecimal;
107
+ /**
108
+ *
109
+ * @type {CommonRichValueList}
110
+ * @memberof CommonRichValue
111
+ */
112
+ listValue?: CommonRichValueList;
113
+ /**
114
+ *
115
+ * @type {CommonRichStruct}
116
+ * @memberof CommonRichValue
117
+ */
118
+ structValue?: CommonRichStruct;
119
+ }
120
+
121
+ /**
122
+ * Check if a given object implements the CommonRichValue interface.
123
+ */
124
+ export function instanceOfCommonRichValue(value: object): boolean {
125
+ return true;
126
+ }
127
+
128
+ export function CommonRichValueFromJSON(json: any): CommonRichValue {
129
+ return CommonRichValueFromJSONTyped(json, false);
130
+ }
131
+
132
+ export function CommonRichValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonRichValue {
133
+ if (json == null) {
134
+ return json;
135
+ }
136
+ return {
137
+
138
+ 'nullValue': json['nullValue'] == null ? undefined : CommonRichValueNullValueFromJSON(json['nullValue']),
139
+ 'intValue': json['intValue'] == null ? undefined : json['intValue'],
140
+ 'floatValue': json['floatValue'] == null ? undefined : json['floatValue'],
141
+ 'bytesValue': json['bytesValue'] == null ? undefined : json['bytesValue'],
142
+ 'boolValue': json['boolValue'] == null ? undefined : json['boolValue'],
143
+ 'stringValue': json['stringValue'] == null ? undefined : json['stringValue'],
144
+ 'timestampValue': json['timestampValue'] == null ? undefined : (new Date(json['timestampValue'])),
145
+ 'bigintValue': json['bigintValue'] == null ? undefined : CommonBigIntegerFromJSON(json['bigintValue']),
146
+ 'bigdecimalValue': json['bigdecimalValue'] == null ? undefined : CommonBigDecimalFromJSON(json['bigdecimalValue']),
147
+ 'listValue': json['listValue'] == null ? undefined : CommonRichValueListFromJSON(json['listValue']),
148
+ 'structValue': json['structValue'] == null ? undefined : CommonRichStructFromJSON(json['structValue']),
149
+ };
150
+ }
151
+
152
+ export function CommonRichValueToJSON(value?: CommonRichValue | null): any {
153
+ if (value == null) {
154
+ return value;
155
+ }
156
+ return {
157
+
158
+ 'nullValue': CommonRichValueNullValueToJSON(value['nullValue']),
159
+ 'intValue': value['intValue'],
160
+ 'floatValue': value['floatValue'],
161
+ 'bytesValue': value['bytesValue'],
162
+ 'boolValue': value['boolValue'],
163
+ 'stringValue': value['stringValue'],
164
+ 'timestampValue': value['timestampValue'] == null ? undefined : ((value['timestampValue']).toISOString()),
165
+ 'bigintValue': CommonBigIntegerToJSON(value['bigintValue']),
166
+ 'bigdecimalValue': CommonBigDecimalToJSON(value['bigdecimalValue']),
167
+ 'listValue': CommonRichValueListToJSON(value['listValue']),
168
+ 'structValue': CommonRichStructToJSON(value['structValue']),
169
+ };
170
+ }
171
+
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sentio API
5
+ * Sentio Open API for query data
6
+ *
7
+ * The version of the OpenAPI document: version not set
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { CommonRichValue } from './CommonRichValue.js';
17
+ import {
18
+ CommonRichValueFromJSON,
19
+ CommonRichValueFromJSONTyped,
20
+ CommonRichValueToJSON,
21
+ } from './CommonRichValue.js';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface CommonRichValueList
27
+ */
28
+ export interface CommonRichValueList {
29
+ /**
30
+ *
31
+ * @type {Array<CommonRichValue>}
32
+ * @memberof CommonRichValueList
33
+ */
34
+ values?: Array<CommonRichValue>;
35
+ }
36
+
37
+ /**
38
+ * Check if a given object implements the CommonRichValueList interface.
39
+ */
40
+ export function instanceOfCommonRichValueList(value: object): boolean {
41
+ return true;
42
+ }
43
+
44
+ export function CommonRichValueListFromJSON(json: any): CommonRichValueList {
45
+ return CommonRichValueListFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function CommonRichValueListFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonRichValueList {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'values': json['values'] == null ? undefined : ((json['values'] as Array<any>).map(CommonRichValueFromJSON)),
55
+ };
56
+ }
57
+
58
+ export function CommonRichValueListToJSON(value?: CommonRichValueList | null): any {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+
64
+ 'values': value['values'] == null ? undefined : ((value['values'] as Array<any>).map(CommonRichValueToJSON)),
65
+ };
66
+ }
67
+
@@ -0,0 +1,41 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sentio API
5
+ * Sentio Open API for query data
6
+ *
7
+ * The version of the OpenAPI document: version not set
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const CommonRichValueNullValue = {
21
+ NullValue: 'NULL_VALUE'
22
+ } as const;
23
+ export type CommonRichValueNullValue = typeof CommonRichValueNullValue[keyof typeof CommonRichValueNullValue];
24
+
25
+
26
+ export function instanceOfCommonRichValueNullValue(value: any): boolean {
27
+ return Object.values(CommonRichValueNullValue).includes(value);
28
+ }
29
+
30
+ export function CommonRichValueNullValueFromJSON(json: any): CommonRichValueNullValue {
31
+ return CommonRichValueNullValueFromJSONTyped(json, false);
32
+ }
33
+
34
+ export function CommonRichValueNullValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonRichValueNullValue {
35
+ return json as CommonRichValueNullValue;
36
+ }
37
+
38
+ export function CommonRichValueNullValueToJSON(value?: CommonRichValueNullValue | null): any {
39
+ return value as any;
40
+ }
41
+
@@ -14,8 +14,7 @@
14
14
 
15
15
 
16
16
  /**
17
- * - GT: Numeric operators
18
- * - CONTAINS: String operators
17
+ *
19
18
  * @export
20
19
  */
21
20
  export const CommonSelectorOperatorType = {
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
16
  /**
17
- * The same to user but with sensitive data removed.
17
+ *
18
18
  * @export
19
19
  * @interface CommonUserInfo
20
20
  */
@@ -21,68 +21,25 @@ import {
21
21
  } from './GoogleProtobufAny.js';
22
22
 
23
23
  /**
24
- * Message that represents an arbitrary HTTP body. It should only be used for
25
- * payload formats that can't be represented as JSON, such as raw binary or
26
- * an HTML page.
27
24
  *
28
- *
29
- * This message can be used both in streaming and non-streaming API methods in
30
- * the request as well as the response.
31
- *
32
- * It can be used as a top-level request field, which is convenient if one
33
- * wants to extract parameters from either the URL or HTTP template into the
34
- * request fields and also want access to the raw HTTP body.
35
- *
36
- * Example:
37
- *
38
- * message GetResourceRequest {
39
- * // A unique request id.
40
- * string request_id = 1;
41
- *
42
- * // The raw HTTP body is bound to this field.
43
- * google.api.HttpBody http_body = 2;
44
- *
45
- * }
46
- *
47
- * service ResourceService {
48
- * rpc GetResource(GetResourceRequest)
49
- * returns (google.api.HttpBody);
50
- * rpc UpdateResource(google.api.HttpBody)
51
- * returns (google.protobuf.Empty);
52
- *
53
- * }
54
- *
55
- * Example with streaming methods:
56
- *
57
- * service CaldavService {
58
- * rpc GetCalendar(stream google.api.HttpBody)
59
- * returns (stream google.api.HttpBody);
60
- * rpc UpdateCalendar(stream google.api.HttpBody)
61
- * returns (stream google.api.HttpBody);
62
- *
63
- * }
64
- *
65
- * Use of this type only changes how the request and response bodies are
66
- * handled, all other features will continue to work unchanged.
67
25
  * @export
68
26
  * @interface GoogleApiHttpBody
69
27
  */
70
28
  export interface GoogleApiHttpBody {
71
29
  /**
72
- * The HTTP Content-Type header value specifying the content type of the body.
30
+ *
73
31
  * @type {string}
74
32
  * @memberof GoogleApiHttpBody
75
33
  */
76
34
  contentType?: string;
77
35
  /**
78
- * The HTTP request/response body as raw binary.
36
+ *
79
37
  * @type {string}
80
38
  * @memberof GoogleApiHttpBody
81
39
  */
82
40
  data?: string;
83
41
  /**
84
- * Application specific response metadata. Must be set in the first response
85
- * for streaming APIs.
42
+ *
86
43
  * @type {Array<GoogleProtobufAny>}
87
44
  * @memberof GoogleApiHttpBody
88
45
  */
@@ -17,7 +17,7 @@
17
17
  * `NullValue` is a singleton enumeration to represent the null value for the
18
18
  * `Value` type union.
19
19
  *
20
- * The JSON representation for `NullValue` is JSON `null`.
20
+ * The JSON representation for `NullValue` is JSON `null`.
21
21
  *
22
22
  * - NULL_VALUE: Null value.
23
23
  * @export
@@ -11,6 +11,8 @@ export * from './CommonAggregate.js';
11
11
  export * from './CommonAggregateAggregateOps.js';
12
12
  export * from './CommonAny.js';
13
13
  export * from './CommonArgument.js';
14
+ export * from './CommonBigDecimal.js';
15
+ export * from './CommonBigInteger.js';
14
16
  export * from './CommonCachePolicy.js';
15
17
  export * from './CommonChannel.js';
16
18
  export * from './CommonChannelType.js';
@@ -62,6 +64,10 @@ export * from './CommonRetentionQueryFilterTimeFilterType.js';
62
64
  export * from './CommonRetentionQueryInterval.js';
63
65
  export * from './CommonRetentionQueryIntervalUnit.js';
64
66
  export * from './CommonRetentionQueryResource.js';
67
+ export * from './CommonRichStruct.js';
68
+ export * from './CommonRichValue.js';
69
+ export * from './CommonRichValueList.js';
70
+ export * from './CommonRichValueNullValue.js';
65
71
  export * from './CommonSegmentParameter.js';
66
72
  export * from './CommonSegmentationQuery.js';
67
73
  export * from './CommonSegmentationQueryAggregation.js';