@sniipwebmaster/payment-methods-client-grpcweb-ts 25.10.7234 → 25.11.7253
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/dependancies/service_pb.d.ts +27 -0
- package/dependancies/service_pb.js +123 -2
- package/package.json +1 -1
|
@@ -629,6 +629,14 @@ export class PaytoBankAccount extends jspb.Message {
|
|
|
629
629
|
getMaxamount(): number;
|
|
630
630
|
setMaxamount(value: number): PaytoBankAccount;
|
|
631
631
|
|
|
632
|
+
getBankaccountvalidationdetailstext(): string;
|
|
633
|
+
setBankaccountvalidationdetailstext(value: string): PaytoBankAccount;
|
|
634
|
+
hasBankaccountvalidationdetailstext(): boolean;
|
|
635
|
+
clearBankaccountvalidationdetailstext(): PaytoBankAccount;
|
|
636
|
+
|
|
637
|
+
getPaytoagreementstatus(): PayToAgreementStatus;
|
|
638
|
+
setPaytoagreementstatus(value: PayToAgreementStatus): PaytoBankAccount;
|
|
639
|
+
|
|
632
640
|
serializeBinary(): Uint8Array;
|
|
633
641
|
toObject(includeInstance?: boolean): PaytoBankAccount.AsObject;
|
|
634
642
|
static toObject(includeInstance: boolean, msg: PaytoBankAccount): PaytoBankAccount.AsObject;
|
|
@@ -653,12 +661,19 @@ export namespace PaytoBankAccount {
|
|
|
653
661
|
bankaccountstatus?: BankAccountStatus,
|
|
654
662
|
colourscheme?: ColourScheme.AsObject,
|
|
655
663
|
maxamount: number,
|
|
664
|
+
bankaccountvalidationdetailstext?: string,
|
|
665
|
+
paytoagreementstatus: PayToAgreementStatus,
|
|
656
666
|
}
|
|
657
667
|
|
|
658
668
|
export enum BankaccountstatusCase {
|
|
659
669
|
_BANKACCOUNTSTATUS_NOT_SET = 0,
|
|
660
670
|
BANKACCOUNTSTATUS = 13,
|
|
661
671
|
}
|
|
672
|
+
|
|
673
|
+
export enum BankaccountvalidationdetailstextCase {
|
|
674
|
+
_BANKACCOUNTVALIDATIONDETAILSTEXT_NOT_SET = 0,
|
|
675
|
+
BANKACCOUNTVALIDATIONDETAILSTEXT = 16,
|
|
676
|
+
}
|
|
662
677
|
}
|
|
663
678
|
|
|
664
679
|
export class BankAccountVerifyRequest extends jspb.Message {
|
|
@@ -2696,6 +2711,9 @@ export class UpdatePaytoBankAccount extends jspb.Message {
|
|
|
2696
2711
|
getColourscheme(): number;
|
|
2697
2712
|
setColourscheme(value: number): UpdatePaytoBankAccount;
|
|
2698
2713
|
|
|
2714
|
+
getMaxamount(): number;
|
|
2715
|
+
setMaxamount(value: number): UpdatePaytoBankAccount;
|
|
2716
|
+
|
|
2699
2717
|
serializeBinary(): Uint8Array;
|
|
2700
2718
|
toObject(includeInstance?: boolean): UpdatePaytoBankAccount.AsObject;
|
|
2701
2719
|
static toObject(includeInstance: boolean, msg: UpdatePaytoBankAccount): UpdatePaytoBankAccount.AsObject;
|
|
@@ -2708,6 +2726,7 @@ export namespace UpdatePaytoBankAccount {
|
|
|
2708
2726
|
export type AsObject = {
|
|
2709
2727
|
nickname: string,
|
|
2710
2728
|
colourscheme: number,
|
|
2729
|
+
maxamount: number,
|
|
2711
2730
|
}
|
|
2712
2731
|
}
|
|
2713
2732
|
|
|
@@ -3395,6 +3414,14 @@ export enum BankAccountStatus {
|
|
|
3395
3414
|
BANK_ACCOUNT_STATUS_VERIFY_UNAVAILABLE = 4,
|
|
3396
3415
|
BANK_ACCOUNT_STATUS_MANUAL_BANK_DEPOSIT = 5,
|
|
3397
3416
|
}
|
|
3417
|
+
export enum PayToAgreementStatus {
|
|
3418
|
+
PAYTO_AGREEMENT_STATUS_UNKNOWN = 0,
|
|
3419
|
+
PAYTO_AGREEMENT_STATUS_ACTIVE = 1,
|
|
3420
|
+
PAYTO_AGREEMENT_STATUS_DECLINED = 2,
|
|
3421
|
+
PAYTO_AGREEMENT_STATUS_EXPIRED = 3,
|
|
3422
|
+
PAYTO_AGREEMENT_STATUS_SUSPENDED = 4,
|
|
3423
|
+
PAYTO_AGREEMENT_STATUS_PENDING = 5,
|
|
3424
|
+
}
|
|
3398
3425
|
export enum PaymentProcessor {
|
|
3399
3426
|
BPAY = 0,
|
|
3400
3427
|
SME = 1,
|
|
@@ -82,6 +82,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.OperationsRequestBankAcco
|
|
|
82
82
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.OperationsRequestBankAccountAgreementResponse', null, global);
|
|
83
83
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.OperationsVerifyBsbAccountRequest', null, global);
|
|
84
84
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.OperationsVerifyBsbAccountResponse', null, global);
|
|
85
|
+
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayToAgreementStatus', null, global);
|
|
85
86
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayerAuthenticationRequest', null, global);
|
|
86
87
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PayerAuthenticationResponse', null, global);
|
|
87
88
|
goog.exportSymbol('proto.sniippaymentmethodsserviceapi.PaymentMethod', null, global);
|
|
@@ -6695,7 +6696,9 @@ proto.sniippaymentmethodsserviceapi.PaytoBankAccount.toObject = function(include
|
|
|
6695
6696
|
isdeleted: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
6696
6697
|
bankaccountstatus: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
6697
6698
|
colourscheme: (f = msg.getColourscheme()) && proto.sniippaymentmethodsserviceapi.ColourScheme.toObject(includeInstance, f),
|
|
6698
|
-
maxamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0)
|
|
6699
|
+
maxamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
6700
|
+
bankaccountvalidationdetailstext: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
6701
|
+
paytoagreementstatus: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
6699
6702
|
};
|
|
6700
6703
|
|
|
6701
6704
|
if (includeInstance) {
|
|
@@ -6789,6 +6792,14 @@ proto.sniippaymentmethodsserviceapi.PaytoBankAccount.deserializeBinaryFromReader
|
|
|
6789
6792
|
var value = /** @type {number} */ (reader.readDouble());
|
|
6790
6793
|
msg.setMaxamount(value);
|
|
6791
6794
|
break;
|
|
6795
|
+
case 16:
|
|
6796
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6797
|
+
msg.setBankaccountvalidationdetailstext(value);
|
|
6798
|
+
break;
|
|
6799
|
+
case 17:
|
|
6800
|
+
var value = /** @type {!proto.sniippaymentmethodsserviceapi.PayToAgreementStatus} */ (reader.readEnum());
|
|
6801
|
+
msg.setPaytoagreementstatus(value);
|
|
6802
|
+
break;
|
|
6792
6803
|
default:
|
|
6793
6804
|
reader.skipField();
|
|
6794
6805
|
break;
|
|
@@ -6917,6 +6928,20 @@ proto.sniippaymentmethodsserviceapi.PaytoBankAccount.serializeBinaryToWriter = f
|
|
|
6917
6928
|
f
|
|
6918
6929
|
);
|
|
6919
6930
|
}
|
|
6931
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
6932
|
+
if (f != null) {
|
|
6933
|
+
writer.writeString(
|
|
6934
|
+
16,
|
|
6935
|
+
f
|
|
6936
|
+
);
|
|
6937
|
+
}
|
|
6938
|
+
f = message.getPaytoagreementstatus();
|
|
6939
|
+
if (f !== 0.0) {
|
|
6940
|
+
writer.writeEnum(
|
|
6941
|
+
17,
|
|
6942
|
+
f
|
|
6943
|
+
);
|
|
6944
|
+
}
|
|
6920
6945
|
};
|
|
6921
6946
|
|
|
6922
6947
|
|
|
@@ -7209,6 +7234,60 @@ proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setMaxamount = fu
|
|
|
7209
7234
|
};
|
|
7210
7235
|
|
|
7211
7236
|
|
|
7237
|
+
/**
|
|
7238
|
+
* optional string bankAccountValidationDetailsText = 16;
|
|
7239
|
+
* @return {string}
|
|
7240
|
+
*/
|
|
7241
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getBankaccountvalidationdetailstext = function() {
|
|
7242
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
7243
|
+
};
|
|
7244
|
+
|
|
7245
|
+
|
|
7246
|
+
/**
|
|
7247
|
+
* @param {string} value
|
|
7248
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7249
|
+
*/
|
|
7250
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setBankaccountvalidationdetailstext = function(value) {
|
|
7251
|
+
return jspb.Message.setField(this, 16, value);
|
|
7252
|
+
};
|
|
7253
|
+
|
|
7254
|
+
|
|
7255
|
+
/**
|
|
7256
|
+
* Clears the field making it undefined.
|
|
7257
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7258
|
+
*/
|
|
7259
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.clearBankaccountvalidationdetailstext = function() {
|
|
7260
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
7261
|
+
};
|
|
7262
|
+
|
|
7263
|
+
|
|
7264
|
+
/**
|
|
7265
|
+
* Returns whether this field is set.
|
|
7266
|
+
* @return {boolean}
|
|
7267
|
+
*/
|
|
7268
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.hasBankaccountvalidationdetailstext = function() {
|
|
7269
|
+
return jspb.Message.getField(this, 16) != null;
|
|
7270
|
+
};
|
|
7271
|
+
|
|
7272
|
+
|
|
7273
|
+
/**
|
|
7274
|
+
* optional PayToAgreementStatus payToAgreementStatus = 17;
|
|
7275
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PayToAgreementStatus}
|
|
7276
|
+
*/
|
|
7277
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.getPaytoagreementstatus = function() {
|
|
7278
|
+
return /** @type {!proto.sniippaymentmethodsserviceapi.PayToAgreementStatus} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
7279
|
+
};
|
|
7280
|
+
|
|
7281
|
+
|
|
7282
|
+
/**
|
|
7283
|
+
* @param {!proto.sniippaymentmethodsserviceapi.PayToAgreementStatus} value
|
|
7284
|
+
* @return {!proto.sniippaymentmethodsserviceapi.PaytoBankAccount} returns this
|
|
7285
|
+
*/
|
|
7286
|
+
proto.sniippaymentmethodsserviceapi.PaytoBankAccount.prototype.setPaytoagreementstatus = function(value) {
|
|
7287
|
+
return jspb.Message.setProto3EnumField(this, 17, value);
|
|
7288
|
+
};
|
|
7289
|
+
|
|
7290
|
+
|
|
7212
7291
|
|
|
7213
7292
|
|
|
7214
7293
|
|
|
@@ -22636,7 +22715,8 @@ proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.toObject =
|
|
|
22636
22715
|
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.toObject = function(includeInstance, msg) {
|
|
22637
22716
|
var f, obj = {
|
|
22638
22717
|
nickname: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
22639
|
-
colourscheme: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
22718
|
+
colourscheme: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22719
|
+
maxamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
|
|
22640
22720
|
};
|
|
22641
22721
|
|
|
22642
22722
|
if (includeInstance) {
|
|
@@ -22681,6 +22761,10 @@ proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.deserializeBinaryFrom
|
|
|
22681
22761
|
var value = /** @type {number} */ (reader.readInt64());
|
|
22682
22762
|
msg.setColourscheme(value);
|
|
22683
22763
|
break;
|
|
22764
|
+
case 3:
|
|
22765
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
22766
|
+
msg.setMaxamount(value);
|
|
22767
|
+
break;
|
|
22684
22768
|
default:
|
|
22685
22769
|
reader.skipField();
|
|
22686
22770
|
break;
|
|
@@ -22724,6 +22808,13 @@ proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.serializeBinaryToWrit
|
|
|
22724
22808
|
f
|
|
22725
22809
|
);
|
|
22726
22810
|
}
|
|
22811
|
+
f = message.getMaxamount();
|
|
22812
|
+
if (f !== 0.0) {
|
|
22813
|
+
writer.writeDouble(
|
|
22814
|
+
3,
|
|
22815
|
+
f
|
|
22816
|
+
);
|
|
22817
|
+
}
|
|
22727
22818
|
};
|
|
22728
22819
|
|
|
22729
22820
|
|
|
@@ -22763,6 +22854,24 @@ proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.setColoursc
|
|
|
22763
22854
|
};
|
|
22764
22855
|
|
|
22765
22856
|
|
|
22857
|
+
/**
|
|
22858
|
+
* optional double maxAmount = 3;
|
|
22859
|
+
* @return {number}
|
|
22860
|
+
*/
|
|
22861
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.getMaxamount = function() {
|
|
22862
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
22863
|
+
};
|
|
22864
|
+
|
|
22865
|
+
|
|
22866
|
+
/**
|
|
22867
|
+
* @param {number} value
|
|
22868
|
+
* @return {!proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount} returns this
|
|
22869
|
+
*/
|
|
22870
|
+
proto.sniippaymentmethodsserviceapi.UpdatePaytoBankAccount.prototype.setMaxamount = function(value) {
|
|
22871
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
22872
|
+
};
|
|
22873
|
+
|
|
22874
|
+
|
|
22766
22875
|
|
|
22767
22876
|
|
|
22768
22877
|
|
|
@@ -27810,6 +27919,18 @@ proto.sniippaymentmethodsserviceapi.BankAccountStatus = {
|
|
|
27810
27919
|
BANK_ACCOUNT_STATUS_MANUAL_BANK_DEPOSIT: 5
|
|
27811
27920
|
};
|
|
27812
27921
|
|
|
27922
|
+
/**
|
|
27923
|
+
* @enum {number}
|
|
27924
|
+
*/
|
|
27925
|
+
proto.sniippaymentmethodsserviceapi.PayToAgreementStatus = {
|
|
27926
|
+
PAYTO_AGREEMENT_STATUS_UNKNOWN: 0,
|
|
27927
|
+
PAYTO_AGREEMENT_STATUS_ACTIVE: 1,
|
|
27928
|
+
PAYTO_AGREEMENT_STATUS_DECLINED: 2,
|
|
27929
|
+
PAYTO_AGREEMENT_STATUS_EXPIRED: 3,
|
|
27930
|
+
PAYTO_AGREEMENT_STATUS_SUSPENDED: 4,
|
|
27931
|
+
PAYTO_AGREEMENT_STATUS_PENDING: 5
|
|
27932
|
+
};
|
|
27933
|
+
|
|
27813
27934
|
/**
|
|
27814
27935
|
* @enum {number}
|
|
27815
27936
|
*/
|