@zitadel/node
Advanced tools
Comparing version 1.1.15 to 1.1.16
@@ -123,2 +123,7 @@ import Long from "long"; | ||
} | ||
export interface NotificationPolicy { | ||
details: ObjectDetails | undefined; | ||
isDefault: boolean; | ||
passwordChange: boolean; | ||
} | ||
export declare const OrgIAMPolicy: { | ||
@@ -188,2 +193,10 @@ encode(message: OrgIAMPolicy, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const NotificationPolicy: { | ||
encode(message: NotificationPolicy, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): NotificationPolicy; | ||
fromJSON(object: any): NotificationPolicy; | ||
toJSON(message: NotificationPolicy): unknown; | ||
create(base?: DeepPartial<NotificationPolicy>): NotificationPolicy; | ||
fromPartial(object: DeepPartial<NotificationPolicy>): NotificationPolicy; | ||
}; | ||
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; | ||
@@ -190,0 +203,0 @@ export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends { |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PrivacyPolicy = exports.LockoutPolicy = exports.PasswordAgePolicy = exports.PasswordComplexityPolicy = exports.LoginPolicy = exports.LabelPolicy = exports.DomainPolicy = exports.OrgIAMPolicy = exports.passwordlessTypeToJSON = exports.passwordlessTypeFromJSON = exports.PasswordlessType = exports.multiFactorTypeToJSON = exports.multiFactorTypeFromJSON = exports.MultiFactorType = exports.secondFactorTypeToJSON = exports.secondFactorTypeFromJSON = exports.SecondFactorType = exports.protobufPackage = void 0; | ||
exports.NotificationPolicy = exports.PrivacyPolicy = exports.LockoutPolicy = exports.PasswordAgePolicy = exports.PasswordComplexityPolicy = exports.LoginPolicy = exports.LabelPolicy = exports.DomainPolicy = exports.OrgIAMPolicy = exports.passwordlessTypeToJSON = exports.passwordlessTypeFromJSON = exports.PasswordlessType = exports.multiFactorTypeToJSON = exports.multiFactorTypeFromJSON = exports.MultiFactorType = exports.secondFactorTypeToJSON = exports.secondFactorTypeFromJSON = exports.SecondFactorType = exports.protobufPackage = void 0; | ||
/* eslint-disable */ | ||
@@ -1168,2 +1168,69 @@ const long_1 = __importDefault(require("long")); | ||
}; | ||
function createBaseNotificationPolicy() { | ||
return { details: undefined, isDefault: false, passwordChange: false }; | ||
} | ||
exports.NotificationPolicy = { | ||
encode(message, writer = minimal_1.default.Writer.create()) { | ||
if (message.details !== undefined) { | ||
object_1.ObjectDetails.encode(message.details, writer.uint32(10).fork()).ldelim(); | ||
} | ||
if (message.isDefault === true) { | ||
writer.uint32(16).bool(message.isDefault); | ||
} | ||
if (message.passwordChange === true) { | ||
writer.uint32(24).bool(message.passwordChange); | ||
} | ||
return writer; | ||
}, | ||
decode(input, length) { | ||
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input); | ||
let end = length === undefined ? reader.len : reader.pos + length; | ||
const message = createBaseNotificationPolicy(); | ||
while (reader.pos < end) { | ||
const tag = reader.uint32(); | ||
switch (tag >>> 3) { | ||
case 1: | ||
message.details = object_1.ObjectDetails.decode(reader, reader.uint32()); | ||
break; | ||
case 2: | ||
message.isDefault = reader.bool(); | ||
break; | ||
case 3: | ||
message.passwordChange = reader.bool(); | ||
break; | ||
default: | ||
reader.skipType(tag & 7); | ||
break; | ||
} | ||
} | ||
return message; | ||
}, | ||
fromJSON(object) { | ||
return { | ||
details: isSet(object.details) ? object_1.ObjectDetails.fromJSON(object.details) : undefined, | ||
isDefault: isSet(object.isDefault) ? Boolean(object.isDefault) : false, | ||
passwordChange: isSet(object.passwordChange) ? Boolean(object.passwordChange) : false, | ||
}; | ||
}, | ||
toJSON(message) { | ||
const obj = {}; | ||
message.details !== undefined && | ||
(obj.details = message.details ? object_1.ObjectDetails.toJSON(message.details) : undefined); | ||
message.isDefault !== undefined && (obj.isDefault = message.isDefault); | ||
message.passwordChange !== undefined && (obj.passwordChange = message.passwordChange); | ||
return obj; | ||
}, | ||
create(base) { | ||
return exports.NotificationPolicy.fromPartial(base ?? {}); | ||
}, | ||
fromPartial(object) { | ||
const message = createBaseNotificationPolicy(); | ||
message.details = (object.details !== undefined && object.details !== null) | ||
? object_1.ObjectDetails.fromPartial(object.details) | ||
: undefined; | ||
message.isDefault = object.isDefault ?? false; | ||
message.passwordChange = object.passwordChange ?? false; | ||
return message; | ||
}, | ||
}; | ||
if (minimal_1.default.util.Long !== long_1.default) { | ||
@@ -1170,0 +1237,0 @@ minimal_1.default.util.Long = long_1.default; |
{ | ||
"name": "@zitadel/node", | ||
"version": "1.1.15", | ||
"version": "1.1.16", | ||
"description": "Library for API access to ZITADEL. Provides compiled gRPC service clients and helpers for applications and service accounts.", | ||
@@ -47,3 +47,3 @@ "type": "commonjs", | ||
"dependencies": { | ||
"axios": "1.2.4", | ||
"axios": "1.2.5", | ||
"jose": "4.11.2", | ||
@@ -50,0 +50,0 @@ "long": "5.2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5557747
124155
+ Addedaxios@1.2.5(transitive)
- Removedaxios@1.2.4(transitive)
Updatedaxios@1.2.5