@wix/metro-common-builders 1.0.1139 → 1.0.1141
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.
- package/dist/es/src/proto/client/index.d.ts +18 -0
- package/dist/es/src/proto/index.d.ts +9 -0
- package/dist/es/src/proto/index.js +70 -1
- package/dist/es/src/proto/server/index.d.ts +18 -0
- package/dist/src/proto/client/index.d.ts +18 -0
- package/dist/src/proto/index.d.ts +9 -0
- package/dist/src/proto/index.js +70 -1
- package/dist/src/proto/server/index.d.ts +18 -0
- package/package.json +4 -4
|
@@ -241,6 +241,7 @@ declare namespace $requests {
|
|
|
241
241
|
deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
|
|
242
242
|
sdkSignatures?: $requests.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
243
243
|
inferredFieldmask?: $requests.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
244
|
+
applicableIdentities?: $requests.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
244
245
|
}
|
|
245
246
|
export class Action implements IAction {
|
|
246
247
|
constructor(data?: IAction);
|
|
@@ -262,8 +263,16 @@ declare namespace $requests {
|
|
|
262
263
|
deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
|
|
263
264
|
sdkSignatures?: $requests.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
264
265
|
inferredFieldmask?: $requests.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
266
|
+
applicableIdentities?: $requests.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
265
267
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
266
268
|
}
|
|
269
|
+
export enum ApplicableIdentity {
|
|
270
|
+
UNKNOWN = "UNKNOWN",
|
|
271
|
+
VISITOR = "VISITOR",
|
|
272
|
+
MEMBER = "MEMBER",
|
|
273
|
+
USER = "USER",
|
|
274
|
+
APP = "APP",
|
|
275
|
+
}
|
|
267
276
|
export interface IInferredFieldmask {
|
|
268
277
|
fieldmaskField?: string;
|
|
269
278
|
inferredFromField?: string;
|
|
@@ -3105,6 +3114,7 @@ declare namespace $responses {
|
|
|
3105
3114
|
deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
|
|
3106
3115
|
sdkSignatures?: $responses.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
3107
3116
|
inferredFieldmask?: $responses.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
3117
|
+
applicableIdentities: $responses.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
3108
3118
|
}
|
|
3109
3119
|
export class Action implements IAction {
|
|
3110
3120
|
constructor(data?: IAction);
|
|
@@ -3126,8 +3136,16 @@ declare namespace $responses {
|
|
|
3126
3136
|
deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
|
|
3127
3137
|
sdkSignatures?: $responses.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
3128
3138
|
inferredFieldmask?: $responses.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
3139
|
+
applicableIdentities: $responses.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
3129
3140
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3130
3141
|
}
|
|
3142
|
+
export enum ApplicableIdentity {
|
|
3143
|
+
UNKNOWN = "UNKNOWN",
|
|
3144
|
+
VISITOR = "VISITOR",
|
|
3145
|
+
MEMBER = "MEMBER",
|
|
3146
|
+
USER = "USER",
|
|
3147
|
+
APP = "APP",
|
|
3148
|
+
}
|
|
3131
3149
|
export interface IInferredFieldmask {
|
|
3132
3150
|
fieldmaskField: string;
|
|
3133
3151
|
inferredFromField: string;
|
|
@@ -241,6 +241,7 @@ declare namespace $wrapper {
|
|
|
241
241
|
deprecated?: ($wrapper.wix.coreservices.businessschema.v1.IDeprecated | null);
|
|
242
242
|
sdkSignatures?: ($wrapper.wix.coreservices.businessschema.v1.ISdkMethodSignature | null);
|
|
243
243
|
inferredFieldmask?: ($wrapper.wix.coreservices.businessschema.v1.IInferredFieldmask | null);
|
|
244
|
+
applicableIdentities?: ($wrapper.wix.coreservices.businessschema.v1.ApplicableIdentity[] | null);
|
|
244
245
|
}
|
|
245
246
|
export class Action implements IAction {
|
|
246
247
|
constructor(data?: IAction);
|
|
@@ -262,8 +263,16 @@ declare namespace $wrapper {
|
|
|
262
263
|
deprecated?: ($wrapper.wix.coreservices.businessschema.v1.IDeprecated | null);
|
|
263
264
|
sdkSignatures?: ($wrapper.wix.coreservices.businessschema.v1.ISdkMethodSignature | null);
|
|
264
265
|
inferredFieldmask?: ($wrapper.wix.coreservices.businessschema.v1.IInferredFieldmask | null);
|
|
266
|
+
applicableIdentities?: ($wrapper.wix.coreservices.businessschema.v1.ApplicableIdentity[] | null);
|
|
265
267
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
266
268
|
}
|
|
269
|
+
export enum ApplicableIdentity {
|
|
270
|
+
UNKNOWN = "UNKNOWN",
|
|
271
|
+
VISITOR = "VISITOR",
|
|
272
|
+
MEMBER = "MEMBER",
|
|
273
|
+
USER = "USER",
|
|
274
|
+
APP = "APP",
|
|
275
|
+
}
|
|
267
276
|
export interface IInferredFieldmask {
|
|
268
277
|
fieldmaskField?: (string | null);
|
|
269
278
|
inferredFromField?: (string | null);
|
|
@@ -10,7 +10,7 @@ $root.__options = {
|
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
12
|
'generatorVersion': '2.0.1113',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': '6d5b300e95bd2408e6ac537b1a1d02b0c18df8c8'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -674,10 +674,38 @@ $root.__lookup = function (pbjs) {
|
|
|
674
674
|
'id': 18,
|
|
675
675
|
'comment': null,
|
|
676
676
|
'parsedOptions': null
|
|
677
|
+
},
|
|
678
|
+
'applicableIdentities': {
|
|
679
|
+
'rule': 'repeated',
|
|
680
|
+
'type': 'ApplicableIdentity',
|
|
681
|
+
'id': 19,
|
|
682
|
+
'options': { '(.wix.api.maxSize)': 20 },
|
|
683
|
+
'comment': null,
|
|
684
|
+
'parsedOptions': [{
|
|
685
|
+
'(.wix.api.maxSize)': 20,
|
|
686
|
+
'__comment': null
|
|
687
|
+
}]
|
|
677
688
|
}
|
|
678
689
|
},
|
|
679
690
|
'comment': null
|
|
680
691
|
},
|
|
692
|
+
'ApplicableIdentity': {
|
|
693
|
+
'values': {
|
|
694
|
+
'UNKNOWN': 0,
|
|
695
|
+
'VISITOR': 1,
|
|
696
|
+
'MEMBER': 2,
|
|
697
|
+
'USER': 3,
|
|
698
|
+
'APP': 4
|
|
699
|
+
},
|
|
700
|
+
'comment': null,
|
|
701
|
+
'comments': {
|
|
702
|
+
'UNKNOWN': null,
|
|
703
|
+
'VISITOR': null,
|
|
704
|
+
'MEMBER': null,
|
|
705
|
+
'USER': null,
|
|
706
|
+
'APP': null
|
|
707
|
+
}
|
|
708
|
+
},
|
|
681
709
|
'InferredFieldmask': {
|
|
682
710
|
'fields': {
|
|
683
711
|
'fieldmaskField': {
|
|
@@ -9173,6 +9201,7 @@ $root.wix = (function () {
|
|
|
9173
9201
|
this.deprecated = props && props.deprecated;
|
|
9174
9202
|
this.sdkSignatures = props && props.sdkSignatures;
|
|
9175
9203
|
this.inferredFieldmask = props && props.inferredFieldmask;
|
|
9204
|
+
this.applicableIdentities = props && props.applicableIdentities;
|
|
9176
9205
|
}
|
|
9177
9206
|
static toJSON(obj, helper, withDefaults) {
|
|
9178
9207
|
if (obj == null) {
|
|
@@ -9277,6 +9306,13 @@ $root.wix = (function () {
|
|
|
9277
9306
|
} else if (withDefaults) {
|
|
9278
9307
|
delete json['inferredFieldmask'];
|
|
9279
9308
|
}
|
|
9309
|
+
if (obj['applicableIdentities'] != null) {
|
|
9310
|
+
json['applicableIdentities'] = obj['applicableIdentities'].map(e => {
|
|
9311
|
+
return $root.wix.coreservices.businessschema.v1.ApplicableIdentity[e];
|
|
9312
|
+
});
|
|
9313
|
+
} else if (withDefaults) {
|
|
9314
|
+
json['applicableIdentities'] = [];
|
|
9315
|
+
}
|
|
9280
9316
|
return json;
|
|
9281
9317
|
}
|
|
9282
9318
|
}
|
|
@@ -9417,6 +9453,15 @@ $root.wix = (function () {
|
|
|
9417
9453
|
} else {
|
|
9418
9454
|
delete result['inferredFieldmask'];
|
|
9419
9455
|
}
|
|
9456
|
+
if (json['applicableIdentities'] != null) {
|
|
9457
|
+
result['applicableIdentities'] = Array.isArray(json['applicableIdentities']) ? json['applicableIdentities'].map(e => {
|
|
9458
|
+
return typeof e === 'string' ? e : $root.wix.coreservices.businessschema.v1.ApplicableIdentity[e];
|
|
9459
|
+
}) : json['applicableIdentities'];
|
|
9460
|
+
} else if (withDefaults !== false) {
|
|
9461
|
+
result['applicableIdentities'] = [];
|
|
9462
|
+
} else {
|
|
9463
|
+
delete result['applicableIdentities'];
|
|
9464
|
+
}
|
|
9420
9465
|
return result;
|
|
9421
9466
|
} else
|
|
9422
9467
|
return json;
|
|
@@ -9488,6 +9533,11 @@ $root.wix = (function () {
|
|
|
9488
9533
|
if (obj['inferredFieldmask'] != null) {
|
|
9489
9534
|
grpc['inferredFieldmask'] = $root.wix.coreservices.businessschema.v1.InferredFieldmask.toGRPC(obj['inferredFieldmask'], helper);
|
|
9490
9535
|
}
|
|
9536
|
+
if (obj['applicableIdentities'] != null) {
|
|
9537
|
+
grpc['applicableIdentities'] = obj['applicableIdentities'].map(e => {
|
|
9538
|
+
return e;
|
|
9539
|
+
});
|
|
9540
|
+
}
|
|
9491
9541
|
return grpc;
|
|
9492
9542
|
}
|
|
9493
9543
|
}
|
|
@@ -9594,6 +9644,13 @@ $root.wix = (function () {
|
|
|
9594
9644
|
} else {
|
|
9595
9645
|
delete result['inferredFieldmask'];
|
|
9596
9646
|
}
|
|
9647
|
+
if (grpc['applicableIdentities'] != null) {
|
|
9648
|
+
result['applicableIdentities'] = grpc['applicableIdentities'].map(e => {
|
|
9649
|
+
return e;
|
|
9650
|
+
});
|
|
9651
|
+
} else {
|
|
9652
|
+
result['applicableIdentities'] = [];
|
|
9653
|
+
}
|
|
9597
9654
|
return result;
|
|
9598
9655
|
}
|
|
9599
9656
|
}
|
|
@@ -9622,6 +9679,18 @@ $root.wix = (function () {
|
|
|
9622
9679
|
});
|
|
9623
9680
|
return Action;
|
|
9624
9681
|
}());;
|
|
9682
|
+
_v1.ApplicableIdentity = {
|
|
9683
|
+
'UNKNOWN': 'UNKNOWN',
|
|
9684
|
+
0: 'UNKNOWN',
|
|
9685
|
+
'VISITOR': 'VISITOR',
|
|
9686
|
+
1: 'VISITOR',
|
|
9687
|
+
'MEMBER': 'MEMBER',
|
|
9688
|
+
2: 'MEMBER',
|
|
9689
|
+
'USER': 'USER',
|
|
9690
|
+
3: 'USER',
|
|
9691
|
+
'APP': 'APP',
|
|
9692
|
+
4: 'APP'
|
|
9693
|
+
};
|
|
9625
9694
|
_v1.InferredFieldmask = (function () {
|
|
9626
9695
|
class InferredFieldmask {
|
|
9627
9696
|
constructor(props) {
|
|
@@ -241,6 +241,7 @@ declare namespace $requests {
|
|
|
241
241
|
deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
|
|
242
242
|
sdkSignatures?: $requests.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
243
243
|
inferredFieldmask?: $requests.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
244
|
+
applicableIdentities: $requests.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
244
245
|
}
|
|
245
246
|
export class Action implements IAction {
|
|
246
247
|
constructor(data?: IAction);
|
|
@@ -262,8 +263,16 @@ declare namespace $requests {
|
|
|
262
263
|
deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
|
|
263
264
|
sdkSignatures?: $requests.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
264
265
|
inferredFieldmask?: $requests.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
266
|
+
applicableIdentities: $requests.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
265
267
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
266
268
|
}
|
|
269
|
+
export enum ApplicableIdentity {
|
|
270
|
+
UNKNOWN = "UNKNOWN",
|
|
271
|
+
VISITOR = "VISITOR",
|
|
272
|
+
MEMBER = "MEMBER",
|
|
273
|
+
USER = "USER",
|
|
274
|
+
APP = "APP",
|
|
275
|
+
}
|
|
267
276
|
export interface IInferredFieldmask {
|
|
268
277
|
fieldmaskField: string;
|
|
269
278
|
inferredFromField: string;
|
|
@@ -3105,6 +3114,7 @@ declare namespace $responses {
|
|
|
3105
3114
|
deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
|
|
3106
3115
|
sdkSignatures?: $responses.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
3107
3116
|
inferredFieldmask?: $responses.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
3117
|
+
applicableIdentities?: $responses.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
3108
3118
|
}
|
|
3109
3119
|
export class Action implements IAction {
|
|
3110
3120
|
constructor(data?: IAction);
|
|
@@ -3126,8 +3136,16 @@ declare namespace $responses {
|
|
|
3126
3136
|
deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
|
|
3127
3137
|
sdkSignatures?: $responses.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
3128
3138
|
inferredFieldmask?: $responses.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
3139
|
+
applicableIdentities?: $responses.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
3129
3140
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3130
3141
|
}
|
|
3142
|
+
export enum ApplicableIdentity {
|
|
3143
|
+
UNKNOWN = "UNKNOWN",
|
|
3144
|
+
VISITOR = "VISITOR",
|
|
3145
|
+
MEMBER = "MEMBER",
|
|
3146
|
+
USER = "USER",
|
|
3147
|
+
APP = "APP",
|
|
3148
|
+
}
|
|
3131
3149
|
export interface IInferredFieldmask {
|
|
3132
3150
|
fieldmaskField?: string;
|
|
3133
3151
|
inferredFromField?: string;
|
|
@@ -241,6 +241,7 @@ declare namespace $requests {
|
|
|
241
241
|
deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
|
|
242
242
|
sdkSignatures?: $requests.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
243
243
|
inferredFieldmask?: $requests.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
244
|
+
applicableIdentities?: $requests.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
244
245
|
}
|
|
245
246
|
export class Action implements IAction {
|
|
246
247
|
constructor(data?: IAction);
|
|
@@ -262,8 +263,16 @@ declare namespace $requests {
|
|
|
262
263
|
deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
|
|
263
264
|
sdkSignatures?: $requests.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
264
265
|
inferredFieldmask?: $requests.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
266
|
+
applicableIdentities?: $requests.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
265
267
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
266
268
|
}
|
|
269
|
+
export enum ApplicableIdentity {
|
|
270
|
+
UNKNOWN = "UNKNOWN",
|
|
271
|
+
VISITOR = "VISITOR",
|
|
272
|
+
MEMBER = "MEMBER",
|
|
273
|
+
USER = "USER",
|
|
274
|
+
APP = "APP",
|
|
275
|
+
}
|
|
267
276
|
export interface IInferredFieldmask {
|
|
268
277
|
fieldmaskField?: string;
|
|
269
278
|
inferredFromField?: string;
|
|
@@ -3105,6 +3114,7 @@ declare namespace $responses {
|
|
|
3105
3114
|
deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
|
|
3106
3115
|
sdkSignatures?: $responses.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
3107
3116
|
inferredFieldmask?: $responses.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
3117
|
+
applicableIdentities: $responses.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
3108
3118
|
}
|
|
3109
3119
|
export class Action implements IAction {
|
|
3110
3120
|
constructor(data?: IAction);
|
|
@@ -3126,8 +3136,16 @@ declare namespace $responses {
|
|
|
3126
3136
|
deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
|
|
3127
3137
|
sdkSignatures?: $responses.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
3128
3138
|
inferredFieldmask?: $responses.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
3139
|
+
applicableIdentities: $responses.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
3129
3140
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3130
3141
|
}
|
|
3142
|
+
export enum ApplicableIdentity {
|
|
3143
|
+
UNKNOWN = "UNKNOWN",
|
|
3144
|
+
VISITOR = "VISITOR",
|
|
3145
|
+
MEMBER = "MEMBER",
|
|
3146
|
+
USER = "USER",
|
|
3147
|
+
APP = "APP",
|
|
3148
|
+
}
|
|
3131
3149
|
export interface IInferredFieldmask {
|
|
3132
3150
|
fieldmaskField: string;
|
|
3133
3151
|
inferredFromField: string;
|
|
@@ -241,6 +241,7 @@ declare namespace $wrapper {
|
|
|
241
241
|
deprecated?: ($wrapper.wix.coreservices.businessschema.v1.IDeprecated | null);
|
|
242
242
|
sdkSignatures?: ($wrapper.wix.coreservices.businessschema.v1.ISdkMethodSignature | null);
|
|
243
243
|
inferredFieldmask?: ($wrapper.wix.coreservices.businessschema.v1.IInferredFieldmask | null);
|
|
244
|
+
applicableIdentities?: ($wrapper.wix.coreservices.businessschema.v1.ApplicableIdentity[] | null);
|
|
244
245
|
}
|
|
245
246
|
export class Action implements IAction {
|
|
246
247
|
constructor(data?: IAction);
|
|
@@ -262,8 +263,16 @@ declare namespace $wrapper {
|
|
|
262
263
|
deprecated?: ($wrapper.wix.coreservices.businessschema.v1.IDeprecated | null);
|
|
263
264
|
sdkSignatures?: ($wrapper.wix.coreservices.businessschema.v1.ISdkMethodSignature | null);
|
|
264
265
|
inferredFieldmask?: ($wrapper.wix.coreservices.businessschema.v1.IInferredFieldmask | null);
|
|
266
|
+
applicableIdentities?: ($wrapper.wix.coreservices.businessschema.v1.ApplicableIdentity[] | null);
|
|
265
267
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
266
268
|
}
|
|
269
|
+
export enum ApplicableIdentity {
|
|
270
|
+
UNKNOWN = "UNKNOWN",
|
|
271
|
+
VISITOR = "VISITOR",
|
|
272
|
+
MEMBER = "MEMBER",
|
|
273
|
+
USER = "USER",
|
|
274
|
+
APP = "APP",
|
|
275
|
+
}
|
|
267
276
|
export interface IInferredFieldmask {
|
|
268
277
|
fieldmaskField?: (string | null);
|
|
269
278
|
inferredFromField?: (string | null);
|
package/dist/src/proto/index.js
CHANGED
|
@@ -10,7 +10,7 @@ $root.__options = {
|
|
|
10
10
|
'stringLongs': true,
|
|
11
11
|
'stdCase': false,
|
|
12
12
|
'generatorVersion': '2.0.1113',
|
|
13
|
-
'contentHash': '
|
|
13
|
+
'contentHash': '6d5b300e95bd2408e6ac537b1a1d02b0c18df8c8'
|
|
14
14
|
};
|
|
15
15
|
$root.__lookup = function (pbjs) {
|
|
16
16
|
const root = pbjs.Root.fromJSON({
|
|
@@ -674,10 +674,38 @@ $root.__lookup = function (pbjs) {
|
|
|
674
674
|
'id': 18,
|
|
675
675
|
'comment': null,
|
|
676
676
|
'parsedOptions': null
|
|
677
|
+
},
|
|
678
|
+
'applicableIdentities': {
|
|
679
|
+
'rule': 'repeated',
|
|
680
|
+
'type': 'ApplicableIdentity',
|
|
681
|
+
'id': 19,
|
|
682
|
+
'options': { '(.wix.api.maxSize)': 20 },
|
|
683
|
+
'comment': null,
|
|
684
|
+
'parsedOptions': [{
|
|
685
|
+
'(.wix.api.maxSize)': 20,
|
|
686
|
+
'__comment': null
|
|
687
|
+
}]
|
|
677
688
|
}
|
|
678
689
|
},
|
|
679
690
|
'comment': null
|
|
680
691
|
},
|
|
692
|
+
'ApplicableIdentity': {
|
|
693
|
+
'values': {
|
|
694
|
+
'UNKNOWN': 0,
|
|
695
|
+
'VISITOR': 1,
|
|
696
|
+
'MEMBER': 2,
|
|
697
|
+
'USER': 3,
|
|
698
|
+
'APP': 4
|
|
699
|
+
},
|
|
700
|
+
'comment': null,
|
|
701
|
+
'comments': {
|
|
702
|
+
'UNKNOWN': null,
|
|
703
|
+
'VISITOR': null,
|
|
704
|
+
'MEMBER': null,
|
|
705
|
+
'USER': null,
|
|
706
|
+
'APP': null
|
|
707
|
+
}
|
|
708
|
+
},
|
|
681
709
|
'InferredFieldmask': {
|
|
682
710
|
'fields': {
|
|
683
711
|
'fieldmaskField': {
|
|
@@ -9173,6 +9201,7 @@ $root.wix = (function () {
|
|
|
9173
9201
|
this.deprecated = props && props.deprecated;
|
|
9174
9202
|
this.sdkSignatures = props && props.sdkSignatures;
|
|
9175
9203
|
this.inferredFieldmask = props && props.inferredFieldmask;
|
|
9204
|
+
this.applicableIdentities = props && props.applicableIdentities;
|
|
9176
9205
|
}
|
|
9177
9206
|
static toJSON(obj, helper, withDefaults) {
|
|
9178
9207
|
if (obj == null) {
|
|
@@ -9277,6 +9306,13 @@ $root.wix = (function () {
|
|
|
9277
9306
|
} else if (withDefaults) {
|
|
9278
9307
|
delete json['inferredFieldmask'];
|
|
9279
9308
|
}
|
|
9309
|
+
if (obj['applicableIdentities'] != null) {
|
|
9310
|
+
json['applicableIdentities'] = obj['applicableIdentities'].map(e => {
|
|
9311
|
+
return $root.wix.coreservices.businessschema.v1.ApplicableIdentity[e];
|
|
9312
|
+
});
|
|
9313
|
+
} else if (withDefaults) {
|
|
9314
|
+
json['applicableIdentities'] = [];
|
|
9315
|
+
}
|
|
9280
9316
|
return json;
|
|
9281
9317
|
}
|
|
9282
9318
|
}
|
|
@@ -9417,6 +9453,15 @@ $root.wix = (function () {
|
|
|
9417
9453
|
} else {
|
|
9418
9454
|
delete result['inferredFieldmask'];
|
|
9419
9455
|
}
|
|
9456
|
+
if (json['applicableIdentities'] != null) {
|
|
9457
|
+
result['applicableIdentities'] = Array.isArray(json['applicableIdentities']) ? json['applicableIdentities'].map(e => {
|
|
9458
|
+
return typeof e === 'string' ? e : $root.wix.coreservices.businessschema.v1.ApplicableIdentity[e];
|
|
9459
|
+
}) : json['applicableIdentities'];
|
|
9460
|
+
} else if (withDefaults !== false) {
|
|
9461
|
+
result['applicableIdentities'] = [];
|
|
9462
|
+
} else {
|
|
9463
|
+
delete result['applicableIdentities'];
|
|
9464
|
+
}
|
|
9420
9465
|
return result;
|
|
9421
9466
|
} else
|
|
9422
9467
|
return json;
|
|
@@ -9488,6 +9533,11 @@ $root.wix = (function () {
|
|
|
9488
9533
|
if (obj['inferredFieldmask'] != null) {
|
|
9489
9534
|
grpc['inferredFieldmask'] = $root.wix.coreservices.businessschema.v1.InferredFieldmask.toGRPC(obj['inferredFieldmask'], helper);
|
|
9490
9535
|
}
|
|
9536
|
+
if (obj['applicableIdentities'] != null) {
|
|
9537
|
+
grpc['applicableIdentities'] = obj['applicableIdentities'].map(e => {
|
|
9538
|
+
return e;
|
|
9539
|
+
});
|
|
9540
|
+
}
|
|
9491
9541
|
return grpc;
|
|
9492
9542
|
}
|
|
9493
9543
|
}
|
|
@@ -9594,6 +9644,13 @@ $root.wix = (function () {
|
|
|
9594
9644
|
} else {
|
|
9595
9645
|
delete result['inferredFieldmask'];
|
|
9596
9646
|
}
|
|
9647
|
+
if (grpc['applicableIdentities'] != null) {
|
|
9648
|
+
result['applicableIdentities'] = grpc['applicableIdentities'].map(e => {
|
|
9649
|
+
return e;
|
|
9650
|
+
});
|
|
9651
|
+
} else {
|
|
9652
|
+
result['applicableIdentities'] = [];
|
|
9653
|
+
}
|
|
9597
9654
|
return result;
|
|
9598
9655
|
}
|
|
9599
9656
|
}
|
|
@@ -9622,6 +9679,18 @@ $root.wix = (function () {
|
|
|
9622
9679
|
});
|
|
9623
9680
|
return Action;
|
|
9624
9681
|
}());;
|
|
9682
|
+
_v1.ApplicableIdentity = {
|
|
9683
|
+
'UNKNOWN': 'UNKNOWN',
|
|
9684
|
+
0: 'UNKNOWN',
|
|
9685
|
+
'VISITOR': 'VISITOR',
|
|
9686
|
+
1: 'VISITOR',
|
|
9687
|
+
'MEMBER': 'MEMBER',
|
|
9688
|
+
2: 'MEMBER',
|
|
9689
|
+
'USER': 'USER',
|
|
9690
|
+
3: 'USER',
|
|
9691
|
+
'APP': 'APP',
|
|
9692
|
+
4: 'APP'
|
|
9693
|
+
};
|
|
9625
9694
|
_v1.InferredFieldmask = (function () {
|
|
9626
9695
|
class InferredFieldmask {
|
|
9627
9696
|
constructor(props) {
|
|
@@ -241,6 +241,7 @@ declare namespace $requests {
|
|
|
241
241
|
deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
|
|
242
242
|
sdkSignatures?: $requests.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
243
243
|
inferredFieldmask?: $requests.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
244
|
+
applicableIdentities: $requests.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
244
245
|
}
|
|
245
246
|
export class Action implements IAction {
|
|
246
247
|
constructor(data?: IAction);
|
|
@@ -262,8 +263,16 @@ declare namespace $requests {
|
|
|
262
263
|
deprecated?: $requests.wix.coreservices.businessschema.v1.IDeprecated;
|
|
263
264
|
sdkSignatures?: $requests.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
264
265
|
inferredFieldmask?: $requests.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
266
|
+
applicableIdentities: $requests.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
265
267
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
266
268
|
}
|
|
269
|
+
export enum ApplicableIdentity {
|
|
270
|
+
UNKNOWN = "UNKNOWN",
|
|
271
|
+
VISITOR = "VISITOR",
|
|
272
|
+
MEMBER = "MEMBER",
|
|
273
|
+
USER = "USER",
|
|
274
|
+
APP = "APP",
|
|
275
|
+
}
|
|
267
276
|
export interface IInferredFieldmask {
|
|
268
277
|
fieldmaskField: string;
|
|
269
278
|
inferredFromField: string;
|
|
@@ -3105,6 +3114,7 @@ declare namespace $responses {
|
|
|
3105
3114
|
deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
|
|
3106
3115
|
sdkSignatures?: $responses.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
3107
3116
|
inferredFieldmask?: $responses.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
3117
|
+
applicableIdentities?: $responses.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
3108
3118
|
}
|
|
3109
3119
|
export class Action implements IAction {
|
|
3110
3120
|
constructor(data?: IAction);
|
|
@@ -3126,8 +3136,16 @@ declare namespace $responses {
|
|
|
3126
3136
|
deprecated?: $responses.wix.coreservices.businessschema.v1.IDeprecated;
|
|
3127
3137
|
sdkSignatures?: $responses.wix.coreservices.businessschema.v1.ISdkMethodSignature;
|
|
3128
3138
|
inferredFieldmask?: $responses.wix.coreservices.businessschema.v1.IInferredFieldmask;
|
|
3139
|
+
applicableIdentities?: $responses.wix.coreservices.businessschema.v1.ApplicableIdentity[];
|
|
3129
3140
|
static __$$generatedFromProtobuf$$__: Symbol;
|
|
3130
3141
|
}
|
|
3142
|
+
export enum ApplicableIdentity {
|
|
3143
|
+
UNKNOWN = "UNKNOWN",
|
|
3144
|
+
VISITOR = "VISITOR",
|
|
3145
|
+
MEMBER = "MEMBER",
|
|
3146
|
+
USER = "USER",
|
|
3147
|
+
APP = "APP",
|
|
3148
|
+
}
|
|
3131
3149
|
export interface IInferredFieldmask {
|
|
3132
3150
|
fieldmaskField?: string;
|
|
3133
3151
|
inferredFromField?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/metro-common-builders",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1141",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Eli Ponyatovski",
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
"*.{js,ts}": "yoshi lint"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@wix/metro-runtime": "1.
|
|
36
|
+
"@wix/metro-runtime": "1.1499.0",
|
|
37
37
|
"long": "^5.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
+
"@rushstack/eslint-patch": "^1.1.0",
|
|
40
41
|
"@types/jest": "^24.9.1",
|
|
41
42
|
"@types/node": "^16.11.7",
|
|
42
43
|
"@wix/business-schema-api": "^1.7.1343",
|
|
43
44
|
"@wix/wix-proto-codegen": "^2.0.1110",
|
|
44
45
|
"@wix/yoshi": "^5.162.14",
|
|
45
|
-
"@rushstack/eslint-patch": "^1.1.0",
|
|
46
46
|
"husky": "~4.2.5",
|
|
47
47
|
"lint-staged": "^10.5.4",
|
|
48
48
|
"ts-jest": "^24.3.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"wallaby": {
|
|
70
70
|
"autoDetect": true
|
|
71
71
|
},
|
|
72
|
-
"falconPackageHash": "
|
|
72
|
+
"falconPackageHash": "56152ddbd27d74b49c079030dc62ee0a59087b3fbea776c04f8c7058"
|
|
73
73
|
}
|