@wix/metro-common-builders 1.0.1500 → 1.0.1501

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.
@@ -1232,6 +1232,20 @@ declare namespace $requests {
1232
1232
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
1233
1233
  static __$$generatedFromProtobuf$$__: Symbol;
1234
1234
  }
1235
+ export interface IDeleteEntityRequest {
1236
+ fqdn?: string;
1237
+ }
1238
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
1239
+ constructor(data?: IDeleteEntityRequest);
1240
+ fqdn?: string;
1241
+ static __$$generatedFromProtobuf$$__: Symbol;
1242
+ }
1243
+ export interface IDeleteEntityResponse {
1244
+ }
1245
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
1246
+ constructor(data?: IDeleteEntityResponse);
1247
+ static __$$generatedFromProtobuf$$__: Symbol;
1248
+ }
1235
1249
  export interface IValidateFqdnRequest {
1236
1250
  fqdn?: string;
1237
1251
  }
@@ -4955,6 +4969,20 @@ declare namespace $responses {
4955
4969
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
4956
4970
  static __$$generatedFromProtobuf$$__: Symbol;
4957
4971
  }
4972
+ export interface IDeleteEntityRequest {
4973
+ fqdn: string;
4974
+ }
4975
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
4976
+ constructor(data?: IDeleteEntityRequest);
4977
+ fqdn: string;
4978
+ static __$$generatedFromProtobuf$$__: Symbol;
4979
+ }
4980
+ export interface IDeleteEntityResponse {
4981
+ }
4982
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
4983
+ constructor(data?: IDeleteEntityResponse);
4984
+ static __$$generatedFromProtobuf$$__: Symbol;
4985
+ }
4958
4986
  export interface IValidateFqdnRequest {
4959
4987
  fqdn: string;
4960
4988
  }
@@ -7465,6 +7493,8 @@ declare namespace $services {
7465
7493
  abstract deleteServiceDocument(req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7466
7494
  abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7467
7495
  abstract purgeProcessedTargetsCache(req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7496
+ abstract deleteEntity(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteEntityRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteEntityResponse>
7497
+ abstract deleteEntity(req: $requests.wix.coreservices.businessschema.v1.IDeleteEntityRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteEntityResponse>
7468
7498
  }
7469
7499
  export abstract class BusinessSchemaService {
7470
7500
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1209,6 +1209,7 @@ declare namespace $wrapper {
1209
1209
  export abstract class ManagementService {
1210
1210
  abstract deleteServiceDocument(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
1211
1211
  abstract purgeProcessedTargetsCache(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
1212
+ abstract deleteEntity(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IDeleteEntityRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IDeleteEntityResponse>
1212
1213
  }
1213
1214
  export interface IDeleteServiceDocumentRequest {
1214
1215
  protoServiceFqn?: (string | null);
@@ -1238,6 +1239,20 @@ declare namespace $wrapper {
1238
1239
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
1239
1240
  static __$$generatedFromProtobuf$$__: Symbol;
1240
1241
  }
1242
+ export interface IDeleteEntityRequest {
1243
+ fqdn?: (string | null);
1244
+ }
1245
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
1246
+ constructor(data?: IDeleteEntityRequest);
1247
+ fqdn?: (string | null);
1248
+ static __$$generatedFromProtobuf$$__: Symbol;
1249
+ }
1250
+ export interface IDeleteEntityResponse {
1251
+ }
1252
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
1253
+ constructor(data?: IDeleteEntityResponse);
1254
+ static __$$generatedFromProtobuf$$__: Symbol;
1255
+ }
1241
1256
  export abstract class BusinessSchemaService {
1242
1257
  abstract validateFqdn(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
1243
1258
  abstract queryEntities(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IQueryEntitiesRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IQueryEntitiesResponse>
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1156',
13
- 'contentHash': '94749c41cb6177d41b7ec250c126a7732523aeb2'
13
+ 'contentHash': 'f327f8e973db1d7338cd077da97a96b5296ef196'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -3154,6 +3154,16 @@ $root.__lookup = function (pbjs) {
3154
3154
  '(.wix.api.exposure)': 'PRIVATE',
3155
3155
  '__comment': null
3156
3156
  }]
3157
+ },
3158
+ 'DeleteEntity': {
3159
+ 'requestType': 'DeleteEntityRequest',
3160
+ 'responseType': 'DeleteEntityResponse',
3161
+ 'options': { '(.wix.api.exposure)': 'PRIVATE' },
3162
+ 'comment': null,
3163
+ 'parsedOptions': [{
3164
+ '(.wix.api.exposure)': 'PRIVATE',
3165
+ '__comment': null
3166
+ }]
3157
3167
  }
3158
3168
  },
3159
3169
  'comment': null
@@ -3163,12 +3173,21 @@ $root.__lookup = function (pbjs) {
3163
3173
  'protoServiceFqn': {
3164
3174
  'type': 'string',
3165
3175
  'id': 1,
3166
- 'options': { '(.wix.api.minLength)': 1 },
3176
+ 'options': {
3177
+ '(wix.api.minLength)': 1,
3178
+ '(wix.api.maxLength)': 256
3179
+ },
3167
3180
  'comment': null,
3168
- 'parsedOptions': [{
3169
- '(.wix.api.minLength)': 1,
3181
+ 'parsedOptions': [
3182
+ {
3183
+ '(wix.api.minLength)': 1,
3170
3184
  '__comment': null
3171
- }]
3185
+ },
3186
+ {
3187
+ '(wix.api.maxLength)': 256,
3188
+ '__comment': null
3189
+ }
3190
+ ]
3172
3191
  }
3173
3192
  },
3174
3193
  'comment': null
@@ -3192,6 +3211,34 @@ $root.__lookup = function (pbjs) {
3192
3211
  'fields': {},
3193
3212
  'comment': null
3194
3213
  },
3214
+ 'DeleteEntityRequest': {
3215
+ 'fields': {
3216
+ 'fqdn': {
3217
+ 'type': 'string',
3218
+ 'id': 1,
3219
+ 'options': {
3220
+ '(wix.api.minLength)': 4,
3221
+ '(wix.api.maxLength)': 256
3222
+ },
3223
+ 'comment': null,
3224
+ 'parsedOptions': [
3225
+ {
3226
+ '(wix.api.minLength)': 4,
3227
+ '__comment': null
3228
+ },
3229
+ {
3230
+ '(wix.api.maxLength)': 256,
3231
+ '__comment': null
3232
+ }
3233
+ ]
3234
+ }
3235
+ },
3236
+ 'comment': null
3237
+ },
3238
+ 'DeleteEntityResponse': {
3239
+ 'fields': {},
3240
+ 'comment': null
3241
+ },
3195
3242
  'BusinessSchemaService': {
3196
3243
  'options': {
3197
3244
  '(.wix.api.service_entity).message': 'wix.coreservices.businessschema.v1.Entity',
@@ -22617,6 +22664,9 @@ $root.wix = (function () {
22617
22664
  purgeProcessedTargetsCache(aspects, msg) {
22618
22665
  throw new TypeError('method purgeProcessedTargetsCache is abstract');
22619
22666
  }
22667
+ deleteEntity(aspects, msg) {
22668
+ throw new TypeError('method deleteEntity is abstract');
22669
+ }
22620
22670
  }
22621
22671
  ManagementService.prototype.deleteServiceDocument._messageTypes = function () {
22622
22672
  return [
@@ -22630,12 +22680,21 @@ $root.wix = (function () {
22630
22680
  $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse
22631
22681
  ];
22632
22682
  };
22683
+ ManagementService.prototype.deleteEntity._messageTypes = function () {
22684
+ return [
22685
+ $root.wix.coreservices.businessschema.v1.DeleteEntityRequest,
22686
+ $root.wix.coreservices.businessschema.v1.DeleteEntityResponse
22687
+ ];
22688
+ };
22633
22689
  ManagementService.prototype.deleteServiceDocument.__proto = pbjs => {
22634
22690
  return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteServiceDocument');
22635
22691
  };
22636
22692
  ManagementService.prototype.purgeProcessedTargetsCache.__proto = pbjs => {
22637
22693
  return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.PurgeProcessedTargetsCache');
22638
22694
  };
22695
+ ManagementService.prototype.deleteEntity.__proto = pbjs => {
22696
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteEntity');
22697
+ };
22639
22698
  __builtIn.Object.defineProperty(ManagementService.prototype, '__isRpcService__', {
22640
22699
  value: true,
22641
22700
  enumerable: false,
@@ -22952,6 +23011,147 @@ $root.wix = (function () {
22952
23011
  });
22953
23012
  return PurgeProcessedTargetsCacheResponse;
22954
23013
  }());;
23014
+ _v1.DeleteEntityRequest = (function () {
23015
+ class DeleteEntityRequest {
23016
+ constructor(props) {
23017
+ this.fqdn = props && props.fqdn;
23018
+ }
23019
+ static toJSON(obj, helper, withDefaults) {
23020
+ if (obj == null) {
23021
+ return null;
23022
+ } else {
23023
+ const json = {};
23024
+ if (obj['fqdn'] != null) {
23025
+ json['fqdn'] = obj['fqdn'];
23026
+ } else if (withDefaults) {
23027
+ json['fqdn'] = '';
23028
+ }
23029
+ return json;
23030
+ }
23031
+ }
23032
+ static fromJSON(json, helper, withDefaults) {
23033
+ if (typeof json === 'object' && !Array.isArray(json)) {
23034
+ const result = new $root.wix.coreservices.businessschema.v1.DeleteEntityRequest();
23035
+ if (json['fqdn'] != null) {
23036
+ result['fqdn'] = json['fqdn'];
23037
+ } else if (withDefaults !== false) {
23038
+ result['fqdn'] = '';
23039
+ } else {
23040
+ delete result['fqdn'];
23041
+ }
23042
+ return result;
23043
+ } else
23044
+ return json;
23045
+ }
23046
+ static toGRPC(obj, helper) {
23047
+ if (obj == null) {
23048
+ return null;
23049
+ } else {
23050
+ const grpc = {};
23051
+ if (obj['fqdn'] != null) {
23052
+ grpc['fqdn'] = obj['fqdn'];
23053
+ }
23054
+ return grpc;
23055
+ }
23056
+ }
23057
+ static fromGRPC(grpc, helper) {
23058
+ if (grpc == null) {
23059
+ return null;
23060
+ } else {
23061
+ const result = new $root.wix.coreservices.businessschema.v1.DeleteEntityRequest();
23062
+ if (grpc['fqdn'] != null) {
23063
+ result['fqdn'] = grpc['fqdn'];
23064
+ } else {
23065
+ result['fqdn'] = '';
23066
+ }
23067
+ return result;
23068
+ }
23069
+ }
23070
+ }
23071
+ __builtIn.Object.defineProperty(DeleteEntityRequest.prototype, '__proto', {
23072
+ value: pbjs => {
23073
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.DeleteEntityRequest');
23074
+ },
23075
+ enumerable: false,
23076
+ configurable: false
23077
+ });
23078
+ __builtIn.Object.defineProperty(DeleteEntityRequest.prototype, '__fqn__', {
23079
+ value: 'wix.coreservices.businessschema.v1.DeleteEntityRequest',
23080
+ enumerable: false,
23081
+ configurable: false
23082
+ });
23083
+ __builtIn.Object.defineProperty(DeleteEntityRequest.prototype, '__options__', {
23084
+ value: $root.__options,
23085
+ enumerable: false,
23086
+ configurable: false
23087
+ });
23088
+ __builtIn.Object.defineProperty(DeleteEntityRequest.prototype, '__root__', {
23089
+ value: $root,
23090
+ enumerable: false,
23091
+ configurable: false
23092
+ });
23093
+ return DeleteEntityRequest;
23094
+ }());;
23095
+ _v1.DeleteEntityResponse = (function () {
23096
+ class DeleteEntityResponse {
23097
+ constructor(props) {
23098
+ }
23099
+ static toJSON(obj, helper, withDefaults) {
23100
+ if (obj == null) {
23101
+ return null;
23102
+ } else {
23103
+ const json = {};
23104
+ return json;
23105
+ }
23106
+ }
23107
+ static fromJSON(json, helper, withDefaults) {
23108
+ if (typeof json === 'object' && !Array.isArray(json)) {
23109
+ const result = new $root.wix.coreservices.businessschema.v1.DeleteEntityResponse();
23110
+ return result;
23111
+ } else
23112
+ return json;
23113
+ }
23114
+ static toGRPC(obj, helper) {
23115
+ if (obj == null) {
23116
+ return null;
23117
+ } else {
23118
+ const grpc = {};
23119
+ return grpc;
23120
+ }
23121
+ }
23122
+ static fromGRPC(grpc, helper) {
23123
+ if (grpc == null) {
23124
+ return null;
23125
+ } else {
23126
+ const result = new $root.wix.coreservices.businessschema.v1.DeleteEntityResponse();
23127
+ return result;
23128
+ }
23129
+ }
23130
+ }
23131
+ __builtIn.Object.defineProperty(DeleteEntityResponse.prototype, '__proto', {
23132
+ value: pbjs => {
23133
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.DeleteEntityResponse');
23134
+ },
23135
+ enumerable: false,
23136
+ configurable: false
23137
+ });
23138
+ __builtIn.Object.defineProperty(DeleteEntityResponse.prototype, '__fqn__', {
23139
+ value: 'wix.coreservices.businessschema.v1.DeleteEntityResponse',
23140
+ enumerable: false,
23141
+ configurable: false
23142
+ });
23143
+ __builtIn.Object.defineProperty(DeleteEntityResponse.prototype, '__options__', {
23144
+ value: $root.__options,
23145
+ enumerable: false,
23146
+ configurable: false
23147
+ });
23148
+ __builtIn.Object.defineProperty(DeleteEntityResponse.prototype, '__root__', {
23149
+ value: $root,
23150
+ enumerable: false,
23151
+ configurable: false
23152
+ });
23153
+ return DeleteEntityResponse;
23154
+ }());;
22955
23155
  _v1.BusinessSchemaService = (function () {
22956
23156
  class BusinessSchemaService {
22957
23157
  validateFqdn(aspects, msg) {
@@ -1232,6 +1232,20 @@ declare namespace $requests {
1232
1232
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
1233
1233
  static __$$generatedFromProtobuf$$__: Symbol;
1234
1234
  }
1235
+ export interface IDeleteEntityRequest {
1236
+ fqdn: string;
1237
+ }
1238
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
1239
+ constructor(data?: IDeleteEntityRequest);
1240
+ fqdn: string;
1241
+ static __$$generatedFromProtobuf$$__: Symbol;
1242
+ }
1243
+ export interface IDeleteEntityResponse {
1244
+ }
1245
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
1246
+ constructor(data?: IDeleteEntityResponse);
1247
+ static __$$generatedFromProtobuf$$__: Symbol;
1248
+ }
1235
1249
  export interface IValidateFqdnRequest {
1236
1250
  fqdn: string;
1237
1251
  }
@@ -4955,6 +4969,20 @@ declare namespace $responses {
4955
4969
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
4956
4970
  static __$$generatedFromProtobuf$$__: Symbol;
4957
4971
  }
4972
+ export interface IDeleteEntityRequest {
4973
+ fqdn?: string;
4974
+ }
4975
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
4976
+ constructor(data?: IDeleteEntityRequest);
4977
+ fqdn?: string;
4978
+ static __$$generatedFromProtobuf$$__: Symbol;
4979
+ }
4980
+ export interface IDeleteEntityResponse {
4981
+ }
4982
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
4983
+ constructor(data?: IDeleteEntityResponse);
4984
+ static __$$generatedFromProtobuf$$__: Symbol;
4985
+ }
4958
4986
  export interface IValidateFqdnRequest {
4959
4987
  fqdn?: string;
4960
4988
  }
@@ -7463,6 +7491,7 @@ declare namespace $services {
7463
7491
  export abstract class ManagementService {
7464
7492
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7465
7493
  abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7494
+ abstract deleteEntity(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteEntityRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteEntityResponse>
7466
7495
  }
7467
7496
  export abstract class BusinessSchemaService {
7468
7497
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1232,6 +1232,20 @@ declare namespace $requests {
1232
1232
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
1233
1233
  static __$$generatedFromProtobuf$$__: Symbol;
1234
1234
  }
1235
+ export interface IDeleteEntityRequest {
1236
+ fqdn?: string;
1237
+ }
1238
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
1239
+ constructor(data?: IDeleteEntityRequest);
1240
+ fqdn?: string;
1241
+ static __$$generatedFromProtobuf$$__: Symbol;
1242
+ }
1243
+ export interface IDeleteEntityResponse {
1244
+ }
1245
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
1246
+ constructor(data?: IDeleteEntityResponse);
1247
+ static __$$generatedFromProtobuf$$__: Symbol;
1248
+ }
1235
1249
  export interface IValidateFqdnRequest {
1236
1250
  fqdn?: string;
1237
1251
  }
@@ -4955,6 +4969,20 @@ declare namespace $responses {
4955
4969
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
4956
4970
  static __$$generatedFromProtobuf$$__: Symbol;
4957
4971
  }
4972
+ export interface IDeleteEntityRequest {
4973
+ fqdn: string;
4974
+ }
4975
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
4976
+ constructor(data?: IDeleteEntityRequest);
4977
+ fqdn: string;
4978
+ static __$$generatedFromProtobuf$$__: Symbol;
4979
+ }
4980
+ export interface IDeleteEntityResponse {
4981
+ }
4982
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
4983
+ constructor(data?: IDeleteEntityResponse);
4984
+ static __$$generatedFromProtobuf$$__: Symbol;
4985
+ }
4958
4986
  export interface IValidateFqdnRequest {
4959
4987
  fqdn: string;
4960
4988
  }
@@ -7465,6 +7493,8 @@ declare namespace $services {
7465
7493
  abstract deleteServiceDocument(req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7466
7494
  abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7467
7495
  abstract purgeProcessedTargetsCache(req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7496
+ abstract deleteEntity(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteEntityRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteEntityResponse>
7497
+ abstract deleteEntity(req: $requests.wix.coreservices.businessschema.v1.IDeleteEntityRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteEntityResponse>
7468
7498
  }
7469
7499
  export abstract class BusinessSchemaService {
7470
7500
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1209,6 +1209,7 @@ declare namespace $wrapper {
1209
1209
  export abstract class ManagementService {
1210
1210
  abstract deleteServiceDocument(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
1211
1211
  abstract purgeProcessedTargetsCache(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
1212
+ abstract deleteEntity(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IDeleteEntityRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IDeleteEntityResponse>
1212
1213
  }
1213
1214
  export interface IDeleteServiceDocumentRequest {
1214
1215
  protoServiceFqn?: (string | null);
@@ -1238,6 +1239,20 @@ declare namespace $wrapper {
1238
1239
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
1239
1240
  static __$$generatedFromProtobuf$$__: Symbol;
1240
1241
  }
1242
+ export interface IDeleteEntityRequest {
1243
+ fqdn?: (string | null);
1244
+ }
1245
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
1246
+ constructor(data?: IDeleteEntityRequest);
1247
+ fqdn?: (string | null);
1248
+ static __$$generatedFromProtobuf$$__: Symbol;
1249
+ }
1250
+ export interface IDeleteEntityResponse {
1251
+ }
1252
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
1253
+ constructor(data?: IDeleteEntityResponse);
1254
+ static __$$generatedFromProtobuf$$__: Symbol;
1255
+ }
1241
1256
  export abstract class BusinessSchemaService {
1242
1257
  abstract validateFqdn(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
1243
1258
  abstract queryEntities(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IQueryEntitiesRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IQueryEntitiesResponse>
@@ -10,7 +10,7 @@ $root.__options = {
10
10
  'stringLongs': true,
11
11
  'stdCase': false,
12
12
  'generatorVersion': '2.0.1156',
13
- 'contentHash': '94749c41cb6177d41b7ec250c126a7732523aeb2'
13
+ 'contentHash': 'f327f8e973db1d7338cd077da97a96b5296ef196'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -3154,6 +3154,16 @@ $root.__lookup = function (pbjs) {
3154
3154
  '(.wix.api.exposure)': 'PRIVATE',
3155
3155
  '__comment': null
3156
3156
  }]
3157
+ },
3158
+ 'DeleteEntity': {
3159
+ 'requestType': 'DeleteEntityRequest',
3160
+ 'responseType': 'DeleteEntityResponse',
3161
+ 'options': { '(.wix.api.exposure)': 'PRIVATE' },
3162
+ 'comment': null,
3163
+ 'parsedOptions': [{
3164
+ '(.wix.api.exposure)': 'PRIVATE',
3165
+ '__comment': null
3166
+ }]
3157
3167
  }
3158
3168
  },
3159
3169
  'comment': null
@@ -3163,12 +3173,21 @@ $root.__lookup = function (pbjs) {
3163
3173
  'protoServiceFqn': {
3164
3174
  'type': 'string',
3165
3175
  'id': 1,
3166
- 'options': { '(.wix.api.minLength)': 1 },
3176
+ 'options': {
3177
+ '(wix.api.minLength)': 1,
3178
+ '(wix.api.maxLength)': 256
3179
+ },
3167
3180
  'comment': null,
3168
- 'parsedOptions': [{
3169
- '(.wix.api.minLength)': 1,
3181
+ 'parsedOptions': [
3182
+ {
3183
+ '(wix.api.minLength)': 1,
3170
3184
  '__comment': null
3171
- }]
3185
+ },
3186
+ {
3187
+ '(wix.api.maxLength)': 256,
3188
+ '__comment': null
3189
+ }
3190
+ ]
3172
3191
  }
3173
3192
  },
3174
3193
  'comment': null
@@ -3192,6 +3211,34 @@ $root.__lookup = function (pbjs) {
3192
3211
  'fields': {},
3193
3212
  'comment': null
3194
3213
  },
3214
+ 'DeleteEntityRequest': {
3215
+ 'fields': {
3216
+ 'fqdn': {
3217
+ 'type': 'string',
3218
+ 'id': 1,
3219
+ 'options': {
3220
+ '(wix.api.minLength)': 4,
3221
+ '(wix.api.maxLength)': 256
3222
+ },
3223
+ 'comment': null,
3224
+ 'parsedOptions': [
3225
+ {
3226
+ '(wix.api.minLength)': 4,
3227
+ '__comment': null
3228
+ },
3229
+ {
3230
+ '(wix.api.maxLength)': 256,
3231
+ '__comment': null
3232
+ }
3233
+ ]
3234
+ }
3235
+ },
3236
+ 'comment': null
3237
+ },
3238
+ 'DeleteEntityResponse': {
3239
+ 'fields': {},
3240
+ 'comment': null
3241
+ },
3195
3242
  'BusinessSchemaService': {
3196
3243
  'options': {
3197
3244
  '(.wix.api.service_entity).message': 'wix.coreservices.businessschema.v1.Entity',
@@ -22617,6 +22664,9 @@ $root.wix = (function () {
22617
22664
  purgeProcessedTargetsCache(aspects, msg) {
22618
22665
  throw new TypeError('method purgeProcessedTargetsCache is abstract');
22619
22666
  }
22667
+ deleteEntity(aspects, msg) {
22668
+ throw new TypeError('method deleteEntity is abstract');
22669
+ }
22620
22670
  }
22621
22671
  ManagementService.prototype.deleteServiceDocument._messageTypes = function () {
22622
22672
  return [
@@ -22630,12 +22680,21 @@ $root.wix = (function () {
22630
22680
  $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse
22631
22681
  ];
22632
22682
  };
22683
+ ManagementService.prototype.deleteEntity._messageTypes = function () {
22684
+ return [
22685
+ $root.wix.coreservices.businessschema.v1.DeleteEntityRequest,
22686
+ $root.wix.coreservices.businessschema.v1.DeleteEntityResponse
22687
+ ];
22688
+ };
22633
22689
  ManagementService.prototype.deleteServiceDocument.__proto = pbjs => {
22634
22690
  return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteServiceDocument');
22635
22691
  };
22636
22692
  ManagementService.prototype.purgeProcessedTargetsCache.__proto = pbjs => {
22637
22693
  return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.PurgeProcessedTargetsCache');
22638
22694
  };
22695
+ ManagementService.prototype.deleteEntity.__proto = pbjs => {
22696
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteEntity');
22697
+ };
22639
22698
  __builtIn.Object.defineProperty(ManagementService.prototype, '__isRpcService__', {
22640
22699
  value: true,
22641
22700
  enumerable: false,
@@ -22952,6 +23011,147 @@ $root.wix = (function () {
22952
23011
  });
22953
23012
  return PurgeProcessedTargetsCacheResponse;
22954
23013
  }());;
23014
+ _v1.DeleteEntityRequest = (function () {
23015
+ class DeleteEntityRequest {
23016
+ constructor(props) {
23017
+ this.fqdn = props && props.fqdn;
23018
+ }
23019
+ static toJSON(obj, helper, withDefaults) {
23020
+ if (obj == null) {
23021
+ return null;
23022
+ } else {
23023
+ const json = {};
23024
+ if (obj['fqdn'] != null) {
23025
+ json['fqdn'] = obj['fqdn'];
23026
+ } else if (withDefaults) {
23027
+ json['fqdn'] = '';
23028
+ }
23029
+ return json;
23030
+ }
23031
+ }
23032
+ static fromJSON(json, helper, withDefaults) {
23033
+ if (typeof json === 'object' && !Array.isArray(json)) {
23034
+ const result = new $root.wix.coreservices.businessschema.v1.DeleteEntityRequest();
23035
+ if (json['fqdn'] != null) {
23036
+ result['fqdn'] = json['fqdn'];
23037
+ } else if (withDefaults !== false) {
23038
+ result['fqdn'] = '';
23039
+ } else {
23040
+ delete result['fqdn'];
23041
+ }
23042
+ return result;
23043
+ } else
23044
+ return json;
23045
+ }
23046
+ static toGRPC(obj, helper) {
23047
+ if (obj == null) {
23048
+ return null;
23049
+ } else {
23050
+ const grpc = {};
23051
+ if (obj['fqdn'] != null) {
23052
+ grpc['fqdn'] = obj['fqdn'];
23053
+ }
23054
+ return grpc;
23055
+ }
23056
+ }
23057
+ static fromGRPC(grpc, helper) {
23058
+ if (grpc == null) {
23059
+ return null;
23060
+ } else {
23061
+ const result = new $root.wix.coreservices.businessschema.v1.DeleteEntityRequest();
23062
+ if (grpc['fqdn'] != null) {
23063
+ result['fqdn'] = grpc['fqdn'];
23064
+ } else {
23065
+ result['fqdn'] = '';
23066
+ }
23067
+ return result;
23068
+ }
23069
+ }
23070
+ }
23071
+ __builtIn.Object.defineProperty(DeleteEntityRequest.prototype, '__proto', {
23072
+ value: pbjs => {
23073
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.DeleteEntityRequest');
23074
+ },
23075
+ enumerable: false,
23076
+ configurable: false
23077
+ });
23078
+ __builtIn.Object.defineProperty(DeleteEntityRequest.prototype, '__fqn__', {
23079
+ value: 'wix.coreservices.businessschema.v1.DeleteEntityRequest',
23080
+ enumerable: false,
23081
+ configurable: false
23082
+ });
23083
+ __builtIn.Object.defineProperty(DeleteEntityRequest.prototype, '__options__', {
23084
+ value: $root.__options,
23085
+ enumerable: false,
23086
+ configurable: false
23087
+ });
23088
+ __builtIn.Object.defineProperty(DeleteEntityRequest.prototype, '__root__', {
23089
+ value: $root,
23090
+ enumerable: false,
23091
+ configurable: false
23092
+ });
23093
+ return DeleteEntityRequest;
23094
+ }());;
23095
+ _v1.DeleteEntityResponse = (function () {
23096
+ class DeleteEntityResponse {
23097
+ constructor(props) {
23098
+ }
23099
+ static toJSON(obj, helper, withDefaults) {
23100
+ if (obj == null) {
23101
+ return null;
23102
+ } else {
23103
+ const json = {};
23104
+ return json;
23105
+ }
23106
+ }
23107
+ static fromJSON(json, helper, withDefaults) {
23108
+ if (typeof json === 'object' && !Array.isArray(json)) {
23109
+ const result = new $root.wix.coreservices.businessschema.v1.DeleteEntityResponse();
23110
+ return result;
23111
+ } else
23112
+ return json;
23113
+ }
23114
+ static toGRPC(obj, helper) {
23115
+ if (obj == null) {
23116
+ return null;
23117
+ } else {
23118
+ const grpc = {};
23119
+ return grpc;
23120
+ }
23121
+ }
23122
+ static fromGRPC(grpc, helper) {
23123
+ if (grpc == null) {
23124
+ return null;
23125
+ } else {
23126
+ const result = new $root.wix.coreservices.businessschema.v1.DeleteEntityResponse();
23127
+ return result;
23128
+ }
23129
+ }
23130
+ }
23131
+ __builtIn.Object.defineProperty(DeleteEntityResponse.prototype, '__proto', {
23132
+ value: pbjs => {
23133
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.DeleteEntityResponse');
23134
+ },
23135
+ enumerable: false,
23136
+ configurable: false
23137
+ });
23138
+ __builtIn.Object.defineProperty(DeleteEntityResponse.prototype, '__fqn__', {
23139
+ value: 'wix.coreservices.businessschema.v1.DeleteEntityResponse',
23140
+ enumerable: false,
23141
+ configurable: false
23142
+ });
23143
+ __builtIn.Object.defineProperty(DeleteEntityResponse.prototype, '__options__', {
23144
+ value: $root.__options,
23145
+ enumerable: false,
23146
+ configurable: false
23147
+ });
23148
+ __builtIn.Object.defineProperty(DeleteEntityResponse.prototype, '__root__', {
23149
+ value: $root,
23150
+ enumerable: false,
23151
+ configurable: false
23152
+ });
23153
+ return DeleteEntityResponse;
23154
+ }());;
22955
23155
  _v1.BusinessSchemaService = (function () {
22956
23156
  class BusinessSchemaService {
22957
23157
  validateFqdn(aspects, msg) {
@@ -1232,6 +1232,20 @@ declare namespace $requests {
1232
1232
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
1233
1233
  static __$$generatedFromProtobuf$$__: Symbol;
1234
1234
  }
1235
+ export interface IDeleteEntityRequest {
1236
+ fqdn: string;
1237
+ }
1238
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
1239
+ constructor(data?: IDeleteEntityRequest);
1240
+ fqdn: string;
1241
+ static __$$generatedFromProtobuf$$__: Symbol;
1242
+ }
1243
+ export interface IDeleteEntityResponse {
1244
+ }
1245
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
1246
+ constructor(data?: IDeleteEntityResponse);
1247
+ static __$$generatedFromProtobuf$$__: Symbol;
1248
+ }
1235
1249
  export interface IValidateFqdnRequest {
1236
1250
  fqdn: string;
1237
1251
  }
@@ -4955,6 +4969,20 @@ declare namespace $responses {
4955
4969
  constructor(data?: IPurgeProcessedTargetsCacheResponse);
4956
4970
  static __$$generatedFromProtobuf$$__: Symbol;
4957
4971
  }
4972
+ export interface IDeleteEntityRequest {
4973
+ fqdn?: string;
4974
+ }
4975
+ export class DeleteEntityRequest implements IDeleteEntityRequest {
4976
+ constructor(data?: IDeleteEntityRequest);
4977
+ fqdn?: string;
4978
+ static __$$generatedFromProtobuf$$__: Symbol;
4979
+ }
4980
+ export interface IDeleteEntityResponse {
4981
+ }
4982
+ export class DeleteEntityResponse implements IDeleteEntityResponse {
4983
+ constructor(data?: IDeleteEntityResponse);
4984
+ static __$$generatedFromProtobuf$$__: Symbol;
4985
+ }
4958
4986
  export interface IValidateFqdnRequest {
4959
4987
  fqdn?: string;
4960
4988
  }
@@ -7463,6 +7491,7 @@ declare namespace $services {
7463
7491
  export abstract class ManagementService {
7464
7492
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7465
7493
  abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7494
+ abstract deleteEntity(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteEntityRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteEntityResponse>
7466
7495
  }
7467
7496
  export abstract class BusinessSchemaService {
7468
7497
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/metro-common-builders",
3
- "version": "1.0.1500",
3
+ "version": "1.0.1501",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Eli Ponyatovski",
@@ -33,14 +33,14 @@
33
33
  "*.{js,ts}": "yoshi lint"
34
34
  },
35
35
  "dependencies": {
36
- "@wix/metro-runtime": "1.1855.0",
36
+ "@wix/metro-runtime": "1.1856.0",
37
37
  "long": "^5.1.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@rushstack/eslint-patch": "^1.1.0",
41
41
  "@types/jest": "^24.9.1",
42
42
  "@types/node": "^16.11.7",
43
- "@wix/business-schema-api": "^1.7.1530",
43
+ "@wix/business-schema-api": "^1.7.1532",
44
44
  "@wix/wix-proto-codegen": "^2.0.1156",
45
45
  "@wix/yoshi": "^6.95.1",
46
46
  "eslint-plugin-simple-import-sort": "^10.0.0",
@@ -71,5 +71,5 @@
71
71
  "wallaby": {
72
72
  "autoDetect": true
73
73
  },
74
- "falconPackageHash": "d41f97fd6c138472d37dccd63795aa87555a47fd5d54681ccdf17b5f"
74
+ "falconPackageHash": "32639f096d33debcba2917d5659f9958359a4f5335f0b7f6f5321079"
75
75
  }