@wix/metro-common-builders 1.0.1498 → 1.0.1500

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,20 @@ 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
+ }
1221
1235
  export interface IValidateFqdnRequest {
1222
1236
  fqdn?: string;
1223
1237
  }
@@ -4927,6 +4941,20 @@ declare namespace $responses {
4927
4941
  constructor(data?: IDeleteServiceDocumentResponse);
4928
4942
  static __$$generatedFromProtobuf$$__: Symbol;
4929
4943
  }
4944
+ export interface IPurgeProcessedTargetsCacheRequest {
4945
+ confirm: boolean;
4946
+ }
4947
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
4948
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
4949
+ confirm: boolean;
4950
+ static __$$generatedFromProtobuf$$__: Symbol;
4951
+ }
4952
+ export interface IPurgeProcessedTargetsCacheResponse {
4953
+ }
4954
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
4955
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
4956
+ static __$$generatedFromProtobuf$$__: Symbol;
4957
+ }
4930
4958
  export interface IValidateFqdnRequest {
4931
4959
  fqdn: string;
4932
4960
  }
@@ -7435,6 +7463,8 @@ declare namespace $services {
7435
7463
  export abstract class ManagementService {
7436
7464
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7437
7465
  abstract deleteServiceDocument(req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7466
+ abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7467
+ abstract purgeProcessedTargetsCache(req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7438
7468
  }
7439
7469
  export abstract class BusinessSchemaService {
7440
7470
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1208,6 +1208,7 @@ 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>
1211
1212
  }
1212
1213
  export interface IDeleteServiceDocumentRequest {
1213
1214
  protoServiceFqn?: (string | null);
@@ -1223,6 +1224,20 @@ declare namespace $wrapper {
1223
1224
  constructor(data?: IDeleteServiceDocumentResponse);
1224
1225
  static __$$generatedFromProtobuf$$__: Symbol;
1225
1226
  }
1227
+ export interface IPurgeProcessedTargetsCacheRequest {
1228
+ confirm?: (boolean | null);
1229
+ }
1230
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
1231
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
1232
+ confirm?: (boolean | null);
1233
+ static __$$generatedFromProtobuf$$__: Symbol;
1234
+ }
1235
+ export interface IPurgeProcessedTargetsCacheResponse {
1236
+ }
1237
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
1238
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
1239
+ static __$$generatedFromProtobuf$$__: Symbol;
1240
+ }
1226
1241
  export abstract class BusinessSchemaService {
1227
1242
  abstract validateFqdn(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
1228
1243
  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': '94749c41cb6177d41b7ec250c126a7732523aeb2'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -3144,6 +3144,16 @@ $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
+ }]
3147
3157
  }
3148
3158
  },
3149
3159
  'comment': null
@@ -3167,6 +3177,21 @@ $root.__lookup = function (pbjs) {
3167
3177
  'fields': {},
3168
3178
  'comment': null
3169
3179
  },
3180
+ 'PurgeProcessedTargetsCacheRequest': {
3181
+ 'fields': {
3182
+ 'confirm': {
3183
+ 'type': 'bool',
3184
+ 'id': 1,
3185
+ 'comment': null,
3186
+ 'parsedOptions': null
3187
+ }
3188
+ },
3189
+ 'comment': null
3190
+ },
3191
+ 'PurgeProcessedTargetsCacheResponse': {
3192
+ 'fields': {},
3193
+ 'comment': null
3194
+ },
3170
3195
  'BusinessSchemaService': {
3171
3196
  'options': {
3172
3197
  '(.wix.api.service_entity).message': 'wix.coreservices.businessschema.v1.Entity',
@@ -22589,6 +22614,9 @@ $root.wix = (function () {
22589
22614
  deleteServiceDocument(aspects, msg) {
22590
22615
  throw new TypeError('method deleteServiceDocument is abstract');
22591
22616
  }
22617
+ purgeProcessedTargetsCache(aspects, msg) {
22618
+ throw new TypeError('method purgeProcessedTargetsCache is abstract');
22619
+ }
22592
22620
  }
22593
22621
  ManagementService.prototype.deleteServiceDocument._messageTypes = function () {
22594
22622
  return [
@@ -22596,9 +22624,18 @@ $root.wix = (function () {
22596
22624
  $root.wix.coreservices.businessschema.v1.DeleteServiceDocumentResponse
22597
22625
  ];
22598
22626
  };
22627
+ ManagementService.prototype.purgeProcessedTargetsCache._messageTypes = function () {
22628
+ return [
22629
+ $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest,
22630
+ $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse
22631
+ ];
22632
+ };
22599
22633
  ManagementService.prototype.deleteServiceDocument.__proto = pbjs => {
22600
22634
  return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteServiceDocument');
22601
22635
  };
22636
+ ManagementService.prototype.purgeProcessedTargetsCache.__proto = pbjs => {
22637
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.PurgeProcessedTargetsCache');
22638
+ };
22602
22639
  __builtIn.Object.defineProperty(ManagementService.prototype, '__isRpcService__', {
22603
22640
  value: true,
22604
22641
  enumerable: false,
@@ -22774,6 +22811,147 @@ $root.wix = (function () {
22774
22811
  });
22775
22812
  return DeleteServiceDocumentResponse;
22776
22813
  }());;
22814
+ _v1.PurgeProcessedTargetsCacheRequest = (function () {
22815
+ class PurgeProcessedTargetsCacheRequest {
22816
+ constructor(props) {
22817
+ this.confirm = props && props.confirm;
22818
+ }
22819
+ static toJSON(obj, helper, withDefaults) {
22820
+ if (obj == null) {
22821
+ return null;
22822
+ } else {
22823
+ const json = {};
22824
+ if (obj['confirm'] != null) {
22825
+ json['confirm'] = obj['confirm'];
22826
+ } else if (withDefaults) {
22827
+ json['confirm'] = false;
22828
+ }
22829
+ return json;
22830
+ }
22831
+ }
22832
+ static fromJSON(json, helper, withDefaults) {
22833
+ if (typeof json === 'object' && !Array.isArray(json)) {
22834
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest();
22835
+ if (json['confirm'] != null) {
22836
+ result['confirm'] = json['confirm'];
22837
+ } else if (withDefaults !== false) {
22838
+ result['confirm'] = false;
22839
+ } else {
22840
+ delete result['confirm'];
22841
+ }
22842
+ return result;
22843
+ } else
22844
+ return json;
22845
+ }
22846
+ static toGRPC(obj, helper) {
22847
+ if (obj == null) {
22848
+ return null;
22849
+ } else {
22850
+ const grpc = {};
22851
+ if (obj['confirm'] != null) {
22852
+ grpc['confirm'] = obj['confirm'];
22853
+ }
22854
+ return grpc;
22855
+ }
22856
+ }
22857
+ static fromGRPC(grpc, helper) {
22858
+ if (grpc == null) {
22859
+ return null;
22860
+ } else {
22861
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest();
22862
+ if (grpc['confirm'] != null) {
22863
+ result['confirm'] = grpc['confirm'];
22864
+ } else {
22865
+ result['confirm'] = false;
22866
+ }
22867
+ return result;
22868
+ }
22869
+ }
22870
+ }
22871
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__proto', {
22872
+ value: pbjs => {
22873
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest');
22874
+ },
22875
+ enumerable: false,
22876
+ configurable: false
22877
+ });
22878
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__fqn__', {
22879
+ value: 'wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest',
22880
+ enumerable: false,
22881
+ configurable: false
22882
+ });
22883
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__options__', {
22884
+ value: $root.__options,
22885
+ enumerable: false,
22886
+ configurable: false
22887
+ });
22888
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__root__', {
22889
+ value: $root,
22890
+ enumerable: false,
22891
+ configurable: false
22892
+ });
22893
+ return PurgeProcessedTargetsCacheRequest;
22894
+ }());;
22895
+ _v1.PurgeProcessedTargetsCacheResponse = (function () {
22896
+ class PurgeProcessedTargetsCacheResponse {
22897
+ constructor(props) {
22898
+ }
22899
+ static toJSON(obj, helper, withDefaults) {
22900
+ if (obj == null) {
22901
+ return null;
22902
+ } else {
22903
+ const json = {};
22904
+ return json;
22905
+ }
22906
+ }
22907
+ static fromJSON(json, helper, withDefaults) {
22908
+ if (typeof json === 'object' && !Array.isArray(json)) {
22909
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse();
22910
+ return result;
22911
+ } else
22912
+ return json;
22913
+ }
22914
+ static toGRPC(obj, helper) {
22915
+ if (obj == null) {
22916
+ return null;
22917
+ } else {
22918
+ const grpc = {};
22919
+ return grpc;
22920
+ }
22921
+ }
22922
+ static fromGRPC(grpc, helper) {
22923
+ if (grpc == null) {
22924
+ return null;
22925
+ } else {
22926
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse();
22927
+ return result;
22928
+ }
22929
+ }
22930
+ }
22931
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__proto', {
22932
+ value: pbjs => {
22933
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse');
22934
+ },
22935
+ enumerable: false,
22936
+ configurable: false
22937
+ });
22938
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__fqn__', {
22939
+ value: 'wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse',
22940
+ enumerable: false,
22941
+ configurable: false
22942
+ });
22943
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__options__', {
22944
+ value: $root.__options,
22945
+ enumerable: false,
22946
+ configurable: false
22947
+ });
22948
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__root__', {
22949
+ value: $root,
22950
+ enumerable: false,
22951
+ configurable: false
22952
+ });
22953
+ return PurgeProcessedTargetsCacheResponse;
22954
+ }());;
22777
22955
  _v1.BusinessSchemaService = (function () {
22778
22956
  class BusinessSchemaService {
22779
22957
  validateFqdn(aspects, msg) {
@@ -1218,6 +1218,20 @@ 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
+ }
1221
1235
  export interface IValidateFqdnRequest {
1222
1236
  fqdn: string;
1223
1237
  }
@@ -4927,6 +4941,20 @@ declare namespace $responses {
4927
4941
  constructor(data?: IDeleteServiceDocumentResponse);
4928
4942
  static __$$generatedFromProtobuf$$__: Symbol;
4929
4943
  }
4944
+ export interface IPurgeProcessedTargetsCacheRequest {
4945
+ confirm?: boolean;
4946
+ }
4947
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
4948
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
4949
+ confirm?: boolean;
4950
+ static __$$generatedFromProtobuf$$__: Symbol;
4951
+ }
4952
+ export interface IPurgeProcessedTargetsCacheResponse {
4953
+ }
4954
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
4955
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
4956
+ static __$$generatedFromProtobuf$$__: Symbol;
4957
+ }
4930
4958
  export interface IValidateFqdnRequest {
4931
4959
  fqdn?: string;
4932
4960
  }
@@ -7434,6 +7462,7 @@ declare namespace $services {
7434
7462
  }
7435
7463
  export abstract class ManagementService {
7436
7464
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7465
+ abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7437
7466
  }
7438
7467
  export abstract class BusinessSchemaService {
7439
7468
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1218,6 +1218,20 @@ 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
+ }
1221
1235
  export interface IValidateFqdnRequest {
1222
1236
  fqdn?: string;
1223
1237
  }
@@ -4927,6 +4941,20 @@ declare namespace $responses {
4927
4941
  constructor(data?: IDeleteServiceDocumentResponse);
4928
4942
  static __$$generatedFromProtobuf$$__: Symbol;
4929
4943
  }
4944
+ export interface IPurgeProcessedTargetsCacheRequest {
4945
+ confirm: boolean;
4946
+ }
4947
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
4948
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
4949
+ confirm: boolean;
4950
+ static __$$generatedFromProtobuf$$__: Symbol;
4951
+ }
4952
+ export interface IPurgeProcessedTargetsCacheResponse {
4953
+ }
4954
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
4955
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
4956
+ static __$$generatedFromProtobuf$$__: Symbol;
4957
+ }
4930
4958
  export interface IValidateFqdnRequest {
4931
4959
  fqdn: string;
4932
4960
  }
@@ -7435,6 +7463,8 @@ declare namespace $services {
7435
7463
  export abstract class ManagementService {
7436
7464
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7437
7465
  abstract deleteServiceDocument(req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7466
+ abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7467
+ abstract purgeProcessedTargetsCache(req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7438
7468
  }
7439
7469
  export abstract class BusinessSchemaService {
7440
7470
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
@@ -1208,6 +1208,7 @@ 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>
1211
1212
  }
1212
1213
  export interface IDeleteServiceDocumentRequest {
1213
1214
  protoServiceFqn?: (string | null);
@@ -1223,6 +1224,20 @@ declare namespace $wrapper {
1223
1224
  constructor(data?: IDeleteServiceDocumentResponse);
1224
1225
  static __$$generatedFromProtobuf$$__: Symbol;
1225
1226
  }
1227
+ export interface IPurgeProcessedTargetsCacheRequest {
1228
+ confirm?: (boolean | null);
1229
+ }
1230
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
1231
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
1232
+ confirm?: (boolean | null);
1233
+ static __$$generatedFromProtobuf$$__: Symbol;
1234
+ }
1235
+ export interface IPurgeProcessedTargetsCacheResponse {
1236
+ }
1237
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
1238
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
1239
+ static __$$generatedFromProtobuf$$__: Symbol;
1240
+ }
1226
1241
  export abstract class BusinessSchemaService {
1227
1242
  abstract validateFqdn(aspects: object, req: $wrapper.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$wrapper.wix.coreservices.businessschema.v1.IValidateFqdnResponse>
1228
1243
  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': '94749c41cb6177d41b7ec250c126a7732523aeb2'
14
14
  };
15
15
  $root.__lookup = function (pbjs) {
16
16
  const root = pbjs.Root.fromJSON({
@@ -3144,6 +3144,16 @@ $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
+ }]
3147
3157
  }
3148
3158
  },
3149
3159
  'comment': null
@@ -3167,6 +3177,21 @@ $root.__lookup = function (pbjs) {
3167
3177
  'fields': {},
3168
3178
  'comment': null
3169
3179
  },
3180
+ 'PurgeProcessedTargetsCacheRequest': {
3181
+ 'fields': {
3182
+ 'confirm': {
3183
+ 'type': 'bool',
3184
+ 'id': 1,
3185
+ 'comment': null,
3186
+ 'parsedOptions': null
3187
+ }
3188
+ },
3189
+ 'comment': null
3190
+ },
3191
+ 'PurgeProcessedTargetsCacheResponse': {
3192
+ 'fields': {},
3193
+ 'comment': null
3194
+ },
3170
3195
  'BusinessSchemaService': {
3171
3196
  'options': {
3172
3197
  '(.wix.api.service_entity).message': 'wix.coreservices.businessschema.v1.Entity',
@@ -22589,6 +22614,9 @@ $root.wix = (function () {
22589
22614
  deleteServiceDocument(aspects, msg) {
22590
22615
  throw new TypeError('method deleteServiceDocument is abstract');
22591
22616
  }
22617
+ purgeProcessedTargetsCache(aspects, msg) {
22618
+ throw new TypeError('method purgeProcessedTargetsCache is abstract');
22619
+ }
22592
22620
  }
22593
22621
  ManagementService.prototype.deleteServiceDocument._messageTypes = function () {
22594
22622
  return [
@@ -22596,9 +22624,18 @@ $root.wix = (function () {
22596
22624
  $root.wix.coreservices.businessschema.v1.DeleteServiceDocumentResponse
22597
22625
  ];
22598
22626
  };
22627
+ ManagementService.prototype.purgeProcessedTargetsCache._messageTypes = function () {
22628
+ return [
22629
+ $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest,
22630
+ $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse
22631
+ ];
22632
+ };
22599
22633
  ManagementService.prototype.deleteServiceDocument.__proto = pbjs => {
22600
22634
  return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.DeleteServiceDocument');
22601
22635
  };
22636
+ ManagementService.prototype.purgeProcessedTargetsCache.__proto = pbjs => {
22637
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.ManagementService.PurgeProcessedTargetsCache');
22638
+ };
22602
22639
  __builtIn.Object.defineProperty(ManagementService.prototype, '__isRpcService__', {
22603
22640
  value: true,
22604
22641
  enumerable: false,
@@ -22774,6 +22811,147 @@ $root.wix = (function () {
22774
22811
  });
22775
22812
  return DeleteServiceDocumentResponse;
22776
22813
  }());;
22814
+ _v1.PurgeProcessedTargetsCacheRequest = (function () {
22815
+ class PurgeProcessedTargetsCacheRequest {
22816
+ constructor(props) {
22817
+ this.confirm = props && props.confirm;
22818
+ }
22819
+ static toJSON(obj, helper, withDefaults) {
22820
+ if (obj == null) {
22821
+ return null;
22822
+ } else {
22823
+ const json = {};
22824
+ if (obj['confirm'] != null) {
22825
+ json['confirm'] = obj['confirm'];
22826
+ } else if (withDefaults) {
22827
+ json['confirm'] = false;
22828
+ }
22829
+ return json;
22830
+ }
22831
+ }
22832
+ static fromJSON(json, helper, withDefaults) {
22833
+ if (typeof json === 'object' && !Array.isArray(json)) {
22834
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest();
22835
+ if (json['confirm'] != null) {
22836
+ result['confirm'] = json['confirm'];
22837
+ } else if (withDefaults !== false) {
22838
+ result['confirm'] = false;
22839
+ } else {
22840
+ delete result['confirm'];
22841
+ }
22842
+ return result;
22843
+ } else
22844
+ return json;
22845
+ }
22846
+ static toGRPC(obj, helper) {
22847
+ if (obj == null) {
22848
+ return null;
22849
+ } else {
22850
+ const grpc = {};
22851
+ if (obj['confirm'] != null) {
22852
+ grpc['confirm'] = obj['confirm'];
22853
+ }
22854
+ return grpc;
22855
+ }
22856
+ }
22857
+ static fromGRPC(grpc, helper) {
22858
+ if (grpc == null) {
22859
+ return null;
22860
+ } else {
22861
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest();
22862
+ if (grpc['confirm'] != null) {
22863
+ result['confirm'] = grpc['confirm'];
22864
+ } else {
22865
+ result['confirm'] = false;
22866
+ }
22867
+ return result;
22868
+ }
22869
+ }
22870
+ }
22871
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__proto', {
22872
+ value: pbjs => {
22873
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest');
22874
+ },
22875
+ enumerable: false,
22876
+ configurable: false
22877
+ });
22878
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__fqn__', {
22879
+ value: 'wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheRequest',
22880
+ enumerable: false,
22881
+ configurable: false
22882
+ });
22883
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__options__', {
22884
+ value: $root.__options,
22885
+ enumerable: false,
22886
+ configurable: false
22887
+ });
22888
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheRequest.prototype, '__root__', {
22889
+ value: $root,
22890
+ enumerable: false,
22891
+ configurable: false
22892
+ });
22893
+ return PurgeProcessedTargetsCacheRequest;
22894
+ }());;
22895
+ _v1.PurgeProcessedTargetsCacheResponse = (function () {
22896
+ class PurgeProcessedTargetsCacheResponse {
22897
+ constructor(props) {
22898
+ }
22899
+ static toJSON(obj, helper, withDefaults) {
22900
+ if (obj == null) {
22901
+ return null;
22902
+ } else {
22903
+ const json = {};
22904
+ return json;
22905
+ }
22906
+ }
22907
+ static fromJSON(json, helper, withDefaults) {
22908
+ if (typeof json === 'object' && !Array.isArray(json)) {
22909
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse();
22910
+ return result;
22911
+ } else
22912
+ return json;
22913
+ }
22914
+ static toGRPC(obj, helper) {
22915
+ if (obj == null) {
22916
+ return null;
22917
+ } else {
22918
+ const grpc = {};
22919
+ return grpc;
22920
+ }
22921
+ }
22922
+ static fromGRPC(grpc, helper) {
22923
+ if (grpc == null) {
22924
+ return null;
22925
+ } else {
22926
+ const result = new $root.wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse();
22927
+ return result;
22928
+ }
22929
+ }
22930
+ }
22931
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__proto', {
22932
+ value: pbjs => {
22933
+ return $root.__lookup(pbjs)('wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse');
22934
+ },
22935
+ enumerable: false,
22936
+ configurable: false
22937
+ });
22938
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__fqn__', {
22939
+ value: 'wix.coreservices.businessschema.v1.PurgeProcessedTargetsCacheResponse',
22940
+ enumerable: false,
22941
+ configurable: false
22942
+ });
22943
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__options__', {
22944
+ value: $root.__options,
22945
+ enumerable: false,
22946
+ configurable: false
22947
+ });
22948
+ __builtIn.Object.defineProperty(PurgeProcessedTargetsCacheResponse.prototype, '__root__', {
22949
+ value: $root,
22950
+ enumerable: false,
22951
+ configurable: false
22952
+ });
22953
+ return PurgeProcessedTargetsCacheResponse;
22954
+ }());;
22777
22955
  _v1.BusinessSchemaService = (function () {
22778
22956
  class BusinessSchemaService {
22779
22957
  validateFqdn(aspects, msg) {
@@ -1218,6 +1218,20 @@ 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
+ }
1221
1235
  export interface IValidateFqdnRequest {
1222
1236
  fqdn: string;
1223
1237
  }
@@ -4927,6 +4941,20 @@ declare namespace $responses {
4927
4941
  constructor(data?: IDeleteServiceDocumentResponse);
4928
4942
  static __$$generatedFromProtobuf$$__: Symbol;
4929
4943
  }
4944
+ export interface IPurgeProcessedTargetsCacheRequest {
4945
+ confirm?: boolean;
4946
+ }
4947
+ export class PurgeProcessedTargetsCacheRequest implements IPurgeProcessedTargetsCacheRequest {
4948
+ constructor(data?: IPurgeProcessedTargetsCacheRequest);
4949
+ confirm?: boolean;
4950
+ static __$$generatedFromProtobuf$$__: Symbol;
4951
+ }
4952
+ export interface IPurgeProcessedTargetsCacheResponse {
4953
+ }
4954
+ export class PurgeProcessedTargetsCacheResponse implements IPurgeProcessedTargetsCacheResponse {
4955
+ constructor(data?: IPurgeProcessedTargetsCacheResponse);
4956
+ static __$$generatedFromProtobuf$$__: Symbol;
4957
+ }
4930
4958
  export interface IValidateFqdnRequest {
4931
4959
  fqdn?: string;
4932
4960
  }
@@ -7434,6 +7462,7 @@ declare namespace $services {
7434
7462
  }
7435
7463
  export abstract class ManagementService {
7436
7464
  abstract deleteServiceDocument(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteServiceDocumentRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteServiceDocumentResponse>
7465
+ abstract purgeProcessedTargetsCache(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheRequest): Promise<$responses.wix.coreservices.businessschema.v1.IPurgeProcessedTargetsCacheResponse>
7437
7466
  }
7438
7467
  export abstract class BusinessSchemaService {
7439
7468
  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.1498",
3
+ "version": "1.0.1500",
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.1853.0",
36
+ "@wix/metro-runtime": "1.1855.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.1528",
43
+ "@wix/business-schema-api": "^1.7.1530",
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": "5a109ffdb4012685817feb1ad1b30a9dd6af297db6f1ab0c599c75eb"
74
+ "falconPackageHash": "d41f97fd6c138472d37dccd63795aa87555a47fd5d54681ccdf17b5f"
75
75
  }