@wix/metro-common-builders 1.0.1499 → 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.
@@ -1218,6 +1218,34 @@ declare namespace $requests {
1218
1218
  constructor(data?: IDeleteServiceDocumentResponse);
1219
1219
  static __$$generatedFromProtobuf$$__: Symbol;
1220
1220
  }
1221
+ export interface IPurgeProcessedTargetsCacheRequest {
1222
+ confirm?: boolean;
1223
+ }
1224
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
1225
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
1226
+ confirm?: boolean;
1227
+ static __$$generatedFromProtobuf$$__: Symbol;
1228
+ }
1229
+ export interface IPurgeProcessedTargetsCacheResponse {
1230
+ }
1231
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
1232
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
1233
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
1221
1249
  export interface IValidateFqdnRequest {
1222
1250
  fqdn?: string;
1223
1251
  }
@@ -4927,6 +4955,34 @@ declare namespace $responses {
4927
4955
  constructor(data?: IDeleteServiceDocumentResponse);
4928
4956
  static __$$generatedFromProtobuf$$__: Symbol;
4929
4957
  }
4958
+ export interface IPurgeProcessedTargetsCacheRequest {
4959
+ confirm: boolean;
4960
+ }
4961
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
4962
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
4963
+ confirm: boolean;
4964
+ static __$$generatedFromProtobuf$$__: Symbol;
4965
+ }
4966
+ export interface IPurgeProcessedTargetsCacheResponse {
4967
+ }
4968
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
4969
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
4970
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
4930
4986
  export interface IValidateFqdnRequest {
4931
4987
  fqdn: string;
4932
4988
  }
@@ -7435,6 +7491,10 @@ declare namespace $services {
7435
7491
  export abstract class ManagementService {
7436
7492
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7437
7493
  abstract deleteServiceDocument(req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7494
+ abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
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>
7438
7498
  }
7439
7499
  export abstract class BusinessSchemaService {
7440
7500
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1208,6 +1208,8 @@ declare namespace $wrapper {
1208
1208
  }
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
+ 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>
1211
1213
  }
1212
1214
  export interface IDeleteServiceDocumentRequest {
1213
1215
  protoServiceFqn?: (string | null);
@@ -1223,6 +1225,34 @@ declare namespace $wrapper {
1223
1225
  constructor(data?: IDeleteServiceDocumentResponse);
1224
1226
  static __$$generatedFromProtobuf$$__: Symbol;
1225
1227
  }
1228
+ export interface IPurgeProcessedTargetsCacheRequest {
1229
+ confirm?: (boolean | null);
1230
+ }
1231
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
1232
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
1233
+ confirm?: (boolean | null);
1234
+ static __$$generatedFromProtobuf$$__: Symbol;
1235
+ }
1236
+ export interface IPurgeProcessedTargetsCacheResponse {
1237
+ }
1238
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
1239
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
1240
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
1226
1256
  export abstract class BusinessSchemaService {
1227
1257
  abstract validateFqdn(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
1228
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': '9dbc4302cfc6ddb6994ad3ffa324a26f48ce244e'
13
+ 'contentHash': 'f327f8e973db1d7338cd077da97a96b5296ef196'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -3144,6 +3144,26 @@ $root.__lookup = function (pbjs) {
3144
3144
  '(.wix.api.exposure)': 'PRIVATE',
3145
3145
  '__comment': null
3146
3146
  }]
3147
+ },
3148
+ 'PurgeProcessedTargetsCache': {
3149
+ 'requestType': 'PurgeProcessedTargetsCacheRequest',
3150
+ 'responseType': 'PurgeProcessedTargetsCacheResponse',
3151
+ 'options': { '(.wix.api.exposure)': 'PRIVATE' },
3152
+ 'comment': null,
3153
+ 'parsedOptions': [{
3154
+ '(.wix.api.exposure)': 'PRIVATE',
3155
+ '__comment': null
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
+ }]
3147
3167
  }
3148
3168
  },
3149
3169
  'comment': null
@@ -3153,12 +3173,21 @@ $root.__lookup = function (pbjs) {
3153
3173
  'protoServiceFqn': {
3154
3174
  'type': 'string',
3155
3175
  'id': 1,
3156
- 'options': { '(.wix.api.minLength)': 1 },
3176
+ 'options': {
3177
+ '(wix.api.minLength)': 1,
3178
+ '(wix.api.maxLength)': 256
3179
+ },
3157
3180
  'comment': null,
3158
- 'parsedOptions': [{
3159
- '(.wix.api.minLength)': 1,
3181
+ 'parsedOptions': [
3182
+ {
3183
+ '(wix.api.minLength)': 1,
3160
3184
  '__comment': null
3161
- }]
3185
+ },
3186
+ {
3187
+ '(wix.api.maxLength)': 256,
3188
+ '__comment': null
3189
+ }
3190
+ ]
3162
3191
  }
3163
3192
  },
3164
3193
  'comment': null
@@ -3167,6 +3196,49 @@ $root.__lookup = function (pbjs) {
3167
3196
  'fields': {},
3168
3197
  'comment': null
3169
3198
  },
3199
+ 'PurgeProcessedTargetsCacheRequest': {
3200
+ 'fields': {
3201
+ 'confirm': {
3202
+ 'type': 'bool',
3203
+ 'id': 1,
3204
+ 'comment': null,
3205
+ 'parsedOptions': null
3206
+ }
3207
+ },
3208
+ 'comment': null
3209
+ },
3210
+ 'PurgeProcessedTargetsCacheResponse': {
3211
+ 'fields': {},
3212
+ 'comment': null
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
+ },
3170
3242
  'BusinessSchemaService': {
3171
3243
  'options': {
3172
3244
  '(.wix.api.service_entity).message': 'wix.coreservices.businessschema.v1.Entity',
@@ -22589,6 +22661,12 @@ $root.wix = (function () {
22589
22661
  deleteServiceDocument(aspects, msg) {
22590
22662
  throw new TypeError('method deleteServiceDocument is abstract');
22591
22663
  }
22664
+ purgeProcessedTargetsCache(aspects, msg) {
22665
+ throw new TypeError('method purgeProcessedTargetsCache is abstract');
22666
+ }
22667
+ deleteEntity(aspects, msg) {
22668
+ throw new TypeError('method deleteEntity is abstract');
22669
+ }
22592
22670
  }
22593
22671
  ManagementService.prototype.deleteServiceDocument._messageTypes = function () {
22594
22672
  return [
@@ -22596,9 +22674,27 @@ $root.wix = (function () {
22596
22674
  $root.wix.coreservices.businessschema.v1.DeleteServiceDocumentResponse
22597
22675
  ];
22598
22676
  };
22677
+ ManagementService.prototype.purgeProcessedTargetsCache._messageTypes = function () {
22678
+ return [
22679
+ $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest,
22680
+ $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse
22681
+ ];
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
+ };
22599
22689
  ManagementService.prototype.deleteServiceDocument.__proto = pbjs => {
22600
22690
  return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteServiceDocument');
22601
22691
  };
22692
+ ManagementService.prototype.purgeProcessedTargetsCache.__proto = pbjs => {
22693
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.PurgeProcessedTargetsCache');
22694
+ };
22695
+ ManagementService.prototype.deleteEntity.__proto = pbjs => {
22696
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteEntity');
22697
+ };
22602
22698
  __builtIn.Object.defineProperty(ManagementService.prototype, '__isRpcService__', {
22603
22699
  value: true,
22604
22700
  enumerable: false,
@@ -22774,6 +22870,288 @@ $root.wix = (function () {
22774
22870
  });
22775
22871
  return DeleteServiceDocumentResponse;
22776
22872
  }());;
22873
+ _v1.PurgeProcessedTargetsCacheRequest = (function () {
22874
+ class PurgeProcessedTargetsCacheRequest {
22875
+ constructor(props) {
22876
+ this.confirm = props && props.confirm;
22877
+ }
22878
+ static toJSON(obj, helper, withDefaults) {
22879
+ if (obj == null) {
22880
+ return null;
22881
+ } else {
22882
+ const json = {};
22883
+ if (obj['confirm'] != null) {
22884
+ json['confirm'] = obj['confirm'];
22885
+ } else if (withDefaults) {
22886
+ json['confirm'] = false;
22887
+ }
22888
+ return json;
22889
+ }
22890
+ }
22891
+ static fromJSON(json, helper, withDefaults) {
22892
+ if (typeof json === 'object' && !Array.isArray(json)) {
22893
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest();
22894
+ if (json['confirm'] != null) {
22895
+ result['confirm'] = json['confirm'];
22896
+ } else if (withDefaults !== false) {
22897
+ result['confirm'] = false;
22898
+ } else {
22899
+ delete result['confirm'];
22900
+ }
22901
+ return result;
22902
+ } else
22903
+ return json;
22904
+ }
22905
+ static toGRPC(obj, helper) {
22906
+ if (obj == null) {
22907
+ return null;
22908
+ } else {
22909
+ const grpc = {};
22910
+ if (obj['confirm'] != null) {
22911
+ grpc['confirm'] = obj['confirm'];
22912
+ }
22913
+ return grpc;
22914
+ }
22915
+ }
22916
+ static fromGRPC(grpc, helper) {
22917
+ if (grpc == null) {
22918
+ return null;
22919
+ } else {
22920
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest();
22921
+ if (grpc['confirm'] != null) {
22922
+ result['confirm'] = grpc['confirm'];
22923
+ } else {
22924
+ result['confirm'] = false;
22925
+ }
22926
+ return result;
22927
+ }
22928
+ }
22929
+ }
22930
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__proto', {
22931
+ value: pbjs => {
22932
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest');
22933
+ },
22934
+ enumerable: false,
22935
+ configurable: false
22936
+ });
22937
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__fqn__', {
22938
+ value: 'wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest',
22939
+ enumerable: false,
22940
+ configurable: false
22941
+ });
22942
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__options__', {
22943
+ value: $root.__options,
22944
+ enumerable: false,
22945
+ configurable: false
22946
+ });
22947
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__root__', {
22948
+ value: $root,
22949
+ enumerable: false,
22950
+ configurable: false
22951
+ });
22952
+ return PurgeProcessedTargetsCacheRequest;
22953
+ }());;
22954
+ _v1.PurgeProcessedTargetsCacheResponse = (function () {
22955
+ class PurgeProcessedTargetsCacheResponse {
22956
+ constructor(props) {
22957
+ }
22958
+ static toJSON(obj, helper, withDefaults) {
22959
+ if (obj == null) {
22960
+ return null;
22961
+ } else {
22962
+ const json = {};
22963
+ return json;
22964
+ }
22965
+ }
22966
+ static fromJSON(json, helper, withDefaults) {
22967
+ if (typeof json === 'object' && !Array.isArray(json)) {
22968
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse();
22969
+ return result;
22970
+ } else
22971
+ return json;
22972
+ }
22973
+ static toGRPC(obj, helper) {
22974
+ if (obj == null) {
22975
+ return null;
22976
+ } else {
22977
+ const grpc = {};
22978
+ return grpc;
22979
+ }
22980
+ }
22981
+ static fromGRPC(grpc, helper) {
22982
+ if (grpc == null) {
22983
+ return null;
22984
+ } else {
22985
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse();
22986
+ return result;
22987
+ }
22988
+ }
22989
+ }
22990
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__proto', {
22991
+ value: pbjs => {
22992
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse');
22993
+ },
22994
+ enumerable: false,
22995
+ configurable: false
22996
+ });
22997
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__fqn__', {
22998
+ value: 'wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse',
22999
+ enumerable: false,
23000
+ configurable: false
23001
+ });
23002
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__options__', {
23003
+ value: $root.__options,
23004
+ enumerable: false,
23005
+ configurable: false
23006
+ });
23007
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__root__', {
23008
+ value: $root,
23009
+ enumerable: false,
23010
+ configurable: false
23011
+ });
23012
+ return PurgeProcessedTargetsCacheResponse;
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
+ }());;
22777
23155
  _v1.BusinessSchemaService = (function () {
22778
23156
  class BusinessSchemaService {
22779
23157
  validateFqdn(aspects, msg) {
@@ -1218,6 +1218,34 @@ declare namespace $requests {
1218
1218
  constructor(data?: IDeleteServiceDocumentResponse);
1219
1219
  static __$$generatedFromProtobuf$$__: Symbol;
1220
1220
  }
1221
+ export interface IPurgeProcessedTargetsCacheRequest {
1222
+ confirm: boolean;
1223
+ }
1224
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
1225
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
1226
+ confirm: boolean;
1227
+ static __$$generatedFromProtobuf$$__: Symbol;
1228
+ }
1229
+ export interface IPurgeProcessedTargetsCacheResponse {
1230
+ }
1231
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
1232
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
1233
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
1221
1249
  export interface IValidateFqdnRequest {
1222
1250
  fqdn: string;
1223
1251
  }
@@ -4927,6 +4955,34 @@ declare namespace $responses {
4927
4955
  constructor(data?: IDeleteServiceDocumentResponse);
4928
4956
  static __$$generatedFromProtobuf$$__: Symbol;
4929
4957
  }
4958
+ export interface IPurgeProcessedTargetsCacheRequest {
4959
+ confirm?: boolean;
4960
+ }
4961
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
4962
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
4963
+ confirm?: boolean;
4964
+ static __$$generatedFromProtobuf$$__: Symbol;
4965
+ }
4966
+ export interface IPurgeProcessedTargetsCacheResponse {
4967
+ }
4968
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
4969
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
4970
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
4930
4986
  export interface IValidateFqdnRequest {
4931
4987
  fqdn?: string;
4932
4988
  }
@@ -7434,6 +7490,8 @@ declare namespace $services {
7434
7490
  }
7435
7491
  export abstract class ManagementService {
7436
7492
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
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>
7437
7495
  }
7438
7496
  export abstract class BusinessSchemaService {
7439
7497
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1218,6 +1218,34 @@ declare namespace $requests {
1218
1218
  constructor(data?: IDeleteServiceDocumentResponse);
1219
1219
  static __$$generatedFromProtobuf$$__: Symbol;
1220
1220
  }
1221
+ export interface IPurgeProcessedTargetsCacheRequest {
1222
+ confirm?: boolean;
1223
+ }
1224
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
1225
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
1226
+ confirm?: boolean;
1227
+ static __$$generatedFromProtobuf$$__: Symbol;
1228
+ }
1229
+ export interface IPurgeProcessedTargetsCacheResponse {
1230
+ }
1231
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
1232
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
1233
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
1221
1249
  export interface IValidateFqdnRequest {
1222
1250
  fqdn?: string;
1223
1251
  }
@@ -4927,6 +4955,34 @@ declare namespace $responses {
4927
4955
  constructor(data?: IDeleteServiceDocumentResponse);
4928
4956
  static __$$generatedFromProtobuf$$__: Symbol;
4929
4957
  }
4958
+ export interface IPurgeProcessedTargetsCacheRequest {
4959
+ confirm: boolean;
4960
+ }
4961
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
4962
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
4963
+ confirm: boolean;
4964
+ static __$$generatedFromProtobuf$$__: Symbol;
4965
+ }
4966
+ export interface IPurgeProcessedTargetsCacheResponse {
4967
+ }
4968
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
4969
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
4970
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
4930
4986
  export interface IValidateFqdnRequest {
4931
4987
  fqdn: string;
4932
4988
  }
@@ -7435,6 +7491,10 @@ declare namespace $services {
7435
7491
  export abstract class ManagementService {
7436
7492
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7437
7493
  abstract deleteServiceDocument(req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7494
+ abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
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>
7438
7498
  }
7439
7499
  export abstract class BusinessSchemaService {
7440
7500
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1208,6 +1208,8 @@ declare namespace $wrapper {
1208
1208
  }
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
+ 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>
1211
1213
  }
1212
1214
  export interface IDeleteServiceDocumentRequest {
1213
1215
  protoServiceFqn?: (string | null);
@@ -1223,6 +1225,34 @@ declare namespace $wrapper {
1223
1225
  constructor(data?: IDeleteServiceDocumentResponse);
1224
1226
  static __$$generatedFromProtobuf$$__: Symbol;
1225
1227
  }
1228
+ export interface IPurgeProcessedTargetsCacheRequest {
1229
+ confirm?: (boolean | null);
1230
+ }
1231
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
1232
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
1233
+ confirm?: (boolean | null);
1234
+ static __$$generatedFromProtobuf$$__: Symbol;
1235
+ }
1236
+ export interface IPurgeProcessedTargetsCacheResponse {
1237
+ }
1238
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
1239
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
1240
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
1226
1256
  export abstract class BusinessSchemaService {
1227
1257
  abstract validateFqdn(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
1228
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': '9dbc4302cfc6ddb6994ad3ffa324a26f48ce244e'
13
+ 'contentHash': 'f327f8e973db1d7338cd077da97a96b5296ef196'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -3144,6 +3144,26 @@ $root.__lookup = function (pbjs) {
3144
3144
  '(.wix.api.exposure)': 'PRIVATE',
3145
3145
  '__comment': null
3146
3146
  }]
3147
+ },
3148
+ 'PurgeProcessedTargetsCache': {
3149
+ 'requestType': 'PurgeProcessedTargetsCacheRequest',
3150
+ 'responseType': 'PurgeProcessedTargetsCacheResponse',
3151
+ 'options': { '(.wix.api.exposure)': 'PRIVATE' },
3152
+ 'comment': null,
3153
+ 'parsedOptions': [{
3154
+ '(.wix.api.exposure)': 'PRIVATE',
3155
+ '__comment': null
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
+ }]
3147
3167
  }
3148
3168
  },
3149
3169
  'comment': null
@@ -3153,12 +3173,21 @@ $root.__lookup = function (pbjs) {
3153
3173
  'protoServiceFqn': {
3154
3174
  'type': 'string',
3155
3175
  'id': 1,
3156
- 'options': { '(.wix.api.minLength)': 1 },
3176
+ 'options': {
3177
+ '(wix.api.minLength)': 1,
3178
+ '(wix.api.maxLength)': 256
3179
+ },
3157
3180
  'comment': null,
3158
- 'parsedOptions': [{
3159
- '(.wix.api.minLength)': 1,
3181
+ 'parsedOptions': [
3182
+ {
3183
+ '(wix.api.minLength)': 1,
3160
3184
  '__comment': null
3161
- }]
3185
+ },
3186
+ {
3187
+ '(wix.api.maxLength)': 256,
3188
+ '__comment': null
3189
+ }
3190
+ ]
3162
3191
  }
3163
3192
  },
3164
3193
  'comment': null
@@ -3167,6 +3196,49 @@ $root.__lookup = function (pbjs) {
3167
3196
  'fields': {},
3168
3197
  'comment': null
3169
3198
  },
3199
+ 'PurgeProcessedTargetsCacheRequest': {
3200
+ 'fields': {
3201
+ 'confirm': {
3202
+ 'type': 'bool',
3203
+ 'id': 1,
3204
+ 'comment': null,
3205
+ 'parsedOptions': null
3206
+ }
3207
+ },
3208
+ 'comment': null
3209
+ },
3210
+ 'PurgeProcessedTargetsCacheResponse': {
3211
+ 'fields': {},
3212
+ 'comment': null
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
+ },
3170
3242
  'BusinessSchemaService': {
3171
3243
  'options': {
3172
3244
  '(.wix.api.service_entity).message': 'wix.coreservices.businessschema.v1.Entity',
@@ -22589,6 +22661,12 @@ $root.wix = (function () {
22589
22661
  deleteServiceDocument(aspects, msg) {
22590
22662
  throw new TypeError('method deleteServiceDocument is abstract');
22591
22663
  }
22664
+ purgeProcessedTargetsCache(aspects, msg) {
22665
+ throw new TypeError('method purgeProcessedTargetsCache is abstract');
22666
+ }
22667
+ deleteEntity(aspects, msg) {
22668
+ throw new TypeError('method deleteEntity is abstract');
22669
+ }
22592
22670
  }
22593
22671
  ManagementService.prototype.deleteServiceDocument._messageTypes = function () {
22594
22672
  return [
@@ -22596,9 +22674,27 @@ $root.wix = (function () {
22596
22674
  $root.wix.coreservices.businessschema.v1.DeleteServiceDocumentResponse
22597
22675
  ];
22598
22676
  };
22677
+ ManagementService.prototype.purgeProcessedTargetsCache._messageTypes = function () {
22678
+ return [
22679
+ $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest,
22680
+ $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse
22681
+ ];
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
+ };
22599
22689
  ManagementService.prototype.deleteServiceDocument.__proto = pbjs => {
22600
22690
  return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteServiceDocument');
22601
22691
  };
22692
+ ManagementService.prototype.purgeProcessedTargetsCache.__proto = pbjs => {
22693
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.PurgeProcessedTargetsCache');
22694
+ };
22695
+ ManagementService.prototype.deleteEntity.__proto = pbjs => {
22696
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteEntity');
22697
+ };
22602
22698
  __builtIn.Object.defineProperty(ManagementService.prototype, '__isRpcService__', {
22603
22699
  value: true,
22604
22700
  enumerable: false,
@@ -22774,6 +22870,288 @@ $root.wix = (function () {
22774
22870
  });
22775
22871
  return DeleteServiceDocumentResponse;
22776
22872
  }());;
22873
+ _v1.PurgeProcessedTargetsCacheRequest = (function () {
22874
+ class PurgeProcessedTargetsCacheRequest {
22875
+ constructor(props) {
22876
+ this.confirm = props && props.confirm;
22877
+ }
22878
+ static toJSON(obj, helper, withDefaults) {
22879
+ if (obj == null) {
22880
+ return null;
22881
+ } else {
22882
+ const json = {};
22883
+ if (obj['confirm'] != null) {
22884
+ json['confirm'] = obj['confirm'];
22885
+ } else if (withDefaults) {
22886
+ json['confirm'] = false;
22887
+ }
22888
+ return json;
22889
+ }
22890
+ }
22891
+ static fromJSON(json, helper, withDefaults) {
22892
+ if (typeof json === 'object' && !Array.isArray(json)) {
22893
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest();
22894
+ if (json['confirm'] != null) {
22895
+ result['confirm'] = json['confirm'];
22896
+ } else if (withDefaults !== false) {
22897
+ result['confirm'] = false;
22898
+ } else {
22899
+ delete result['confirm'];
22900
+ }
22901
+ return result;
22902
+ } else
22903
+ return json;
22904
+ }
22905
+ static toGRPC(obj, helper) {
22906
+ if (obj == null) {
22907
+ return null;
22908
+ } else {
22909
+ const grpc = {};
22910
+ if (obj['confirm'] != null) {
22911
+ grpc['confirm'] = obj['confirm'];
22912
+ }
22913
+ return grpc;
22914
+ }
22915
+ }
22916
+ static fromGRPC(grpc, helper) {
22917
+ if (grpc == null) {
22918
+ return null;
22919
+ } else {
22920
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest();
22921
+ if (grpc['confirm'] != null) {
22922
+ result['confirm'] = grpc['confirm'];
22923
+ } else {
22924
+ result['confirm'] = false;
22925
+ }
22926
+ return result;
22927
+ }
22928
+ }
22929
+ }
22930
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__proto', {
22931
+ value: pbjs => {
22932
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest');
22933
+ },
22934
+ enumerable: false,
22935
+ configurable: false
22936
+ });
22937
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__fqn__', {
22938
+ value: 'wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest',
22939
+ enumerable: false,
22940
+ configurable: false
22941
+ });
22942
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__options__', {
22943
+ value: $root.__options,
22944
+ enumerable: false,
22945
+ configurable: false
22946
+ });
22947
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__root__', {
22948
+ value: $root,
22949
+ enumerable: false,
22950
+ configurable: false
22951
+ });
22952
+ return PurgeProcessedTargetsCacheRequest;
22953
+ }());;
22954
+ _v1.PurgeProcessedTargetsCacheResponse = (function () {
22955
+ class PurgeProcessedTargetsCacheResponse {
22956
+ constructor(props) {
22957
+ }
22958
+ static toJSON(obj, helper, withDefaults) {
22959
+ if (obj == null) {
22960
+ return null;
22961
+ } else {
22962
+ const json = {};
22963
+ return json;
22964
+ }
22965
+ }
22966
+ static fromJSON(json, helper, withDefaults) {
22967
+ if (typeof json === 'object' && !Array.isArray(json)) {
22968
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse();
22969
+ return result;
22970
+ } else
22971
+ return json;
22972
+ }
22973
+ static toGRPC(obj, helper) {
22974
+ if (obj == null) {
22975
+ return null;
22976
+ } else {
22977
+ const grpc = {};
22978
+ return grpc;
22979
+ }
22980
+ }
22981
+ static fromGRPC(grpc, helper) {
22982
+ if (grpc == null) {
22983
+ return null;
22984
+ } else {
22985
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse();
22986
+ return result;
22987
+ }
22988
+ }
22989
+ }
22990
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__proto', {
22991
+ value: pbjs => {
22992
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse');
22993
+ },
22994
+ enumerable: false,
22995
+ configurable: false
22996
+ });
22997
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__fqn__', {
22998
+ value: 'wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse',
22999
+ enumerable: false,
23000
+ configurable: false
23001
+ });
23002
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__options__', {
23003
+ value: $root.__options,
23004
+ enumerable: false,
23005
+ configurable: false
23006
+ });
23007
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__root__', {
23008
+ value: $root,
23009
+ enumerable: false,
23010
+ configurable: false
23011
+ });
23012
+ return PurgeProcessedTargetsCacheResponse;
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
+ }());;
22777
23155
  _v1.BusinessSchemaService = (function () {
22778
23156
  class BusinessSchemaService {
22779
23157
  validateFqdn(aspects, msg) {
@@ -1218,6 +1218,34 @@ declare namespace $requests {
1218
1218
  constructor(data?: IDeleteServiceDocumentResponse);
1219
1219
  static __$$generatedFromProtobuf$$__: Symbol;
1220
1220
  }
1221
+ export interface IPurgeProcessedTargetsCacheRequest {
1222
+ confirm: boolean;
1223
+ }
1224
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
1225
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
1226
+ confirm: boolean;
1227
+ static __$$generatedFromProtobuf$$__: Symbol;
1228
+ }
1229
+ export interface IPurgeProcessedTargetsCacheResponse {
1230
+ }
1231
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
1232
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
1233
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
1221
1249
  export interface IValidateFqdnRequest {
1222
1250
  fqdn: string;
1223
1251
  }
@@ -4927,6 +4955,34 @@ declare namespace $responses {
4927
4955
  constructor(data?: IDeleteServiceDocumentResponse);
4928
4956
  static __$$generatedFromProtobuf$$__: Symbol;
4929
4957
  }
4958
+ export interface IPurgeProcessedTargetsCacheRequest {
4959
+ confirm?: boolean;
4960
+ }
4961
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
4962
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
4963
+ confirm?: boolean;
4964
+ static __$$generatedFromProtobuf$$__: Symbol;
4965
+ }
4966
+ export interface IPurgeProcessedTargetsCacheResponse {
4967
+ }
4968
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
4969
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
4970
+ static __$$generatedFromProtobuf$$__: Symbol;
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
+ }
4930
4986
  export interface IValidateFqdnRequest {
4931
4987
  fqdn?: string;
4932
4988
  }
@@ -7434,6 +7490,8 @@ declare namespace $services {
7434
7490
  }
7435
7491
  export abstract class ManagementService {
7436
7492
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
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>
7437
7495
  }
7438
7496
  export abstract class BusinessSchemaService {
7439
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.1499",
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.1854.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.1529",
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": "6b8de79b7c253866d4b3757b8825e60619396034cf44f91d9ca5bb04"
74
+ "falconPackageHash": "32639f096d33debcba2917d5659f9958359a4f5335f0b7f6f5321079"
75
75
  }