clarifai-web-grpc 10.11.0 → 10.11.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 +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +91 -4
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +91 -4
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +23 -0
- package/proto/clarifai/api/resources_pb.js +117 -4
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/proto/clarifai/api/status/status_code_pb.js +1 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
10.11.
|
|
1
|
+
10.11.2
|
|
@@ -56903,7 +56903,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function (value) {
|
|
|
56903
56903
|
* @private {!Array<!Array<number>>}
|
|
56904
56904
|
* @const
|
|
56905
56905
|
*/
|
|
56906
|
-
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1, 2, 3, 4, 5, 6]];
|
|
56906
|
+
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8]];
|
|
56907
56907
|
/**
|
|
56908
56908
|
* @enum {number}
|
|
56909
56909
|
*/
|
|
@@ -56914,7 +56914,9 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
|
|
|
56914
56914
|
TEAM: 3,
|
|
56915
56915
|
APP: 4,
|
|
56916
56916
|
MODULE: 5,
|
|
56917
|
-
MODULE_VERSION: 6
|
|
56917
|
+
MODULE_VERSION: 6,
|
|
56918
|
+
WORKFLOW: 7,
|
|
56919
|
+
WORKFLOW_VERSION: 8
|
|
56918
56920
|
};
|
|
56919
56921
|
/**
|
|
56920
56922
|
* @return {proto.clarifai.api.AuditLogTarget.TargetCase}
|
|
@@ -56954,7 +56956,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56954
56956
|
team: (f = msg.getTeam()) && proto.clarifai.api.Team.toObject(includeInstance, f),
|
|
56955
56957
|
app: (f = msg.getApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
|
|
56956
56958
|
module: (f = msg.getModule()) && proto.clarifai.api.Module.toObject(includeInstance, f),
|
|
56957
|
-
moduleVersion: (f = msg.getModuleVersion()) && proto.clarifai.api.ModuleVersion.toObject(includeInstance, f)
|
|
56959
|
+
moduleVersion: (f = msg.getModuleVersion()) && proto.clarifai.api.ModuleVersion.toObject(includeInstance, f),
|
|
56960
|
+
workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
|
|
56961
|
+
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f)
|
|
56958
56962
|
};
|
|
56959
56963
|
if (includeInstance) {
|
|
56960
56964
|
obj.$jspbMessageInstance = msg;
|
|
@@ -57016,6 +57020,16 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function (msg, r
|
|
|
57016
57020
|
reader.readMessage(value, proto.clarifai.api.ModuleVersion.deserializeBinaryFromReader);
|
|
57017
57021
|
msg.setModuleVersion(value);
|
|
57018
57022
|
break;
|
|
57023
|
+
case 7:
|
|
57024
|
+
var value = new proto.clarifai.api.Workflow;
|
|
57025
|
+
reader.readMessage(value, proto.clarifai.api.Workflow.deserializeBinaryFromReader);
|
|
57026
|
+
msg.setWorkflow(value);
|
|
57027
|
+
break;
|
|
57028
|
+
case 8:
|
|
57029
|
+
var value = new proto.clarifai.api.WorkflowVersion;
|
|
57030
|
+
reader.readMessage(value, proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
|
|
57031
|
+
msg.setWorkflowVersion(value);
|
|
57032
|
+
break;
|
|
57019
57033
|
default:
|
|
57020
57034
|
reader.skipField();
|
|
57021
57035
|
break;
|
|
@@ -57065,6 +57079,14 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function (message, w
|
|
|
57065
57079
|
if (f != null) {
|
|
57066
57080
|
writer.writeMessage(6, f, proto.clarifai.api.ModuleVersion.serializeBinaryToWriter);
|
|
57067
57081
|
}
|
|
57082
|
+
f = message.getWorkflow();
|
|
57083
|
+
if (f != null) {
|
|
57084
|
+
writer.writeMessage(7, f, proto.clarifai.api.Workflow.serializeBinaryToWriter);
|
|
57085
|
+
}
|
|
57086
|
+
f = message.getWorkflowVersion();
|
|
57087
|
+
if (f != null) {
|
|
57088
|
+
writer.writeMessage(8, f, proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter);
|
|
57089
|
+
}
|
|
57068
57090
|
};
|
|
57069
57091
|
/**
|
|
57070
57092
|
* optional User user = 1;
|
|
@@ -57234,6 +57256,62 @@ proto.clarifai.api.AuditLogTarget.prototype.clearModuleVersion = function () {
|
|
|
57234
57256
|
proto.clarifai.api.AuditLogTarget.prototype.hasModuleVersion = function () {
|
|
57235
57257
|
return jspb.Message.getField(this, 6) != null;
|
|
57236
57258
|
};
|
|
57259
|
+
/**
|
|
57260
|
+
* optional Workflow workflow = 7;
|
|
57261
|
+
* @return {?proto.clarifai.api.Workflow}
|
|
57262
|
+
*/
|
|
57263
|
+
proto.clarifai.api.AuditLogTarget.prototype.getWorkflow = function () {
|
|
57264
|
+
return /** @type{?proto.clarifai.api.Workflow} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Workflow, 7));
|
|
57265
|
+
};
|
|
57266
|
+
/**
|
|
57267
|
+
* @param {?proto.clarifai.api.Workflow|undefined} value
|
|
57268
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
57269
|
+
*/
|
|
57270
|
+
proto.clarifai.api.AuditLogTarget.prototype.setWorkflow = function (value) {
|
|
57271
|
+
return jspb.Message.setOneofWrapperField(this, 7, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
57272
|
+
};
|
|
57273
|
+
/**
|
|
57274
|
+
* Clears the message field making it undefined.
|
|
57275
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
57276
|
+
*/
|
|
57277
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearWorkflow = function () {
|
|
57278
|
+
return this.setWorkflow(undefined);
|
|
57279
|
+
};
|
|
57280
|
+
/**
|
|
57281
|
+
* Returns whether this field is set.
|
|
57282
|
+
* @return {boolean}
|
|
57283
|
+
*/
|
|
57284
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasWorkflow = function () {
|
|
57285
|
+
return jspb.Message.getField(this, 7) != null;
|
|
57286
|
+
};
|
|
57287
|
+
/**
|
|
57288
|
+
* optional WorkflowVersion workflow_version = 8;
|
|
57289
|
+
* @return {?proto.clarifai.api.WorkflowVersion}
|
|
57290
|
+
*/
|
|
57291
|
+
proto.clarifai.api.AuditLogTarget.prototype.getWorkflowVersion = function () {
|
|
57292
|
+
return /** @type{?proto.clarifai.api.WorkflowVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersion, 8));
|
|
57293
|
+
};
|
|
57294
|
+
/**
|
|
57295
|
+
* @param {?proto.clarifai.api.WorkflowVersion|undefined} value
|
|
57296
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
57297
|
+
*/
|
|
57298
|
+
proto.clarifai.api.AuditLogTarget.prototype.setWorkflowVersion = function (value) {
|
|
57299
|
+
return jspb.Message.setOneofWrapperField(this, 8, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
57300
|
+
};
|
|
57301
|
+
/**
|
|
57302
|
+
* Clears the message field making it undefined.
|
|
57303
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
57304
|
+
*/
|
|
57305
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearWorkflowVersion = function () {
|
|
57306
|
+
return this.setWorkflowVersion(undefined);
|
|
57307
|
+
};
|
|
57308
|
+
/**
|
|
57309
|
+
* Returns whether this field is set.
|
|
57310
|
+
* @return {boolean}
|
|
57311
|
+
*/
|
|
57312
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasWorkflowVersion = function () {
|
|
57313
|
+
return jspb.Message.getField(this, 8) != null;
|
|
57314
|
+
};
|
|
57237
57315
|
/**
|
|
57238
57316
|
* List of repeated fields within this message type.
|
|
57239
57317
|
* @private {!Array<number>}
|
|
@@ -59048,6 +59126,15 @@ proto.clarifai.api.EventType = {
|
|
|
59048
59126
|
MODULE_DELETE: 202,
|
|
59049
59127
|
MODULE_VERSION_CREATE: 203,
|
|
59050
59128
|
MODULE_VERSION_UPDATE: 204,
|
|
59051
|
-
MODULE_VERSION_DELETE: 205
|
|
59129
|
+
MODULE_VERSION_DELETE: 205,
|
|
59130
|
+
WORKFLOW_CREATE: 400,
|
|
59131
|
+
WORKFLOW_UPDATE: 401,
|
|
59132
|
+
WORKFLOW_DELETE: 402,
|
|
59133
|
+
WORKFLOW_VERSION_CREATE: 403,
|
|
59134
|
+
WORKFLOW_VERSION_UPDATE: 404,
|
|
59135
|
+
WORKFLOW_VERSION_DELETE: 405,
|
|
59136
|
+
COLLABORATOR_ADD: 700,
|
|
59137
|
+
COLLABORATOR_UPDATE: 701,
|
|
59138
|
+
COLLABORATOR_REMOVE: 702
|
|
59052
59139
|
};
|
|
59053
59140
|
goog.object.extend(exports, proto.clarifai.api);
|
|
@@ -400,6 +400,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
400
400
|
INTERNAL_REDIS_UNCATEGORIZED: 98015,
|
|
401
401
|
INTERNAL_AWS_UNCATEGORIZED: 98016,
|
|
402
402
|
INTERNAL_AZURE_UNCATEGORIZED: 98017,
|
|
403
|
+
INTERNAL_VECTORDB_UNCATEGORIZED: 98018,
|
|
403
404
|
CONN_UNCATEGORIZED: 99001,
|
|
404
405
|
MODEL_UNCATEGORIZED: 99002,
|
|
405
406
|
INPUT_UNCATEGORIZED: 99003,
|
|
@@ -56903,7 +56903,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function (value) {
|
|
|
56903
56903
|
* @private {!Array<!Array<number>>}
|
|
56904
56904
|
* @const
|
|
56905
56905
|
*/
|
|
56906
|
-
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1, 2, 3, 4, 5, 6]];
|
|
56906
|
+
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8]];
|
|
56907
56907
|
/**
|
|
56908
56908
|
* @enum {number}
|
|
56909
56909
|
*/
|
|
@@ -56914,7 +56914,9 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
|
|
|
56914
56914
|
TEAM: 3,
|
|
56915
56915
|
APP: 4,
|
|
56916
56916
|
MODULE: 5,
|
|
56917
|
-
MODULE_VERSION: 6
|
|
56917
|
+
MODULE_VERSION: 6,
|
|
56918
|
+
WORKFLOW: 7,
|
|
56919
|
+
WORKFLOW_VERSION: 8
|
|
56918
56920
|
};
|
|
56919
56921
|
/**
|
|
56920
56922
|
* @return {proto.clarifai.api.AuditLogTarget.TargetCase}
|
|
@@ -56954,7 +56956,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56954
56956
|
team: (f = msg.getTeam()) && proto.clarifai.api.Team.toObject(includeInstance, f),
|
|
56955
56957
|
app: (f = msg.getApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
|
|
56956
56958
|
module: (f = msg.getModule()) && proto.clarifai.api.Module.toObject(includeInstance, f),
|
|
56957
|
-
moduleVersion: (f = msg.getModuleVersion()) && proto.clarifai.api.ModuleVersion.toObject(includeInstance, f)
|
|
56959
|
+
moduleVersion: (f = msg.getModuleVersion()) && proto.clarifai.api.ModuleVersion.toObject(includeInstance, f),
|
|
56960
|
+
workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
|
|
56961
|
+
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f)
|
|
56958
56962
|
};
|
|
56959
56963
|
if (includeInstance) {
|
|
56960
56964
|
obj.$jspbMessageInstance = msg;
|
|
@@ -57016,6 +57020,16 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function (msg, r
|
|
|
57016
57020
|
reader.readMessage(value, proto.clarifai.api.ModuleVersion.deserializeBinaryFromReader);
|
|
57017
57021
|
msg.setModuleVersion(value);
|
|
57018
57022
|
break;
|
|
57023
|
+
case 7:
|
|
57024
|
+
var value = new proto.clarifai.api.Workflow;
|
|
57025
|
+
reader.readMessage(value, proto.clarifai.api.Workflow.deserializeBinaryFromReader);
|
|
57026
|
+
msg.setWorkflow(value);
|
|
57027
|
+
break;
|
|
57028
|
+
case 8:
|
|
57029
|
+
var value = new proto.clarifai.api.WorkflowVersion;
|
|
57030
|
+
reader.readMessage(value, proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
|
|
57031
|
+
msg.setWorkflowVersion(value);
|
|
57032
|
+
break;
|
|
57019
57033
|
default:
|
|
57020
57034
|
reader.skipField();
|
|
57021
57035
|
break;
|
|
@@ -57065,6 +57079,14 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function (message, w
|
|
|
57065
57079
|
if (f != null) {
|
|
57066
57080
|
writer.writeMessage(6, f, proto.clarifai.api.ModuleVersion.serializeBinaryToWriter);
|
|
57067
57081
|
}
|
|
57082
|
+
f = message.getWorkflow();
|
|
57083
|
+
if (f != null) {
|
|
57084
|
+
writer.writeMessage(7, f, proto.clarifai.api.Workflow.serializeBinaryToWriter);
|
|
57085
|
+
}
|
|
57086
|
+
f = message.getWorkflowVersion();
|
|
57087
|
+
if (f != null) {
|
|
57088
|
+
writer.writeMessage(8, f, proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter);
|
|
57089
|
+
}
|
|
57068
57090
|
};
|
|
57069
57091
|
/**
|
|
57070
57092
|
* optional User user = 1;
|
|
@@ -57234,6 +57256,62 @@ proto.clarifai.api.AuditLogTarget.prototype.clearModuleVersion = function () {
|
|
|
57234
57256
|
proto.clarifai.api.AuditLogTarget.prototype.hasModuleVersion = function () {
|
|
57235
57257
|
return jspb.Message.getField(this, 6) != null;
|
|
57236
57258
|
};
|
|
57259
|
+
/**
|
|
57260
|
+
* optional Workflow workflow = 7;
|
|
57261
|
+
* @return {?proto.clarifai.api.Workflow}
|
|
57262
|
+
*/
|
|
57263
|
+
proto.clarifai.api.AuditLogTarget.prototype.getWorkflow = function () {
|
|
57264
|
+
return /** @type{?proto.clarifai.api.Workflow} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Workflow, 7));
|
|
57265
|
+
};
|
|
57266
|
+
/**
|
|
57267
|
+
* @param {?proto.clarifai.api.Workflow|undefined} value
|
|
57268
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
57269
|
+
*/
|
|
57270
|
+
proto.clarifai.api.AuditLogTarget.prototype.setWorkflow = function (value) {
|
|
57271
|
+
return jspb.Message.setOneofWrapperField(this, 7, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
57272
|
+
};
|
|
57273
|
+
/**
|
|
57274
|
+
* Clears the message field making it undefined.
|
|
57275
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
57276
|
+
*/
|
|
57277
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearWorkflow = function () {
|
|
57278
|
+
return this.setWorkflow(undefined);
|
|
57279
|
+
};
|
|
57280
|
+
/**
|
|
57281
|
+
* Returns whether this field is set.
|
|
57282
|
+
* @return {boolean}
|
|
57283
|
+
*/
|
|
57284
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasWorkflow = function () {
|
|
57285
|
+
return jspb.Message.getField(this, 7) != null;
|
|
57286
|
+
};
|
|
57287
|
+
/**
|
|
57288
|
+
* optional WorkflowVersion workflow_version = 8;
|
|
57289
|
+
* @return {?proto.clarifai.api.WorkflowVersion}
|
|
57290
|
+
*/
|
|
57291
|
+
proto.clarifai.api.AuditLogTarget.prototype.getWorkflowVersion = function () {
|
|
57292
|
+
return /** @type{?proto.clarifai.api.WorkflowVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersion, 8));
|
|
57293
|
+
};
|
|
57294
|
+
/**
|
|
57295
|
+
* @param {?proto.clarifai.api.WorkflowVersion|undefined} value
|
|
57296
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
57297
|
+
*/
|
|
57298
|
+
proto.clarifai.api.AuditLogTarget.prototype.setWorkflowVersion = function (value) {
|
|
57299
|
+
return jspb.Message.setOneofWrapperField(this, 8, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
57300
|
+
};
|
|
57301
|
+
/**
|
|
57302
|
+
* Clears the message field making it undefined.
|
|
57303
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
57304
|
+
*/
|
|
57305
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearWorkflowVersion = function () {
|
|
57306
|
+
return this.setWorkflowVersion(undefined);
|
|
57307
|
+
};
|
|
57308
|
+
/**
|
|
57309
|
+
* Returns whether this field is set.
|
|
57310
|
+
* @return {boolean}
|
|
57311
|
+
*/
|
|
57312
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasWorkflowVersion = function () {
|
|
57313
|
+
return jspb.Message.getField(this, 8) != null;
|
|
57314
|
+
};
|
|
57237
57315
|
/**
|
|
57238
57316
|
* List of repeated fields within this message type.
|
|
57239
57317
|
* @private {!Array<number>}
|
|
@@ -59048,6 +59126,15 @@ proto.clarifai.api.EventType = {
|
|
|
59048
59126
|
MODULE_DELETE: 202,
|
|
59049
59127
|
MODULE_VERSION_CREATE: 203,
|
|
59050
59128
|
MODULE_VERSION_UPDATE: 204,
|
|
59051
|
-
MODULE_VERSION_DELETE: 205
|
|
59129
|
+
MODULE_VERSION_DELETE: 205,
|
|
59130
|
+
WORKFLOW_CREATE: 400,
|
|
59131
|
+
WORKFLOW_UPDATE: 401,
|
|
59132
|
+
WORKFLOW_DELETE: 402,
|
|
59133
|
+
WORKFLOW_VERSION_CREATE: 403,
|
|
59134
|
+
WORKFLOW_VERSION_UPDATE: 404,
|
|
59135
|
+
WORKFLOW_VERSION_DELETE: 405,
|
|
59136
|
+
COLLABORATOR_ADD: 700,
|
|
59137
|
+
COLLABORATOR_UPDATE: 701,
|
|
59138
|
+
COLLABORATOR_REMOVE: 702
|
|
59052
59139
|
};
|
|
59053
59140
|
goog.object.extend(exports, proto.clarifai.api);
|
|
@@ -400,6 +400,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
400
400
|
INTERNAL_REDIS_UNCATEGORIZED: 98015,
|
|
401
401
|
INTERNAL_AWS_UNCATEGORIZED: 98016,
|
|
402
402
|
INTERNAL_AZURE_UNCATEGORIZED: 98017,
|
|
403
|
+
INTERNAL_VECTORDB_UNCATEGORIZED: 98018,
|
|
403
404
|
CONN_UNCATEGORIZED: 99001,
|
|
404
405
|
MODEL_UNCATEGORIZED: 99002,
|
|
405
406
|
INPUT_UNCATEGORIZED: 99003,
|
package/package.json
CHANGED
|
@@ -8692,6 +8692,16 @@ export class AuditLogTarget extends jspb.Message {
|
|
|
8692
8692
|
hasModuleVersion(): boolean;
|
|
8693
8693
|
clearModuleVersion(): AuditLogTarget;
|
|
8694
8694
|
|
|
8695
|
+
getWorkflow(): Workflow | undefined;
|
|
8696
|
+
setWorkflow(value?: Workflow): AuditLogTarget;
|
|
8697
|
+
hasWorkflow(): boolean;
|
|
8698
|
+
clearWorkflow(): AuditLogTarget;
|
|
8699
|
+
|
|
8700
|
+
getWorkflowVersion(): WorkflowVersion | undefined;
|
|
8701
|
+
setWorkflowVersion(value?: WorkflowVersion): AuditLogTarget;
|
|
8702
|
+
hasWorkflowVersion(): boolean;
|
|
8703
|
+
clearWorkflowVersion(): AuditLogTarget;
|
|
8704
|
+
|
|
8695
8705
|
getTargetCase(): AuditLogTarget.TargetCase;
|
|
8696
8706
|
|
|
8697
8707
|
serializeBinary(): Uint8Array;
|
|
@@ -8710,6 +8720,8 @@ export namespace AuditLogTarget {
|
|
|
8710
8720
|
app?: App.AsObject,
|
|
8711
8721
|
module?: Module.AsObject,
|
|
8712
8722
|
moduleVersion?: ModuleVersion.AsObject,
|
|
8723
|
+
workflow?: Workflow.AsObject,
|
|
8724
|
+
workflowVersion?: WorkflowVersion.AsObject,
|
|
8713
8725
|
}
|
|
8714
8726
|
|
|
8715
8727
|
export enum TargetCase {
|
|
@@ -8720,6 +8732,8 @@ export namespace AuditLogTarget {
|
|
|
8720
8732
|
APP = 4,
|
|
8721
8733
|
MODULE = 5,
|
|
8722
8734
|
MODULE_VERSION = 6,
|
|
8735
|
+
WORKFLOW = 7,
|
|
8736
|
+
WORKFLOW_VERSION = 8,
|
|
8723
8737
|
}
|
|
8724
8738
|
}
|
|
8725
8739
|
|
|
@@ -9148,4 +9162,13 @@ export enum EventType {
|
|
|
9148
9162
|
MODULE_VERSION_CREATE = 203,
|
|
9149
9163
|
MODULE_VERSION_UPDATE = 204,
|
|
9150
9164
|
MODULE_VERSION_DELETE = 205,
|
|
9165
|
+
WORKFLOW_CREATE = 400,
|
|
9166
|
+
WORKFLOW_UPDATE = 401,
|
|
9167
|
+
WORKFLOW_DELETE = 402,
|
|
9168
|
+
WORKFLOW_VERSION_CREATE = 403,
|
|
9169
|
+
WORKFLOW_VERSION_UPDATE = 404,
|
|
9170
|
+
WORKFLOW_VERSION_DELETE = 405,
|
|
9171
|
+
COLLABORATOR_ADD = 700,
|
|
9172
|
+
COLLABORATOR_UPDATE = 701,
|
|
9173
|
+
COLLABORATOR_REMOVE = 702,
|
|
9151
9174
|
}
|
|
@@ -71205,7 +71205,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function(value) {
|
|
|
71205
71205
|
* @private {!Array<!Array<number>>}
|
|
71206
71206
|
* @const
|
|
71207
71207
|
*/
|
|
71208
|
-
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6]];
|
|
71208
|
+
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8]];
|
|
71209
71209
|
|
|
71210
71210
|
/**
|
|
71211
71211
|
* @enum {number}
|
|
@@ -71217,7 +71217,9 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
|
|
|
71217
71217
|
TEAM: 3,
|
|
71218
71218
|
APP: 4,
|
|
71219
71219
|
MODULE: 5,
|
|
71220
|
-
MODULE_VERSION: 6
|
|
71220
|
+
MODULE_VERSION: 6,
|
|
71221
|
+
WORKFLOW: 7,
|
|
71222
|
+
WORKFLOW_VERSION: 8
|
|
71221
71223
|
};
|
|
71222
71224
|
|
|
71223
71225
|
/**
|
|
@@ -71263,7 +71265,9 @@ proto.clarifai.api.AuditLogTarget.toObject = function(includeInstance, msg) {
|
|
|
71263
71265
|
team: (f = msg.getTeam()) && proto.clarifai.api.Team.toObject(includeInstance, f),
|
|
71264
71266
|
app: (f = msg.getApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
|
|
71265
71267
|
module: (f = msg.getModule()) && proto.clarifai.api.Module.toObject(includeInstance, f),
|
|
71266
|
-
moduleVersion: (f = msg.getModuleVersion()) && proto.clarifai.api.ModuleVersion.toObject(includeInstance, f)
|
|
71268
|
+
moduleVersion: (f = msg.getModuleVersion()) && proto.clarifai.api.ModuleVersion.toObject(includeInstance, f),
|
|
71269
|
+
workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
|
|
71270
|
+
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f)
|
|
71267
71271
|
};
|
|
71268
71272
|
|
|
71269
71273
|
if (includeInstance) {
|
|
@@ -71330,6 +71334,16 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function(msg, re
|
|
|
71330
71334
|
reader.readMessage(value,proto.clarifai.api.ModuleVersion.deserializeBinaryFromReader);
|
|
71331
71335
|
msg.setModuleVersion(value);
|
|
71332
71336
|
break;
|
|
71337
|
+
case 7:
|
|
71338
|
+
var value = new proto.clarifai.api.Workflow;
|
|
71339
|
+
reader.readMessage(value,proto.clarifai.api.Workflow.deserializeBinaryFromReader);
|
|
71340
|
+
msg.setWorkflow(value);
|
|
71341
|
+
break;
|
|
71342
|
+
case 8:
|
|
71343
|
+
var value = new proto.clarifai.api.WorkflowVersion;
|
|
71344
|
+
reader.readMessage(value,proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
|
|
71345
|
+
msg.setWorkflowVersion(value);
|
|
71346
|
+
break;
|
|
71333
71347
|
default:
|
|
71334
71348
|
reader.skipField();
|
|
71335
71349
|
break;
|
|
@@ -71407,6 +71421,22 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function(message, wr
|
|
|
71407
71421
|
proto.clarifai.api.ModuleVersion.serializeBinaryToWriter
|
|
71408
71422
|
);
|
|
71409
71423
|
}
|
|
71424
|
+
f = message.getWorkflow();
|
|
71425
|
+
if (f != null) {
|
|
71426
|
+
writer.writeMessage(
|
|
71427
|
+
7,
|
|
71428
|
+
f,
|
|
71429
|
+
proto.clarifai.api.Workflow.serializeBinaryToWriter
|
|
71430
|
+
);
|
|
71431
|
+
}
|
|
71432
|
+
f = message.getWorkflowVersion();
|
|
71433
|
+
if (f != null) {
|
|
71434
|
+
writer.writeMessage(
|
|
71435
|
+
8,
|
|
71436
|
+
f,
|
|
71437
|
+
proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter
|
|
71438
|
+
);
|
|
71439
|
+
}
|
|
71410
71440
|
};
|
|
71411
71441
|
|
|
71412
71442
|
|
|
@@ -71632,6 +71662,80 @@ proto.clarifai.api.AuditLogTarget.prototype.hasModuleVersion = function() {
|
|
|
71632
71662
|
};
|
|
71633
71663
|
|
|
71634
71664
|
|
|
71665
|
+
/**
|
|
71666
|
+
* optional Workflow workflow = 7;
|
|
71667
|
+
* @return {?proto.clarifai.api.Workflow}
|
|
71668
|
+
*/
|
|
71669
|
+
proto.clarifai.api.AuditLogTarget.prototype.getWorkflow = function() {
|
|
71670
|
+
return /** @type{?proto.clarifai.api.Workflow} */ (
|
|
71671
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Workflow, 7));
|
|
71672
|
+
};
|
|
71673
|
+
|
|
71674
|
+
|
|
71675
|
+
/**
|
|
71676
|
+
* @param {?proto.clarifai.api.Workflow|undefined} value
|
|
71677
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
71678
|
+
*/
|
|
71679
|
+
proto.clarifai.api.AuditLogTarget.prototype.setWorkflow = function(value) {
|
|
71680
|
+
return jspb.Message.setOneofWrapperField(this, 7, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
71681
|
+
};
|
|
71682
|
+
|
|
71683
|
+
|
|
71684
|
+
/**
|
|
71685
|
+
* Clears the message field making it undefined.
|
|
71686
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
71687
|
+
*/
|
|
71688
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearWorkflow = function() {
|
|
71689
|
+
return this.setWorkflow(undefined);
|
|
71690
|
+
};
|
|
71691
|
+
|
|
71692
|
+
|
|
71693
|
+
/**
|
|
71694
|
+
* Returns whether this field is set.
|
|
71695
|
+
* @return {boolean}
|
|
71696
|
+
*/
|
|
71697
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasWorkflow = function() {
|
|
71698
|
+
return jspb.Message.getField(this, 7) != null;
|
|
71699
|
+
};
|
|
71700
|
+
|
|
71701
|
+
|
|
71702
|
+
/**
|
|
71703
|
+
* optional WorkflowVersion workflow_version = 8;
|
|
71704
|
+
* @return {?proto.clarifai.api.WorkflowVersion}
|
|
71705
|
+
*/
|
|
71706
|
+
proto.clarifai.api.AuditLogTarget.prototype.getWorkflowVersion = function() {
|
|
71707
|
+
return /** @type{?proto.clarifai.api.WorkflowVersion} */ (
|
|
71708
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersion, 8));
|
|
71709
|
+
};
|
|
71710
|
+
|
|
71711
|
+
|
|
71712
|
+
/**
|
|
71713
|
+
* @param {?proto.clarifai.api.WorkflowVersion|undefined} value
|
|
71714
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
71715
|
+
*/
|
|
71716
|
+
proto.clarifai.api.AuditLogTarget.prototype.setWorkflowVersion = function(value) {
|
|
71717
|
+
return jspb.Message.setOneofWrapperField(this, 8, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
71718
|
+
};
|
|
71719
|
+
|
|
71720
|
+
|
|
71721
|
+
/**
|
|
71722
|
+
* Clears the message field making it undefined.
|
|
71723
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
71724
|
+
*/
|
|
71725
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearWorkflowVersion = function() {
|
|
71726
|
+
return this.setWorkflowVersion(undefined);
|
|
71727
|
+
};
|
|
71728
|
+
|
|
71729
|
+
|
|
71730
|
+
/**
|
|
71731
|
+
* Returns whether this field is set.
|
|
71732
|
+
* @return {boolean}
|
|
71733
|
+
*/
|
|
71734
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasWorkflowVersion = function() {
|
|
71735
|
+
return jspb.Message.getField(this, 8) != null;
|
|
71736
|
+
};
|
|
71737
|
+
|
|
71738
|
+
|
|
71635
71739
|
|
|
71636
71740
|
/**
|
|
71637
71741
|
* List of repeated fields within this message type.
|
|
@@ -73902,7 +74006,16 @@ proto.clarifai.api.EventType = {
|
|
|
73902
74006
|
MODULE_DELETE: 202,
|
|
73903
74007
|
MODULE_VERSION_CREATE: 203,
|
|
73904
74008
|
MODULE_VERSION_UPDATE: 204,
|
|
73905
|
-
MODULE_VERSION_DELETE: 205
|
|
74009
|
+
MODULE_VERSION_DELETE: 205,
|
|
74010
|
+
WORKFLOW_CREATE: 400,
|
|
74011
|
+
WORKFLOW_UPDATE: 401,
|
|
74012
|
+
WORKFLOW_DELETE: 402,
|
|
74013
|
+
WORKFLOW_VERSION_CREATE: 403,
|
|
74014
|
+
WORKFLOW_VERSION_UPDATE: 404,
|
|
74015
|
+
WORKFLOW_VERSION_DELETE: 405,
|
|
74016
|
+
COLLABORATOR_ADD: 700,
|
|
74017
|
+
COLLABORATOR_UPDATE: 701,
|
|
74018
|
+
COLLABORATOR_REMOVE: 702
|
|
73906
74019
|
};
|
|
73907
74020
|
|
|
73908
74021
|
goog.object.extend(exports, proto.clarifai.api);
|
|
@@ -379,6 +379,7 @@ export enum StatusCode {
|
|
|
379
379
|
INTERNAL_REDIS_UNCATEGORIZED = 98015,
|
|
380
380
|
INTERNAL_AWS_UNCATEGORIZED = 98016,
|
|
381
381
|
INTERNAL_AZURE_UNCATEGORIZED = 98017,
|
|
382
|
+
INTERNAL_VECTORDB_UNCATEGORIZED = 98018,
|
|
382
383
|
CONN_UNCATEGORIZED = 99001,
|
|
383
384
|
MODEL_UNCATEGORIZED = 99002,
|
|
384
385
|
INPUT_UNCATEGORIZED = 99003,
|
|
@@ -402,6 +402,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
402
402
|
INTERNAL_REDIS_UNCATEGORIZED: 98015,
|
|
403
403
|
INTERNAL_AWS_UNCATEGORIZED: 98016,
|
|
404
404
|
INTERNAL_AZURE_UNCATEGORIZED: 98017,
|
|
405
|
+
INTERNAL_VECTORDB_UNCATEGORIZED: 98018,
|
|
405
406
|
CONN_UNCATEGORIZED: 99001,
|
|
406
407
|
MODEL_UNCATEGORIZED: 99002,
|
|
407
408
|
INPUT_UNCATEGORIZED: 99003,
|