nooschain / chain/transaction-types / createBucketKeyPayloadSchema
Variable: createBucketKeyPayloadSchema
constcreateBucketKeyPayloadSchema:ZodObject<{algorithm:ZodLiteral<"AES-256-GCM">;bucketId:ZodString;createdByOrganizationId:ZodString;createdByUserId:ZodString;id:ZodString;keyEnvelopes:ZodArray<ZodObject<{algorithm:ZodString;encryptedDekBase64:ZodString;recipientId:ZodString;recipientPublicKey:ZodString;recipientType:ZodEnum<["user","organization"]>; },"strip",ZodTypeAny, {algorithm:string;encryptedDekBase64:string;recipientId:string;recipientPublicKey:string;recipientType:"user"|"organization"; }, {algorithm:string;encryptedDekBase64:string;recipientId:string;recipientPublicKey:string;recipientType:"user"|"organization"; }>,"many">;keyVersion:ZodNumber; },"strip",ZodTypeAny, {algorithm:"AES-256-GCM";bucketId:string;createdByOrganizationId:string;createdByUserId:string;id:string;keyEnvelopes:object[];keyVersion:number; }, {algorithm:"AES-256-GCM";bucketId:string;createdByOrganizationId:string;createdByUserId:string;id:string;keyEnvelopes:object[];keyVersion:number; }> =bucketKeyPayloadBaseSchema
Defined in: chain/transaction-types.ts:268