@technova-tech/olive-proto-lib 2.0.8 → 2.0.9
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/accounts/accounts.js
CHANGED
|
@@ -10170,7 +10170,7 @@ var com;
|
|
|
10170
10170
|
}
|
|
10171
10171
|
account.FetchChargesRequest = FetchChargesRequest;
|
|
10172
10172
|
class ChargesData extends pb_1.Message {
|
|
10173
|
-
#one_of_decls = [];
|
|
10173
|
+
#one_of_decls = [[12]];
|
|
10174
10174
|
constructor(data) {
|
|
10175
10175
|
super();
|
|
10176
10176
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -10202,6 +10202,12 @@ var com;
|
|
|
10202
10202
|
if ("updatedAt" in data && data.updatedAt != undefined) {
|
|
10203
10203
|
this.updatedAt = data.updatedAt;
|
|
10204
10204
|
}
|
|
10205
|
+
if ("isGlobal" in data && data.isGlobal != undefined) {
|
|
10206
|
+
this.isGlobal = data.isGlobal;
|
|
10207
|
+
}
|
|
10208
|
+
if ("merchantId" in data && data.merchantId != undefined) {
|
|
10209
|
+
this.merchantId = data.merchantId;
|
|
10210
|
+
}
|
|
10205
10211
|
}
|
|
10206
10212
|
}
|
|
10207
10213
|
get id() {
|
|
@@ -10258,6 +10264,28 @@ var com;
|
|
|
10258
10264
|
set updatedAt(value) {
|
|
10259
10265
|
pb_1.Message.setField(this, 10, value);
|
|
10260
10266
|
}
|
|
10267
|
+
get isGlobal() {
|
|
10268
|
+
return pb_1.Message.getFieldWithDefault(this, 11, false);
|
|
10269
|
+
}
|
|
10270
|
+
set isGlobal(value) {
|
|
10271
|
+
pb_1.Message.setField(this, 11, value);
|
|
10272
|
+
}
|
|
10273
|
+
get merchantId() {
|
|
10274
|
+
return pb_1.Message.getFieldWithDefault(this, 12, "");
|
|
10275
|
+
}
|
|
10276
|
+
set merchantId(value) {
|
|
10277
|
+
pb_1.Message.setOneofField(this, 12, this.#one_of_decls[0], value);
|
|
10278
|
+
}
|
|
10279
|
+
get hasMerchantId() {
|
|
10280
|
+
return pb_1.Message.getField(this, 12) != null;
|
|
10281
|
+
}
|
|
10282
|
+
get _merchant_id() {
|
|
10283
|
+
const cases = {
|
|
10284
|
+
0: "none",
|
|
10285
|
+
12: "merchantId"
|
|
10286
|
+
};
|
|
10287
|
+
return cases[pb_1.Message.computeOneofCase(this, [12])];
|
|
10288
|
+
}
|
|
10261
10289
|
static fromObject(data) {
|
|
10262
10290
|
const message = new ChargesData({});
|
|
10263
10291
|
if (data.id != null) {
|
|
@@ -10287,6 +10315,12 @@ var com;
|
|
|
10287
10315
|
if (data.updatedAt != null) {
|
|
10288
10316
|
message.updatedAt = data.updatedAt;
|
|
10289
10317
|
}
|
|
10318
|
+
if (data.isGlobal != null) {
|
|
10319
|
+
message.isGlobal = data.isGlobal;
|
|
10320
|
+
}
|
|
10321
|
+
if (data.merchantId != null) {
|
|
10322
|
+
message.merchantId = data.merchantId;
|
|
10323
|
+
}
|
|
10290
10324
|
return message;
|
|
10291
10325
|
}
|
|
10292
10326
|
toObject() {
|
|
@@ -10318,6 +10352,12 @@ var com;
|
|
|
10318
10352
|
if (this.updatedAt != null) {
|
|
10319
10353
|
data.updatedAt = this.updatedAt;
|
|
10320
10354
|
}
|
|
10355
|
+
if (this.isGlobal != null) {
|
|
10356
|
+
data.isGlobal = this.isGlobal;
|
|
10357
|
+
}
|
|
10358
|
+
if (this.merchantId != null) {
|
|
10359
|
+
data.merchantId = this.merchantId;
|
|
10360
|
+
}
|
|
10321
10361
|
return data;
|
|
10322
10362
|
}
|
|
10323
10363
|
serialize(w) {
|
|
@@ -10340,6 +10380,10 @@ var com;
|
|
|
10340
10380
|
writer.writeString(9, this.createdAt);
|
|
10341
10381
|
if (this.updatedAt.length)
|
|
10342
10382
|
writer.writeString(10, this.updatedAt);
|
|
10383
|
+
if (this.isGlobal != false)
|
|
10384
|
+
writer.writeBool(11, this.isGlobal);
|
|
10385
|
+
if (this.hasMerchantId)
|
|
10386
|
+
writer.writeString(12, this.merchantId);
|
|
10343
10387
|
if (!w)
|
|
10344
10388
|
return writer.getResultBuffer();
|
|
10345
10389
|
}
|
|
@@ -10376,6 +10420,12 @@ var com;
|
|
|
10376
10420
|
case 10:
|
|
10377
10421
|
message.updatedAt = reader.readString();
|
|
10378
10422
|
break;
|
|
10423
|
+
case 11:
|
|
10424
|
+
message.isGlobal = reader.readBool();
|
|
10425
|
+
break;
|
|
10426
|
+
case 12:
|
|
10427
|
+
message.merchantId = reader.readString();
|
|
10428
|
+
break;
|
|
10379
10429
|
default: reader.skipField();
|
|
10380
10430
|
}
|
|
10381
10431
|
}
|
package/package.json
CHANGED
|
@@ -3313,7 +3313,7 @@ export declare namespace com.pkg.account {
|
|
|
3313
3313
|
}
|
|
3314
3314
|
export class ChargesData extends pb_1.Message {
|
|
3315
3315
|
#private;
|
|
3316
|
-
constructor(data?: any[] | {
|
|
3316
|
+
constructor(data?: any[] | ({
|
|
3317
3317
|
id?: string;
|
|
3318
3318
|
transactionType?: string;
|
|
3319
3319
|
chargeType?: string;
|
|
@@ -3323,7 +3323,10 @@ export declare namespace com.pkg.account {
|
|
|
3323
3323
|
active?: boolean;
|
|
3324
3324
|
createdAt?: string;
|
|
3325
3325
|
updatedAt?: string;
|
|
3326
|
-
|
|
3326
|
+
isGlobal?: boolean;
|
|
3327
|
+
} & (({
|
|
3328
|
+
merchantId?: string;
|
|
3329
|
+
}))));
|
|
3327
3330
|
get id(): string;
|
|
3328
3331
|
set id(value: string);
|
|
3329
3332
|
get transactionType(): string;
|
|
@@ -3342,6 +3345,12 @@ export declare namespace com.pkg.account {
|
|
|
3342
3345
|
set createdAt(value: string);
|
|
3343
3346
|
get updatedAt(): string;
|
|
3344
3347
|
set updatedAt(value: string);
|
|
3348
|
+
get isGlobal(): boolean;
|
|
3349
|
+
set isGlobal(value: boolean);
|
|
3350
|
+
get merchantId(): string;
|
|
3351
|
+
set merchantId(value: string);
|
|
3352
|
+
get hasMerchantId(): boolean;
|
|
3353
|
+
get _merchant_id(): "merchantId" | "none";
|
|
3345
3354
|
static fromObject(data: {
|
|
3346
3355
|
id?: string;
|
|
3347
3356
|
transactionType?: string;
|
|
@@ -3352,6 +3361,8 @@ export declare namespace com.pkg.account {
|
|
|
3352
3361
|
active?: boolean;
|
|
3353
3362
|
createdAt?: string;
|
|
3354
3363
|
updatedAt?: string;
|
|
3364
|
+
isGlobal?: boolean;
|
|
3365
|
+
merchantId?: string;
|
|
3355
3366
|
}): ChargesData;
|
|
3356
3367
|
toObject(): {
|
|
3357
3368
|
id?: string | undefined;
|
|
@@ -3363,6 +3374,8 @@ export declare namespace com.pkg.account {
|
|
|
3363
3374
|
active?: boolean | undefined;
|
|
3364
3375
|
createdAt?: string | undefined;
|
|
3365
3376
|
updatedAt?: string | undefined;
|
|
3377
|
+
isGlobal?: boolean | undefined;
|
|
3378
|
+
merchantId?: string | undefined;
|
|
3366
3379
|
};
|
|
3367
3380
|
serialize(): Uint8Array;
|
|
3368
3381
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -3413,6 +3426,8 @@ export declare namespace com.pkg.account {
|
|
|
3413
3426
|
active?: boolean | undefined;
|
|
3414
3427
|
createdAt?: string | undefined;
|
|
3415
3428
|
updatedAt?: string | undefined;
|
|
3429
|
+
isGlobal?: boolean | undefined;
|
|
3430
|
+
merchantId?: string | undefined;
|
|
3416
3431
|
} | undefined;
|
|
3417
3432
|
error?: string | undefined;
|
|
3418
3433
|
message?: string | undefined;
|
|
@@ -3475,6 +3490,8 @@ export declare namespace com.pkg.account {
|
|
|
3475
3490
|
active?: boolean | undefined;
|
|
3476
3491
|
createdAt?: string | undefined;
|
|
3477
3492
|
updatedAt?: string | undefined;
|
|
3493
|
+
isGlobal?: boolean | undefined;
|
|
3494
|
+
merchantId?: string | undefined;
|
|
3478
3495
|
}[] | undefined;
|
|
3479
3496
|
error?: string | undefined;
|
|
3480
3497
|
message?: string | undefined;
|
|
@@ -6296,7 +6296,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
6296
6296
|
get auditContext(): string;
|
|
6297
6297
|
set auditContext(value: string);
|
|
6298
6298
|
get _amount(): "amount" | "none";
|
|
6299
|
-
get _description(): "
|
|
6299
|
+
get _description(): "none" | "description";
|
|
6300
6300
|
get _is_active(): "none" | "isActive";
|
|
6301
6301
|
get _effective_date(): "none" | "effectiveDate";
|
|
6302
6302
|
get _expiry_date(): "none" | "expiryDate";
|
|
@@ -6804,7 +6804,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
6804
6804
|
get auditContext(): string;
|
|
6805
6805
|
set auditContext(value: string);
|
|
6806
6806
|
get _limit_amount(): "none" | "limitAmount";
|
|
6807
|
-
get _description(): "
|
|
6807
|
+
get _description(): "none" | "description";
|
|
6808
6808
|
get _is_active(): "none" | "isActive";
|
|
6809
6809
|
get _effective_date(): "none" | "effectiveDate";
|
|
6810
6810
|
get _expiry_date(): "none" | "expiryDate";
|
package/types/users/users.d.ts
CHANGED
|
@@ -864,10 +864,10 @@ export declare namespace com.pkg.user {
|
|
|
864
864
|
get isPinLocked(): boolean;
|
|
865
865
|
set isPinLocked(value: boolean);
|
|
866
866
|
get hasIsPinLocked(): boolean;
|
|
867
|
-
get _has_account(): "
|
|
868
|
-
get _completion_stage(): "
|
|
869
|
-
get _kyc_status(): "
|
|
870
|
-
get _is_pin_locked(): "
|
|
867
|
+
get _has_account(): "none" | "hasAccount";
|
|
868
|
+
get _completion_stage(): "none" | "completionStage";
|
|
869
|
+
get _kyc_status(): "none" | "kycStatus";
|
|
870
|
+
get _is_pin_locked(): "none" | "isPinLocked";
|
|
871
871
|
static fromObject(data: {
|
|
872
872
|
page?: number;
|
|
873
873
|
limit?: number;
|