clarifai-web-grpc 10.2.1 → 10.3.0

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.
Files changed (35) hide show
  1. package/README.md +13 -11
  2. package/VERSION +1 -1
  3. package/dist/cjs/index.d.ts +2 -1
  4. package/dist/cjs/index.js +8 -2
  5. package/dist/cjs/proto/clarifai/api/resources_pb.js +2102 -4
  6. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -42
  7. package/dist/cjs/proto/clarifai/api/service_pb.js +731 -416
  8. package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +2 -0
  9. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -0
  10. package/dist/cjs/resources.d.ts +1 -0
  11. package/dist/cjs/resources.js +3 -0
  12. package/dist/esm/index.d.ts +2 -1
  13. package/dist/esm/index.js +6 -2
  14. package/dist/esm/proto/clarifai/api/resources_pb.js +2102 -4
  15. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -42
  16. package/dist/esm/proto/clarifai/api/service_pb.js +731 -416
  17. package/dist/esm/proto/clarifai/api/status/status_code_pb.js +2 -0
  18. package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -0
  19. package/dist/esm/resources.d.ts +1 -0
  20. package/dist/esm/resources.js +1 -0
  21. package/examples/post-app.ts +27 -0
  22. package/examples/post-input.ts +42 -0
  23. package/index.ts +7 -2
  24. package/package.json +1 -1
  25. package/proto/clarifai/api/resources_pb.d.ts +347 -0
  26. package/proto/clarifai/api/resources_pb.js +2629 -4
  27. package/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -12
  28. package/proto/clarifai/api/service_grpc_web_pb.js +0 -61
  29. package/proto/clarifai/api/service_pb.d.ts +106 -64
  30. package/proto/clarifai/api/service_pb.js +918 -510
  31. package/proto/clarifai/api/status/status_code_pb.d.ts +2 -0
  32. package/proto/clarifai/api/status/status_code_pb.js +2 -0
  33. package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -0
  34. package/proto/clarifai/auth/scope/scope_pb.js +2 -0
  35. package/resources.ts +1 -0
@@ -6202,48 +6202,6 @@ proto.clarifai.api.V2PromiseClient.prototype.getStatusCode =
6202
6202
  return this.client_.unaryCall(this.hostname_ +
6203
6203
  '/clarifai.api.V2/GetStatusCode', request, metadata || {}, methodDescriptor_V2_GetStatusCode);
6204
6204
  };
6205
- /**
6206
- * @const
6207
- * @type {!grpc.web.MethodDescriptor<
6208
- * !proto.clarifai.api.GetResourcePriceRequest,
6209
- * !proto.clarifai.api.GetResourcePriceResponse>}
6210
- */
6211
- const methodDescriptor_V2_GetResourcePrice = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetResourcePrice', grpc.web.MethodType.UNARY, proto.clarifai.api.GetResourcePriceRequest, proto.clarifai.api.GetResourcePriceResponse,
6212
- /**
6213
- * @param {!proto.clarifai.api.GetResourcePriceRequest} request
6214
- * @return {!Uint8Array}
6215
- */
6216
- function (request) {
6217
- return request.serializeBinary();
6218
- }, proto.clarifai.api.GetResourcePriceResponse.deserializeBinary);
6219
- /**
6220
- * @param {!proto.clarifai.api.GetResourcePriceRequest} request The
6221
- * request proto
6222
- * @param {?Object<string, string>} metadata User defined
6223
- * call metadata
6224
- * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.GetResourcePriceResponse)}
6225
- * callback The callback function(error, response)
6226
- * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.GetResourcePriceResponse>|undefined}
6227
- * The XHR Node Readable Stream
6228
- */
6229
- proto.clarifai.api.V2Client.prototype.getResourcePrice =
6230
- function (request, metadata, callback) {
6231
- return this.client_.rpcCall(this.hostname_ +
6232
- '/clarifai.api.V2/GetResourcePrice', request, metadata || {}, methodDescriptor_V2_GetResourcePrice, callback);
6233
- };
6234
- /**
6235
- * @param {!proto.clarifai.api.GetResourcePriceRequest} request The
6236
- * request proto
6237
- * @param {?Object<string, string>=} metadata User defined
6238
- * call metadata
6239
- * @return {!Promise<!proto.clarifai.api.GetResourcePriceResponse>}
6240
- * Promise that resolves to the response
6241
- */
6242
- proto.clarifai.api.V2PromiseClient.prototype.getResourcePrice =
6243
- function (request, metadata) {
6244
- return this.client_.unaryCall(this.hostname_ +
6245
- '/clarifai.api.V2/GetResourcePrice', request, metadata || {}, methodDescriptor_V2_GetResourcePrice);
6246
- };
6247
6205
  /**
6248
6206
  * @const
6249
6207
  * @type {!grpc.web.MethodDescriptor<