@aceplus/smartace-api 3.4.0-alpha.11 → 3.4.0-alpha.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.
- package/package.json +1 -1
- package/spic.asset_pb.d.ts +3 -3
- package/spic.asset_pb.js +6 -6
- package/spic.history_pb.d.ts +138 -0
- package/spic.history_pb.js +1100 -0
- package/spic.history_pb_service.d.ts +63 -0
- package/spic.history_pb_service.js +61 -0
package/package.json
CHANGED
package/spic.asset_pb.d.ts
CHANGED
|
@@ -489,8 +489,8 @@ export namespace AssetProto {
|
|
|
489
489
|
getComponentIdentifier(): ComponentIdentifierMap[keyof ComponentIdentifierMap];
|
|
490
490
|
setComponentIdentifier(value: ComponentIdentifierMap[keyof ComponentIdentifierMap]): void;
|
|
491
491
|
|
|
492
|
-
|
|
493
|
-
|
|
492
|
+
getComponentId(): string;
|
|
493
|
+
setComponentId(value: string): void;
|
|
494
494
|
|
|
495
495
|
getComponentClass(): string;
|
|
496
496
|
setComponentClass(value: string): void;
|
|
@@ -531,7 +531,7 @@ export namespace AssetProto {
|
|
|
531
531
|
export type AsObject = {
|
|
532
532
|
id: string,
|
|
533
533
|
componentIdentifier: ComponentIdentifierMap[keyof ComponentIdentifierMap],
|
|
534
|
-
|
|
534
|
+
componentId: string,
|
|
535
535
|
componentClass: string,
|
|
536
536
|
value: string,
|
|
537
537
|
lastChanged?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
package/spic.asset_pb.js
CHANGED
|
@@ -3396,7 +3396,7 @@ proto.Spic.AssetProto.ComponentState.toObject = function(includeInstance, msg) {
|
|
|
3396
3396
|
var f, obj = {
|
|
3397
3397
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3398
3398
|
componentIdentifier: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3399
|
-
|
|
3399
|
+
componentId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3400
3400
|
componentClass: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3401
3401
|
value: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3402
3402
|
lastChanged: (f = msg.getLastChanged()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
@@ -3450,7 +3450,7 @@ proto.Spic.AssetProto.ComponentState.deserializeBinaryFromReader = function(msg,
|
|
|
3450
3450
|
break;
|
|
3451
3451
|
case 3:
|
|
3452
3452
|
var value = /** @type {string} */ (reader.readString());
|
|
3453
|
-
msg.
|
|
3453
|
+
msg.setComponentId(value);
|
|
3454
3454
|
break;
|
|
3455
3455
|
case 4:
|
|
3456
3456
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -3530,7 +3530,7 @@ proto.Spic.AssetProto.ComponentState.serializeBinaryToWriter = function(message,
|
|
|
3530
3530
|
f
|
|
3531
3531
|
);
|
|
3532
3532
|
}
|
|
3533
|
-
f = message.
|
|
3533
|
+
f = message.getComponentId();
|
|
3534
3534
|
if (f.length > 0) {
|
|
3535
3535
|
writer.writeString(
|
|
3536
3536
|
3,
|
|
@@ -3623,10 +3623,10 @@ proto.Spic.AssetProto.ComponentState.prototype.setComponentIdentifier = function
|
|
|
3623
3623
|
|
|
3624
3624
|
|
|
3625
3625
|
/**
|
|
3626
|
-
* optional string
|
|
3626
|
+
* optional string component_id = 3;
|
|
3627
3627
|
* @return {string}
|
|
3628
3628
|
*/
|
|
3629
|
-
proto.Spic.AssetProto.ComponentState.prototype.
|
|
3629
|
+
proto.Spic.AssetProto.ComponentState.prototype.getComponentId = function() {
|
|
3630
3630
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3631
3631
|
};
|
|
3632
3632
|
|
|
@@ -3635,7 +3635,7 @@ proto.Spic.AssetProto.ComponentState.prototype.getDomain = function() {
|
|
|
3635
3635
|
* @param {string} value
|
|
3636
3636
|
* @return {!proto.Spic.AssetProto.ComponentState} returns this
|
|
3637
3637
|
*/
|
|
3638
|
-
proto.Spic.AssetProto.ComponentState.prototype.
|
|
3638
|
+
proto.Spic.AssetProto.ComponentState.prototype.setComponentId = function(value) {
|
|
3639
3639
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3640
3640
|
};
|
|
3641
3641
|
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// package: Spic
|
|
2
|
+
// file: spic.history.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
|
+
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
7
|
+
|
|
8
|
+
export class HistoryProto extends jspb.Message {
|
|
9
|
+
serializeBinary(): Uint8Array;
|
|
10
|
+
toObject(includeInstance?: boolean): HistoryProto.AsObject;
|
|
11
|
+
static toObject(includeInstance: boolean, msg: HistoryProto): HistoryProto.AsObject;
|
|
12
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
13
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
14
|
+
static serializeBinaryToWriter(message: HistoryProto, writer: jspb.BinaryWriter): void;
|
|
15
|
+
static deserializeBinary(bytes: Uint8Array): HistoryProto;
|
|
16
|
+
static deserializeBinaryFromReader(message: HistoryProto, reader: jspb.BinaryReader): HistoryProto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export namespace HistoryProto {
|
|
20
|
+
export type AsObject = {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export class StateSnapshot extends jspb.Message {
|
|
24
|
+
getValue(): string;
|
|
25
|
+
setValue(value: string): void;
|
|
26
|
+
|
|
27
|
+
getMetadataMap(): jspb.Map<string, string>;
|
|
28
|
+
clearMetadataMap(): void;
|
|
29
|
+
hasDateTime(): boolean;
|
|
30
|
+
clearDateTime(): void;
|
|
31
|
+
getDateTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
32
|
+
setDateTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
33
|
+
|
|
34
|
+
serializeBinary(): Uint8Array;
|
|
35
|
+
toObject(includeInstance?: boolean): StateSnapshot.AsObject;
|
|
36
|
+
static toObject(includeInstance: boolean, msg: StateSnapshot): StateSnapshot.AsObject;
|
|
37
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
38
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
39
|
+
static serializeBinaryToWriter(message: StateSnapshot, writer: jspb.BinaryWriter): void;
|
|
40
|
+
static deserializeBinary(bytes: Uint8Array): StateSnapshot;
|
|
41
|
+
static deserializeBinaryFromReader(message: StateSnapshot, reader: jspb.BinaryReader): StateSnapshot;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export namespace StateSnapshot {
|
|
45
|
+
export type AsObject = {
|
|
46
|
+
value: string,
|
|
47
|
+
metadataMap: Array<[string, string]>,
|
|
48
|
+
dateTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export class ComponentHistory extends jspb.Message {
|
|
53
|
+
clearStatesList(): void;
|
|
54
|
+
getStatesList(): Array<HistoryProto.StateSnapshot>;
|
|
55
|
+
setStatesList(value: Array<HistoryProto.StateSnapshot>): void;
|
|
56
|
+
addStates(value?: HistoryProto.StateSnapshot, index?: number): HistoryProto.StateSnapshot;
|
|
57
|
+
|
|
58
|
+
getComponentId(): string;
|
|
59
|
+
setComponentId(value: string): void;
|
|
60
|
+
|
|
61
|
+
getComponentClass(): string;
|
|
62
|
+
setComponentClass(value: string): void;
|
|
63
|
+
|
|
64
|
+
getAttributesMap(): jspb.Map<string, string>;
|
|
65
|
+
clearAttributesMap(): void;
|
|
66
|
+
serializeBinary(): Uint8Array;
|
|
67
|
+
toObject(includeInstance?: boolean): ComponentHistory.AsObject;
|
|
68
|
+
static toObject(includeInstance: boolean, msg: ComponentHistory): ComponentHistory.AsObject;
|
|
69
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
70
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
71
|
+
static serializeBinaryToWriter(message: ComponentHistory, writer: jspb.BinaryWriter): void;
|
|
72
|
+
static deserializeBinary(bytes: Uint8Array): ComponentHistory;
|
|
73
|
+
static deserializeBinaryFromReader(message: ComponentHistory, reader: jspb.BinaryReader): ComponentHistory;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export namespace ComponentHistory {
|
|
77
|
+
export type AsObject = {
|
|
78
|
+
statesList: Array<HistoryProto.StateSnapshot.AsObject>,
|
|
79
|
+
componentId: string,
|
|
80
|
+
componentClass: string,
|
|
81
|
+
attributesMap: Array<[string, string]>,
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class SearchRequest extends jspb.Message {
|
|
86
|
+
clearComponentIdList(): void;
|
|
87
|
+
getComponentIdList(): Array<string>;
|
|
88
|
+
setComponentIdList(value: Array<string>): void;
|
|
89
|
+
addComponentId(value: string, index?: number): string;
|
|
90
|
+
|
|
91
|
+
hasDateFrom(): boolean;
|
|
92
|
+
clearDateFrom(): void;
|
|
93
|
+
getDateFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
94
|
+
setDateFrom(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
95
|
+
|
|
96
|
+
hasDateTo(): boolean;
|
|
97
|
+
clearDateTo(): void;
|
|
98
|
+
getDateTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
99
|
+
setDateTo(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
100
|
+
|
|
101
|
+
serializeBinary(): Uint8Array;
|
|
102
|
+
toObject(includeInstance?: boolean): SearchRequest.AsObject;
|
|
103
|
+
static toObject(includeInstance: boolean, msg: SearchRequest): SearchRequest.AsObject;
|
|
104
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
105
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
106
|
+
static serializeBinaryToWriter(message: SearchRequest, writer: jspb.BinaryWriter): void;
|
|
107
|
+
static deserializeBinary(bytes: Uint8Array): SearchRequest;
|
|
108
|
+
static deserializeBinaryFromReader(message: SearchRequest, reader: jspb.BinaryReader): SearchRequest;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export namespace SearchRequest {
|
|
112
|
+
export type AsObject = {
|
|
113
|
+
componentIdList: Array<string>,
|
|
114
|
+
dateFrom?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
115
|
+
dateTo?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export class SearchReply extends jspb.Message {
|
|
120
|
+
getComponentsMap(): jspb.Map<string, HistoryProto.ComponentHistory>;
|
|
121
|
+
clearComponentsMap(): void;
|
|
122
|
+
serializeBinary(): Uint8Array;
|
|
123
|
+
toObject(includeInstance?: boolean): SearchReply.AsObject;
|
|
124
|
+
static toObject(includeInstance: boolean, msg: SearchReply): SearchReply.AsObject;
|
|
125
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
126
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
127
|
+
static serializeBinaryToWriter(message: SearchReply, writer: jspb.BinaryWriter): void;
|
|
128
|
+
static deserializeBinary(bytes: Uint8Array): SearchReply;
|
|
129
|
+
static deserializeBinaryFromReader(message: SearchReply, reader: jspb.BinaryReader): SearchReply;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export namespace SearchReply {
|
|
133
|
+
export type AsObject = {
|
|
134
|
+
componentsMap: Array<[string, HistoryProto.ComponentHistory.AsObject]>,
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|