Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xrc-inc/grpc-web

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xrc-inc/grpc-web - npm Package Compare versions

Comparing version 1.1.56 to 1.1.57

6

ecnova/api/marketplace/buy/v1/buy_proto/buy_pb_schema.js

@@ -1093,2 +1093,8 @@ "use strict";

},
productType: {
__type: schema.Types.TYPE_STRING,
},
collection: {
__type: schema.Types.TYPE_STRING,
},
});

@@ -1095,0 +1101,0 @@ schema.register(".xrc.ecnova.marketplace.buy.v1.AddProductToFavoriteRequest", {

10

ecnova/api/marketplace/membership/admin/loyaltyprogram/v1/loyaltyprogram_proto/loyaltyprogram_pb_schema.js

@@ -28,4 +28,12 @@ "use strict";

},
userSource: {
userSourcesList: {
__type: schema.Types.TYPE_MESSAGE,
__repeated: true,
__typeName: ".xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource",
__displayName: "用户源",
},
});
schema.register(".xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource", {
__type: schema.Types.TYPE_MESSAGE,
type: {
__oneOfItems: {

@@ -32,0 +40,0 @@ authConnection: {

54

ecnova/api/marketplace/membership/admin/loyaltyprogram/v1/loyaltyprogram_proto/loyaltyprogram_pb.d.ts

@@ -17,13 +17,7 @@ // package: xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1

hasAuthConnection(): boolean;
clearAuthConnection(): void;
getAuthConnection(): string;
setAuthConnection(value: string): void;
clearUserSourcesList(): void;
getUserSourcesList(): Array<LoyaltyProgram.UserSource>;
setUserSourcesList(value: Array<LoyaltyProgram.UserSource>): void;
addUserSources(value?: LoyaltyProgram.UserSource, index?: number): LoyaltyProgram.UserSource;
hasNamespace(): boolean;
clearNamespace(): void;
getNamespace(): string;
setNamespace(value: string): void;
getUserSourceCase(): LoyaltyProgram.UserSourceCase;
serializeBinary(): Uint8Array;

@@ -44,11 +38,39 @@ toObject(includeInstance?: boolean): LoyaltyProgram.AsObject;

description: string,
authConnection: string,
namespace: string,
userSourcesList: Array<LoyaltyProgram.UserSource.AsObject>,
}
export enum UserSourceCase {
USER_SOURCE_NOT_SET = 0,
AUTH_CONNECTION = 4,
NAMESPACE = 5,
export class UserSource extends jspb.Message {
hasAuthConnection(): boolean;
clearAuthConnection(): void;
getAuthConnection(): string;
setAuthConnection(value: string): void;
hasNamespace(): boolean;
clearNamespace(): void;
getNamespace(): string;
setNamespace(value: string): void;
getTypeCase(): UserSource.TypeCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UserSource.AsObject;
static toObject(includeInstance: boolean, msg: UserSource): UserSource.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: UserSource, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UserSource;
static deserializeBinaryFromReader(message: UserSource, reader: jspb.BinaryReader): UserSource;
}
export namespace UserSource {
export type AsObject = {
authConnection: string,
namespace: string,
}
export enum TypeCase {
TYPE_NOT_SET = 0,
AUTH_CONNECTION = 1,
NAMESPACE = 2,
}
}
}

@@ -55,0 +77,0 @@

@@ -19,2 +19,3 @@ /**

goog.exportSymbol('proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram', null, global);
goog.exportSymbol('proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource', null, global);
goog.exportSymbol('proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.UpdateLoyaltyProgramRequest', null, global);

@@ -33,3 +34,3 @@

proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.oneofGroups_);
jspb.Message.initialize(this, opt_data, 0, -1, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.repeatedFields_, null);
};

@@ -41,29 +42,10 @@ goog.inherits(proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram, jspb.Message);

/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* List of repeated fields within this message type.
* @private {!Array<number>}
* @const
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.oneofGroups_ = [[4,5]];
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.repeatedFields_ = [4];
/**
* @enum {number}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSourceCase = {
USER_SOURCE_NOT_SET: 0,
AUTH_CONNECTION: 4,
NAMESPACE: 5
};
/**
* @return {proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSourceCase}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getUserSourceCase = function() {
return /** @type {proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSourceCase} */(jspb.Message.computeOneofCase(this, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {

@@ -99,4 +81,4 @@ /**

description: jspb.Message.getFieldWithDefault(msg, 3, ""),
authConnection: jspb.Message.getFieldWithDefault(msg, 4, ""),
namespace: jspb.Message.getFieldWithDefault(msg, 5, "")
userSourcesList: jspb.Message.toObjectList(msg.getUserSourcesList(),
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.toObject, includeInstance)
};

@@ -151,9 +133,6 @@

case 4:
var value = /** @type {string} */ (reader.readString());
msg.setAuthConnection(value);
var value = new proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource;
reader.readMessage(value,proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.deserializeBinaryFromReader);
msg.addUserSources(value);
break;
case 5:
var value = /** @type {string} */ (reader.readString());
msg.setNamespace(value);
break;
default:

@@ -209,13 +188,172 @@ reader.skipField();

}
f = /** @type {string} */ (jspb.Message.getField(message, 4));
f = message.getUserSourcesList();
if (f.length > 0) {
writer.writeRepeatedMessage(
4,
f,
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.serializeBinaryToWriter
);
}
};
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.oneofGroups_);
};
goog.inherits(proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.displayName = 'proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource';
}
/**
* Oneof group definitions for this message. Each group defines the field
* numbers belonging to that group. When of these fields' value is set, all
* other fields in the group are cleared. During deserialization, if multiple
* fields are encountered for a group, only the last value seen will be kept.
* @private {!Array<!Array<number>>}
* @const
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.oneofGroups_ = [[1,2]];
/**
* @enum {number}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.TypeCase = {
TYPE_NOT_SET: 0,
AUTH_CONNECTION: 1,
NAMESPACE: 2
};
/**
* @return {proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.TypeCase}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.getTypeCase = function() {
return /** @type {proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.TypeCase} */(jspb.Message.computeOneofCase(this, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.oneofGroups_[0]));
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* @return {!Object}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.toObject = function(opt_includeInstance) {
return proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.toObject = function(includeInstance, msg) {
var f, obj = {
authConnection: jspb.Message.getFieldWithDefault(msg, 1, ""),
namespace: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource;
return proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setAuthConnection(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setNamespace(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = /** @type {string} */ (jspb.Message.getField(message, 1));
if (f != null) {
writer.writeString(
4,
1,
f
);
}
f = /** @type {string} */ (jspb.Message.getField(message, 5));
f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f != null) {
writer.writeString(
5,
2,
f

@@ -228,6 +366,6 @@ );

/**
* optional string name = 1;
* optional string auth_connection = 1;
* @return {string}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getName = function() {
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.getAuthConnection = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));

@@ -238,12 +376,26 @@ };

/** @param {string} value */
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setName = function(value) {
jspb.Message.setField(this, 1, value);
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.setAuthConnection = function(value) {
jspb.Message.setOneofField(this, 1, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.oneofGroups_[0], value);
};
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.clearAuthConnection = function() {
jspb.Message.setOneofField(this, 1, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.oneofGroups_[0], undefined);
};
/**
* optional string display_name = 2;
* Returns whether this field is set.
* @return {!boolean}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.hasAuthConnection = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string namespace = 2;
* @return {string}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getDisplayName = function() {
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.getNamespace = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));

@@ -254,19 +406,18 @@ };

/** @param {string} value */
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setDisplayName = function(value) {
jspb.Message.setField(this, 2, value);
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.setNamespace = function(value) {
jspb.Message.setOneofField(this, 2, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.oneofGroups_[0], value);
};
/**
* optional string description = 3;
* @return {string}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.clearNamespace = function() {
jspb.Message.setOneofField(this, 2, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.oneofGroups_[0], undefined);
};
/** @param {string} value */
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setDescription = function(value) {
jspb.Message.setField(this, 3, value);
/**
* Returns whether this field is set.
* @return {!boolean}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource.prototype.hasNamespace = function() {
return jspb.Message.getField(this, 2) != null;
};

@@ -276,7 +427,7 @@

/**
* optional string auth_connection = 4;
* optional string name = 1;
* @return {string}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getAuthConnection = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};

@@ -286,18 +437,19 @@

/** @param {string} value */
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setAuthConnection = function(value) {
jspb.Message.setOneofField(this, 4, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.oneofGroups_[0], value);
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setName = function(value) {
jspb.Message.setField(this, 1, value);
};
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.clearAuthConnection = function() {
jspb.Message.setOneofField(this, 4, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.oneofGroups_[0], undefined);
/**
* optional string display_name = 2;
* @return {string}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getDisplayName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* Returns whether this field is set.
* @return {!boolean}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.hasAuthConnection = function() {
return jspb.Message.getField(this, 4) != null;
/** @param {string} value */
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setDisplayName = function(value) {
jspb.Message.setField(this, 2, value);
};

@@ -307,7 +459,7 @@

/**
* optional string namespace = 5;
* optional string description = 3;
* @return {string}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getNamespace = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getDescription = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};

@@ -317,22 +469,39 @@

/** @param {string} value */
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setNamespace = function(value) {
jspb.Message.setOneofField(this, 5, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.oneofGroups_[0], value);
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setDescription = function(value) {
jspb.Message.setField(this, 3, value);
};
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.clearNamespace = function() {
jspb.Message.setOneofField(this, 5, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.oneofGroups_[0], undefined);
/**
* repeated UserSource user_sources = 4;
* @return {!Array.<!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource>}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.getUserSourcesList = function() {
return /** @type{!Array.<!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource>} */ (
jspb.Message.getRepeatedWrapperField(this, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource, 4));
};
/** @param {!Array.<!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource>} value */
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.setUserSourcesList = function(value) {
jspb.Message.setRepeatedWrapperField(this, 4, value);
};
/**
* Returns whether this field is set.
* @return {!boolean}
* @param {!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource=} opt_value
* @param {number=} opt_index
* @return {!proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource}
*/
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.hasNamespace = function() {
return jspb.Message.getField(this, 5) != null;
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.addUserSources = function(opt_value, opt_index) {
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.UserSource, opt_index);
};
proto.xrc.ecnova.marketplace.membership.admin.loyaltyprogram.v1.LoyaltyProgram.prototype.clearUserSourcesList = function() {
this.setUserSourcesList([]);
};
/**

@@ -339,0 +508,0 @@ * Generated by JsPbCodeGenerator.

@@ -303,10 +303,2 @@ import * as ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb from "../../../../../../ecnova/api/marketplace/merchants/v1/merchants_proto/merchants_pb";

}
class DeleteOrder {
static readonly methodName: string;
static readonly service: typeof MerchantsService;
static readonly requestStream: boolean;
static readonly responseStream: boolean;
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteOrderRequest;
static readonly responseType: typeof google_protobuf_empty_pb.Empty;
}
class AddLineItemsToOrder {

@@ -313,0 +305,0 @@ static readonly methodName: string;

@@ -352,11 +352,2 @@ "use strict";

MerchantsService.ConfirmOrder = ConfirmOrder;
class DeleteOrder {
}
DeleteOrder.methodName = "DeleteOrder";
DeleteOrder.service = MerchantsService;
DeleteOrder.requestStream = false;
DeleteOrder.responseStream = false;
DeleteOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteOrderRequest;
DeleteOrder.responseType = google_protobuf_empty_pb.Empty;
MerchantsService.DeleteOrder = DeleteOrder;
class AddLineItemsToOrder {

@@ -363,0 +354,0 @@ }

@@ -62,2 +62,7 @@ "use strict";

},
requestId: {
__type: schema.Types.TYPE_STRING,
__displayName: "请求编号",
__description: "请求编号,适配每个渠道对此参数的要求,必须在商户的系统内唯一",
},
failureCode: {

@@ -64,0 +69,0 @@ __type: schema.Types.TYPE_STRING,

@@ -40,2 +40,5 @@ // package: xrc.ecnova.pingpp.v1

getRequestId(): string;
setRequestId(value: string): void;
getFailureCode(): string;

@@ -131,2 +134,3 @@ setFailureCode(value: string): void;

channelTransaction: string,
requestId: string,
failureCode: string,

@@ -133,0 +137,0 @@ failureMsg: string,

{
"name": "@xrc-inc/grpc-web",
"version": "1.1.56",
"version": "1.1.57",
"description": "Javascript sdk of ecnova apis",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc