clarifai-web-grpc 11.8.0 → 11.8.2
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/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.8.
|
|
1
|
+
11.8.2
|
|
@@ -21483,7 +21483,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21483
21483
|
appsList: jspb.Message.toObjectList(msg.getAppsList(), proto.clarifai.api.App.toObject, includeInstance),
|
|
21484
21484
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21485
21485
|
expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21486
|
-
authorizedIdpIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
21486
|
+
authorizedIdpIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
21487
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
21487
21488
|
};
|
|
21488
21489
|
if (includeInstance) {
|
|
21489
21490
|
obj.$jspbMessageInstance = msg;
|
|
@@ -21554,6 +21555,10 @@ proto.clarifai.api.Key.deserializeBinaryFromReader = function (msg, reader) {
|
|
|
21554
21555
|
var value = /** @type {string} */ (reader.readString());
|
|
21555
21556
|
msg.addAuthorizedIdpIds(value);
|
|
21556
21557
|
break;
|
|
21558
|
+
case 10:
|
|
21559
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21560
|
+
msg.setOrganizationId(value);
|
|
21561
|
+
break;
|
|
21557
21562
|
default:
|
|
21558
21563
|
reader.skipField();
|
|
21559
21564
|
break;
|
|
@@ -21615,6 +21620,10 @@ proto.clarifai.api.Key.serializeBinaryToWriter = function (message, writer) {
|
|
|
21615
21620
|
if (f.length > 0) {
|
|
21616
21621
|
writer.writeRepeatedString(9, f);
|
|
21617
21622
|
}
|
|
21623
|
+
f = message.getOrganizationId();
|
|
21624
|
+
if (f.length > 0) {
|
|
21625
|
+
writer.writeString(10, f);
|
|
21626
|
+
}
|
|
21618
21627
|
};
|
|
21619
21628
|
/**
|
|
21620
21629
|
* optional string id = 1;
|
|
@@ -21830,6 +21839,20 @@ proto.clarifai.api.Key.prototype.addAuthorizedIdpIds = function (value, opt_inde
|
|
|
21830
21839
|
proto.clarifai.api.Key.prototype.clearAuthorizedIdpIdsList = function () {
|
|
21831
21840
|
return this.setAuthorizedIdpIdsList([]);
|
|
21832
21841
|
};
|
|
21842
|
+
/**
|
|
21843
|
+
* optional string organization_id = 10;
|
|
21844
|
+
* @return {string}
|
|
21845
|
+
*/
|
|
21846
|
+
proto.clarifai.api.Key.prototype.getOrganizationId = function () {
|
|
21847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
21848
|
+
};
|
|
21849
|
+
/**
|
|
21850
|
+
* @param {string} value
|
|
21851
|
+
* @return {!proto.clarifai.api.Key} returns this
|
|
21852
|
+
*/
|
|
21853
|
+
proto.clarifai.api.Key.prototype.setOrganizationId = function (value) {
|
|
21854
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
21855
|
+
};
|
|
21833
21856
|
/**
|
|
21834
21857
|
* List of repeated fields within this message type.
|
|
21835
21858
|
* @private {!Array<number>}
|
|
@@ -21483,7 +21483,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21483
21483
|
appsList: jspb.Message.toObjectList(msg.getAppsList(), proto.clarifai.api.App.toObject, includeInstance),
|
|
21484
21484
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21485
21485
|
expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21486
|
-
authorizedIdpIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
21486
|
+
authorizedIdpIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
21487
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
21487
21488
|
};
|
|
21488
21489
|
if (includeInstance) {
|
|
21489
21490
|
obj.$jspbMessageInstance = msg;
|
|
@@ -21554,6 +21555,10 @@ proto.clarifai.api.Key.deserializeBinaryFromReader = function (msg, reader) {
|
|
|
21554
21555
|
var value = /** @type {string} */ (reader.readString());
|
|
21555
21556
|
msg.addAuthorizedIdpIds(value);
|
|
21556
21557
|
break;
|
|
21558
|
+
case 10:
|
|
21559
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21560
|
+
msg.setOrganizationId(value);
|
|
21561
|
+
break;
|
|
21557
21562
|
default:
|
|
21558
21563
|
reader.skipField();
|
|
21559
21564
|
break;
|
|
@@ -21615,6 +21620,10 @@ proto.clarifai.api.Key.serializeBinaryToWriter = function (message, writer) {
|
|
|
21615
21620
|
if (f.length > 0) {
|
|
21616
21621
|
writer.writeRepeatedString(9, f);
|
|
21617
21622
|
}
|
|
21623
|
+
f = message.getOrganizationId();
|
|
21624
|
+
if (f.length > 0) {
|
|
21625
|
+
writer.writeString(10, f);
|
|
21626
|
+
}
|
|
21618
21627
|
};
|
|
21619
21628
|
/**
|
|
21620
21629
|
* optional string id = 1;
|
|
@@ -21830,6 +21839,20 @@ proto.clarifai.api.Key.prototype.addAuthorizedIdpIds = function (value, opt_inde
|
|
|
21830
21839
|
proto.clarifai.api.Key.prototype.clearAuthorizedIdpIdsList = function () {
|
|
21831
21840
|
return this.setAuthorizedIdpIdsList([]);
|
|
21832
21841
|
};
|
|
21842
|
+
/**
|
|
21843
|
+
* optional string organization_id = 10;
|
|
21844
|
+
* @return {string}
|
|
21845
|
+
*/
|
|
21846
|
+
proto.clarifai.api.Key.prototype.getOrganizationId = function () {
|
|
21847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
21848
|
+
};
|
|
21849
|
+
/**
|
|
21850
|
+
* @param {string} value
|
|
21851
|
+
* @return {!proto.clarifai.api.Key} returns this
|
|
21852
|
+
*/
|
|
21853
|
+
proto.clarifai.api.Key.prototype.setOrganizationId = function (value) {
|
|
21854
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
21855
|
+
};
|
|
21833
21856
|
/**
|
|
21834
21857
|
* List of repeated fields within this message type.
|
|
21835
21858
|
* @private {!Array<number>}
|
package/package.json
CHANGED
|
@@ -2626,6 +2626,9 @@ export class Key extends jspb.Message {
|
|
|
2626
2626
|
clearAuthorizedIdpIdsList(): Key;
|
|
2627
2627
|
addAuthorizedIdpIds(value: string, index?: number): Key;
|
|
2628
2628
|
|
|
2629
|
+
getOrganizationId(): string;
|
|
2630
|
+
setOrganizationId(value: string): Key;
|
|
2631
|
+
|
|
2629
2632
|
serializeBinary(): Uint8Array;
|
|
2630
2633
|
toObject(includeInstance?: boolean): Key.AsObject;
|
|
2631
2634
|
static toObject(includeInstance: boolean, msg: Key): Key.AsObject;
|
|
@@ -2645,6 +2648,7 @@ export namespace Key {
|
|
|
2645
2648
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
2646
2649
|
expiresAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
2647
2650
|
authorizedIdpIdsList: Array<string>,
|
|
2651
|
+
organizationId: string,
|
|
2648
2652
|
}
|
|
2649
2653
|
}
|
|
2650
2654
|
|
|
@@ -25819,7 +25819,8 @@ proto.clarifai.api.Key.toObject = function(includeInstance, msg) {
|
|
|
25819
25819
|
proto.clarifai.api.App.toObject, includeInstance),
|
|
25820
25820
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
25821
25821
|
expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
25822
|
-
authorizedIdpIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
25822
|
+
authorizedIdpIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
25823
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
25823
25824
|
};
|
|
25824
25825
|
|
|
25825
25826
|
if (includeInstance) {
|
|
@@ -25895,6 +25896,10 @@ proto.clarifai.api.Key.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
25895
25896
|
var value = /** @type {string} */ (reader.readString());
|
|
25896
25897
|
msg.addAuthorizedIdpIds(value);
|
|
25897
25898
|
break;
|
|
25899
|
+
case 10:
|
|
25900
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25901
|
+
msg.setOrganizationId(value);
|
|
25902
|
+
break;
|
|
25898
25903
|
default:
|
|
25899
25904
|
reader.skipField();
|
|
25900
25905
|
break;
|
|
@@ -25990,6 +25995,13 @@ proto.clarifai.api.Key.serializeBinaryToWriter = function(message, writer) {
|
|
|
25990
25995
|
f
|
|
25991
25996
|
);
|
|
25992
25997
|
}
|
|
25998
|
+
f = message.getOrganizationId();
|
|
25999
|
+
if (f.length > 0) {
|
|
26000
|
+
writer.writeString(
|
|
26001
|
+
10,
|
|
26002
|
+
f
|
|
26003
|
+
);
|
|
26004
|
+
}
|
|
25993
26005
|
};
|
|
25994
26006
|
|
|
25995
26007
|
|
|
@@ -26270,6 +26282,24 @@ proto.clarifai.api.Key.prototype.clearAuthorizedIdpIdsList = function() {
|
|
|
26270
26282
|
};
|
|
26271
26283
|
|
|
26272
26284
|
|
|
26285
|
+
/**
|
|
26286
|
+
* optional string organization_id = 10;
|
|
26287
|
+
* @return {string}
|
|
26288
|
+
*/
|
|
26289
|
+
proto.clarifai.api.Key.prototype.getOrganizationId = function() {
|
|
26290
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
26291
|
+
};
|
|
26292
|
+
|
|
26293
|
+
|
|
26294
|
+
/**
|
|
26295
|
+
* @param {string} value
|
|
26296
|
+
* @return {!proto.clarifai.api.Key} returns this
|
|
26297
|
+
*/
|
|
26298
|
+
proto.clarifai.api.Key.prototype.setOrganizationId = function(value) {
|
|
26299
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
26300
|
+
};
|
|
26301
|
+
|
|
26302
|
+
|
|
26273
26303
|
|
|
26274
26304
|
/**
|
|
26275
26305
|
* List of repeated fields within this message type.
|