@wix/metro-common-builders 1.0.1761 → 1.0.1763

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.
@@ -56,6 +56,128 @@ declare namespace $requests {
56
56
  OTHERS = "OTHERS",
57
57
  }
58
58
  }
59
+ /**
60
+ * Indicates the tenancy context for services/methods.
61
+ * Override order:
62
+ * - Entity-level tenancy (default)
63
+ * - Service-level tenancy (overrides entity)
64
+ * - Method-level tenancy (overrides service/entity)
65
+ */
66
+ export interface ITenancyOptions {
67
+ type?: $requests.wix.coreservices.businessschema.v1.TenancyOptions.Type;
68
+ }
69
+ export class TenancyOptions implements ITenancyOptions {
70
+ constructor(data?: ITenancyOptions);
71
+ type?: $requests.wix.coreservices.businessschema.v1.TenancyOptions.Type;
72
+ static __$$generatedFromProtobuf$$__: Symbol;
73
+ }
74
+ export namespace TenancyOptions {
75
+ export enum Type {
76
+ TENANCY_TYPE_UNSPECIFIED = "TENANCY_TYPE_UNSPECIFIED",
77
+ TENANCY_TYPE_SITE = "TENANCY_TYPE_SITE",
78
+ TENANCY_TYPE_ACCOUNT = "TENANCY_TYPE_ACCOUNT",
79
+ TENANCY_TYPE_ORGANIZATION = "TENANCY_TYPE_ORGANIZATION",
80
+ TENANCY_TYPE_CUSTOM = "TENANCY_TYPE_CUSTOM",
81
+ }
82
+ }
83
+ /**
84
+ * Defines which identity audiences are allowed to call this method.
85
+ */
86
+ export interface IAudience {
87
+ uou?: $requests.wix.coreservices.businessschema.v1.Audience.IUou;
88
+ apps?: $requests.wix.coreservices.businessschema.v1.Audience.IApps;
89
+ users?: $requests.wix.coreservices.businessschema.v1.Audience.IUsers;
90
+ boUsers?: $requests.wix.coreservices.businessschema.v1.Audience.IBoUsers;
91
+ anonymous?: $requests.wix.coreservices.businessschema.v1.Audience.IAnonymous;
92
+ }
93
+ export class Audience implements IAudience {
94
+ constructor(data?: IAudience);
95
+ uou?: $requests.wix.coreservices.businessschema.v1.Audience.IUou;
96
+ apps?: $requests.wix.coreservices.businessschema.v1.Audience.IApps;
97
+ users?: $requests.wix.coreservices.businessschema.v1.Audience.IUsers;
98
+ boUsers?: $requests.wix.coreservices.businessschema.v1.Audience.IBoUsers;
99
+ anonymous?: $requests.wix.coreservices.businessschema.v1.Audience.IAnonymous;
100
+ static __$$generatedFromProtobuf$$__: Symbol;
101
+ }
102
+ export namespace Audience {
103
+ export interface IUou {
104
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.Uou.Access;
105
+ }
106
+ export class Uou implements IUou {
107
+ constructor(data?: IUou);
108
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.Uou.Access;
109
+ static __$$generatedFromProtobuf$$__: Symbol;
110
+ }
111
+ export namespace Uou {
112
+ export enum Access {
113
+ UOU_ACCESS_UNSPECIFIED = "UOU_ACCESS_UNSPECIFIED",
114
+ UOU_ACCESS_NOT_ALLOWED = "UOU_ACCESS_NOT_ALLOWED",
115
+ UOU_ACCESS_MEMBER_ONLY = "UOU_ACCESS_MEMBER_ONLY",
116
+ UOU_ACCESS_MEMBERS_AND_VISITORS = "UOU_ACCESS_MEMBERS_AND_VISITORS",
117
+ }
118
+ }
119
+ export interface IApps {
120
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.Apps.Access;
121
+ }
122
+ export class Apps implements IApps {
123
+ constructor(data?: IApps);
124
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.Apps.Access;
125
+ static __$$generatedFromProtobuf$$__: Symbol;
126
+ }
127
+ export namespace Apps {
128
+ export enum Access {
129
+ APPS_ACCESS_UNSPECIFIED = "APPS_ACCESS_UNSPECIFIED",
130
+ APPS_ACCESS_NOT_ALLOWED = "APPS_ACCESS_NOT_ALLOWED",
131
+ APPS_ACCESS_WIX_APPS_ONLY = "APPS_ACCESS_WIX_APPS_ONLY",
132
+ APPS_ACCESS_ALL_APPS = "APPS_ACCESS_ALL_APPS",
133
+ }
134
+ }
135
+ export interface IUsers {
136
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.Users.Access;
137
+ }
138
+ export class Users implements IUsers {
139
+ constructor(data?: IUsers);
140
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.Users.Access;
141
+ static __$$generatedFromProtobuf$$__: Symbol;
142
+ }
143
+ export namespace Users {
144
+ export enum Access {
145
+ USERS_ACCESS_UNSPECIFIED = "USERS_ACCESS_UNSPECIFIED",
146
+ USERS_ACCESS_NOT_ALLOWED = "USERS_ACCESS_NOT_ALLOWED",
147
+ USERS_ACCESS_ALL_USERS = "USERS_ACCESS_ALL_USERS",
148
+ }
149
+ }
150
+ export interface IBoUsers {
151
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.BoUsers.Access;
152
+ }
153
+ export class BoUsers implements IBoUsers {
154
+ constructor(data?: IBoUsers);
155
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.BoUsers.Access;
156
+ static __$$generatedFromProtobuf$$__: Symbol;
157
+ }
158
+ export namespace BoUsers {
159
+ export enum Access {
160
+ BO_USERS_ACCESS_UNSPECIFIED = "BO_USERS_ACCESS_UNSPECIFIED",
161
+ BO_USERS_ACCESS_NOT_ALLOWED = "BO_USERS_ACCESS_NOT_ALLOWED",
162
+ BO_USERS_ACCESS_ALLOWED = "BO_USERS_ACCESS_ALLOWED",
163
+ }
164
+ }
165
+ export interface IAnonymous {
166
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.Anonymous.Access;
167
+ }
168
+ export class Anonymous implements IAnonymous {
169
+ constructor(data?: IAnonymous);
170
+ access?: $requests.wix.coreservices.businessschema.v1.Audience.Anonymous.Access;
171
+ static __$$generatedFromProtobuf$$__: Symbol;
172
+ }
173
+ export namespace Anonymous {
174
+ export enum Access {
175
+ ANONYMOUS_ACCESS_UNSPECIFIED = "ANONYMOUS_ACCESS_UNSPECIFIED",
176
+ ANONYMOUS_ACCESS_NOT_ALLOWED = "ANONYMOUS_ACCESS_NOT_ALLOWED",
177
+ ANONYMOUS_ACCESS_ALLOWED = "ANONYMOUS_ACCESS_ALLOWED",
178
+ }
179
+ }
180
+ }
59
181
  export interface IDeprecated {
60
182
  message?: string;
61
183
  replacedBy?: string;
@@ -113,6 +235,7 @@ declare namespace $requests {
113
235
  domainEventsSettings?: $requests.wix.coreservices.businessschema.v1.IDomainEventsSettings;
114
236
  queryOptions?: $requests.wix.coreservices.businessschema.v1.IQueryOptions;
115
237
  taggable?: $requests.wix.coreservices.businessschema.v1.ITaggable;
238
+ tenancyOptions?: $requests.wix.coreservices.businessschema.v1.ITenancyOptions;
116
239
  }
117
240
  export class EntityInfo implements IEntityInfo {
118
241
  constructor(data?: IEntityInfo);
@@ -142,6 +265,7 @@ declare namespace $requests {
142
265
  domainEventsSettings?: $requests.wix.coreservices.businessschema.v1.IDomainEventsSettings;
143
266
  queryOptions?: $requests.wix.coreservices.businessschema.v1.IQueryOptions;
144
267
  taggable?: $requests.wix.coreservices.businessschema.v1.ITaggable;
268
+ tenancyOptions?: $requests.wix.coreservices.businessschema.v1.ITenancyOptions;
145
269
  static __$$generatedFromProtobuf$$__: Symbol;
146
270
  }
147
271
  export interface ITaggable {
@@ -345,6 +469,7 @@ declare namespace $requests {
345
469
  externalPermissionScopes?: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
346
470
  eventType?: string;
347
471
  permissionsInfo?: $requests.wix.coreservices.businessschema.v1.IPermissionInfo[];
472
+ tenancy?: $requests.wix.coreservices.businessschema.v1.Tenancy;
348
473
  }
349
474
  export class Event implements IEvent {
350
475
  constructor(data?: IEvent);
@@ -362,8 +487,17 @@ declare namespace $requests {
362
487
  externalPermissionScopes?: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
363
488
  eventType?: string;
364
489
  permissionsInfo?: $requests.wix.coreservices.businessschema.v1.IPermissionInfo[];
490
+ tenancy?: $requests.wix.coreservices.businessschema.v1.Tenancy;
365
491
  static __$$generatedFromProtobuf$$__: Symbol;
366
492
  }
493
+ /**
494
+ * Indicates the callback tenancy
495
+ */
496
+ export enum Tenancy {
497
+ SITE = "SITE",
498
+ ACCOUNT = "ACCOUNT",
499
+ GLOBAL = "GLOBAL",
500
+ }
367
501
  export interface IAction {
368
502
  title?: string;
369
503
  methodName?: string;
@@ -387,6 +521,8 @@ declare namespace $requests {
387
521
  externalPermissionScopes?: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
388
522
  cacheSettings?: $requests.wix.coreservices.businessschema.v1.ICacheSettings;
389
523
  permissionsInfo?: $requests.wix.coreservices.businessschema.v1.IPermissionInfo[];
524
+ tenancyOptions?: $requests.wix.coreservices.businessschema.v1.ITenancyOptions;
525
+ audience?: $requests.wix.coreservices.businessschema.v1.IAudience;
390
526
  }
391
527
  export class Action implements IAction {
392
528
  constructor(data?: IAction);
@@ -412,6 +548,8 @@ declare namespace $requests {
412
548
  externalPermissionScopes?: $requests.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
413
549
  cacheSettings?: $requests.wix.coreservices.businessschema.v1.ICacheSettings;
414
550
  permissionsInfo?: $requests.wix.coreservices.businessschema.v1.IPermissionInfo[];
551
+ tenancyOptions?: $requests.wix.coreservices.businessschema.v1.ITenancyOptions;
552
+ audience?: $requests.wix.coreservices.businessschema.v1.IAudience;
415
553
  static __$$generatedFromProtobuf$$__: Symbol;
416
554
  }
417
555
  export interface IPermissionInfo {
@@ -1046,6 +1184,7 @@ declare namespace $requests {
1046
1184
  example?: any;
1047
1185
  translatable?: $requests.wix.coreservices.businessschema.v1.ITranslatable;
1048
1186
  maturity?: $requests.wix.coreservices.businessschema.v1.Maturity;
1187
+ conditional?: $requests.wix.coreservices.businessschema.v1.IConditional;
1049
1188
  }
1050
1189
  export class Field implements IField {
1051
1190
  constructor(data?: IField);
@@ -1064,6 +1203,17 @@ declare namespace $requests {
1064
1203
  example?: any;
1065
1204
  translatable?: $requests.wix.coreservices.businessschema.v1.ITranslatable;
1066
1205
  maturity?: $requests.wix.coreservices.businessschema.v1.Maturity;
1206
+ conditional?: $requests.wix.coreservices.businessschema.v1.IConditional;
1207
+ static __$$generatedFromProtobuf$$__: Symbol;
1208
+ }
1209
+ export interface IConditional {
1210
+ permission?: string;
1211
+ requestedField?: string;
1212
+ }
1213
+ export class Conditional implements IConditional {
1214
+ constructor(data?: IConditional);
1215
+ permission?: string;
1216
+ requestedField?: string;
1067
1217
  static __$$generatedFromProtobuf$$__: Symbol;
1068
1218
  }
1069
1219
  export interface IMember {
@@ -1197,6 +1347,7 @@ declare namespace $requests {
1197
1347
  ownershipTag?: $requests.wix.coreservices.businessschema.v1.ICodeOwnersTag;
1198
1348
  namespace?: string;
1199
1349
  javaPackage?: string;
1350
+ tenancyOptions?: $requests.wix.coreservices.businessschema.v1.ITenancyOptions;
1200
1351
  }
1201
1352
  export class Service implements IService {
1202
1353
  constructor(data?: IService);
@@ -1213,6 +1364,7 @@ declare namespace $requests {
1213
1364
  ownershipTag?: $requests.wix.coreservices.businessschema.v1.ICodeOwnersTag;
1214
1365
  namespace?: string;
1215
1366
  javaPackage?: string;
1367
+ tenancyOptions?: $requests.wix.coreservices.businessschema.v1.ITenancyOptions;
1216
1368
  static __$$generatedFromProtobuf$$__: Symbol;
1217
1369
  }
1218
1370
  export interface IServer {
@@ -1361,6 +1513,22 @@ declare namespace $requests {
1361
1513
  invocationData?: $requests.wix.coreservices.businessschema.v1.internal.IProtoArtifactInvocationData;
1362
1514
  static __$$generatedFromProtobuf$$__: Symbol;
1363
1515
  }
1516
+ export interface IListProtoArtifactsLastInvocationDataRequest {
1517
+ protoArtifactIds?: string[];
1518
+ }
1519
+ export class ListProtoArtifactsLastInvocationDataRequest implements IListProtoArtifactsLastInvocationDataRequest {
1520
+ constructor(data?: IListProtoArtifactsLastInvocationDataRequest);
1521
+ protoArtifactIds?: string[];
1522
+ static __$$generatedFromProtobuf$$__: Symbol;
1523
+ }
1524
+ export interface IListProtoArtifactsLastInvocationDataResponse {
1525
+ invocationDataMap?: { [k: string]: $requests.wix.coreservices.businessschema.v1.internal.IProtoArtifactInvocationData };
1526
+ }
1527
+ export class ListProtoArtifactsLastInvocationDataResponse implements IListProtoArtifactsLastInvocationDataResponse {
1528
+ constructor(data?: IListProtoArtifactsLastInvocationDataResponse);
1529
+ invocationDataMap?: { [k: string]: $requests.wix.coreservices.businessschema.v1.internal.IProtoArtifactInvocationData };
1530
+ static __$$generatedFromProtobuf$$__: Symbol;
1531
+ }
1364
1532
  }
1365
1533
  export interface IDeleteServiceDocumentRequest {
1366
1534
  protoServiceFqn?: string;
@@ -1371,9 +1539,15 @@ declare namespace $requests {
1371
1539
  static __$$generatedFromProtobuf$$__: Symbol;
1372
1540
  }
1373
1541
  export interface IDeleteServiceDocumentResponse {
1542
+ serviceDocumentsDeletedCount?: number;
1543
+ serviceProviderDocumentsDeletedCount?: number;
1544
+ processedTargetsDeletedCount?: number;
1374
1545
  }
1375
1546
  export class DeleteServiceDocumentResponse implements IDeleteServiceDocumentResponse {
1376
1547
  constructor(data?: IDeleteServiceDocumentResponse);
1548
+ serviceDocumentsDeletedCount?: number;
1549
+ serviceProviderDocumentsDeletedCount?: number;
1550
+ processedTargetsDeletedCount?: number;
1377
1551
  static __$$generatedFromProtobuf$$__: Symbol;
1378
1552
  }
1379
1553
  export interface IPurgeProcessedTargetsCacheRequest {
@@ -1466,6 +1640,32 @@ declare namespace $requests {
1466
1640
  frozen?: boolean;
1467
1641
  static __$$generatedFromProtobuf$$__: Symbol;
1468
1642
  }
1643
+ export interface IDeleteProtoArtifactRequest {
1644
+ protoArtifactId?: string;
1645
+ confirm?: boolean;
1646
+ }
1647
+ export class DeleteProtoArtifactRequest implements IDeleteProtoArtifactRequest {
1648
+ constructor(data?: IDeleteProtoArtifactRequest);
1649
+ protoArtifactId?: string;
1650
+ confirm?: boolean;
1651
+ static __$$generatedFromProtobuf$$__: Symbol;
1652
+ }
1653
+ export interface IDeleteProtoArtifactResponse {
1654
+ fqdnDocumentsDeletedCount?: number;
1655
+ serviceDocumentsDeletedCount?: number;
1656
+ serviceProviderDocumentsDeletedCount?: number;
1657
+ appendixDocumentsDeletedCount?: number;
1658
+ processedTargetsDeletedCount?: number;
1659
+ }
1660
+ export class DeleteProtoArtifactResponse implements IDeleteProtoArtifactResponse {
1661
+ constructor(data?: IDeleteProtoArtifactResponse);
1662
+ fqdnDocumentsDeletedCount?: number;
1663
+ serviceDocumentsDeletedCount?: number;
1664
+ serviceProviderDocumentsDeletedCount?: number;
1665
+ appendixDocumentsDeletedCount?: number;
1666
+ processedTargetsDeletedCount?: number;
1667
+ static __$$generatedFromProtobuf$$__: Symbol;
1668
+ }
1469
1669
  export interface IValidateFqdnRequest {
1470
1670
  fqdn?: string;
1471
1671
  }
@@ -4130,6 +4330,128 @@ declare namespace $responses {
4130
4330
  OTHERS = "OTHERS",
4131
4331
  }
4132
4332
  }
4333
+ /**
4334
+ * Indicates the tenancy context for services/methods.
4335
+ * Override order:
4336
+ * - Entity-level tenancy (default)
4337
+ * - Service-level tenancy (overrides entity)
4338
+ * - Method-level tenancy (overrides service/entity)
4339
+ */
4340
+ export interface ITenancyOptions {
4341
+ type: $responses.wix.coreservices.businessschema.v1.TenancyOptions.Type;
4342
+ }
4343
+ export class TenancyOptions implements ITenancyOptions {
4344
+ constructor(data?: ITenancyOptions);
4345
+ type: $responses.wix.coreservices.businessschema.v1.TenancyOptions.Type;
4346
+ static __$$generatedFromProtobuf$$__: Symbol;
4347
+ }
4348
+ export namespace TenancyOptions {
4349
+ export enum Type {
4350
+ TENANCY_TYPE_UNSPECIFIED = "TENANCY_TYPE_UNSPECIFIED",
4351
+ TENANCY_TYPE_SITE = "TENANCY_TYPE_SITE",
4352
+ TENANCY_TYPE_ACCOUNT = "TENANCY_TYPE_ACCOUNT",
4353
+ TENANCY_TYPE_ORGANIZATION = "TENANCY_TYPE_ORGANIZATION",
4354
+ TENANCY_TYPE_CUSTOM = "TENANCY_TYPE_CUSTOM",
4355
+ }
4356
+ }
4357
+ /**
4358
+ * Defines which identity audiences are allowed to call this method.
4359
+ */
4360
+ export interface IAudience {
4361
+ uou?: $responses.wix.coreservices.businessschema.v1.Audience.IUou;
4362
+ apps?: $responses.wix.coreservices.businessschema.v1.Audience.IApps;
4363
+ users?: $responses.wix.coreservices.businessschema.v1.Audience.IUsers;
4364
+ boUsers?: $responses.wix.coreservices.businessschema.v1.Audience.IBoUsers;
4365
+ anonymous?: $responses.wix.coreservices.businessschema.v1.Audience.IAnonymous;
4366
+ }
4367
+ export class Audience implements IAudience {
4368
+ constructor(data?: IAudience);
4369
+ uou?: $responses.wix.coreservices.businessschema.v1.Audience.IUou;
4370
+ apps?: $responses.wix.coreservices.businessschema.v1.Audience.IApps;
4371
+ users?: $responses.wix.coreservices.businessschema.v1.Audience.IUsers;
4372
+ boUsers?: $responses.wix.coreservices.businessschema.v1.Audience.IBoUsers;
4373
+ anonymous?: $responses.wix.coreservices.businessschema.v1.Audience.IAnonymous;
4374
+ static __$$generatedFromProtobuf$$__: Symbol;
4375
+ }
4376
+ export namespace Audience {
4377
+ export interface IUou {
4378
+ access: $responses.wix.coreservices.businessschema.v1.Audience.Uou.Access;
4379
+ }
4380
+ export class Uou implements IUou {
4381
+ constructor(data?: IUou);
4382
+ access: $responses.wix.coreservices.businessschema.v1.Audience.Uou.Access;
4383
+ static __$$generatedFromProtobuf$$__: Symbol;
4384
+ }
4385
+ export namespace Uou {
4386
+ export enum Access {
4387
+ UOU_ACCESS_UNSPECIFIED = "UOU_ACCESS_UNSPECIFIED",
4388
+ UOU_ACCESS_NOT_ALLOWED = "UOU_ACCESS_NOT_ALLOWED",
4389
+ UOU_ACCESS_MEMBER_ONLY = "UOU_ACCESS_MEMBER_ONLY",
4390
+ UOU_ACCESS_MEMBERS_AND_VISITORS = "UOU_ACCESS_MEMBERS_AND_VISITORS",
4391
+ }
4392
+ }
4393
+ export interface IApps {
4394
+ access: $responses.wix.coreservices.businessschema.v1.Audience.Apps.Access;
4395
+ }
4396
+ export class Apps implements IApps {
4397
+ constructor(data?: IApps);
4398
+ access: $responses.wix.coreservices.businessschema.v1.Audience.Apps.Access;
4399
+ static __$$generatedFromProtobuf$$__: Symbol;
4400
+ }
4401
+ export namespace Apps {
4402
+ export enum Access {
4403
+ APPS_ACCESS_UNSPECIFIED = "APPS_ACCESS_UNSPECIFIED",
4404
+ APPS_ACCESS_NOT_ALLOWED = "APPS_ACCESS_NOT_ALLOWED",
4405
+ APPS_ACCESS_WIX_APPS_ONLY = "APPS_ACCESS_WIX_APPS_ONLY",
4406
+ APPS_ACCESS_ALL_APPS = "APPS_ACCESS_ALL_APPS",
4407
+ }
4408
+ }
4409
+ export interface IUsers {
4410
+ access: $responses.wix.coreservices.businessschema.v1.Audience.Users.Access;
4411
+ }
4412
+ export class Users implements IUsers {
4413
+ constructor(data?: IUsers);
4414
+ access: $responses.wix.coreservices.businessschema.v1.Audience.Users.Access;
4415
+ static __$$generatedFromProtobuf$$__: Symbol;
4416
+ }
4417
+ export namespace Users {
4418
+ export enum Access {
4419
+ USERS_ACCESS_UNSPECIFIED = "USERS_ACCESS_UNSPECIFIED",
4420
+ USERS_ACCESS_NOT_ALLOWED = "USERS_ACCESS_NOT_ALLOWED",
4421
+ USERS_ACCESS_ALL_USERS = "USERS_ACCESS_ALL_USERS",
4422
+ }
4423
+ }
4424
+ export interface IBoUsers {
4425
+ access: $responses.wix.coreservices.businessschema.v1.Audience.BoUsers.Access;
4426
+ }
4427
+ export class BoUsers implements IBoUsers {
4428
+ constructor(data?: IBoUsers);
4429
+ access: $responses.wix.coreservices.businessschema.v1.Audience.BoUsers.Access;
4430
+ static __$$generatedFromProtobuf$$__: Symbol;
4431
+ }
4432
+ export namespace BoUsers {
4433
+ export enum Access {
4434
+ BO_USERS_ACCESS_UNSPECIFIED = "BO_USERS_ACCESS_UNSPECIFIED",
4435
+ BO_USERS_ACCESS_NOT_ALLOWED = "BO_USERS_ACCESS_NOT_ALLOWED",
4436
+ BO_USERS_ACCESS_ALLOWED = "BO_USERS_ACCESS_ALLOWED",
4437
+ }
4438
+ }
4439
+ export interface IAnonymous {
4440
+ access: $responses.wix.coreservices.businessschema.v1.Audience.Anonymous.Access;
4441
+ }
4442
+ export class Anonymous implements IAnonymous {
4443
+ constructor(data?: IAnonymous);
4444
+ access: $responses.wix.coreservices.businessschema.v1.Audience.Anonymous.Access;
4445
+ static __$$generatedFromProtobuf$$__: Symbol;
4446
+ }
4447
+ export namespace Anonymous {
4448
+ export enum Access {
4449
+ ANONYMOUS_ACCESS_UNSPECIFIED = "ANONYMOUS_ACCESS_UNSPECIFIED",
4450
+ ANONYMOUS_ACCESS_NOT_ALLOWED = "ANONYMOUS_ACCESS_NOT_ALLOWED",
4451
+ ANONYMOUS_ACCESS_ALLOWED = "ANONYMOUS_ACCESS_ALLOWED",
4452
+ }
4453
+ }
4454
+ }
4133
4455
  export interface IDeprecated {
4134
4456
  message?: string;
4135
4457
  replacedBy?: string;
@@ -4187,6 +4509,7 @@ declare namespace $responses {
4187
4509
  domainEventsSettings?: $responses.wix.coreservices.businessschema.v1.IDomainEventsSettings;
4188
4510
  queryOptions?: $responses.wix.coreservices.businessschema.v1.IQueryOptions;
4189
4511
  taggable?: $responses.wix.coreservices.businessschema.v1.ITaggable;
4512
+ tenancyOptions?: $responses.wix.coreservices.businessschema.v1.ITenancyOptions;
4190
4513
  }
4191
4514
  export class EntityInfo implements IEntityInfo {
4192
4515
  constructor(data?: IEntityInfo);
@@ -4216,6 +4539,7 @@ declare namespace $responses {
4216
4539
  domainEventsSettings?: $responses.wix.coreservices.businessschema.v1.IDomainEventsSettings;
4217
4540
  queryOptions?: $responses.wix.coreservices.businessschema.v1.IQueryOptions;
4218
4541
  taggable?: $responses.wix.coreservices.businessschema.v1.ITaggable;
4542
+ tenancyOptions?: $responses.wix.coreservices.businessschema.v1.ITenancyOptions;
4219
4543
  static __$$generatedFromProtobuf$$__: Symbol;
4220
4544
  }
4221
4545
  export interface ITaggable {
@@ -4419,6 +4743,7 @@ declare namespace $responses {
4419
4743
  externalPermissionScopes: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
4420
4744
  eventType?: string;
4421
4745
  permissionsInfo: $responses.wix.coreservices.businessschema.v1.IPermissionInfo[];
4746
+ tenancy: $responses.wix.coreservices.businessschema.v1.Tenancy;
4422
4747
  }
4423
4748
  export class Event implements IEvent {
4424
4749
  constructor(data?: IEvent);
@@ -4436,8 +4761,17 @@ declare namespace $responses {
4436
4761
  externalPermissionScopes: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
4437
4762
  eventType?: string;
4438
4763
  permissionsInfo: $responses.wix.coreservices.businessschema.v1.IPermissionInfo[];
4764
+ tenancy: $responses.wix.coreservices.businessschema.v1.Tenancy;
4439
4765
  static __$$generatedFromProtobuf$$__: Symbol;
4440
4766
  }
4767
+ /**
4768
+ * Indicates the callback tenancy
4769
+ */
4770
+ export enum Tenancy {
4771
+ SITE = "SITE",
4772
+ ACCOUNT = "ACCOUNT",
4773
+ GLOBAL = "GLOBAL",
4774
+ }
4441
4775
  export interface IAction {
4442
4776
  title: string;
4443
4777
  methodName: string;
@@ -4461,6 +4795,8 @@ declare namespace $responses {
4461
4795
  externalPermissionScopes: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
4462
4796
  cacheSettings?: $responses.wix.coreservices.businessschema.v1.ICacheSettings;
4463
4797
  permissionsInfo: $responses.wix.coreservices.businessschema.v1.IPermissionInfo[];
4798
+ tenancyOptions?: $responses.wix.coreservices.businessschema.v1.ITenancyOptions;
4799
+ audience?: $responses.wix.coreservices.businessschema.v1.IAudience;
4464
4800
  }
4465
4801
  export class Action implements IAction {
4466
4802
  constructor(data?: IAction);
@@ -4486,6 +4822,8 @@ declare namespace $responses {
4486
4822
  externalPermissionScopes: $responses.wix.coreservices.businessschema.v1.IExternalPermissionScope[];
4487
4823
  cacheSettings?: $responses.wix.coreservices.businessschema.v1.ICacheSettings;
4488
4824
  permissionsInfo: $responses.wix.coreservices.businessschema.v1.IPermissionInfo[];
4825
+ tenancyOptions?: $responses.wix.coreservices.businessschema.v1.ITenancyOptions;
4826
+ audience?: $responses.wix.coreservices.businessschema.v1.IAudience;
4489
4827
  static __$$generatedFromProtobuf$$__: Symbol;
4490
4828
  }
4491
4829
  export interface IPermissionInfo {
@@ -5120,6 +5458,7 @@ declare namespace $responses {
5120
5458
  example?: any;
5121
5459
  translatable?: $responses.wix.coreservices.businessschema.v1.ITranslatable;
5122
5460
  maturity: $responses.wix.coreservices.businessschema.v1.Maturity;
5461
+ conditional?: $responses.wix.coreservices.businessschema.v1.IConditional;
5123
5462
  }
5124
5463
  export class Field implements IField {
5125
5464
  constructor(data?: IField);
@@ -5138,6 +5477,17 @@ declare namespace $responses {
5138
5477
  example?: any;
5139
5478
  translatable?: $responses.wix.coreservices.businessschema.v1.ITranslatable;
5140
5479
  maturity: $responses.wix.coreservices.businessschema.v1.Maturity;
5480
+ conditional?: $responses.wix.coreservices.businessschema.v1.IConditional;
5481
+ static __$$generatedFromProtobuf$$__: Symbol;
5482
+ }
5483
+ export interface IConditional {
5484
+ permission?: string;
5485
+ requestedField?: string;
5486
+ }
5487
+ export class Conditional implements IConditional {
5488
+ constructor(data?: IConditional);
5489
+ permission?: string;
5490
+ requestedField?: string;
5141
5491
  static __$$generatedFromProtobuf$$__: Symbol;
5142
5492
  }
5143
5493
  export interface IMember {
@@ -5271,6 +5621,7 @@ declare namespace $responses {
5271
5621
  ownershipTag?: $responses.wix.coreservices.businessschema.v1.ICodeOwnersTag;
5272
5622
  namespace?: string;
5273
5623
  javaPackage?: string;
5624
+ tenancyOptions?: $responses.wix.coreservices.businessschema.v1.ITenancyOptions;
5274
5625
  }
5275
5626
  export class Service implements IService {
5276
5627
  constructor(data?: IService);
@@ -5287,6 +5638,7 @@ declare namespace $responses {
5287
5638
  ownershipTag?: $responses.wix.coreservices.businessschema.v1.ICodeOwnersTag;
5288
5639
  namespace?: string;
5289
5640
  javaPackage?: string;
5641
+ tenancyOptions?: $responses.wix.coreservices.businessschema.v1.ITenancyOptions;
5290
5642
  static __$$generatedFromProtobuf$$__: Symbol;
5291
5643
  }
5292
5644
  export interface IServer {
@@ -5435,6 +5787,22 @@ declare namespace $responses {
5435
5787
  invocationData?: $responses.wix.coreservices.businessschema.v1.internal.IProtoArtifactInvocationData;
5436
5788
  static __$$generatedFromProtobuf$$__: Symbol;
5437
5789
  }
5790
+ export interface IListProtoArtifactsLastInvocationDataRequest {
5791
+ protoArtifactIds: string[];
5792
+ }
5793
+ export class ListProtoArtifactsLastInvocationDataRequest implements IListProtoArtifactsLastInvocationDataRequest {
5794
+ constructor(data?: IListProtoArtifactsLastInvocationDataRequest);
5795
+ protoArtifactIds: string[];
5796
+ static __$$generatedFromProtobuf$$__: Symbol;
5797
+ }
5798
+ export interface IListProtoArtifactsLastInvocationDataResponse {
5799
+ invocationDataMap?: { [k: string]: $responses.wix.coreservices.businessschema.v1.internal.IProtoArtifactInvocationData };
5800
+ }
5801
+ export class ListProtoArtifactsLastInvocationDataResponse implements IListProtoArtifactsLastInvocationDataResponse {
5802
+ constructor(data?: IListProtoArtifactsLastInvocationDataResponse);
5803
+ invocationDataMap?: { [k: string]: $responses.wix.coreservices.businessschema.v1.internal.IProtoArtifactInvocationData };
5804
+ static __$$generatedFromProtobuf$$__: Symbol;
5805
+ }
5438
5806
  }
5439
5807
  export interface IDeleteServiceDocumentRequest {
5440
5808
  protoServiceFqn: string;
@@ -5445,9 +5813,15 @@ declare namespace $responses {
5445
5813
  static __$$generatedFromProtobuf$$__: Symbol;
5446
5814
  }
5447
5815
  export interface IDeleteServiceDocumentResponse {
5816
+ serviceDocumentsDeletedCount: number;
5817
+ serviceProviderDocumentsDeletedCount: number;
5818
+ processedTargetsDeletedCount: number;
5448
5819
  }
5449
5820
  export class DeleteServiceDocumentResponse implements IDeleteServiceDocumentResponse {
5450
5821
  constructor(data?: IDeleteServiceDocumentResponse);
5822
+ serviceDocumentsDeletedCount: number;
5823
+ serviceProviderDocumentsDeletedCount: number;
5824
+ processedTargetsDeletedCount: number;
5451
5825
  static __$$generatedFromProtobuf$$__: Symbol;
5452
5826
  }
5453
5827
  export interface IPurgeProcessedTargetsCacheRequest {
@@ -5540,6 +5914,32 @@ declare namespace $responses {
5540
5914
  frozen: boolean;
5541
5915
  static __$$generatedFromProtobuf$$__: Symbol;
5542
5916
  }
5917
+ export interface IDeleteProtoArtifactRequest {
5918
+ protoArtifactId: string;
5919
+ confirm: boolean;
5920
+ }
5921
+ export class DeleteProtoArtifactRequest implements IDeleteProtoArtifactRequest {
5922
+ constructor(data?: IDeleteProtoArtifactRequest);
5923
+ protoArtifactId: string;
5924
+ confirm: boolean;
5925
+ static __$$generatedFromProtobuf$$__: Symbol;
5926
+ }
5927
+ export interface IDeleteProtoArtifactResponse {
5928
+ fqdnDocumentsDeletedCount: number;
5929
+ serviceDocumentsDeletedCount: number;
5930
+ serviceProviderDocumentsDeletedCount: number;
5931
+ appendixDocumentsDeletedCount: number;
5932
+ processedTargetsDeletedCount: number;
5933
+ }
5934
+ export class DeleteProtoArtifactResponse implements IDeleteProtoArtifactResponse {
5935
+ constructor(data?: IDeleteProtoArtifactResponse);
5936
+ fqdnDocumentsDeletedCount: number;
5937
+ serviceDocumentsDeletedCount: number;
5938
+ serviceProviderDocumentsDeletedCount: number;
5939
+ appendixDocumentsDeletedCount: number;
5940
+ processedTargetsDeletedCount: number;
5941
+ static __$$generatedFromProtobuf$$__: Symbol;
5942
+ }
5543
5943
  export interface IValidateFqdnRequest {
5544
5944
  fqdn: string;
5545
5945
  }
@@ -8162,6 +8562,8 @@ declare namespace $services {
8162
8562
  export abstract class BusinessSchemaIndexerService {
8163
8563
  abstract getProtoArtifactLastInvocationData(aspects: object, req: $requests.wix.coreservices.businessschema.v1.internal.IGetProtoArtifactLastInvocationDataRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IGetProtoArtifactLastInvocationDataResponse>
8164
8564
  abstract getProtoArtifactLastInvocationData(req: $requests.wix.coreservices.businessschema.v1.internal.IGetProtoArtifactLastInvocationDataRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IGetProtoArtifactLastInvocationDataResponse>
8565
+ abstract listProtoArtifactsLastInvocationData(aspects: object, req: $requests.wix.coreservices.businessschema.v1.internal.IListProtoArtifactsLastInvocationDataRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IListProtoArtifactsLastInvocationDataResponse>
8566
+ abstract listProtoArtifactsLastInvocationData(req: $requests.wix.coreservices.businessschema.v1.internal.IListProtoArtifactsLastInvocationDataRequest): Promise<$responses.wix.coreservices.businessschema.v1.internal.IListProtoArtifactsLastInvocationDataResponse>
8165
8567
  }
8166
8568
  }
8167
8569
  export abstract class ManagementService {
@@ -8179,6 +8581,8 @@ declare namespace $services {
8179
8581
  abstract unfreezeArtifactMappings(req: $requests.wix.coreservices.businessschema.v1.IUnfreezeArtifactMappingsRequest): Promise<$responses.wix.coreservices.businessschema.v1.IUnfreezeArtifactMappingsResponse>
8180
8582
  abstract getArtifactMappingsFreeze(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IGetArtifactMappingsFreezeRequest): Promise<$responses.wix.coreservices.businessschema.v1.IGetArtifactMappingsFreezeResponse>
8181
8583
  abstract getArtifactMappingsFreeze(req: $requests.wix.coreservices.businessschema.v1.IGetArtifactMappingsFreezeRequest): Promise<$responses.wix.coreservices.businessschema.v1.IGetArtifactMappingsFreezeResponse>
8584
+ abstract deleteProtoArtifact(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IDeleteProtoArtifactRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteProtoArtifactResponse>
8585
+ abstract deleteProtoArtifact(req: $requests.wix.coreservices.businessschema.v1.IDeleteProtoArtifactRequest): Promise<$responses.wix.coreservices.businessschema.v1.IDeleteProtoArtifactResponse>
8182
8586
  }
8183
8587
  export abstract class BusinessSchemaService {
8184
8588
  abstract validateFqdn(aspects: object, req: $requests.wix.coreservices.businessschema.v1.IValidateFqdnRequest): Promise<$responses.wix.coreservices.businessschema.v1.IValidateFqdnResponse>