@technova-tech/olive-proto-lib 2.5.6 → 2.5.8
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/types/index.d.ts +19 -38
- package/accounts/accounts.js +0 -13207
- package/admin/admin.js +0 -6902
- package/audit/audit.js +0 -1024
- package/bills/bills.js +0 -2363
- package/business/business.js +0 -17668
- package/image/recognition.js +0 -456
- package/pos/transactions.js +0 -2084
- package/pos.v1/auth.js +0 -1179
- package/pos.v1/card-transactions.js +0 -2503
- package/pos.v1/eod.js +0 -2416
- package/pos.v1/merchants.js +0 -1552
- package/pos.v1/terminal-transactions.js +0 -4367
- package/pos.v1/terminal-types.js +0 -3888
- package/pos.v1/terminals.js +0 -33405
- package/pos.v1/transactions.js +0 -2918
- package/shared/response.js +0 -233
- package/storage/storage.js +0 -476
- package/terminal/terminal.js +0 -12583
- package/transfer/transfer.js +0 -3649
- package/types/accounts/accounts.d.ts +0 -4419
- package/types/admin/admin.d.ts +0 -2348
- package/types/audit/audit.d.ts +0 -333
- package/types/bills/bills.d.ts +0 -731
- package/types/business/business.d.ts +0 -8011
- package/types/image/recognition.d.ts +0 -147
- package/types/pos/transactions.d.ts +0 -667
- package/types/pos.v1/auth.d.ts +0 -374
- package/types/pos.v1/card-transactions.d.ts +0 -816
- package/types/pos.v1/eod.d.ts +0 -819
- package/types/pos.v1/merchants.d.ts +0 -566
- package/types/pos.v1/terminal-transactions.d.ts +0 -1543
- package/types/pos.v1/terminal-types.d.ts +0 -1215
- package/types/pos.v1/terminals.d.ts +0 -11376
- package/types/pos.v1/transactions.d.ts +0 -1057
- package/types/shared/response.d.ts +0 -65
- package/types/storage/storage.d.ts +0 -153
- package/types/terminal/terminal.d.ts +0 -5482
- package/types/transfer/transfer.d.ts +0 -1160
- package/types/users/users.d.ts +0 -4526
- package/types/verifications/verifications.d.ts +0 -3056
- package/users/users.js +0 -13303
- package/verifications/verifications.js +0 -8524
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import * as pb_1 from "google-protobuf";
|
|
3
|
-
import * as grpc_1 from "@grpc/grpc-js";
|
|
4
|
-
export declare namespace com.pkg.image {
|
|
5
|
-
export class ValidationErrors extends pb_1.Message {
|
|
6
|
-
#private;
|
|
7
|
-
constructor(data?: any[] | {
|
|
8
|
-
field?: string;
|
|
9
|
-
message?: string;
|
|
10
|
-
});
|
|
11
|
-
get field(): string;
|
|
12
|
-
set field(value: string);
|
|
13
|
-
get message(): string;
|
|
14
|
-
set message(value: string);
|
|
15
|
-
static fromObject(data: {
|
|
16
|
-
field?: string;
|
|
17
|
-
message?: string;
|
|
18
|
-
}): ValidationErrors;
|
|
19
|
-
toObject(): {
|
|
20
|
-
field?: string | undefined;
|
|
21
|
-
message?: string | undefined;
|
|
22
|
-
};
|
|
23
|
-
serialize(): Uint8Array;
|
|
24
|
-
serialize(w: pb_1.BinaryWriter): void;
|
|
25
|
-
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ValidationErrors;
|
|
26
|
-
serializeBinary(): Uint8Array;
|
|
27
|
-
static deserializeBinary(bytes: Uint8Array): ValidationErrors;
|
|
28
|
-
}
|
|
29
|
-
export class CompareFacesRequest extends pb_1.Message {
|
|
30
|
-
#private;
|
|
31
|
-
constructor(data?: any[] | {
|
|
32
|
-
first?: string;
|
|
33
|
-
second?: string;
|
|
34
|
-
});
|
|
35
|
-
get first(): string;
|
|
36
|
-
set first(value: string);
|
|
37
|
-
get second(): string;
|
|
38
|
-
set second(value: string);
|
|
39
|
-
static fromObject(data: {
|
|
40
|
-
first?: string;
|
|
41
|
-
second?: string;
|
|
42
|
-
}): CompareFacesRequest;
|
|
43
|
-
toObject(): {
|
|
44
|
-
first?: string | undefined;
|
|
45
|
-
second?: string | undefined;
|
|
46
|
-
};
|
|
47
|
-
serialize(): Uint8Array;
|
|
48
|
-
serialize(w: pb_1.BinaryWriter): void;
|
|
49
|
-
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): CompareFacesRequest;
|
|
50
|
-
serializeBinary(): Uint8Array;
|
|
51
|
-
static deserializeBinary(bytes: Uint8Array): CompareFacesRequest;
|
|
52
|
-
}
|
|
53
|
-
export class CompareFacesData extends pb_1.Message {
|
|
54
|
-
#private;
|
|
55
|
-
constructor(data?: any[] | {
|
|
56
|
-
similarity?: number;
|
|
57
|
-
});
|
|
58
|
-
get similarity(): number;
|
|
59
|
-
set similarity(value: number);
|
|
60
|
-
static fromObject(data: {
|
|
61
|
-
similarity?: number;
|
|
62
|
-
}): CompareFacesData;
|
|
63
|
-
toObject(): {
|
|
64
|
-
similarity?: number | undefined;
|
|
65
|
-
};
|
|
66
|
-
serialize(): Uint8Array;
|
|
67
|
-
serialize(w: pb_1.BinaryWriter): void;
|
|
68
|
-
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): CompareFacesData;
|
|
69
|
-
serializeBinary(): Uint8Array;
|
|
70
|
-
static deserializeBinary(bytes: Uint8Array): CompareFacesData;
|
|
71
|
-
}
|
|
72
|
-
export class CompareFacesResponse extends pb_1.Message {
|
|
73
|
-
#private;
|
|
74
|
-
constructor(data?: any[] | {
|
|
75
|
-
status?: string;
|
|
76
|
-
data?: CompareFacesData;
|
|
77
|
-
error?: string;
|
|
78
|
-
message?: string;
|
|
79
|
-
validationErrors?: ValidationErrors[];
|
|
80
|
-
success?: boolean;
|
|
81
|
-
});
|
|
82
|
-
get status(): string;
|
|
83
|
-
set status(value: string);
|
|
84
|
-
get data(): CompareFacesData;
|
|
85
|
-
set data(value: CompareFacesData);
|
|
86
|
-
get hasData(): boolean;
|
|
87
|
-
get error(): string;
|
|
88
|
-
set error(value: string);
|
|
89
|
-
get message(): string;
|
|
90
|
-
set message(value: string);
|
|
91
|
-
get validationErrors(): ValidationErrors[];
|
|
92
|
-
set validationErrors(value: ValidationErrors[]);
|
|
93
|
-
get success(): boolean;
|
|
94
|
-
set success(value: boolean);
|
|
95
|
-
static fromObject(data: {
|
|
96
|
-
status?: string;
|
|
97
|
-
data?: ReturnType<typeof CompareFacesData.prototype.toObject>;
|
|
98
|
-
error?: string;
|
|
99
|
-
message?: string;
|
|
100
|
-
validationErrors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
101
|
-
success?: boolean;
|
|
102
|
-
}): CompareFacesResponse;
|
|
103
|
-
toObject(): {
|
|
104
|
-
status?: string | undefined;
|
|
105
|
-
data?: {
|
|
106
|
-
similarity?: number | undefined;
|
|
107
|
-
} | undefined;
|
|
108
|
-
error?: string | undefined;
|
|
109
|
-
message?: string | undefined;
|
|
110
|
-
validationErrors?: {
|
|
111
|
-
field?: string | undefined;
|
|
112
|
-
message?: string | undefined;
|
|
113
|
-
}[] | undefined;
|
|
114
|
-
success?: boolean | undefined;
|
|
115
|
-
};
|
|
116
|
-
serialize(): Uint8Array;
|
|
117
|
-
serialize(w: pb_1.BinaryWriter): void;
|
|
118
|
-
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): CompareFacesResponse;
|
|
119
|
-
serializeBinary(): Uint8Array;
|
|
120
|
-
static deserializeBinary(bytes: Uint8Array): CompareFacesResponse;
|
|
121
|
-
}
|
|
122
|
-
interface GrpcPromiseServiceInterface<P, R> {
|
|
123
|
-
(message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
|
|
124
|
-
(message: P, options?: grpc_1.CallOptions): Promise<R>;
|
|
125
|
-
}
|
|
126
|
-
export abstract class UnimplementedImageRecognitionService {
|
|
127
|
-
static definition: {
|
|
128
|
-
CompareFaces: {
|
|
129
|
-
path: string;
|
|
130
|
-
requestStream: boolean;
|
|
131
|
-
responseStream: boolean;
|
|
132
|
-
requestSerialize: (message: CompareFacesRequest) => Buffer;
|
|
133
|
-
requestDeserialize: (bytes: Buffer) => CompareFacesRequest;
|
|
134
|
-
responseSerialize: (message: CompareFacesResponse) => Buffer;
|
|
135
|
-
responseDeserialize: (bytes: Buffer) => CompareFacesResponse;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
[method: string]: grpc_1.UntypedHandleCall;
|
|
139
|
-
abstract CompareFaces(call: grpc_1.ServerUnaryCall<CompareFacesRequest, CompareFacesResponse>, callback: grpc_1.sendUnaryData<CompareFacesResponse>): void;
|
|
140
|
-
}
|
|
141
|
-
const ImageRecognitionClient_base: grpc_1.ServiceClientConstructor;
|
|
142
|
-
export class ImageRecognitionClient extends ImageRecognitionClient_base {
|
|
143
|
-
constructor(address: string, credentials: grpc_1.ChannelCredentials, options?: Partial<grpc_1.ChannelOptions>);
|
|
144
|
-
CompareFaces: GrpcPromiseServiceInterface<CompareFacesRequest, CompareFacesResponse>;
|
|
145
|
-
}
|
|
146
|
-
export {};
|
|
147
|
-
}
|